Bug#397714: cyrus-sasl2: FTBFS on hurd-i386: MAXHOSTNAMELEN Regression

Michael Banck mbanck at debian.org
Thu Nov 9 00:32:22 CET 2006


Package: cyrus-sasl2
Severity: important
Version: 2.1.22-1
Tags: patch

Hi,

your package fails to autobuild:

Automatic build of cyrus-sasl2_2.1.22-1 on beethoven by sbuild/hurd-i386 85
Build started at 20061108-2051
[...]
dpatch  apply-all  
applying patch 0001_versioned_symbols to ./ ... ok.
applying patch 0002_testsuite to ./ ... ok.
applying patch 0003_saslauthd_mdoc to ./ ... ok.
applying patch 0004_missing_man_pages to ./ ... ok.
applying patch 0005_dbconverter to ./ ... ok.
applying patch 0006_library_mutexes to ./ ... ok.
applying patch 0007_manpages_section to ./ ... ok.
applying patch 0008_one_time_sasl_set_alloc to ./ ... ok.
applying patch 0009_sasldb_al to ./ ... ok.
applying patch 0010_maintainer_mode to ./ ... ok.
applying patch 0011_saslauthd_ac_prog_libtool to ./ ... ok.
dpatch  cat-all  >>patch-stampT
[...]
if i486-gnu-gcc -DHAVE_CONFIG_H -DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/etc/saslauthd.conf\" -I. -I. -I.. -I. -I. -I. -I./include -I./include -I./../include    -Wall -g -O2 -Wl,-z,defs -MT auth_sasldb.o -MD -MP -MF ".deps/auth_sasldb.Tpo" -c -o auth_sasldb.o auth_sasldb.c; \
	then mv -f ".deps/auth_sasldb.Tpo" ".deps/auth_sasldb.Po"; else rm -f ".deps/auth_sasldb.Tpo"; exit 1; fi
auth_sasldb.c: In function 'auth_sasldb':
auth_sasldb.c:136: error: 'MAXHOSTNAMELEN' undeclared (first use in this function)
auth_sasldb.c:136: error: (Each undeclared identifier is reported only once
auth_sasldb.c:136: error: for each function it appears in.)
auth_sasldb.c:144: warning: implicit declaration of function 'gethostname'
auth_sasldb.c:153: warning: pointer targets in passing argument 8 of '_sasldb_getdata' differ in signedness
auth_sasldb.c:136: warning: unused variable 'realm_buf'
make[4]: *** [auth_sasldb.o] Error 1
make[4]: Leaving directory `/build/buildd/cyrus-sasl2-2.1.22/saslauthd'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/build/buildd/cyrus-sasl2-2.1.22/saslauthd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/cyrus-sasl2-2.1.22'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/cyrus-sasl2-2.1.22'
make: *** [build-arch-stamp] Error 2
******************************************************************************
Build finished at 20061108-2118
FAILED [dpkg-buildpackage died]

Seems debian/patches/26_fix_hurd_build.diff got lost, it builds fine if
I apply it again.


cheers,

Michael
-------------- next part --------------
--- cyrus-sasl-2.1.19.dfsg1/saslauthd/auth_sasldb.c.orig     2005-01-25 11:13:48.000000000 +0100
+++ cyrus-sasl-2.1.19.dfsg1/saslauthd/auth_sasldb.c  2005-01-25 11:14:15.000000000 +0100
@@ -41,6 +41,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <pwd.h>
+#include <config.h>
 /* END PUBLIC DEPENDENCIES */

 #define RETURN(x) return strdup(x)


More information about the Pkg-cyrus-sasl2-debian-devel mailing list