bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core-updates: Downloads do not work


From: Ludovic Courtès
Subject: Re: Core-updates: Downloads do not work
Date: Fri, 04 Jan 2013 18:17:25 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi!

Andreas Enge <address@hidden> skribis:

> Am Donnerstag, 3. Januar 2013 schrieb Ludovic Courtès:

[...]

>> The C library’s getaddrinfo and other lookup functions can of course be
>> used without nscd, which is what your applications were using.
>> 
>> What differs here is that the bootstrap Guile is statically linked, and
>> getaddrinfo and similar functions are not fully functional in statically
>> linked binaries.
>> 
>> Hmm, that said, we should probably build the bootstrap libc with
>> --disable-nscd to avoid this problem altogether.  I’ll try that, but
>> rebuilding everything is gonna take ages again...
>
> Well, if it solves the problem, it is worth the time!

I’m working on it, and it seems to solve the problem.

>> Can you try:
>>   strace -o ,,s
>> /nix/store/7ys18z66aih9dwzlwkj2jynk05a3xsds-guile-bootstrap-2.0/bin/gui
>> le -c '(pk (getaddrinfo "ftp.gnu.org" "80" AI_NUMERICSERV))' grep nscd
>> ,,s
>> The above path is that of the bootstrap Guile in master.
>
> The same problem:

Good, I wouldn’t have been able to explain a different behavior.  ;-)

> Admittedly, I recently downloaded new tarballs mainly for my own new 
> packages, and since I needed the hash, I did so using guix-download. So 
> maybe it does not work any more since guix includes the build code from 
> nix?

Not sure what you mean here.  It could be that you had tarballs already
in the store, and thus didn’t notice the problem.

> It definitely did work at some point in time for my first "hello".

Well, dunno.  The nscd is enabled by default in glibc builds, so it
could be that it was there once upon a time...

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]