Package: libgc Version: 6.5-1 Severity: important Tags: patch Hello,
Your package fails to build from source: Automatic build of libgc_1:6.5-1 on beethoven by sbuild/hurd-i386 1.170.5 Build started at 20050725-1608 ****************************************************************************** Checking available source versions... Fetching source files... Reading Package Lists... Building Dependency Tree... Need to get 1005kB of source archives. Get:1 http://ftp.de.debian.org unstable/main libgc 1:6.5-1 (dsc) [553B] Get:2 http://ftp.de.debian.org unstable/main libgc 1:6.5-1 (tar) [752kB] Get:3 http://ftp.de.debian.org unstable/main libgc 1:6.5-1 (diff) [252kB] Fetched 1005kB in 0s (1396kB/s) Download complete and in download only mode ** Using build dependencies supplied by package: Build-Depends: debhelper **** Warning: **** The following central src deps are (probably) missing: libc6-dev Checking for already installed source dependencies... debhelper: already installed Checking for source dependency conflicts... 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-2+hurd.1 g++-4.0_4.0.1-2+hurd.1 binutils_2.16.1-2 libstdc++6-4.0-dev_4.0.1-2+hurd.1 libstdc++6_4.0.1-2+hurd.1 ------------------------------------------------------------------------------ dpkg-source: extracting libgc in libgc-6.5 dpkg-buildpackage: source package is libgc dpkg-buildpackage: source version is 1:6.5-1 dpkg-buildpackage: host architecture hurd-i386 [...] debian/rules build dh_testdir # First build the shared library ./configure --enable-cplusplus --disable-dependency-tracking \ --with-tags=CXX --prefix=/usr --mandir=\${prefix}/share/man \ --sysconfdir=/etc --localstatedir=/var/lib \ --datadir=\${prefix}/share/doc checking build system type... i686-unknown-gnu0.3 checking host system type... i686-unknown-gnu0.3 checking target system type... i686-unknown-gnu0.3 checking GC version numbers... major=6 minor=5 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for ar... ar checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether to enable maintainer-specific portions of Makefiles... no checking for thread model used by GCC... posix configure: error: "Pthreads not supported by the GC on this platform." make: *** [build-stamp] Error 1 ****************************************************************************** Build finished at 20050725-1609 FAILED [dpkg-buildpackage died] Simply adding a stub section about *-*-gnu* for threading to configure.in (see attached patch) and regenerating configure makes libgc build fine and (both) tests pass. cheers, Michael
--- configure.in.orig 2005-07-25 17:23:25.000000000 +0200 +++ configure.in 2005-07-25 17:23:53.000000000 +0200 @@ -90,6 +90,10 @@ AC_DEFINE(GC_LINUX_THREADS) AC_DEFINE(_REENTRANT) ;; + *-*-gnu*) + AC_DEFINE(GC_GNU_THREADS) + AC_DEFINE(_REENTRANT) + ;; *-*-aix*) AC_DEFINE(GC_AIX_THREADS) AC_DEFINE(_REENTRANT)