Andreas Enge <andr...@enge.fr> skribis:

> in the core-updates branch, tarballs are not downloaded automatically any 
> more. Here is the result of "guix-build hello" (which tries to rebuild 
> everything, as expected):

I can’t reproduce it:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix-build -S -e '(@ (distro packages base) glibc-final)'
the following derivations will be built:
    /nix/store/r132zr05rnbwl56xlzaqypsh85cd8cfv-glibc-2.17.tar.xz.drv
    /nix/store/lasdjqypfkcfqkf4ryvycz3b0x239c71-module-import.drv
    /nix/store/n0pdl6b6f8qykbh9mhdgjj56mb24d5k2-module-import-compiled.drv

[...]

starting download of 
`/nix/store/c09pc1yvdai4ylb5i7x242aj66dy3f07-glibc-2.17.tar.xz' from 
`http://ftpmirror.gnu.org/glibc/glibc-2.17.tar.xz'...
following redirection to 
`http://mirror.ibcp.fr/pub/gnu/glibc/glibc-2.17.tar.xz'...
--8<---------------cut here---------------end--------------->8---

Most likely this is because nscd is not running, or not listening to the
right socket:

--8<---------------cut here---------------start------------->8---
$ strace -o ,,s 
/nix/store/k8qmk5n2zsrndvzqs4bq7x9jyyxf5ndr-guile-bootstrap-2.0/bin/guile -c 
'(pk (getaddrinfo "ftp.gnu.org" "80" AI_NUMERICSERV))'

;;; ((#(1024 2 1 6 #(2 3497454356 80) #f) #(1024 2 2 17 #(2 3497454356 80) #f) 
#(1024 2 3 0 #(2 3497454356 80) #f) #(1024 10 1 6 #(10 
42541952298791455573290623124440612875 80 0 0) #f) #(1024 10 2 17 #(10 
42541952298791455573290623124440612875 80 0 0) #f) #(1024 10 3 0 #(10 
42541952298791455573290623124440612875 80 0 0) #f)))

$ grep nscd ,,s
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
--8<---------------cut here---------------end--------------->8---

Can you check that?

TIA,
Ludo’.

Reply via email to