DC-Build-Header: freecdb 0.75 / Mon Jan 28 06:11:14 +0000 2013 DC-Task: logfile:/tmp/freecdb_0.75_unstable_clang.log version:0.75 chroot:unstable modes:binary-only:clang source:freecdb architecture:any esttime:22 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang freecdb_0.75' 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-144-143.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ freecdb 0.75 (amd64) 28 Jan 2013 06:11 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: freecdb Version: 0.75 Source Version: 0.75 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/freecdb-eoUqKS/freecdb-0.75' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/freecdb-eoUqKS' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-824fd1b5-58f1-4972-9806-9cb731ec1868' 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 (5343 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... Need to get 240 kB of source archives. Get:1 http://localhost/debian/ unstable/main freecdb 0.75 (dsc) [452 B] Get:2 http://localhost/debian/ unstable/main freecdb 0.75 (tar) [239 kB] Fetched 240 kB in 0s (1881 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 1s (1284 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 (4016 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 1s (28.7 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-ow1GBG/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/710 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) 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) dpkg-deb: building package `sbuild-build-depends-freecdb-dummy' in `/«BUILDDIR»/resolver-IMgYWT/apt_archive/sbuild-build-depends-freecdb-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install freecdb 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-freecdb-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/862 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-freecdb-dummy. (Reading database ... 14674 files and directories currently installed.) Unpacking sbuild-build-depends-freecdb-dummy (from .../sbuild-build-depends-freecdb-dummy.deb) ... Setting up sbuild-build-depends-freecdb-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 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 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-freecdb-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 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 Tue Jan 17 06:15:38 2006 UTC using DSA key ID BC70A6FF gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./freecdb_0.75.dsc dpkg-source: info: extracting freecdb in freecdb-0.75 dpkg-source: info: unpacking freecdb_0.75.tar.gz 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-824fd1b5-58f1-4972-9806-9cb731ec1868 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package freecdb dpkg-buildpackage: source version 0.75 dpkg-buildpackage: source changed by Gerrit Pape dpkg-source --before-build freecdb-0.75 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean /usr/bin/make clean make[1]: Entering directory `/«PKGBUILDDIR»' rm -f cdb.a alloc.o buffer.o buffer_0.o buffer_1.o buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o byte_copy.o byte_cr.o byte_diff.o cdb.o cdb_hash.o cdb_make.o error.o error_str.o fmt_ulong.o open_trunc.o scan_ulong.o seek_set.o str_len.o strerr_die.o strerr_sys.o uint32_pack.o uint32_unpack.o uint32.h cdbmake cdbdump cdbget cdbstats *.local for i in cdbmake cdbdump cdbget cdbstats; do rm -f ${i}.o; done make[1]: Leaving directory `/«PKGBUILDDIR»' rm -f build-stamp rm -rf '/«PKGBUILDDIR»/debian/freecdb' rm -f debian/files debian/substvars 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 /usr/bin/make CC='gcc' make[1]: Entering directory `/«PKGBUILDDIR»' ( (gcc -o tryulong tryulong.c && ./tryulong) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1) >uint32.h rm -f tryulong gcc -Wall -O2 -g -c -o cdbmake.o cdbmake.c gcc -Wall -O2 -g -c -o alloc.o alloc.c gcc -Wall -O2 -g -c -o buffer.o buffer.c gcc -Wall -O2 -g -c -o buffer_0.o buffer_0.c gcc -Wall -O2 -g -c -o buffer_1.o buffer_1.c gcc -Wall -O2 -g -c -o buffer_2.o buffer_2.c gcc -Wall -O2 -g -c -o buffer_get.o buffer_get.c gcc -Wall -O2 -g -c -o buffer_put.o buffer_put.c buffer_put.c:18:17: warning: if statement has empty body [-Wempty-body] if (w == 0) ; /* luser's fault */ ^ buffer_put.c:18:17: note: put the semicolon on a separate line to silence this warning 1 warning generated. gcc -Wall -O2 -g -c -o buffer_read.o buffer_read.c gcc -Wall -O2 -g -c -o buffer_write.o buffer_write.c gcc -Wall -O2 -g -c -o byte_copy.o byte_copy.c gcc -Wall -O2 -g -c -o byte_cr.o byte_cr.c gcc -Wall -O2 -g -c -o byte_diff.o byte_diff.c gcc -Wall -O2 -g -c -o cdb.o cdb.c gcc -Wall -O2 -g -c -o cdb_hash.o cdb_hash.c gcc -Wall -O2 -g -c -o cdb_make.o cdb_make.c cdb_make.c:18:21: warning: incompatible pointer types passing 'ssize_t (int, const void *, size_t)' to parameter of type 'int (*)()' [-Wincompatible-pointer-types] buffer_init(&c->b,write,fd,c->bspace,sizeof c->bspace); ^~~~~ ./buffer.h:18:40: note: passing argument to parameter here extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int); ^ 1 warning generated. gcc -Wall -O2 -g -c -o error.o error.c gcc -Wall -O2 -g -c -o error_str.o error_str.c gcc -Wall -O2 -g -c -o fmt_ulong.o fmt_ulong.c gcc -Wall -O2 -g -c -o open_trunc.o open_trunc.c gcc -Wall -O2 -g -c -o scan_ulong.o scan_ulong.c gcc -Wall -O2 -g -c -o seek_set.o seek_set.c seek_set.c:9:7: warning: implicit declaration of function 'lseek' is invalid in C99 [-Wimplicit-function-declaration] { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } ^ 1 warning generated. gcc -Wall -O2 -g -c -o str_len.o str_len.c gcc -Wall -O2 -g -c -o strerr_die.o strerr_die.c gcc -Wall -O2 -g -c -o strerr_sys.o strerr_sys.c gcc -Wall -O2 -g -c -o uint32_pack.o uint32_pack.c gcc -Wall -O2 -g -c -o uint32_unpack.o uint32_unpack.c ar cr cdb.a alloc.o buffer.o buffer_0.o buffer_1.o buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o byte_copy.o byte_cr.o byte_diff.o cdb.o cdb_hash.o cdb_make.o error.o error_str.o fmt_ulong.o open_trunc.o scan_ulong.o seek_set.o str_len.o strerr_die.o strerr_sys.o uint32_pack.o uint32_unpack.o ranlib cdb.a || : gcc cdbmake.o cdb.a -o cdbmake cdbmake.o: In function `main': /«PKGBUILDDIR»/cdbmake.c:59: undefined reference to `getch' /«PKGBUILDDIR»/cdbmake.c:65: undefined reference to `getch' /«PKGBUILDDIR»/cdbmake.c:65: undefined reference to `getch' /«PKGBUILDDIR»/cdbmake.c:74: undefined reference to `getch' /«PKGBUILDDIR»/cdbmake.c:85: undefined reference to `getch' cdbmake.o:/«PKGBUILDDIR»/cdbmake.c:85: more undefined references to `getch' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cdbmake] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130128-0611 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1116 Build-Time: 3 Distribution: unstable Fail-Stage: build Install-Time: 4 Job: freecdb_0.75 Package: freecdb Package-Time: 36 Source-Version: 0.75 Space: 1116 Status: attempted Version: 0.75 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130128-0611 Build needed 00:00:36, 1116k disc space DC-Status: Failed 36.630573s