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.devel Subject: Re: Debian package build problems with 2.0.9 (from git) Date: Sat, 15 Jun 2013 22:47:13 +0200 Message-ID: <87a9mr3xv2.fsf@gnu.org> References: <87ip1fuu30.fsf@trouble.defaultvalue.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 1371329543 10457 80.91.229.3 (15 Jun 2013 20:52:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2013 20:52:23 +0000 (UTC) Cc: guile-devel@gnu.org To: Rob Browning Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 15 22:52:24 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 1UnxSR-0002tL-D2 for guile-devel@m.gmane.org; Sat, 15 Jun 2013 22:52:23 +0200 Original-Received: from localhost ([::1]:40892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnxSQ-0007pw-Vu for guile-devel@m.gmane.org; Sat, 15 Jun 2013 16:52:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnxSL-0007pZ-JB for guile-devel@gnu.org; Sat, 15 Jun 2013 16:52:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnxSK-0002pj-Bu for guile-devel@gnu.org; Sat, 15 Jun 2013 16:52:17 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:40164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnxSK-0002pd-4y for guile-devel@gnu.org; Sat, 15 Jun 2013 16:52:16 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 094F4D79; Sat, 15 Jun 2013 22:47:15 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lx+4PCn2Mx5G; Sat, 15 Jun 2013 22:47:14 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7144D8D5; Sat, 15 Jun 2013 22:47:14 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Prairial 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: <87ip1fuu30.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 15 Jun 2013 13:06:43 -0500") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 141.255.128.1 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:16485 Archived-At: Rob Browning skribis: > The first might be a problem caused by my packaging, but in case not, > the build from git fails because doc/ref/effective-version.texi doesn't > exist when it tries to build guile.info. guile.info normally doesn=E2=80=99t need to be built when using the tarball. However, this wasn=E2=80=99t the case until a9ea4f909b9970c755b0a7c4cd9da90= 7e66496fc. > The second problem is that the net-db.test is failing: > > Running net-db.test > unexpected error code: -11 "System error" > FAIL: net-db.test: getaddrinfo: no name > > But it looks like at least on my current (Debian unstable) system, > that may be the normal behavior. This program: > > #include > #include > #include > #include > > int > main(int argc, char **argv) > { > struct addrinfo c_hints, *c_result; > > memset(&c_hints, 0, sizeof (c_hints)); > const int err =3D getaddrinfo ("does-not-exist", > NULL, > &c_hints, > &c_result); > if (err =3D=3D 0) > freeaddrinfo (c_result); > > printf("err: %d\n", err); > printf("errno: %d\n", errno); > > return 0; > } > > Produces this output: > > $ ./foo > err: -11 > errno: 2 (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. Could you strace the C program above and check what happens? TIA, Ludo=E2=80=99.