unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [Install guix packages to non-default]: Unable to build derivation hello
@ 2017-02-05  8:53 rohit yadav
  2017-02-05 11:29 ` ng0
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: rohit yadav @ 2017-02-05  8:53 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 5035 bytes --]

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"

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

=======================================================================

[-- Attachment #2: Type: text/html, Size: 10676 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-05  8:53 [Install guix packages to non-default]: Unable to build derivation hello rohit yadav
@ 2017-02-05 11:29 ` ng0
  2017-02-05 18:27   ` rohit yadav
  2017-02-06 20:46 ` Ricardo Wurmus
  2017-02-07 13:56 ` Ludovic Courtès
  2 siblings, 1 reply; 10+ messages in thread
From: ng0 @ 2017-02-05 11:29 UTC (permalink / raw)
  To: rohit yadav; +Cc: guix-devel

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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-05 11:29 ` ng0
@ 2017-02-05 18:27   ` rohit yadav
  2017-02-06 15:55     ` rohit yadav
  0 siblings, 1 reply; 10+ messages in thread
From: rohit yadav @ 2017-02-05 18:27 UTC (permalink / raw)
  To: rohit yadav, guix-devel

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

​Hi,

Thanks for the reply. I am running guix-daemon with --non-substitute
option. And the error posted actually complains about Error 404. I am not
sure, if it is happening because of firewall. Although, I tried the
suggested method also but result is still the same. I cleaned up the store
with "guix gc" and restarted for scratch. Additionally, I am unable to
understand why "linux-libre" is required to install a hello program?

Thanks,
Rohit



On Sun, Feb 5, 2017 at 5:29 AM, ng0 <contact.ng0@cryptolab.net> wrote:

> guix package --fallback --install hello

[-- Attachment #2: Type: text/html, Size: 1636 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-05 18:27   ` rohit yadav
@ 2017-02-06 15:55     ` rohit yadav
  2017-02-06 21:45       ` Ricardo Wurmus
  0 siblings, 1 reply; 10+ messages in thread
From: rohit yadav @ 2017-02-06 15:55 UTC (permalink / raw)
  To: rohit yadav, guix-devel

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

​Hi,

I am noticing that all the links the guix is trying to download linux-libre
are broken (linux-libre-4.4.18-gnu.tar.xz) does not exist. How should I fix
it, is there a way to provide a local copy for this which guix can use?

Thanks,
Rohit

On Sun, Feb 5, 2017 at 12:27 PM, rohit yadav <rohityadav@utexas.edu> wrote:

> ​Hi,
>
> Thanks for the reply. I am running guix-daemon with --non-substitute
> option. And the error posted actually complains about Error 404. I am not
> sure, if it is happening because of firewall. Although, I tried the
> suggested method also but result is still the same. I cleaned up the store
> with "guix gc" and restarted for scratch. Additionally, I am unable to
> understand why "linux-libre" is required to install a hello program?
>
> Thanks,
> Rohit
>
>
>
> On Sun, Feb 5, 2017 at 5:29 AM, ng0 <contact.ng0@cryptolab.net> wrote:
>
>> guix package --fallback --install hello
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2974 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-05  8:53 [Install guix packages to non-default]: Unable to build derivation hello rohit yadav
  2017-02-05 11:29 ` ng0
@ 2017-02-06 20:46 ` Ricardo Wurmus
  2017-02-06 21:08   ` rohit yadav
  2017-02-07 13:56 ` Ludovic Courtès
  2 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2017-02-06 20:46 UTC (permalink / raw)
  To: rohit yadav; +Cc: guix-devel


rohit yadav <rohityadav@utexas.edu> writes:

> 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,

Could you point us to article you followed?  I couldn’t find it in your
message.

> 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?).

Derivations are not packages.  The derivation for “hello” says that it
needs /gnu/store/…-linux-libre-headers-4.4.18.drv, which in turn says
that it needs the derivation to download the linux-libre tarball.

(I’m still traveling, so I cannot check the tarballs right now.)

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-06 20:46 ` Ricardo Wurmus
@ 2017-02-06 21:08   ` rohit yadav
  0 siblings, 0 replies; 10+ messages in thread
From: rohit yadav @ 2017-02-06 21:08 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]

I apologize for the missing link. Here it is:

https://github.com/UMCUGenetics/guix-additions/blob/master/doc/Deployment.md#restricted-environment-installation

At this moment, I have been able to get nix to work with the same technique
as mentioned in the above mentioned article. However, I really want to use
guix if possible.

Thanks,
Rohit


On Mon, Feb 6, 2017 at 2:46 PM, Ricardo Wurmus <rekado@elephly.net> wrote:

>
> rohit yadav <rohityadav@utexas.edu> writes:
>
> > 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,
>
> Could you point us to article you followed?  I couldn’t find it in your
> message.
>
> > 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?).
>
> Derivations are not packages.  The derivation for “hello” says that it
> needs /gnu/store/…-linux-libre-headers-4.4.18.drv, which in turn says
> that it needs the derivation to download the linux-libre tarball.
>
> (I’m still traveling, so I cannot check the tarballs right now.)
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>

[-- Attachment #2: Type: text/html, Size: 3078 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-06 15:55     ` rohit yadav
@ 2017-02-06 21:45       ` Ricardo Wurmus
  0 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-02-06 21:45 UTC (permalink / raw)
  To: rohit yadav; +Cc: guix-devel


rohit yadav <rohityadav@utexas.edu> writes:

> ​Hi,
>
> I am noticing that all the links the guix is trying to download linux-libre
> are broken (linux-libre-4.4.18-gnu.tar.xz) does not exist. How should I fix
> it, is there a way to provide a local copy for this which guix can use?

Oof, you are right about this.  Where did that tarball go?
We have it cached on hydra.  You can download it with

    guix build -S linux-libre-headers

when substitutes are enabled.  Alternatively, you could fetch this

    https://mirror.hydra.gnu.org/nar/51f2f2ck80migsfr2hwy4ds30966lifi-linux-libre-4.4.18-gnu.tar.xz

Note that this is a nar wrapped in a layer of bzip2 compression, because
that’s what hydra does for everything.  You can unpack with bunzip2 and
then use “guix archive --extract” to turn it into a regular tarball.

I’ll open a bug report about the broken URL.  Thanks for the report!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-05  8:53 [Install guix packages to non-default]: Unable to build derivation hello rohit yadav
  2017-02-05 11:29 ` ng0
  2017-02-06 20:46 ` Ricardo Wurmus
@ 2017-02-07 13:56 ` Ludovic Courtès
  2017-02-07 15:17   ` rohit yadav
  2 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2017-02-07 13:56 UTC (permalink / raw)
  To: rohit yadav; +Cc: guix-devel

Hello,

rohit yadav <rohityadav@utexas.edu> skribis:

> Starting download of
> /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz

[...]

> ERROR: download failed "
> http://mirror.hydra.gnu.org/file/fsgliw4y7j4kc6ad1574h7qhdvb-linux-libre-4.4.18-gnu.tar.xz/sha256/0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps"
> 404 "Not Found"

Ooh, there’s a bug here.  The URL should be:

  https://mirror.hydra.gnu.org/file/linux-libre-4.4.18-gnu.tar.xz/sha256/0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps

(Compare the part right after “/file.”)

I believe this is fixed by 328f7cbe435d79d61f57129d9e3ee90404d6bfda.

Now, you can either build and install guix-daemon from ‘master’, or
simply make sure to do:

  export NIX_STORE=/home/royadav/opt/guix/local/gnu/store

in the environment where guix-daemon runs.

If you’re using systemd, I guess you can add this setting in the unit
file.

Once you’ve done that, you should be able to download this tarball from
mirror.hydra.gnu.org transparently.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-07 13:56 ` Ludovic Courtès
@ 2017-02-07 15:17   ` rohit yadav
  2017-02-08 11:29     ` Ludovic Courtès
  0 siblings, 1 reply; 10+ messages in thread
From: rohit yadav @ 2017-02-07 15:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1435 bytes --]

​Hi,

Thanks for fixing the linux-libre (I am yet to try). However, my other
question is why linux-libre is required to build hello?

Thanks,
Rohit​

On Tue, Feb 7, 2017 at 7:56 AM, Ludovic Courtès <ludo@gnu.org> wrote:

> Hello,
>
> rohit yadav <rohityadav@utexas.edu> skribis:
>
> > Starting download of
> > /home/royadav/opt/guix/local/gnu/store/gc4i3fsgliw4y7j4kc6ad1574h7qhd
> vb-linux-libre-4.4.18-gnu.tar.xz
>
> [...]
>
> > ERROR: download failed "
> > http://mirror.hydra.gnu.org/file/fsgliw4y7j4kc6ad1574h7qhdvb-
> linux-libre-4.4.18-gnu.tar.xz/sha256/0k8k17in7dkjd9d8zg3i8l1ax466db
> a6bxw28flxizzyq8znljps"
> > 404 "Not Found"
>
> Ooh, there’s a bug here.  The URL should be:
>
>   https://mirror.hydra.gnu.org/file/linux-libre-4.4.18-gnu.tar.xz/sha256/
> 0k8k17in7dkjd9d8zg3i8l1ax466dba6bxw28flxizzyq8znljps
>
> (Compare the part right after “/file.”)
>
> I believe this is fixed by 328f7cbe435d79d61f57129d9e3ee90404d6bfda.
>
> Now, you can either build and install guix-daemon from ‘master’, or
> simply make sure to do:
>
>   export NIX_STORE=/home/royadav/opt/guix/local/gnu/store
>
> in the environment where guix-daemon runs.
>
> If you’re using systemd, I guess you can add this setting in the unit
> file.
>
> Once you’ve done that, you should be able to download this tarball from
> mirror.hydra.gnu.org transparently.
>
> HTH!
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 3074 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Install guix packages to non-default]: Unable to build derivation hello
  2017-02-07 15:17   ` rohit yadav
@ 2017-02-08 11:29     ` Ludovic Courtès
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Courtès @ 2017-02-08 11:29 UTC (permalink / raw)
  To: rohit yadav; +Cc: guix-devel

rohit yadav <rohityadav@utexas.edu> skribis:

> Thanks for fixing the linux-libre (I am yet to try). However, my other
> question is why linux-libre is required to build hello?

Since you’re using a non-standard store directory, you cannot get
binaries from hydra.gnu.org, so you’re rebuilding the world.

The C library depends on the Linux-libre header files, which is why this
is happening.

Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-02-08 11:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-05  8:53 [Install guix packages to non-default]: Unable to build derivation hello rohit yadav
2017-02-05 11:29 ` ng0
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

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).