DC-Build-Header: freecdb 0.75 / 2017-07-06 21:10:38 +0000 DC-Task: type:rebuild-binarch-only source:freecdb version:0.75 chroot:unstable esttime:22 logfile:/tmp/freecdb_0.75_unstable_clang4.0.log modes:clang40:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang40 freecdb_0.75' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-46-81.eu-central-1.compute.internal +==============================================================================+ | freecdb 0.75 (amd64) Thu, 06 Jul 2017 21:10:38 +0000 | +==============================================================================+ Package: freecdb Version: 0.75 Source Version: 0.75 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-7d9dfa80-4209-4b56-ac4c-9ea16b05dd4a' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang40 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=4.0 + echo 'Install of clang-4.0' Install of clang-4.0 + apt-get update Hit:1 http://127.0.0.1:9999/debian unstable InRelease Get:2 http://127.0.0.1:9999/debian unstable/main Translation-en [5730 kB] Fetched 5730 kB in 1s (3942 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-4.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-4.0-doc libomp-dev Recommended packages: llvm-4.0-dev python libgpm2 The following NEW packages will be installed: clang-4.0 libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 74.4 MB of archives. After this operation, 320 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.5-1 [89.6 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.0+20161126-1 [93.4 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libllvm4.0 amd64 1:4.0.1-1 [12.3 MB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-4.0 amd64 1:4.0.1-1 [6355 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 7.1.0-9 [51.0 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.4.0-1 [197 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-4.0-dev amd64 1:4.0.1-1 [2495 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 clang-4.0 amd64 1:4.0.1-1 [52.7 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 74.4 MB in 0s (94.7 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9711 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.8.5-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.5-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../1-libncurses5_6.0+20161126-1_amd64.deb ... Unpacking libncurses5:amd64 (6.0+20161126-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../2-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm4.0:amd64. Preparing to unpack .../3-libllvm4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libllvm4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libclang1-4.0:amd64. Preparing to unpack .../4-libclang1-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libclang1-4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../5-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../6-libobjc4_7.1.0-9_amd64.deb ... Unpacking libobjc4:amd64 (7.1.0-9) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../7-libobjc-6-dev_6.4.0-1_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.4.0-1) ... Selecting previously unselected package libclang-common-4.0-dev. Preparing to unpack .../8-libclang-common-4.0-dev_1%3a4.0.1-1_amd64.deb ... Unpacking libclang-common-4.0-dev (1:4.0.1-1) ... Selecting previously unselected package clang-4.0. Preparing to unpack .../9-clang-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking clang-4.0 (1:4.0.1-1) ... Setting up libncurses5:amd64 (6.0+20161126-1) ... Setting up libobjc4:amd64 (7.1.0-9) ... Setting up libbsd0:amd64 (0.8.5-1) ... Processing triggers for libc-bin (2.24-12) ... Setting up libobjc-6-dev:amd64 (6.4.0-1) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm4.0:amd64 (1:4.0.1-1) ... Setting up libclang1-4.0:amd64 (1:4.0.1-1) ... Setting up libclang-common-4.0-dev (1:4.0.1-1) ... Setting up clang-4.0 (1:4.0.1-1) ... Processing triggers for libc-bin (2.24-12) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-4.0 g++-4.6 + ln -s clang-4.0 gcc-4.6 + ln -s clang-4.0 cpp-4.6 + ln -s clang-4.0 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-4.0 g++-4.7 + ln -s clang-4.0 gcc-4.7 + ln -s clang-4.0 cpp-4.7 + ln -s clang-4.0 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-4.0 g++-4.8 + ln -s clang-4.0 gcc-4.8 + ln -s clang-4.0 cpp-4.8 + ln -s clang-4.0 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-4.0 g++-4.9 + ln -s clang-4.0 gcc-4.9 + ln -s clang-4.0 cpp-4.9 + ln -s clang-4.0 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-4.0 g++-5 + ln -s clang-4.0 gcc-5 + ln -s clang-4.0 cpp-5 + ln -s clang-4.0 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-4.0 g++-6 + ln -s clang-4.0 gcc-6 + ln -s clang-4.0 cpp-6 + ln -s clang-4.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections + echo 'g++-6 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-4.0 g++-7 + ln -s clang-4.0 gcc-7 + ln -s clang-4.0 cpp-7 + ln -s clang-4.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/freecdb-y45Ead + 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/clang40'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 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... Need to get 240 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main freecdb 0.75 (dsc) [452 B] Get:2 http://127.0.0.1:9999/debian unstable/main freecdb 0.75 (tar) [239 kB] Fetched 240 kB in 0s (2780 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/freecdb-y45Ead/freecdb-0.75' with '<>' I: NOTICE: Log filtering will replace 'build/freecdb-y45Ead' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-EtG2dW/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-EtG2dW/apt_archive ./ InRelease Get:2 copy:/<>/resolver-EtG2dW/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-EtG2dW/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-EtG2dW/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-EtG2dW/apt_archive ./ Packages [430 B] Fetched 1736 B in 0s (0 B/s) Reading package lists... 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 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 784 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-EtG2dW/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [784 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 784 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- dpkg-deb: building package 'sbuild-build-depends-freecdb-dummy' in '/<>/resolver-EtG2dW/apt_archive/sbuild-build-depends-freecdb-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-freecdb-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-EtG2dW/apt_archive ./ InRelease Get:2 copy:/<>/resolver-EtG2dW/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-EtG2dW/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-EtG2dW/apt_archive ./ Sources [471 B] Get:5 copy:/<>/resolver-EtG2dW/apt_archive ./ Packages [551 B] Fetched 1985 B in 0s (0 B/s) Reading package lists... 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 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 766 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-EtG2dW/apt_archive ./ sbuild-build-depends-freecdb-dummy 0.invalid.0 [766 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 766 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-freecdb-dummy. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-freecdb-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-freecdb-dummy (0.invalid.0) ... Setting up sbuild-build-depends-freecdb-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-2-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.28-6 dpkg-dev_1.18.24 g++-6_6.4.0-1 gcc-6_6.4.0-1 libc6-dev_2.24-12 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 linux-libc-dev_4.11.6-1 Package versions: adduser_3.115 apt_1.5~beta1 base-files_10 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-6 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 clang-4.0_1:4.0.1-1 coreutils_8.26-3 cpp_4:6.3.0-4d1 cpp-6_6.4.0-1 dash_0.5.8-2.4 debconf_1.5.62 debfoster_2.7-2.1+b1 debian-archive-keyring_2017.5 debianutils_4.8.1.1 diffutils_1:3.5-3 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 eatmydata_105-5 fakeroot_1.21-3.1 findutils_4.6.0+git+20170606-2 g++_4:6.3.0-4d1 g++-6_6.4.0-1 gcc_4:6.3.0-4d1 gcc-6_6.4.0-1 gcc-6-base_6.4.0-1 gcc-7-base_7.1.0-9 gpgv_2.1.18-8 grep_2.27-2 gzip_1.6-5+b1 hostname_3.18+b1 init-system-helpers_1.48 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.5~beta1 libasan3_6.4.0-1 libatomic1_7.1.0-9 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b1 libblkid1_2.29.2-1 libbsd0_0.8.5-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-12 libc-dev-bin_2.24-12 libc6_2.24-12 libc6-dev_2.24-12 libcap-ng0_0.7.7-3+b1 libcc1-0_7.1.0-9 libcilkrts5_7.1.0-9 libclang-common-4.0-dev_1:4.0.1-1 libclang1-4.0_1:4.0.1-1 libcomerr2_1.43.4-2 libdb5.3_5.3.28-12+b1 libdebconfclient0_0.229 libdpkg-perl_1.18.24 libeatmydata1_105-5 libedit2_3.1-20170329-1 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.4.0-1 libgcc1_1:7.1.0-9 libgcrypt20_1.7.8-1 libgdbm3_1.8.3-14 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.13-2 libgomp1_7.1.0-9 libgpg-error0_1.27-3 libhogweed4_3.3-1+b1 libidn2-0_0.16-1+b1 libisl15_0.18-1 libitm1_7.1.0-9 libjsoncpp1_1.7.4-3 libllvm4.0_1:4.0.1-1 liblsan0_7.1.0-9 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.2+b1 libmount1_2.29.2-1 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 libmpx2_7.1.0-9 libncurses5_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnettle6_3.3-1+b1 libobjc-6-dev_6.4.0-1 libobjc4_7.1.0-9 libp11-kit0_0.23.7-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-3 libperl5.24_5.24.1-6 libquadmath0_7.1.0-9 libselinux1_2.6-3+b2 libsemanage-common_2.6-2 libsemanage1_2.6-2+b1 libsepol1_2.6-2 libsmartcols1_2.29.2-1 libss2_1.43.4-2 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 libsystemd0_233-10 libtasn1-6_4.12-2 libtinfo5_6.0+20161126-1 libtsan0_7.1.0-9 libubsan0_7.1.0-9 libudev1_233-10 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 linux-libc-dev_4.11.6-1 login_1:4.4-4.1 make_4.1-9.1 mawk_1.3.3-17+b3 mount_2.29.2-1 multiarch-support_2.24-12 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 passwd_1:4.4-4.1 patch_2.7.5-1+b2 perl_5.24.1-6 perl-base_5.24.1-6 perl-modules-5.24_5.24.1-6 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-freecdb-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 util-linux_2.29.2-1 xz-utils_5.2.2-1.2+b1 zlib1g_1:1.2.8.dfsg-5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Jan 17 06:15:38 2006 UTC gpgv: using DSA key 189A3241BC70A6FF gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./freecdb_0.75.dsc dpkg-source: warning: source package uses only weak checksums dpkg-source: info: extracting freecdb in /<> dpkg-source: info: unpacking freecdb_0.75.tar.gz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-7d9dfa80-4209-4b56-ac4c-9ea16b05dd4a SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package freecdb dpkg-buildpackage: info: source version 0.75 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Gerrit Pape dpkg-source --before-build freecdb-0.75 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean /usr/bin/make clean make[1]: Entering directory '/<>' 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 '/<>' rm -f build-stamp rm -rf '/<>/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 '/<>' ( (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)' (aka 'long (int, const void *, unsigned long)') 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': /<>/cdbmake.c:97: undefined reference to `getch' /<>/cdbmake.c:59: undefined reference to `getch' /<>/cdbmake.c:65: undefined reference to `getch' /<>/cdbmake.c:65: undefined reference to `getch' /<>/cdbmake.c:74: undefined reference to `getch' cdbmake.o:/<>/cdbmake.c:74: more undefined references to `getch' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) : recipe for target 'cdbmake' failed make[1]: *** [cdbmake] Error 1 make[1]: Leaving directory '/<>' debian/rules:17: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-07-06T21:11:00Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 1056 Build-Time: 2 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 4 Job: freecdb_0.75 Machine Architecture: amd64 Package: freecdb Package-Time: 22 Source-Version: 0.75 Space: 1056 Status: attempted Version: 0.75 -------------------------------------------------------------------------------- Finished at 2017-07-06T21:11:00Z Build needed 00:00:22, 1056k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 22.129791693s