From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [Install guix packages to non-default]: Unable to build derivation hello Date: Sun, 5 Feb 2017 11:29:14 +0000 Message-ID: <20170205112914.lkz3f2u2j6qt5kcf@wasp> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caKz1-0001JA-4H for guix-devel@gnu.org; Sun, 05 Feb 2017 06:27:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caKyy-0006KM-0G for guix-devel@gnu.org; Sun, 05 Feb 2017 06:27:51 -0500 Received: from perdizione.investici.org ([2001:41d0:2:33d0::19]:56098) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1caKyx-0006JD-KB for guix-devel@gnu.org; Sun, 05 Feb 2017 06:27:47 -0500 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: rohit yadav Cc: guix-devel@gnu.org 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 `(# > "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 `(# "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/