From: ludo@gnu.org (Ludovic Courtès)
To: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: Debian package build problems with 2.0.9 (from git)
Date: Sat, 15 Jun 2013 22:47:13 +0200 [thread overview]
Message-ID: <87a9mr3xv2.fsf@gnu.org> (raw)
In-Reply-To: <87ip1fuu30.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 15 Jun 2013 13:06:43 -0500")
Rob Browning <rlb@defaultvalue.org> 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’t need to be built when using the tarball.
However, this wasn’t the case until a9ea4f909b9970c755b0a7c4cd9da907e66496fc.
> 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 <errno.h>
> #include <netdb.h>
> #include <stdio.h>
> #include <string.h>
>
> int
> main(int argc, char **argv)
> {
> struct addrinfo c_hints, *c_result;
>
> memset(&c_hints, 0, sizeof (c_hints));
> const int err = getaddrinfo ("does-not-exist",
> NULL,
> &c_hints,
> &c_result);
> if (err == 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=13958#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’.
next prev parent reply other threads:[~2013-06-15 20:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-15 18:06 Debian package build problems with 2.0.9 (from git) Rob Browning
2013-06-15 20:47 ` Ludovic Courtès [this message]
2013-06-15 21:28 ` Rob Browning
2013-06-15 22:21 ` Ludovic Courtès
2013-06-16 15:18 ` Ludovic Courtès
2013-06-16 0:22 ` Daniel Hartwig
2013-06-16 4:52 ` Rob Browning
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=87a9mr3xv2.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guile-devel@gnu.org \
--cc=rlb@defaultvalue.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).