From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#13958: Failing net-db.test on armv5tel glibc 2.17 Date: Fri, 15 Mar 2013 14:48:37 +0100 Message-ID: <87ppz0wz7u.fsf@gnu.org> References: <20130310225811.GO14560@vicerveza.homeunix.net> <87txoert3q.fsf@gnu.org> <20130314140337.GE14560@vicerveza.homeunix.net> <87ppz0ykxe.fsf@gnu.org> <20130315113408.GI14560@vicerveza.homeunix.net> <87zjy4wzrr.fsf@gnu.org> <20130315134040.GJ14560@vicerveza.homeunix.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363355339 9944 80.91.229.3 (15 Mar 2013 13:48:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2013 13:48:59 +0000 (UTC) Cc: 13958@debbugs.gnu.org To: =?UTF-8?Q?Llu=C3=ADs?= Batlle i Rossell Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 15 14:49:24 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UGV0Y-0007Wx-Ey for guile-bugs@m.gmane.org; Fri, 15 Mar 2013 14:49:18 +0100 Original-Received: from localhost ([::1]:34687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGV0B-0004W5-TH for guile-bugs@m.gmane.org; Fri, 15 Mar 2013 09:48:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGV06-0004VR-SE for bug-guile@gnu.org; Fri, 15 Mar 2013 09:48:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGV01-0008Fu-Vs for bug-guile@gnu.org; Fri, 15 Mar 2013 09:48:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGV01-0008Ff-TG for bug-guile@gnu.org; Fri, 15 Mar 2013 09:48:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UGV1G-0005SE-6w for bug-guile@gnu.org; Fri, 15 Mar 2013 09:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 15 Mar 2013 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13958 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 13958-submit@debbugs.gnu.org id=B13958.136335539920953 (code B ref 13958); Fri, 15 Mar 2013 13:50:02 +0000 Original-Received: (at 13958) by debbugs.gnu.org; 15 Mar 2013 13:49:59 +0000 Original-Received: from localhost ([127.0.0.1]:55767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGV1C-0005Ru-TL for submit@debbugs.gnu.org; Fri, 15 Mar 2013 09:49:59 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:54788) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGV1A-0005Rh-AQ for 13958@debbugs.gnu.org; Fri, 15 Mar 2013 09:49:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 6BE8C6ACC; Fri, 15 Mar 2013 14:48:38 +0100 (CET) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IaqTBMPjtJ6m; Fri, 15 Mar 2013 14:48:38 +0100 (CET) Original-Received: from pluto (unknown [193.50.110.213]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 2C3592BB1; Fri, 15 Mar 2013 14:48:38 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?UTF-8?Q?Vent=C3=B4se?= an 221 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <20130315134040.GJ14560@vicerveza.homeunix.net> ("=?UTF-8?Q?Llu=C3=ADs?= Batlle i Rossell"'s message of "Fri, 15 Mar 2013 14:40:40 +0100") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6972 Archived-At: Llu=C3=ADs Batlle i Rossell skribis: > On Fri, Mar 15, 2013 at 02:36:40PM +0100, Ludovic Court=C3=A8s wrote: >> Llu=C3=ADs Batlle i Rossell skribis: [...] >> > 16993 open("/nix/store/83fff5psdwad2vcy44lv5gwyzfmj4433-glibc-2.17/lib= /libnss_myhostname.so.2", O_R >> > DONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) >>=20 >> This is most likely the culprit. Presumably you forgot to add >> libnss_myhostname to $LD_LIBRARY_PATH, no? >>=20 >> Also, what does /etc/nsswitch.conf look like? > > The hosts line: > hosts: files dns myhostname OK. I wonder if adding a [NOTFOUND=3D...] clause could help. > Ok, so the source of that bad-handled message is a NSS problem in nix bui= lds > without chroot. Yes, it=E2=80=99s reading an NSS configuration that cannot be used. > What should be the proper user program reaction to that EAI_AGAIN + errno? Ideally Guile would propagate the errno value. But in your case it=E2=80= =99s ENOENT, so the error message would be like: failed to resolve host name: No such file or directory This is not really more helpful than: failed to resolve host name: System error (That=E2=80=99s part of the reason why exceptions were invented. :-)) To me, that example is an argument in favor of the status quo in Guile=E2=80=94i.e., keeping EAI_SYSTEM handling as it is. Thoughts? Ludo=E2=80=99.