[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian package build problems with 2.0.9 (from git)
From: |
Rob Browning |
Subject: |
Debian package build problems with 2.0.9 (from git) |
Date: |
Sat, 15 Jun 2013 13:06:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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