Package: libnss-db Version: 2.2.3pre1-1 Severity: important Hi,
There was a problem autobuilding your package: Automatic build of libnss-db_2.2.3pre1-1 on beethoven by sbuild/hurd-i386 1.170.5 Build started at 20050809-2023 ****************************************************************************** Checking available source versions... Fetching source files... Reading Package Lists... Building Dependency Tree... Need to get 380kB of source archives. Get:1 http://ftp.de.debian.org unstable/main libnss-db 2.2.3pre1-1 (dsc) [688B] Get:2 http://ftp.de.debian.org unstable/main libnss-db 2.2.3pre1-1 (tar) [235kB] Get:3 http://ftp.de.debian.org unstable/main libnss-db 2.2.3pre1-1 (diff) [144kB] Fetched 380kB in 0s (746kB/s) Download complete and in download only mode ** Using build dependencies supplied by package: Build-Depends: autoconf, automake1.9, libtool, gettext, perl, libdb4.3-dev, libselinux1-dev [ !hurd-i386 !kfreebsd-i386 ], yada (>= 0.37) **** Warning: **** The following central src deps are (probably) missing: libdb3-dev (>= 3.2.9-17) [...] Checking correctness of source dependencies... Toolchain package versions: libc0.3-dev_2.3.2.ds1-22 gnumach-dev_1:20050501-4 hurd-dev_20050513-3 gcc-4.0_4.0.1-3+hurd.1 g++-4.0_4.0.1-3+hurd.1 binutils_2.16.1-2 libstdc++6-4.0-dev_4.0.1-3+hurd.1 libstdc++6_4.0.1-3+hurd.1 ------------------------------------------------------------------------------ dpkg-source: extracting libnss-db in libnss-db-2.2.3pre1 dpkg-source: unpacking libnss-db_2.2.3pre1.orig.tar.gz dpkg-source: applying /home/mbanck/build/libnss-db_2.2.3pre1-1.diff.gz dpkg-buildpackage: source package is libnss-db dpkg-buildpackage: source version is 2.2.3pre1-1 dpkg-buildpackage: host architecture hurd-i386 [...] *** Applying patch from debian/patches/007-selinux.patch patching file configure.in patching file src/makedb.c patching file src/Makefile.am [...] if [ "$DEB_HOST_GNU_SYSTEM" = "linux" ]; then WITH_SELINUX="--with-selinux" fi [...] if ! [ configure-stamp -nt autoconf-stamp ]; then test -d build || mkdir build pushd build CC="$CC" CFLAGS="$CFLAGS" ../configure \ --prefix=/usr \ $WITH_SELINUX popd touch configure-stamp fi /build/mbanck/libnss-db-2.2.3pre1/build /build/mbanck/libnss-db-2.2.3pre1 [...] checking selinux/selinux.h usability... no checking selinux/selinux.h presence... no checking for selinux/selinux.h... no configure: WARNING: SELinux not detected [...] if gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -D_GNU_SOURCE -I../intl -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -MT makedb.o -MD -MP -MF ".deps/makedb.Tpo" -c -o makedb.o ../../src/makedb.c; \ then mv -f ".deps/makedb.Tpo" ".deps/makedb.Po"; else rm -f ".deps/makedb.Tpo"; exit 1; fi ../../src/makedb.c:40:29: error: selinux/selinux.h: No such file or directory ../../src/makedb.c: In function 'set_file_creation_context': ../../src/makedb.c:415: error: 'security_context_t' undeclared (first use in this function) ../../src/makedb.c:415: error: (Each undeclared identifier is reported only once ../../src/makedb.c:415: error: for each function it appears in.) ../../src/makedb.c:415: error: syntax error before 'ctx' ../../src/makedb.c:432: error: 'ctx' undeclared (first use in this function) make[3]: *** [makedb.o] Error 1 make[3]: Leaving directory `/build/mbanck/libnss-db-2.2.3pre1/build/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/mbanck/libnss-db-2.2.3pre1/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/mbanck/libnss-db-2.2.3pre1/build' make: *** [debian/build-stamp] Error 2 ****************************************************************************** Build finished at 20050809-2028 This is from config.log: |It was created by configure, which was |generated by GNU Autoconf 2.59. Invocation command line was | | $ ../configure --prefix=/usr so $WITH_SELINUX got set correctly. However, it appears the selinux is broken: +AC_ARG_WITH(selinux,AC_HELP_STRING(--with-selinux,[enable SELinux support [[default=auto]]]), +selinux=$withval, +selinux=auto) This means that $selinux will get set to "auto" if --with-selinux/--without-selinux is not passed to configure. +if test x$selinux != no ; then That should be s/no/xno/ I guess? + AC_CHECK_HEADERS(selinux/selinux.h) + if test x$ac_cv_header_selinux_selinux_h = xno ; then + if test x$selinux = xyes ; then + AC_MSG_ERROR([SELinux not detected]) + else + AC_MSG_WARN([SELinux not detected]) + selinux=no + fi + fi +fi That's alright, it still checks for selinux/selinux.h, even if selinux is supposed to be disabled, and either errs out or warns about the absence of the header. However, later on: +if test x$selinux != no ; then + AC_DEFINE(SELINUX,1,[Define to have makedb set SELinux file contexts on created files.]) +fi Here, the s/no/xno/ issue bites us, as it defines SELINUX which subsequently breaks. At least, that's my take on it. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

