From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Debian package build problems with 2.0.9 (from git) Date: Sat, 15 Jun 2013 16:28:59 -0500 Message-ID: <87k3lvrrl0.fsf@trouble.defaultvalue.org> References: <87ip1fuu30.fsf@trouble.defaultvalue.org> <87a9mr3xv2.fsf@gnu.org> 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 1371331749 30755 80.91.229.3 (15 Jun 2013 21:29:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2013 21:29:09 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 15 23:29:11 2013 Return-path: Envelope-to: guile-devel@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 1Uny20-0006sm-Tp for guile-devel@m.gmane.org; Sat, 15 Jun 2013 23:29:09 +0200 Original-Received: from localhost ([::1]:45096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uny20-0004t1-Hy for guile-devel@m.gmane.org; Sat, 15 Jun 2013 17:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uny1v-0004sw-Ew for guile-devel@gnu.org; Sat, 15 Jun 2013 17:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uny1t-0004tA-L9 for guile-devel@gnu.org; Sat, 15 Jun 2013 17:29:03 -0400 Original-Received: from defaultvalue.org ([70.85.129.156]:50672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uny1t-0004ss-GR; Sat, 15 Jun 2013 17:29:01 -0400 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id 222E390D24; Sat, 15 Jun 2013 16:29:00 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 7BC9A14E064; Sat, 15 Jun 2013 16:28:59 -0500 (CDT) In-Reply-To: <87a9mr3xv2.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 15 Jun 2013 22:47:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 70.85.129.156 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16486 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) writes: > guile.info normally doesn=E2=80=99t need to be built when using the tarba= ll. > However, this wasn=E2=80=99t the case until a9ea4f909b9970c755b0a7c4cd9da= 907e66496fc. Right. I was asking about the case of building from git -- there I'm using ./autogen.sh. Is that not sufficient? In any case, for now, the patch I posted handles the problem. > (Where 2 is ENOENT.) > > Quoting http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13958#8 : > > [T]here 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. > > Most likely, that means that one of the NSS modules specified in > /etc/nsswitch.conf could not be loaded. Here's the nsswitch.conf: passwd: compat group: compat shadow: compat hosts: files mdns4_minimal [NOTFOUND=3Dreturn] dns mdns4 networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis > Could you strace the C program above and check what happens? $ strace -f -p ./foo ... 27725 open("/lib/libnss_mdns4.so.2", O_RDONLY|O_CLOEXEC) =3D 3 27725 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\v\0\0\0= \0\0\0"..., 832) =3D 832 27725 fstat(3, {st_mode=3DS_IFREG|0644, st_size=3D10880, ...}) =3D 0 27725 mmap(NULL, 2106096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,= 3, 0) =3D 0x7f3717b7f000 27725 mprotect(0x7f3717b81000, 2097152, PROT_NONE) =3D 0 27725 mmap(0x7f3717d81000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FI= XED|MAP_DENYWRITE, 3, 0x2000) =3D 0x7f3717d81000 27725 close(3) =3D 0 27725 munmap(0x7f3718b48000, 203786) =3D 0 27725 open("/etc/mdns.allow", O_RDONLY) =3D -1 ENOENT (No such file or di= rectory) 27725 fstat(1, {st_mode=3DS_IFCHR|0620, st_rdev=3Dmakedev(136, 1), ...}) = =3D 0 27725 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -= 1, 0) =3D 0x7f3718b79000 27725 write(1, " err: -11\n", 11) =3D 11 27725 write(1, "errno: 2\n", 9) =3D 9 27725 exit_group(0) =3D ? Hope this helps, and thanks. --=20 Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4