all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Core-updates: Downloads do not work
Date: Fri, 04 Jan 2013 18:17:25 +0100	[thread overview]
Message-ID: <87k3rsvpei.fsf@gnu.org> (raw)
In-Reply-To: <201301041657.17154.andreas@enge.fr> (Andreas Enge's message of "Fri, 4 Jan 2013 16:57:14 +0100")

Hi!

Andreas Enge <andreas@enge.fr> 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	other threads:[~2013-01-04 17:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03  8:55 Core-updates: Downloads do not work Andreas Enge
2013-01-03 15:01 ` Ludovic Courtès
2013-01-03 15:28   ` Andreas Enge
2013-01-03 16:05     ` Ludovic Courtès
2013-01-03 16:45       ` Andreas Enge
2013-01-03 20:53         ` Ludovic Courtès
2013-01-04 15:57           ` Andreas Enge
2013-01-04 17:17             ` Ludovic Courtès [this message]
2013-01-06  0:20             ` Ludovic Courtès
2013-01-07 21:45               ` Andreas Enge
2013-01-07 22:17                 ` Ludovic Courtès
2013-01-08  8:54                   ` Andreas Enge
2013-01-08 22:51                     ` Ludovic Courtès
2013-01-09  6:25               ` Andreas Enge
2013-01-09 13:51                 ` 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

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

  git send-email \
    --in-reply-to=87k3rsvpei.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.