unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Lluís Batlle i Rossell" <viric@viric.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 13958@debbugs.gnu.org
Subject: bug#13958: Failing net-db.test on armv5tel glibc 2.17
Date: Fri, 15 Mar 2013 14:40:40 +0100	[thread overview]
Message-ID: <20130315134040.GJ14560@vicerveza.homeunix.net> (raw)
In-Reply-To: <87zjy4wzrr.fsf@gnu.org>

On Fri, Mar 15, 2013 at 02:36:40PM +0100, Ludovic Courtès wrote:
> Lluís Batlle i Rossell <viric@viric.name> skribis:
> 
> > I think this log should be enough. I have a dns server at 127.0.0.1,
> > and I have in nix.conf:
> > build-use-chroot = false
> >
> >
> > Excerpt of the strace log:
> > 16993 connect(7, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
> 
> So you disabled nscd?  (The request goes directly to the DNS server.)

Right.

> > 16993 open("/nix/store/83fff5psdwad2vcy44lv5gwyzfmj4433-glibc-2.17/lib/libnss_myhostname.so.2", O_R
> > DONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> 
> This is most likely the culprit.  Presumably you forgot to add
> libnss_myhostname to $LD_LIBRARY_PATH, no?
> 
> Also, what does /etc/nsswitch.conf look like?

The hosts line:
hosts:     files  dns  myhostname

Ok, so the source of that bad-handled message is a NSS problem in nix builds
without chroot.

What should be the proper user program reaction to that EAI_AGAIN + errno?

Regards,
Lluís.





  reply	other threads:[~2013-03-15 13:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130310225811.GO14560@vicerveza.homeunix.net>
     [not found] ` <87txoert3q.fsf@gnu.org>
2013-03-14 14:03   ` bug#13958: Failing net-db.test on armv5tel glibc 2.17 Lluís Batlle i Rossell
2013-03-15 11:14     ` Ludovic Courtès
2013-03-15 11:34       ` Lluís Batlle i Rossell
2013-03-15 13:36         ` Ludovic Courtès
2013-03-15 13:40           ` Lluís Batlle i Rossell [this message]
2013-03-15 13:48             ` Ludovic Courtès
2013-03-25 21:47               ` 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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=20130315134040.GJ14560@vicerveza.homeunix.net \
    --to=viric@viric.name \
    --cc=13958@debbugs.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.
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).