unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: rohit yadav <rohityadav@utexas.edu>
Cc: guix-devel@gnu.org
Subject: Re: [Install guix packages to non-default]: Unable to build derivation hello
Date: Sun, 5 Feb 2017 11:29:14 +0000	[thread overview]
Message-ID: <20170205112914.lkz3f2u2j6qt5kcf@wasp> (raw)
In-Reply-To: <CAGKZdmZQ=sdvbb_XfRyGXxsjTGWZ+9QpnjoP3uu-egUwmtjYwA@mail.gmail.com>

Hi,

I don't reply to the entire issue, for a comment see below.
On 17-02-05 02:53:11, rohit yadav wrote:
> Hi,
> 
> I am trying to install guix packages to a non-default location to benefit
> from guix on machines with no root privileges. Following the below
> mentioned article, I am able to install guix and run guix-daemon configured
> to a non-default location. However, when I trying to install even a basic
> hello package, the guix goes on to install large number of derivations. And
> fails while trying to pull linux-libre (why is this needed for hello
> package?). I am not sure why it is unable to pull the src packages to build
> from scratch.
> 
> Hope to hear soon.
> 
> Thanks,
> Rohit
> 
> The terminal output is attached below:
> ========================================================================
> 
> *ubuntu@ubuntu-xenial*:*~*$ guix package -i hello
> 
> The following package will be installed:
> 
>    hello        2.10
> /home/royadav/opt/guix/local/gnu/store/my4vxpk417bgq21i803fs3shbhqhz53a-hello-2.10
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> http://linux-libre.fsfla.org/pub/linux-libre/releases/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz.
> ..
> 
> ERROR: download failed "
> http://linux-libre.fsfla.org/pub/linux-libre/releases/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz"
> 404 "Not Found"

In this case, no binary substitute is found. You need to run
"guix package --fallback --install hello" when no substitutes
are found. 
"--fallback" falls back to building (from source) when no
substitute is found.

> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-4.4.18-gnu.tar.xz...
> 
> ERROR: Throw to key `ftp-error' with args `(#<input-output: socket 12>
> "RETR linux-libre-4.4.18-gnu.tar.xz" 550 "Failed to open file.\r")'.
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> http://ftpmirror.gnu.org/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz.
> ..
> 
> following redirection to `
> http://mirrors.kernel.org/gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz'.
> ..
> 
> ERROR: download failed "
> http://mirrors.kernel.org/gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz"
> 404 "Not Found"
> 
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz.
> ..
> 
> ERROR: In procedure connect*: Connection timed out
> 
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz.
> ..
> 
> ERROR: Throw to key `ftp-error' with args `(#<input-output: socket 15> "CWD
> 4.4.18-gnu" 550 "Can't change directory to 4.4.18-gnu: No such file or
> directory\r")'.
> 
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> http://ftp.gnu.org/pub/gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz.
> ..
> 
> ERROR: download failed "
> http://ftp.gnu.org/pub/gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz"
> 404 "Not Found"
> 
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> http://mirror.hydra.gnu.org/file/fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz/sha256/0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps.
> ..
> 
> ERROR: download failed "
> http://mirror.hydra.gnu.org/file/fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz/sha256/0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps"
> 404 "Not Found"
> 
> 
> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz
> 
> From
> http://tarballs.nixos.org/sha256/0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps.
> ..
> 
> ERROR: download failed "
> http://tarballs.nixos.org/sha256/0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps"
> 404 "Not Found"
> 
> failed to download
> "/home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz"
> from ("
> http://linux-libre.fsfla.org/pub/linux-libre/releases/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz"
> "ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-4.4.18-gnu.tar.xz"
> "mirror://gnu/linux-libre/4.4.18-gnu/linux-libre-4.4.18-gnu.tar.xz")
> 
> builder for
> `/home/royadav/opt/guix/local/gnu/store/19qni5ycaxbpgl6na69k0fg6yf7v69l5-linux-libre-4.4.18-gnu.tar.xz.drv'
> failed to produce output path
> `/home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz'
> 
> cannot build derivation
> `/home/royadav/opt/guix/local/gnu/store/bx3zwbw5k9vdjkwaagrdhnajbvj4bxhq-linux-libre-headers-4.4.18.drv':
> 1 dependencies couldn't be built
> 
> cannot build derivation
> `/home/royadav/opt/guix/local/gnu/store/98rmh5pbfx33z294l0z586hzqbyjfshd-mkfontdir-1.0.7.drv':
> 1 dependencies couldn't be built
> 
> guix package: error: build failed: build of
> `/home/royadav/opt/guix/local/gnu/store/98rmh5pbfx33z294l0z586hzqbyjfshd-mkfontdir-1.0.7.drv'
> failed
> 
> =======================================================================

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/

  reply	other threads:[~2017-02-05 11:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-05  8:53 [Install guix packages to non-default]: Unable to build derivation hello rohit yadav
2017-02-05 11:29 ` ng0 [this message]
2017-02-05 18:27   ` rohit yadav
2017-02-06 15:55     ` rohit yadav
2017-02-06 21:45       ` Ricardo Wurmus
2017-02-06 20:46 ` Ricardo Wurmus
2017-02-06 21:08   ` rohit yadav
2017-02-07 13:56 ` Ludovic Courtès
2017-02-07 15:17   ` rohit yadav
2017-02-08 11:29     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170205112914.lkz3f2u2j6qt5kcf@wasp \
    --to=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=rohityadav@utexas.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).