From unknown Fri Aug 15 12:54:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13958 <13958@debbugs.gnu.org> To: bug#13958 <13958@debbugs.gnu.org> Subject: Status: Failing net-db.test on armv5tel glibc 2.17 Reply-To: bug#13958 <13958@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:54:48 +0000 retitle 13958 Failing net-db.test on armv5tel glibc 2.17 reassign 13958 guile submitter 13958 Llu=C3=ADs Batlle i Rossell severity 13958 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 14 11:51:30 2013 Received: (at submit) by debbugs.gnu.org; 14 Mar 2013 15:51:30 +0000 Received: from localhost ([127.0.0.1]:54280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGARA-0004Xr-EM for submit@debbugs.gnu.org; Thu, 14 Mar 2013 11:51:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47879) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UG8mS-0001o3-AM for submit@debbugs.gnu.org; Thu, 14 Mar 2013 10:05:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG8l8-0005Ky-Te for submit@debbugs.gnu.org; Thu, 14 Mar 2013 10:03:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:56437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG8l8-0005Ku-QP for submit@debbugs.gnu.org; Thu, 14 Mar 2013 10:03:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG8l4-0003YW-02 for bug-guile@gnu.org; Thu, 14 Mar 2013 10:03:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG8kz-0005Iw-1D for bug-guile@gnu.org; Thu, 14 Mar 2013 10:03:49 -0400 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:50400 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG8ky-0005IX-TN for bug-guile@gnu.org; Thu, 14 Mar 2013 10:03:44 -0400 Received: from 182.34.21.95.dynamic.jazztel.es ([95.21.34.182] helo=mail.viric.name) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UG8kw-0007ve-8K for bug-guile@gnu.org; Thu, 14 Mar 2013 14:03:42 +0000 Received: by mail.viric.name (Postfix, from userid 1000) id 9A8D843FE5C0; Thu, 14 Mar 2013 15:03:37 +0100 (CET) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 95.21.34.182 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX184oQNNyojlFDmEEQrH4ewU Date: Thu, 14 Mar 2013 15:03:37 +0100 From: =?iso-8859-1?Q?Llu=EDs?= Batlle i Rossell To: bug-guile@gnu.org Subject: Failing net-db.test on armv5tel glibc 2.17 Message-ID: <20130314140337.GE14560@vicerveza.homeunix.net> References: <20130310225811.GO14560@vicerveza.homeunix.net> <87txoert3q.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87txoert3q.fsf@gnu.org> X-Accept-Language: ca, es, eo, ru, en, jbo, tokipona User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 14 Mar 2013 11:51:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hello, running the test below, I see on glibc-2.17 armv5tel-linux: ---- Running net-db.test ;;; (err -11) unexpected error code: -11 "System error" FAIL: net-db.test: getaddrinfo: no name ---- I mention glibc 2.17 because I think it didn't fail with glibc 2.13. Regards, Llu=C3=ADs. On Thu, Mar 14, 2013 at 02:47:21PM +0100, Ludovic Court=C3=A8s wrote: > Llu=C3=ADs Batlle i Rossell skribis: >=20 > > Running net-db.test > > unexpected error code: -11 "System error" > > FAIL: net-db.test: getaddrinfo: no name >=20 > La provo estas: >=20 > (catch 'getaddrinfo-error > (lambda () > (pk "getaddrinfo for \"does-not-exist\" succeeded!" > (getaddrinfo "does-not-exist")) > (throw 'unresolved)) > (lambda (key errcode) > ;; In some cases (e.g., in a chroot without > ;; /etc/{hosts,resolv.conf}), this can result in > ;; `EAI_EAGAIN' (glibc 2.11), or `EAI_NODATA' (glibc 2.12). > (and (or (=3D errcode EAI_NONAME) > (and (defined? 'EAI_NODATA) ; GNU extension > (=3D errcode EAI_NODATA)) > (=3D errcode EAI_AGAIN) > (begin > (format #t "unexpected error code: ~a ~s~%" > errcode (gai-strerror errcode)) > #f)) > (string? (gai-strerror errcode))))) >=20 > =C4=88u vi povas =C5=9Dan=C4=9Di (=3D errcode EAI_NONAME) per (=3D (pk = 'err errcode) EAI_NONAME) > kaj sendi la detalojn al bug-guile@gnu.org? >=20 > Dankon! >=20 > Ludo'. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 15 07:15:42 2013 Received: (at 13958) by debbugs.gnu.org; 15 Mar 2013 11:15:42 +0000 Received: from localhost ([127.0.0.1]:55531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGSbu-0000pp-B3 for submit@debbugs.gnu.org; Fri, 15 Mar 2013 07:15:42 -0400 Received: from xanadu.aquilenet.fr ([88.191.123.111]:48728) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGSbr-0000ph-Qy for 13958@debbugs.gnu.org; Fri, 15 Mar 2013 07:15:40 -0400 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 0DE442BBA; Fri, 15 Mar 2013 12:14:22 +0100 (CET) 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 k8qk0AOgY-hV; Fri, 15 Mar 2013 12:14:21 +0100 (CET) Received: from pluto (unknown [193.50.110.213]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id C0875117D; Fri, 15 Mar 2013 12:14:21 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Llu=C3=ADs?= Batlle i Rossell Subject: Re: bug#13958: Failing net-db.test on armv5tel glibc 2.17 References: <20130310225811.GO14560@vicerveza.homeunix.net> <87txoert3q.fsf@gnu.org> <20130314140337.GE14560@vicerveza.homeunix.net> Date: Fri, 15 Mar 2013 12:14:21 +0100 In-Reply-To: <20130314140337.GE14560@vicerveza.homeunix.net> (=?utf-8?Q?=22Llu=C3=ADs?= Batlle i Rossell"'s message of "Thu, 14 Mar 2013 15:03:37 +0100") Message-ID: <87ppz0ykxe.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Lluís! Lluís Batlle i Rossell skribis: > running the test below, I see on glibc-2.17 armv5tel-linux: > ---- > Running net-db.test > > ;;; (err -11) > unexpected error code: -11 "System error" > FAIL: net-db.test: getaddrinfo: no name > ---- [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4998] X-Debbugs-Envelope-To: 13958 Cc: 13958@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) Hi Llu=C3=ADs! Llu=C3=ADs Batlle i Rossell skribis: > running the test below, I see on glibc-2.17 armv5tel-linux: > ---- > Running net-db.test > > ;;; (err -11) > unexpected error code: -11 "System error" > FAIL: net-db.test: getaddrinfo: no name > ---- Does it happen in a chroot without /etc/resolv.conf & co.? Is it a dynamically-linked binary? Could you run =E2=80=9Cstrace -o log -f ./check-guile net-db.test=E2=80=9D = and post the log? (Note that I build it with Guix on x86_64-linux-gnu without any problems; glibc 2.17 as well, and in a chroot.) Now, we have a problem with the =E2=80=98getaddrinfo-error=E2=80=99 API: EA= I_SYSTEM means =E2=80=9Ccheck what errno says=E2=80=9D, and we don=E2=80=99t provide= the errno value. This could be fixed by passing the errno as an additional parameter to =E2=80=98throw=E2=80=99. However, that would lead to wrong-num-args for ex= isting handlers upon EAI_SYSTEM, and would essentially force programmers to use =E2=80=98case-lambda=E2=80=99 for their handlers. OTOH, there are only two occurrences of EAI_SYSTEM in inet/getaddrinfo.c in glibc: one is for NETDB_INTERNAL, and the other is for IDNA_DLOPEN_ERROR. When that happens, the extra bit of information provided by errno is probably not very helpful. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 15 07:35:40 2013 Received: (at 13958) by debbugs.gnu.org; 15 Mar 2013 11:35:40 +0000 Received: from localhost ([127.0.0.1]:55548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGSvD-0002D0-6j for submit@debbugs.gnu.org; Fri, 15 Mar 2013 07:35:40 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:31326 helo=mho-01-ewr.mailhop.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGSvA-0002Cn-FO for 13958@debbugs.gnu.org; Fri, 15 Mar 2013 07:35:37 -0400 Received: from 182.34.21.95.dynamic.jazztel.es ([95.21.34.182] helo=mail.viric.name) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGStq-000JDy-Cf; Fri, 15 Mar 2013 11:34:14 +0000 Received: by mail.viric.name (Postfix, from userid 1000) id 0E41743FE5C3; Fri, 15 Mar 2013 12:34:08 +0100 (CET) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 95.21.34.182 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+Nl9Dq033sUgyGznxq/RCq Date: Fri, 15 Mar 2013 12:34:08 +0100 From: =?iso-8859-1?Q?Llu=EDs?= Batlle i Rossell To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#13958: Failing net-db.test on armv5tel glibc 2.17 Message-ID: <20130315113408.GI14560@vicerveza.homeunix.net> References: <20130310225811.GO14560@vicerveza.homeunix.net> <87txoert3q.fsf@gnu.org> <20130314140337.GE14560@vicerveza.homeunix.net> <87ppz0ykxe.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87ppz0ykxe.fsf@gnu.org> X-Accept-Language: ca, es, eo, ru, en, jbo, tokipona User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13958 Cc: 13958@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On Fri, Mar 15, 2013 at 12:14:21PM +0100, Ludovic Court=C3=A8s wrote: > Hi Llu=C3=ADs! >=20 > Llu=C3=ADs Batlle i Rossell skribis: >=20 > > running the test below, I see on glibc-2.17 armv5tel-linux: > > ---- > > Running net-db.test > > > > ;;; (err -11) > > unexpected error code: -11 "System error" > > FAIL: net-db.test: getaddrinfo: no name > > ---- >=20 > Does it happen in a chroot without /etc/resolv.conf & co.? >=20 > Is it a dynamically-linked binary? >=20 > Could you run =E2=80=9Cstrace -o log -f ./check-guile net-db.test=E2=80= =9D and post > the log? >=20 > (Note that I build it with Guix on x86_64-linux-gnu without any > problems; glibc 2.17 as well, and in a chroot.) >=20 >=20 > Now, we have a problem with the =E2=80=98getaddrinfo-error=E2=80=99 API= : EAI_SYSTEM > means =E2=80=9Ccheck what errno says=E2=80=9D, and we don=E2=80=99t pro= vide the errno value. >=20 > This could be fixed by passing the errno as an additional parameter to > =E2=80=98throw=E2=80=99. However, that would lead to wrong-num-args fo= r existing > handlers upon EAI_SYSTEM, and would essentially force programmers to us= e > =E2=80=98case-lambda=E2=80=99 for their handlers. >=20 > OTOH, there are only two occurrences of EAI_SYSTEM in inet/getaddrinfo.= c > in glibc: one is for NETDB_INTERNAL, and the other is for > IDNA_DLOPEN_ERROR. When that happens, the extra bit of information > provided by errno is probably not very helpful. 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 =3D false Excerpt of the strace log: 16993 connect(7, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Di= net_addr("127.0.0.1")}, 16) =3D 0 16993 gettimeofday({1363270208, 638948}, NULL) =3D 0 16993 poll([{fd=3D7, events=3DPOLLOUT}], 1, 0) =3D 1 ([{fd=3D7, revents=3D= POLLOUT}]) 16993 sendmmsg(7, {{{msg_name(0)=3DNULL, msg_iov(1)=3D[{"\25>\1\0\0\1\0\0= \0\0\0\0\16does-not-exist\10ho me"..., 45}], msg_controllen=3D0, msg_flags=3DMSG_WAITALL|MSG_TRUNC|MSG_D= ONTWAIT|MSG_RST|MSG_NOSIGNAL|M SG_MORE|0xbed40000}, 45}, {{msg_name(0)=3DNULL, msg_iov(1)=3D[{"\303:\1\0= \0\1\0\0\0\0\0\0\16does-not-ex ist\10home"..., 45}], msg_controllen=3D0, msg_flags=3D0}, 45}}, 2, MSG_NO= SIGNAL) =3D 2 16993 poll([{fd=3D7, events=3DPOLLIN}], 1, 5000) =3D 1 ([{fd=3D7, revents= =3DPOLLIN}]) 16993 ioctl(7, FIONREAD, [106]) =3D 0 16993 recvfrom(7, "\25>\201\203\0\1\0\0\0\1\0\0\16does-not-exist\10home".= .., 2048, 0, {sa_family=3DAF _INET, sin_port=3Dhtons(53), sin_addr=3Dinet_addr("127.0.0.1")}, [16]) =3D= 106 16993 gettimeofday({1363270208, 645244}, NULL) =3D 0 16993 poll([{fd=3D7, events=3DPOLLIN}], 1, 4993) =3D 1 ([{fd=3D7, revents= =3DPOLLIN}]) 16993 ioctl(7, FIONREAD, [106]) =3D 0 16993 recvfrom(7, "\303:\201\203\0\1\0\0\0\1\0\0\16does-not-exist\10home"= ..., 1940, 0, {sa_family=3DA F_INET, sin_port=3Dhtons(53), sin_addr=3Dinet_addr("127.0.0.1")}, [16]) =3D= 106 16993 close(7) =3D 0 16993 gettimeofday({1363270208, 646679}, NULL) =3D 0 16993 gettimeofday({1363270208, 646897}, NULL) =3D 0 16993 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) =3D 7 16993 connect(7, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Di= net_addr("127.0.0.1")}, 16) =3D 0 16993 gettimeofday({1363270208, 647559}, NULL) =3D 0 16993 poll([{fd=3D7, events=3DPOLLOUT}], 1, 0) =3D 1 ([{fd=3D7, revents=3D= POLLOUT}]) 16993 sendmmsg(7, {{{msg_name(0)=3DNULL, msg_iov(1)=3D[{"\332\330\1\0\0\1= \0\0\0\0\0\0\16does-not-exist\ 0\0\1\0\1", 32}], msg_controllen=3D0, msg_flags=3DMSG_WAITALL|MSG_TRUNC|M= SG_DONTWAIT|MSG_RST|MSG_NOSIGN AL|MSG_MORE|0xbed40000}, 32}, {{msg_name(0)=3DNULL, msg_iov(1)=3D[{"\313w= \1\0\0\1\0\0\0\0\0\0\16does-no t-exist\0\0\34\0\1", 32}], msg_controllen=3D0, msg_flags=3D0}, 32}}, 2, M= SG_NOSIGNAL) =3D 2 16993 poll([{fd=3D7, events=3DPOLLIN}], 1, 5000) =3D 1 ([{fd=3D7, revents= =3DPOLLIN}]) 16993 ioctl(7, FIONREAD, [107]) =3D 0 16993 recvfrom(7, "\332\330\201\203\0\1\0\0\0\1\0\0\16does-not-exist\0\0\= 1\0\1"..., 2048, 0, {sa_fa mily=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Dinet_addr("127.0.0.1")},= [16]) =3D 107 16993 gettimeofday({1363270208, 651397}, NULL) =3D 0 16993 poll([{fd=3D7, events=3DPOLLIN}], 1, 4996) =3D 1 ([{fd=3D7, revents= =3DPOLLIN}]) 16993 ioctl(7, FIONREAD, [107]) =3D 0 16993 recvfrom(7, "\313w\201\203\0\1\0\0\0\1\0\0\16does-not-exist\0\0\34\= 0\1"..., 1940, 0, {sa_fami ly=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Dinet_addr("127.0.0.1")}, [= 16]) =3D 107 16993 close(7) =3D 0 16993 open("/nix/store/83fff5psdwad2vcy44lv5gwyzfmj4433-glibc-2.17/lib/li= bnss_myhostname.so.2", O_R DONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) 16993 write(1, "\n", 1) =3D 1 16993 write(1, ";;; ", 4) =3D 4 16993 write(1, "(", 1) =3D 1 16993 write(1, "err", 3) =3D 3 16993 write(1, " ", 1) =3D 1 16993 write(1, "-11", 3) =3D 3 16993 write(1, ")", 1) =3D 1 16993 write(1, "\n", 1) =3D 1 16993 write(1, "unexpected error code: ", 23) =3D 23 Regards, Llu=C3=ADs. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 15 09:38:01 2013 Received: (at 13958) by debbugs.gnu.org; 15 Mar 2013 13:38:02 +0000 Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGUpd-0005A1-Er for submit@debbugs.gnu.org; Fri, 15 Mar 2013 09:38:01 -0400 Received: from xanadu.aquilenet.fr ([88.191.123.111]:38560) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGUpa-00059s-SW for 13958@debbugs.gnu.org; Fri, 15 Mar 2013 09:38:00 -0400 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id AD8E1CBA6; Fri, 15 Mar 2013 14:36:40 +0100 (CET) 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 eFnDARoQ3Q7O; Fri, 15 Mar 2013 14:36:40 +0100 (CET) Received: from pluto (unknown [193.50.110.213]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 6D158986F; Fri, 15 Mar 2013 14:36:40 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Llu=C3=ADs?= Batlle i Rossell Subject: Re: bug#13958: Failing net-db.test on armv5tel glibc 2.17 References: <20130310225811.GO14560@vicerveza.homeunix.net> <87txoert3q.fsf@gnu.org> <20130314140337.GE14560@vicerveza.homeunix.net> <87ppz0ykxe.fsf@gnu.org> <20130315113408.GI14560@vicerveza.homeunix.net> 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?= =?utf-8?Q?=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 Date: Fri, 15 Mar 2013 14:36:40 +0100 In-Reply-To: <20130315113408.GI14560@vicerveza.homeunix.net> (=?utf-8?Q?=22Llu=C3=ADs?= Batlle i Rossell"'s message of "Fri, 15 Mar 2013 12:34:08 +0100") Message-ID: <87zjy4wzrr.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 13958 Cc: 13958@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Llu=C3=ADs Batlle i Rossell 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 =3D false > > > Excerpt of the strace log: > 16993 connect(7, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Di= net_addr("127.0.0.1")}, 16) =3D 0 So you disabled nscd? (The request goes directly to the DNS server.) > 16993 open("/nix/store/83fff5psdwad2vcy44lv5gwyzfmj4433-glibc-2.17/lib/li= bnss_myhostname.so.2", O_R > DONLY|O_CLOEXEC) =3D -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? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 15 09:42:11 2013 Received: (at 13958) by debbugs.gnu.org; 15 Mar 2013 13:42:11 +0000 Received: from localhost ([127.0.0.1]:55759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGUtd-0005Gg-WC for submit@debbugs.gnu.org; Fri, 15 Mar 2013 09:42:10 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:37583 helo=mho-01-ewr.mailhop.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGUtb-0005GP-8e for 13958@debbugs.gnu.org; Fri, 15 Mar 2013 09:42:08 -0400 Received: from 182.34.21.95.dynamic.jazztel.es ([95.21.34.182] helo=mail.viric.name) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGUsG-0005H4-PI; Fri, 15 Mar 2013 13:40:44 +0000 Received: by mail.viric.name (Postfix, from userid 1000) id EF35843FE5DA; Fri, 15 Mar 2013 14:40:40 +0100 (CET) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 95.21.34.182 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19GMqg95dBonWHIp+6aBCFb Date: Fri, 15 Mar 2013 14:40:40 +0100 From: =?iso-8859-1?Q?Llu=EDs?= Batlle i Rossell To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#13958: Failing net-db.test on armv5tel glibc 2.17 Message-ID: <20130315134040.GJ14560@vicerveza.homeunix.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <87zjy4wzrr.fsf@gnu.org> X-Accept-Language: ca, es, eo, ru, en, jbo, tokipona User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 13958 Cc: 13958@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On Fri, Mar 15, 2013 at 02:36:40PM +0100, Ludovic Court=E8s wrote: > Llu=EDs Batlle i Rossell skribis: >=20 > > 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 =3D false > > > > > > Excerpt of the strace log: > > 16993 connect(7, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr= =3Dinet_addr("127.0.0.1")}, 16) =3D 0 >=20 > So you disabled nscd? (The request goes directly to the DNS server.) Right. > > 16993 open("/nix/store/83fff5psdwad2vcy44lv5gwyzfmj4433-glibc-2.17/li= b/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, so the source of that bad-handled message is a NSS problem in nix bui= lds without chroot. What should be the proper user program reaction to that EAI_AGAIN + errno= ? Regards, Llu=EDs. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 15 09:49:59 2013 Received: (at 13958) by debbugs.gnu.org; 15 Mar 2013 13:49:59 +0000 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 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 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) 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) 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) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Llu=C3=ADs?= Batlle i Rossell Subject: Re: bug#13958: Failing net-db.test on armv5tel glibc 2.17 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> 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?= =?utf-8?Q?=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 Date: Fri, 15 Mar 2013 14:48:37 +0100 In-Reply-To: <20130315134040.GJ14560@vicerveza.homeunix.net> (=?utf-8?Q?=22Llu=C3=ADs?= Batlle i Rossell"'s message of "Fri, 15 Mar 2013 14:40:40 +0100") Message-ID: <87ppz0wz7u.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 13958 Cc: 13958@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 25 17:49:57 2013 Received: (at 13958-done) by debbugs.gnu.org; 25 Mar 2013 21:49:57 +0000 Received: from localhost ([127.0.0.1]:45151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKFHB-0003Tb-4K for submit@debbugs.gnu.org; Mon, 25 Mar 2013 17:49:57 -0400 Received: from xanadu.aquilenet.fr ([88.191.123.111]:45070) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKFH8-0003TR-2d for 13958-done@debbugs.gnu.org; Mon, 25 Mar 2013 17:49:55 -0400 Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id F3E92CAEA; Mon, 25 Mar 2013 22:47:37 +0100 (CET) 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 ce2x4wnVn1ZO; Mon, 25 Mar 2013 22:47:37 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 7022D1FD8; Mon, 25 Mar 2013 22:47:37 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Llu=C3=ADs?= Batlle i Rossell Subject: Re: bug#13958: Failing net-db.test on armv5tel glibc 2.17 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> <87ppz0wz7u.fsf@gnu.org> Date: Mon, 25 Mar 2013 22:47:36 +0100 In-Reply-To: <87ppz0wz7u.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 15 Mar 2013 14:48:37 +0100") Message-ID: <87ppyn2ltz.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: ludo@gnu.org (Ludovic Courtès) skribis: > Ideally Guile would propagate the errno value. But in your case it’s > 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’s part of the reason why exceptions were invented. :-)) > > To me, that example is an argument in favor of the status quo in > Guile—i.e., keeping EAI_SYSTEM handling as it is. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 13958-done Cc: 13958-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: ludo@gnu.org (Ludovic Courtès) skribis: > Ideally Guile would propagate the errno value. But in your case it’s > 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’s part of the reason why exceptions were invented. :-)) > > To me, that example is an argument in favor of the status quo in > Guile—i.e., keeping EAI_SYSTEM handling as it is. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4583] ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > 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. I went ahead and documented the missing errno value for EAI_SYSTEM. Thanks, Ludo=E2=80=99. From unknown Fri Aug 15 12:54:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Apr 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator