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

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

Am Donnerstag, 3. Januar 2013 schrieb Ludovic Courtès:
> Andreas Enge <andreas@enge.fr> skribis:
> > So should this be checked by ./configure?
> It wouldn’t be enough: nscd could be running at configure time, and not
> later.

True, but it would be better than nothing - as long as it is not packaged 
for distributions, the code will most probably run on the machine where it 
has been compiled.

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

> 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:
privat@debian:/tmp$ strace -o ,,s 
/nix/store/7ys18z66aih9dwzlwkj2jynk05a3xsds-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)))

privat@debian:/tmp$ grep nscd ,,s
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 
ENOENT (No such file or directory)
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 
ENOENT (No such file or directory)

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? It definitely did work at some point in time for my first "hello".

Andreas

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

  reply	other threads:[~2013-01-04 15:57 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 [this message]
2013-01-04 17:17             ` Ludovic Courtès
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=201301041657.17154.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    --cc=ludo@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.