DC-Build-Header: db4.8 4.8.30-12 / Sat Jun 23 16:20:53 +0000 2012 DC-Task: logfile:/tmp/db4.8_4.8.30-12_unstable_clang.log version:4.8.30-12 chroot:unstable modes:binary-only:clang source:db4.8 architecture:any esttime:259 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang db4.8_4.8.30-12' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-192-45.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ db4.8 4.8.30-12 (amd64) 23 Jun 2012 16:20 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: db4.8 Version: 4.8.30-12 Source Version: 4.8.30-12 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/db4.8-hW2BqP/db4.8-4.8.30' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/db4.8-hW2BqP' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-41dd8474-33d8-4161-9a22-bf12c07d5535' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [233 kB] Get:3 http://localhost unstable/main Sources/DiffIndex [7876 B] Get:4 http://localhost unstable/main amd64 Packages/DiffIndex [7876 B] Get:5 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:6 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:7 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:8 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:9 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:10 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:11 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Fetched 274 kB in 5s (54.3 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'db4.8' packaging is maintained in the 'Git' version control system at: git://git.debian.org/pkg-db/db4.8/db.git Need to get 22.9 MB of source archives. Get:1 http://localhost/debian/ unstable/main db4.8 4.8.30-12 (dsc) [1320 B] Get:2 http://localhost/debian/ unstable/main db4.8 4.8.30-12 (tar) [22.9 MB] Get:3 http://localhost/debian/ unstable/main db4.8 4.8.30-12 (diff) [23.9 kB] Fetched 22.9 MB in 1s (18.4 MB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends clang -t unstable Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-dev libffi5 libllvm3.1 Recommended packages: llvm-3.1-dev python The following NEW packages will be installed: clang libclang-common-dev libffi5 libllvm3.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 35.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:2 http://localhost/debian/ unstable/main libllvm3.1 amd64 3.1-1 [7276 kB] Get:3 http://localhost/debian/ unstable/main libclang-common-dev amd64 3.1-6 [84.0 kB] Get:4 http://localhost/debian/ unstable/main clang amd64 3.1-6 [5755 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.1 MB in 0s (30.1 MB/s) Selecting previously unselected package libffi5:amd64. (Reading database ... 11730 files and directories currently installed.) Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.1:amd64. Unpacking libllvm3.1:amd64 (from .../libllvm3.1_3.1-1_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.1-6_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.1-6_amd64.deb) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.1:amd64 (3.1-1) ... Setting up libclang-common-dev (3.1-6) ... Setting up clang (3.1-6) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSION=4.7 + cd /usr/bin + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-bRI46V/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/708 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11810 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), procps, tcl-dev, dpkg-dev (>= 1.16.0) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), procps, tcl-dev, dpkg-dev (>= 1.16.0) dpkg-deb: building package `sbuild-build-depends-db4.8-dummy' in `/«BUILDDIR»/resolver-9FgEPy/apt_archive/sbuild-build-depends-db4.8-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install db4.8 build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libncursesw5 libprocps0 procps tcl tcl-dev tcl8.5 tcl8.5-dev Suggested packages: tcl-doc tcl-tclreadline tcl8.5-doc Recommended packages: libgpm2 psmisc The following NEW packages will be installed: libncursesw5 libprocps0 procps sbuild-build-depends-db4.8-dummy tcl tcl-dev tcl8.5 tcl8.5-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 3180 kB/3180 kB of archives. After this operation, 8567 kB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libncursesw5 amd64 5.9-9 [141 kB] Get:2 http://localhost/debian/ unstable/main libprocps0 amd64 1:3.3.3-2 [58.1 kB] Get:3 http://localhost/debian/ unstable/main procps amd64 1:3.3.3-2 [252 kB] Get:4 http://localhost/debian/ unstable/main tcl8.5 amd64 8.5.11-2 [1627 kB] Get:5 http://localhost/debian/ unstable/main tcl all 8.5.0-2 [4636 B] Get:6 http://localhost/debian/ unstable/main tcl8.5-dev amd64 8.5.11-2 [1089 kB] Get:7 http://localhost/debian/ unstable/main tcl-dev all 8.5.0-2 [6968 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 3180 kB in 0s (16.1 MB/s) Selecting previously unselected package libncursesw5:amd64. (Reading database ... 11810 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9-9_amd64.deb) ... Selecting previously unselected package libprocps0:amd64. Unpacking libprocps0:amd64 (from .../libprocps0_1%3a3.3.3-2_amd64.deb) ... Selecting previously unselected package procps. Unpacking procps (from .../procps_1%3a3.3.3-2_amd64.deb) ... Selecting previously unselected package tcl8.5. Unpacking tcl8.5 (from .../tcl8.5_8.5.11-2_amd64.deb) ... Selecting previously unselected package tcl. Unpacking tcl (from .../archives/tcl_8.5.0-2_all.deb) ... Selecting previously unselected package tcl8.5-dev. Unpacking tcl8.5-dev (from .../tcl8.5-dev_8.5.11-2_amd64.deb) ... Selecting previously unselected package tcl-dev. Unpacking tcl-dev (from .../tcl-dev_8.5.0-2_all.deb) ... Selecting previously unselected package sbuild-build-depends-db4.8-dummy. Unpacking sbuild-build-depends-db4.8-dummy (from .../sbuild-build-depends-db4.8-dummy.deb) ... Setting up libncursesw5:amd64 (5.9-9) ... Setting up libprocps0:amd64 (1:3.3.3-2) ... Setting up procps (1:3.3.3-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode. All runlevel operations denied by policy invoke-rc.d: policy-rc.d denied execution of start. Setting up tcl8.5 (8.5.11-2) ... update-alternatives: using /usr/bin/tclsh8.5 to provide /usr/bin/tclsh (tclsh) in auto mode. Setting up tcl (8.5.0-2) ... update-alternatives: using /usr/bin/tclsh-default to provide /usr/bin/tclsh (tclsh) in auto mode. Setting up tcl8.5-dev (8.5.11-2) ... Setting up tcl-dev (8.5.0-2) ... Setting up sbuild-build-depends-db4.8-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-6.1 dpkg-dev_1.16.4.3 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc-4.6_4.6.3-7 gcc-4.7_4.7.1-1 libc6-dev_2.13-33 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 linux-libc-dev_3.2.20-1 Package versions: apt_0.9.7 base-files_6.11 base-passwd_3.5.25 bash_4.2-2 binutils_2.22-6.1 bsdutils_1:2.20.1-5 build-essential_11.5 bzip2_1.0.6-3 clang_3.1-6 coreutils_8.13-3.2 cpp_4:4.7.0-6 cpp-4.6_4.6.3-7 cpp-4.7_4.7.1-1 dash_0.5.7-3 debconf_1.5.44 debconf-i18n_1.5.44 debfoster_2.7-1.1 debian-archive-keyring_2012.4 debianutils_4.3.1 diffutils_1:3.2-6 dpkg_1.16.4.3 dpkg-dev_1.16.4.3 e2fslibs_1.42.4-3 e2fsprogs_1.42.4-3 fakeroot_1.18.4-2 findutils_4.4.2-4 g++_4:4.7.0-6 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc_4:4.7.0-6 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-7 gcc-4.6-base_4.6.3-7 gcc-4.7_4.7.1-1 gcc-4.7-base_4.7.1-1 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.12-2 gzip_1.5-1.1 hostname_3.11 initscripts_2.88dsf-27 insserv_1.14.0-3 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7 libattr1_1:2.4.46-8 libblkid1_2.20.1-5 libbz2-1.0_1.0.6-3 libc-bin_2.13-33 libc-dev-bin_2.13-33 libc6_2.13-33 libc6-dev_2.13-33 libclang-common-dev_3.1-6 libclass-isa-perl_0.36-3 libcomerr2_1.42.4-3 libdb5.1_5.1.29-4 libdpkg-perl_1.16.4.3 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-8 libgcc1_1:4.7.1-1 libgdbm3_1.8.3-11 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.1-1 libitm1_4.7.1-1 libllvm3.1_3.1-1 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-1 libmount1_2.20.1-5 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libncursesw5_5.9-9 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libprocps0_1:3.3.3-2 libquadmath0_4.7.1-1 libreadline6_6.2-8 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-13 libss2_1.42.4-3 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-9 libusb-0.1-4_2:0.1.12-23 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5 linux-libc-dev_3.2.20-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian7 make_3.81-8.2 mawk_1.3.3-17 mount_2.20.1-5 multiarch-support_2.13-33 ncurses-base_5.9-9 ncurses-bin_5.9-9 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-12 perl-base_5.14.2-12 perl-modules_5.14.2-12 procps_1:3.3.3-2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-db4.8-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 tcl_8.5.0-2 tcl-dev_8.5.0-2 tcl8.5_8.5.11-2 tcl8.5-dev_8.5.11-2 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5 xz-utils_5.1.1alpha+20120614-1 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri Jun 1 17:05:31 2012 UTC using DSA key ID C20DF273 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./db4.8_4.8.30-12.dsc dpkg-source: info: extracting db4.8 in db4.8-4.8.30 dpkg-source: info: unpacking db4.8_4.8.30.orig.tar.gz dpkg-source: info: unpacking db4.8_4.8.30-12.debian.tar.gz dpkg-source: info: applying debian-changes-4.8.30-5 Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=unstable-amd64-sbuild-41dd8474-33d8-4161-9a22-bf12c07d5535 SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ───────────────── dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package db4.8 dpkg-buildpackage: source version 4.8.30-12 dpkg-buildpackage: source changed by Ondřej Surý dpkg-source --before-build db4.8-4.8.30 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean test -f debian/rules rm -rf obj rm -f build install-stamp rm -rf debian/tmp debian/db4.8* core rm -f debian/substvars.* rm -rf debian/libdb* dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build test -f debian/rules mkdir -p obj cd obj && CC=gcc CFLAGS="-Wall -g -O2" \ ../dist/configure --prefix=/usr --mandir=\${prefix}/share/man --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib/ --libexecdir=/usr/lib --disable-cxx --enable-compat185 --with-tcl=/usr/lib --enable-tcl --enable-test --with-mutex=POSIX/pthreads/library checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking if building in the top-level or dist directories... no checking if --disable-cryptography option specified... no checking if --disable-hash option specified... no checking if --disable-partition option specified... no checking if --disable-compression option specified... no checking if --disable-mutexsupport option specified... no checking if --disable-atomicsupport option specified... no checking if --disable-queue option specified... no checking if --disable-replication option specified... no checking if --disable-statistics option specified... no checking if --disable-verify option specified... no checking if --enable-compat185 option specified... yes checking if --enable-cxx option specified... no checking if --enable-debug option specified... no checking if --enable-debug_rop option specified... no checking if --enable-debug_wop option specified... no checking if --enable-diagnostic option specified... no checking if --enable-dump185 option specified... no checking if --enable-java option specified... no checking if --enable-mingw option specified... no checking if --enable-o_direct option specified... no checking if --enable-posixmutexes option specified... no checking if --enable-rpc option specified... no checking if --enable-smallbuild option specified... no checking if --enable-stl option specified... no checking if --enable-tcl option specified... yes checking if --enable-test option specified... yes checking if --enable-uimutexes option specified... no checking if --enable-umrw option specified... no checking if --with-mutex=MUTEX option specified... POSIX/pthreads/library checking if --with-tcl=DIR option specified... /usr/lib checking if --with-uniquename=NAME option specified... no checking for chmod... chmod checking for cp... cp checking for kill... kill checking for ln... ln checking for mkdir... mkdir checking for rm... rm checking for sh... /bin/sh checking for a BSD-compatible install... /usr/bin/install -c checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether we are using gcc version 2.96... no checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 3458764513820540925 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok ../dist/configure: line 8163: /usr/bin/file: No such file or directory checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... no checking whether CXX accepts -g... no checking how to run the C++ preprocessor... /lib/cpp checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether the CXX linker (/usr/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for CXX option to produce PIC... -DPIC checking if CXX PIC flag -DPIC works... no checking if CXX static flag works... no checking if CXX supports -c -o file.o... no checking if CXX supports -c -o file.o... (cached) no checking whether the CXX linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... unsupported checking SOSUFFIX from libtool... .so checking MODSUFFIX from libtool... .so checking JMODSUFFIX from libtool... .so checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for struct stat.st_blksize... yes checking for inttypes.h... (cached) yes checking for stdint.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking size of char... 1 checking size of unsigned char... 1 checking size of short... 2 checking size of unsigned short... 2 checking size of int... 4 checking size of unsigned int... 4 checking size of long... 8 checking size of unsigned long... 8 checking size of long long... 8 checking size of unsigned long long... 8 checking size of char *... 8 checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for int16_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for u_int64_t... yes checking for int64_t... yes checking for FILE *... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for time_t... yes checking size of size_t... 8 checking for ssize_t... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for socklen_t... yes checking for ANSI C exit success/failure values... yes checking for getopt optreset variable... no checking for mutexes... (cached) POSIX/pthreads/library checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for main in -lpthread... yes checking for atomic operations... x86/gcc-assembly checking for library containing sched_yield... none required checking for library containing fdatasync... none required checking for library containing getaddrinfo... none required checking for library containing hstrerror... none required checking for main in -lm... yes checking for main in -lnsl... yes checking for main in -lsocket... no checking for abort... yes checking for atoi... yes checking for atol... yes checking for getcwd... yes checking for getenv... yes checking for getopt... yes checking for isalpha... yes checking for isdigit... yes checking for isprint... yes checking for isspace... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for printf... yes checking for qsort... yes checking for raise... yes checking for rand... yes checking for strcasecmp... yes checking for strcat... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncat... yes checking for strncmp... yes checking for strrchr... yes checking for strsep... yes checking for strtol... yes checking for strtoul... yes checking for _fstati64... no checking for backtrace... yes checking for backtrace_symbols... yes checking for directio... no checking for fchmod... yes checking for fclose... yes checking for fcntl... yes checking for fdatasync... yes checking for fgetc... yes checking for fgets... yes checking for fopen... yes checking for fwrite... yes checking for getgid... yes checking for getrusage... yes checking for getuid... yes checking for hstrerror... yes checking for mprotect... yes checking for pstat_getdynamic... no checking for pthread_self... yes checking for pthread_yield... yes checking for random... yes checking for sched_yield... yes checking for select... yes checking for setgid... yes checking for setuid... yes checking for sigaction... yes checking for snprintf... yes checking for stat... yes checking for sysconf... yes checking for vsnprintf... yes checking for yield... no checking for gettimeofday... yes checking for localtime... yes checking for time... yes checking for strftime... yes checking for clock_gettime... no checking for clock_gettime monotonic clock... no checking for ctime_r... yes checking for 2 or 3 argument version of ctime_r... 2-argument checking for ftruncate... yes checking for pread... yes checking for pwrite... yes checking for getaddrinfo... yes checking for fcntl/F_SETFD... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for mlock... yes checking for munlock... yes checking for mmap... yes checking for munmap... yes checking for shmget... yes checking for shmctl... yes checking for existence of /usr/lib/tclConfig.sh... loading checking for 64-bit integral type support for sequences... yes configure: creating ./config.status config.status: creating Makefile config.status: creating db_cxx.h config.status: creating db_int.h config.status: creating clib_port.h config.status: creating include.tcl config.status: creating db.h config.status: creating db_185.h config.status: creating db185_int.h config.status: creating db_config.h config.status: executing libtool commands cd obj && /usr/bin/make make[1]: Entering directory `/«PKGBUILDDIR»/obj' ./libtool --mode=compile gcc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2 ../dist/../db185/db185.c libtool: compile: gcc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2 ../dist/../db185/db185.c -fPIC -DPIC -o .libs/db185.o In file included from ../dist/../db185/db185.c:11: In file included from ./db_int.h:884: In file included from ../dist/../dbinc/mutex.h:15: In file included from ../dist/../dbinc/mutex_int.h:12: ../dist/../dbinc/atomic.h:179:19: error: definition of builtin function '__atomic_compare_exchange' static inline int __atomic_compare_exchange( ^ ../dist/../db185/db185.c:71:7: warning: case value not in enumerated type 'DBTYPE' [-Wswitch] case 0: /* DB_BTREE */ ^ 1 warning and 1 error generated. make[1]: *** [db185.lo] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»/obj' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120623-1621 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 113752 Build-Time: 19 Distribution: unstable Fail-Stage: build Install-Time: 7 Job: db4.8_4.8.30-12 Package: db4.8 Package-Time: 52 Source-Version: 4.8.30-12 Space: 113752 Status: attempted Version: 4.8.30-12 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1621 Build needed 00:00:52, 113752k disc space DC-Status: Failed 52.840487s DC-Time-Estimation: 52.840487 versus expected 259 (r/m: 3.90154452967097 ; m: 52.840487)