DC-Build-Header: db4.8 4.8.30-12 / Mon Jan 28 04:38:57 +0000 2013 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' Could not create '/sbuild-nonexistent/logs': No such file or directory Could not create '/sbuild-nonexistent/logs': No such file or directory sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-30-140-31.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ db4.8 4.8.30-12 (amd64) 28 Jan 2013 04:38 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ 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-fu_F5v/db4.8-4.8.30' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/db4.8-fu_F5v' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-e107ad35-5d50-4dca-af49-fe9d58f2eecf' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [227 kB] Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Get:3 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:4 http://localhost unstable/main 2013-01-27-2011.16.pdiff [737 B] Get:5 http://localhost unstable/main 2013-01-27-2011.16.pdiff [737 B] Get:6 http://localhost unstable/main Sources [8236 kB] Get:7 http://localhost unstable/main amd64 Packages [8284 kB] Get:8 http://localhost unstable/main 2013-01-28-0212.01.pdiff [43 B] Get:9 http://localhost unstable/main 2013-01-28-0212.01.pdiff [43 B] Fetched 16.8 MB in 3s (5233 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 8s (2678 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + echo 'Add experimental as repository' Add experimental as repository + echo deb http://localhost:9999/debian experimental main + apt-get update Ign http://localhost unstable InRelease Ign http://localhost experimental InRelease Hit http://localhost unstable Release.gpg Get:1 http://localhost experimental Release.gpg [836 B] Hit http://localhost unstable Release Get:2 http://localhost experimental Release [161 kB] Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Get:3 http://localhost experimental/main Translation-en [704 kB] Get:4 http://localhost experimental/main amd64 Packages [1605 kB] Hit http://localhost unstable/main Sources Hit http://localhost unstable/main amd64 Packages Fetched 2471 kB in 2s (915 kB/s) Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Ign http://localhost experimental InRelease Hit http://localhost unstable Release.gpg Hit http://localhost experimental Release.gpg Hit http://localhost unstable Release Hit http://localhost experimental Release Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Ign http://localhost experimental/main amd64 Packages/DiffIndex Get:1 http://localhost experimental/main Translation-en/DiffIndex [7819 B] Hit http://localhost unstable/main Sources Hit http://localhost unstable/main amd64 Packages Hit http://localhost experimental/main amd64 Packages Fetched 7819 B in 1s (4148 B/s) Reading package lists... + apt-get install --yes --no-install-recommends clang -t experimental Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: clang-3.2 compiler-rt cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base gcc-4.8-base libc-dev-bin libc6 libc6-dev libclang-common-dev libexpat1 libffi5 libgcc-4.7-dev libgcc1 libgomp1 libitm1 libllvm3.2 libncurses5 libncursesw5 libobjc-4.7-dev libobjc4 libpython2.7-minimal libpython2.7-stdlib libquadmath0 libsqlite3-0 libssl1.0.0 libstdc++6 libstdc++6-4.7-dev libtinfo5 mime-support python python-minimal python2.7 python2.7-minimal Suggested packages: gcc-4.7-locales g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg gcc-4.7-multilib libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg libitm1-dbg libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 binutils-gold glibc-doc libstdc++6-4.7-doc python-doc python-tk python2.7-doc binfmt-support Recommended packages: llvm-3.2-dev manpages-dev file The following NEW packages will be installed: clang clang-3.2 compiler-rt gcc-4.8-base libclang-common-dev libexpat1 libffi5 libgcc-4.7-dev libllvm3.2 libncursesw5 libobjc-4.7-dev libobjc4 libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libssl1.0.0 mime-support python python-minimal python2.7 python2.7-minimal The following packages will be upgraded: cpp-4.7 g++-4.7 gcc-4.7 gcc-4.7-base libc-dev-bin libc6 libc6-dev libgcc1 libgomp1 libitm1 libncurses5 libquadmath0 libstdc++6 libstdc++6-4.7-dev libtinfo5 15 upgraded, 21 newly installed, 0 to remove and 24 not upgraded. Need to get 56.7 MB of archives. After this operation, 72.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ experimental/main gcc-4.8-base amd64 4.8-20130127-1 [147 kB] Get:2 http://localhost/debian/ experimental/main libc6-dev amd64 2.16-0experimental1 [3086 kB] Get:3 http://localhost/debian/ experimental/main libc-dev-bin amd64 2.16-0experimental1 [226 kB] Get:4 http://localhost/debian/ experimental/main libc6 amd64 2.16-0experimental1 [4729 kB] Get:5 http://localhost/debian/ experimental/main libgcc1 amd64 1:4.8-20130127-1 [43.7 kB] Get:6 http://localhost/debian/ experimental/main libstdc++6 amd64 4.8-20130127-1 [335 kB] Get:7 http://localhost/debian/ experimental/main libtinfo5 amd64 5.9+20130119-1 [294 kB] Get:8 http://localhost/debian/ experimental/main libncurses5 amd64 5.9+20130119-1 [115 kB] Get:9 http://localhost/debian/ experimental/main libncursesw5 amd64 5.9+20130119-1 [142 kB] Get:10 http://localhost/debian/ unstable/main libssl1.0.0 amd64 1.0.1c-4 [1213 kB] Get:11 http://localhost/debian/ unstable/main libsqlite3-0 amd64 3.7.15.2-1 [463 kB] Get:12 http://localhost/debian/ experimental/main libexpat1 amd64 2.1.0-2 [138 kB] Get:13 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:14 http://localhost/debian/ experimental/main libgomp1 amd64 4.8-20130127-1 [27.4 kB] Get:15 http://localhost/debian/ experimental/main libitm1 amd64 4.8-20130127-1 [37.7 kB] Get:16 http://localhost/debian/ unstable/main libllvm3.2 amd64 3.2-2 [7865 kB] Get:17 http://localhost/debian/ experimental/main libobjc4 amd64 4.8-20130127-1 [163 kB] Get:18 http://localhost/debian/ experimental/main libquadmath0 amd64 4.8-20130127-1 [139 kB] Get:19 http://localhost/debian/ experimental/main libstdc++6-4.7-dev amd64 4.7.2-19 [1678 kB] Get:20 http://localhost/debian/ experimental/main g++-4.7 amd64 4.7.2-19 [5877 kB] Get:21 http://localhost/debian/ experimental/main gcc-4.7 amd64 4.7.2-19 [5831 kB] Get:22 http://localhost/debian/ experimental/main cpp-4.7 amd64 4.7.2-19 [5416 kB] Get:23 http://localhost/debian/ experimental/main libgcc-4.7-dev amd64 4.7.2-19 [2465 kB] Get:24 http://localhost/debian/ experimental/main gcc-4.7-base amd64 4.7.2-19 [148 kB] Get:25 http://localhost/debian/ experimental/main mime-support all 3.53~experimental2 [36.5 kB] Get:26 http://localhost/debian/ experimental/main libpython2.7-minimal amd64 2.7.3-15 [531 kB] Get:27 http://localhost/debian/ experimental/main python2.7-minimal amd64 2.7.3-15 [1220 kB] Get:28 http://localhost/debian/ experimental/main libpython2.7-stdlib amd64 2.7.3-15 [2367 kB] Get:29 http://localhost/debian/ experimental/main python2.7 amd64 2.7.3-15 [326 kB] Get:30 http://localhost/debian/ experimental/main python-minimal amd64 2.7.3-10 [41.8 kB] Get:31 http://localhost/debian/ experimental/main python amd64 2.7.3-10 [184 kB] Get:32 http://localhost/debian/ experimental/main libobjc-4.7-dev amd64 4.7.2-19 [717 kB] Get:33 http://localhost/debian/ experimental/main libclang-common-dev amd64 3.2-1~exp5 [303 kB] Get:34 http://localhost/debian/ experimental/main compiler-rt amd64 3.2-1~exp5 [315 kB] Get:35 http://localhost/debian/ experimental/main clang-3.2 amd64 3.2-1~exp5 [10.1 MB] Get:36 http://localhost/debian/ experimental/main clang all 3.2-1~exp5 [9506 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 56.7 MB in 2s (25.1 MB/s) Selecting previously unselected package gcc-4.8-base:amd64. (Reading database ... 13484 files and directories currently installed.) Unpacking gcc-4.8-base:amd64 (from .../gcc-4.8-base_4.8-20130127-1_amd64.deb) ... Setting up gcc-4.8-base:amd64 (4.8-20130127-1) ... (Reading database ... 13491 files and directories currently installed.) Preparing to replace libc6-dev:amd64 2.13-38 (using .../libc6-dev_2.16-0experimental1_amd64.deb) ... Unpacking replacement libc6-dev:amd64 ... Preparing to replace libc-dev-bin 2.13-38 (using .../libc-dev-bin_2.16-0experimental1_amd64.deb) ... Unpacking replacement libc-dev-bin ... Preparing to replace libc6:amd64 2.13-38 (using .../libc6_2.16-0experimental1_amd64.deb) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Checking for services that may need to be restarted... Checking init scripts... Unpacking replacement libc6:amd64 ... Setting up libc6:amd64 (2.16-0experimental1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Checking for services that may need to be restarted... Checking init scripts... Nothing to restart. (Reading database ... 13509 files and directories currently installed.) Preparing to replace libgcc1:amd64 1:4.7.2-5 (using .../libgcc1_1%3a4.8-20130127-1_amd64.deb) ... Unpacking replacement libgcc1:amd64 ... Setting up libgcc1:amd64 (1:4.8-20130127-1) ... (Reading database ... 13509 files and directories currently installed.) Preparing to replace libstdc++6:amd64 4.7.2-5 (using .../libstdc++6_4.8-20130127-1_amd64.deb) ... Unpacking replacement libstdc++6:amd64 ... Setting up libstdc++6:amd64 (4.8-20130127-1) ... (Reading database ... 13509 files and directories currently installed.) Preparing to replace libtinfo5:amd64 5.9-10 (using .../libtinfo5_5.9+20130119-1_amd64.deb) ... Unpacking replacement libtinfo5:amd64 ... Setting up libtinfo5:amd64 (5.9+20130119-1) ... (Reading database ... 13509 files and directories currently installed.) Preparing to replace libncurses5:amd64 5.9-10 (using .../libncurses5_5.9+20130119-1_amd64.deb) ... Unpacking replacement libncurses5:amd64 ... Setting up libncurses5:amd64 (5.9+20130119-1) ... Selecting previously unselected package libncursesw5:amd64. (Reading database ... 13509 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9+20130119-1_amd64.deb) ... Selecting previously unselected package libssl1.0.0:amd64. Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1c-4_amd64.deb) ... Selecting previously unselected package libsqlite3-0:amd64. Unpacking libsqlite3-0:amd64 (from .../libsqlite3-0_3.7.15.2-1_amd64.deb) ... Selecting previously unselected package libexpat1:amd64. Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-2_amd64.deb) ... Selecting previously unselected package libffi5:amd64. Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Preparing to replace libgomp1:amd64 4.7.2-5 (using .../libgomp1_4.8-20130127-1_amd64.deb) ... Unpacking replacement libgomp1:amd64 ... Preparing to replace libitm1:amd64 4.7.2-5 (using .../libitm1_4.8-20130127-1_amd64.deb) ... Unpacking replacement libitm1:amd64 ... Selecting previously unselected package libllvm3.2:amd64. Unpacking libllvm3.2:amd64 (from .../libllvm3.2_3.2-2_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8-20130127-1_amd64.deb) ... Preparing to replace libquadmath0:amd64 4.7.2-5 (using .../libquadmath0_4.8-20130127-1_amd64.deb) ... Unpacking replacement libquadmath0:amd64 ... Preparing to replace libstdc++6-4.7-dev 4.7.2-5 (using .../libstdc++6-4.7-dev_4.7.2-19_amd64.deb) ... Unpacking replacement libstdc++6-4.7-dev:amd64 ... Preparing to replace g++-4.7 4.7.2-5 (using .../g++-4.7_4.7.2-19_amd64.deb) ... Unpacking replacement g++-4.7 ... Preparing to replace gcc-4.7 4.7.2-5 (using .../gcc-4.7_4.7.2-19_amd64.deb) ... Unpacking replacement gcc-4.7 ... Preparing to replace cpp-4.7 4.7.2-5 (using .../cpp-4.7_4.7.2-19_amd64.deb) ... Unpacking replacement cpp-4.7 ... Selecting previously unselected package libgcc-4.7-dev:amd64. Unpacking libgcc-4.7-dev:amd64 (from .../libgcc-4.7-dev_4.7.2-19_amd64.deb) ... Preparing to replace gcc-4.7-base:amd64 4.7.2-5 (using .../gcc-4.7-base_4.7.2-19_amd64.deb) ... Unpacking replacement gcc-4.7-base:amd64 ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.53~experimental2_all.deb) ... Selecting previously unselected package libpython2.7-minimal:amd64. Unpacking libpython2.7-minimal:amd64 (from .../libpython2.7-minimal_2.7.3-15_amd64.deb) ... Selecting previously unselected package python2.7-minimal. Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-15_amd64.deb) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Unpacking libpython2.7-stdlib:amd64 (from .../libpython2.7-stdlib_2.7.3-15_amd64.deb) ... Selecting previously unselected package python2.7. Unpacking python2.7 (from .../python2.7_2.7.3-15_amd64.deb) ... Selecting previously unselected package python-minimal. Unpacking python-minimal (from .../python-minimal_2.7.3-10_amd64.deb) ... Selecting previously unselected package python. Unpacking python (from .../python_2.7.3-10_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.2-19_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.2-1~exp5_amd64.deb) ... Selecting previously unselected package compiler-rt. Unpacking compiler-rt (from .../compiler-rt_3.2-1~exp5_amd64.deb) ... Selecting previously unselected package clang-3.2. Unpacking clang-3.2 (from .../clang-3.2_3.2-1~exp5_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../clang_3.2-1~exp5_all.deb) ... Setting up libc-dev-bin (2.16-0experimental1) ... Setting up libc6-dev:amd64 (2.16-0experimental1) ... Setting up libncursesw5:amd64 (5.9+20130119-1) ... Setting up libssl1.0.0:amd64 (1.0.1c-4) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Setting up libsqlite3-0:amd64 (3.7.15.2-1) ... Setting up libexpat1:amd64 (2.1.0-2) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libgomp1:amd64 (4.8-20130127-1) ... Setting up libitm1:amd64 (4.8-20130127-1) ... Setting up libllvm3.2:amd64 (3.2-2) ... Setting up libobjc4:amd64 (4.8-20130127-1) ... Setting up libquadmath0:amd64 (4.8-20130127-1) ... Setting up gcc-4.7-base:amd64 (4.7.2-19) ... Setting up libgcc-4.7-dev:amd64 (4.7.2-19) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.2-19) ... Setting up cpp-4.7 (4.7.2-19) ... Setting up gcc-4.7 (4.7.2-19) ... Setting up g++-4.7 (4.7.2-19) ... Setting up mime-support (3.53~experimental2) ... Setting up libpython2.7-minimal:amd64 (2.7.3-15) ... Setting up python2.7-minimal (2.7.3-15) ... Linking and byte-compiling packages for runtime python2.7... Setting up libpython2.7-stdlib:amd64 (2.7.3-15) ... Setting up python2.7 (2.7.3-15) ... Setting up python-minimal (2.7.3-10) ... Setting up python (2.7.3-10) ... Setting up libobjc-4.7-dev:amd64 (4.7.2-19) ... Setting up libclang-common-dev (3.2-1~exp5) ... Setting up compiler-rt (3.2-1~exp5) ... Setting up clang-3.2 (3.2-1~exp5) ... Setting up clang (3.2-1~exp5) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7' + cd /usr/bin + for VERSION in '$VERSIONS' + rm g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + for VERSION in '$VERSIONS' + 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 + 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' + dpkg --set-selections + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang 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-scoL5c/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 ... 14674 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, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, 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, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, 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-XrJGgg/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: libprocps0 procps tcl tcl-dev tcl8.5 tcl8.5-dev Suggested packages: tcl-doc tcl-tclreadline tcl8.5-doc Recommended packages: psmisc The following NEW packages will be installed: libprocps0 procps sbuild-build-depends-db4.8-dummy tcl tcl-dev tcl8.5 tcl8.5-dev 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 3046 kB/3047 kB of archives. After this operation, 8240 kB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libprocps0 amd64 1:3.3.4-2 [58.6 kB] Get:2 http://localhost/debian/ unstable/main procps amd64 1:3.3.4-2 [259 kB] Get:3 http://localhost/debian/ unstable/main tcl8.5 amd64 8.5.11-2 [1627 kB] Get:4 http://localhost/debian/ unstable/main tcl all 8.5.0-2 [4636 B] Get:5 http://localhost/debian/ unstable/main tcl8.5-dev amd64 8.5.11-2 [1089 kB] Get:6 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 3046 kB in 0s (11.8 MB/s) Selecting previously unselected package libprocps0:amd64. (Reading database ... 14674 files and directories currently installed.) Unpacking libprocps0:amd64 (from .../libprocps0_1%3a3.3.4-2_amd64.deb) ... Selecting previously unselected package procps. Unpacking procps (from .../procps_1%3a3.3.4-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 libprocps0:amd64 (1:3.3.4-2) ... Setting up procps (1:3.3.4-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-7.1 dpkg-dev_1.16.9 g++-4.6_4.6.3-15 g++-4.7_4.7.2-19 gcc-4.6_4.6.3-15 gcc-4.7_4.7.2-19 libc6-dev_2.16-0experimental1 libstdc++6_4.8-20130127-1 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-19 linux-libc-dev_3.2.35-2 Package versions: apt_0.9.7.7 base-files_7.1 base-passwd_3.5.26 bash_4.2+dfsg-0.1 binutils_2.22-7.1 bsdutils_1:2.20.1-5.3 build-essential_11.6 bzip2_1.0.6-4 clang_3.2-1~exp5 clang-3.2_3.2-1~exp5 compiler-rt_3.2-1~exp5 coreutils_8.20-3 cpp_4:4.7.2-1 cpp-4.6_4.6.3-15 cpp-4.7_4.7.2-19 dash_0.5.7-3 debconf_1.5.49 debconf-i18n_1.5.49 debfoster_2.7-1.2 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-7 dpkg_1.16.9 dpkg-dev_1.16.9 e2fslibs_1.42.5-1 e2fsprogs_1.42.5-1 fakeroot_1.18.4-2 findutils_4.4.2-5 g++_4:4.7.2-1 g++-4.6_4.6.3-15 g++-4.7_4.7.2-19 gcc_4:4.7.2-1 gcc-4.4-base_4.4.7-3 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.3-15 gcc-4.6-base_4.6.3-15 gcc-4.7_4.7.2-19 gcc-4.7-base_4.7.2-19 gcc-4.8-base_4.8-20130127-1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-1 gzip_1.5-1.1 hostname_3.12 initscripts_2.88dsf-39 insserv_1.14.0-5 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7.7 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.3 libbz2-1.0_1.0.6-4 libc-bin_2.13-38 libc-dev-bin_2.16-0experimental1 libc6_2.16-0experimental1 libc6-dev_2.16-0experimental1 libclang-common-dev_3.2-1~exp5 libclass-isa-perl_0.36-5 libcomerr2_1.42.5-1 libdb5.1_5.1.29-5 libdpkg-perl_1.16.9 libexpat1_2.1.0-2 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-9.1 libgcc-4.7-dev_4.7.2-19 libgcc1_1:4.8-20130127-1 libgdbm3_1.8.3-11 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.8-20130127-1 libgpm2_1.20.4-6 libitm1_4.8-20130127-1 libllvm3.2_3.2-2 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9+20130119-1 libncursesw5_5.9+20130119-1 libobjc-4.7-dev_4.7.2-19 libobjc4_4.8-20130127-1 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.4-2 libpython2.7-minimal_2.7.3-15 libpython2.7-stdlib_2.7.3-15 libquadmath0_4.8-20130127-1 libreadline6_6.2+dfsg-0.1 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-15 libsqlite3-0_3.7.15.2-1 libss2_1.42.5-1 libssl1.0.0_1.0.1c-4 libstdc++6_4.8-20130127-1 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-19 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+20130119-1 libusb-0.1-4_2:0.1.12-23+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 linux-libc-dev_3.2.35-2 login_1:4.1.5.1-1 lsb-base_4.1+Debian9 make_3.81-8.2 mawk_1.3.3-17 mime-support_3.53~experimental2 mount_2.20.1-5.3 multiarch-support_2.13-38 ncurses-base_5.9-10 ncurses-bin_5.9-10 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-17 perl-base_5.14.2-17 perl-modules_5.14.2-17 procps_1:3.3.4-2 python_2.7.3-10 python-minimal_2.7.3-10 python2.7_2.7.3-15 python2.7-minimal_2.7.3-15 readline-common_6.2+dfsg-0.1 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 sudo_1.8.5p2-1 sysv-rc_2.88dsf-39 sysvinit_2.88dsf-39 sysvinit-utils_2.88dsf-39 tar_1.26+dfsg-0.1 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_2012j-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.3 vim_2:7.3.547-6 vim-common_2:7.3.547-6 vim-runtime_2:7.3.547-6 xz-utils_5.1.1alpha+20120614-2 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=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-e107ad35-5d50-4dca-af49-fe9d58f2eecf SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── 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 20130128-0440 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: 17 Distribution: unstable Fail-Stage: build Install-Time: 7 Job: db4.8_4.8.30-12 Package: db4.8 Package-Time: 65 Source-Version: 4.8.30-12 Space: 113752 Status: attempted Version: 4.8.30-12 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130128-0440 Build needed 00:01:05, 113752k disc space DC-Status: Failed 65.819585s DC-Time-Estimation: 65.819585 versus expected 259 (r/m: 2.93499898244573 ; m: 65.819585)