From: Rob Browning <rlb@defaultvalue.org>
To: guile-devel@gnu.org
Subject: Debian package build problems with 2.0.9 (from git)
Date: Sat, 15 Jun 2013 13:06:43 -0500 [thread overview]
Message-ID: <87ip1fuu30.fsf@trouble.defaultvalue.org> (raw)
It looks like the newer libgc is headed for unstable, and I'm working on
the Debian packages for 2.0.9, where I've run into a couple of problems.
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. Here's how I fixed that for
now in doc/ref/Makefile.am:
-guile.texi: libguile-autoconf.texi
+guile.texi: effective-version.texi libguile-autoconf.texi
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
So I'm wondering if there's a problem with my test code, my system, or
if the test might need another exception here:
(and (or (= errcode EAI_NONAME)
(and (defined? 'EAI_NODATA) ; GNU extension
(= errcode EAI_NODATA))
(= errcode EAI_AGAIN)
Thanks
--
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
next reply other threads:[~2013-06-15 18:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-15 18:06 Rob Browning [this message]
2013-06-15 20:47 ` Debian package build problems with 2.0.9 (from git) Ludovic Courtès
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=87ip1fuu30.fsf@trouble.defaultvalue.org \
--to=rlb@defaultvalue.org \
--cc=guile-devel@gnu.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).