DC-Build-Header: freecdb 0.75 / Sat Jun 23 16:48:43 +0000 2012 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' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-86-235.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ freecdb 0.75 (amd64) 23 Jun 2012 16:48 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: freecdb Version: 0.75 Source Version: 0.75 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/freecdb-V8iCgz/freecdb-0.75' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/freecdb-V8iCgz' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-36a13b8e-8d27-4b4e-af4e-bd2186ec8b92' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [233 kB] Get:3 http://localhost unstable/main Sources/DiffIndex [7876 B] Get:4 http://localhost unstable/main amd64 Packages/DiffIndex [7876 B] Get:5 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:6 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:7 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:8 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:9 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:10 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:11 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:12 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:13 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:14 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:15 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Get:16 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:17 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Fetched 296 kB in 7s (41.3 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: base-passwd bsdutils libblkid1 libmount1 libuuid1 mount util-linux 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1300 kB of archives. After this operation, 308 kB disk space will be freed. Get:1 http://localhost/debian/ unstable/main mount amd64 2.20.1-5.1 [213 kB] Get:2 http://localhost/debian/ unstable/main util-linux amd64 2.20.1-5.1 [659 kB] Get:3 http://localhost/debian/ unstable/main base-passwd amd64 3.5.26 [46.3 kB] Get:4 http://localhost/debian/ unstable/main bsdutils amd64 1:2.20.1-5.1 [85.3 kB] Get:5 http://localhost/debian/ unstable/main libuuid1 amd64 2.20.1-5.1 [56.9 kB] Get:6 http://localhost/debian/ unstable/main libblkid1 amd64 2.20.1-5.1 [120 kB] Get:7 http://localhost/debian/ unstable/main libmount1 amd64 2.20.1-5.1 [120 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1300 kB in 0s (22.1 MB/s) (Reading database ... 11730 files and directories currently installed.) Preparing to replace mount 2.20.1-5 (using .../mount_2.20.1-5.1_amd64.deb) ... Unpacking replacement mount ... Setting up mount (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace util-linux 2.20.1-5 (using .../util-linux_2.20.1-5.1_amd64.deb) ... Unpacking replacement util-linux ... Setting up util-linux (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace base-passwd 3.5.25 (using .../base-passwd_3.5.26_amd64.deb) ... Unpacking replacement base-passwd ... Setting up base-passwd (3.5.26) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace bsdutils 1:2.20.1-5 (using .../bsdutils_1%3a2.20.1-5.1_amd64.deb) ... Unpacking replacement bsdutils ... Setting up bsdutils (1:2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libuuid1:amd64 2.20.1-5 (using .../libuuid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libuuid1:amd64 ... Setting up libuuid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libblkid1:amd64 2.20.1-5 (using .../libblkid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libblkid1:amd64 ... Setting up libblkid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libmount1 2.20.1-5 (using .../libmount1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libmount1 ... Setting up libmount1 (2.20.1-5.1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 (1436 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... + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends clang -t unstable Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-dev libffi5 libllvm3.1 Recommended packages: llvm-3.1-dev python The following NEW packages will be installed: clang libclang-common-dev libffi5 libllvm3.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 35.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:2 http://localhost/debian/ unstable/main libllvm3.1 amd64 3.1-1 [7276 kB] Get:3 http://localhost/debian/ unstable/main libclang-common-dev amd64 3.1-6 [84.0 kB] Get:4 http://localhost/debian/ unstable/main clang amd64 3.1-6 [5755 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.1 MB in 0s (29.9 MB/s) Selecting previously unselected package libffi5:amd64. (Reading database ... 11730 files and directories currently installed.) Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.1:amd64. Unpacking libllvm3.1:amd64 (from .../libllvm3.1_3.1-1_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.1-6_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.1-6_amd64.deb) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.1:amd64 (3.1-1) ... Setting up libclang-common-dev (3.1-6) ... Setting up clang (3.1-6) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSION=4.7 + cd /usr/bin + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-mCH4H6/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/708 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11810 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5) dpkg-deb: building package `sbuild-build-depends-freecdb-dummy' in `/«BUILDDIR»/resolver-J7tKhu/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/856 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 ... 11810 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-6.1 dpkg-dev_1.16.4.3 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc-4.6_4.6.3-7 gcc-4.7_4.7.1-1 libc6-dev_2.13-33 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 linux-libc-dev_3.2.20-1 Package versions: apt_0.9.7 base-files_6.11 base-passwd_3.5.26 bash_4.2-2 binutils_2.22-6.1 bsdutils_1:2.20.1-5.1 build-essential_11.5 bzip2_1.0.6-3 clang_3.1-6 coreutils_8.13-3.2 cpp_4:4.7.0-6 cpp-4.6_4.6.3-7 cpp-4.7_4.7.1-1 dash_0.5.7-3 debconf_1.5.44 debconf-i18n_1.5.44 debfoster_2.7-1.1 debian-archive-keyring_2012.4 debianutils_4.3.1 diffutils_1:3.2-6 dpkg_1.16.4.3 dpkg-dev_1.16.4.3 e2fslibs_1.42.4-3 e2fsprogs_1.42.4-3 fakeroot_1.18.4-2 findutils_4.4.2-4 g++_4:4.7.0-6 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc_4:4.7.0-6 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-7 gcc-4.6-base_4.6.3-7 gcc-4.7_4.7.1-1 gcc-4.7-base_4.7.1-1 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.12-2 gzip_1.5-1.1 hostname_3.11 initscripts_2.88dsf-27 insserv_1.14.0-3 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.1 libbz2-1.0_1.0.6-3 libc-bin_2.13-33 libc-dev-bin_2.13-33 libc6_2.13-33 libc6-dev_2.13-33 libclang-common-dev_3.1-6 libclass-isa-perl_0.36-3 libcomerr2_1.42.4-3 libdb5.1_5.1.29-4 libdpkg-perl_1.16.4.3 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-8 libgcc1_1:4.7.1-1 libgdbm3_1.8.3-11 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.1-1 libitm1_4.7.1-1 libllvm3.1_3.1-1 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-1 libmount1_2.20.1-5.1 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libquadmath0_4.7.1-1 libreadline6_6.2-8 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-13 libss2_1.42.4-3 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-9 libusb-0.1-4_2:0.1.12-23 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.1 linux-libc-dev_3.2.20-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian7 make_3.81-8.2 mawk_1.3.3-17 mount_2.20.1-5.1 multiarch-support_2.13-33 ncurses-base_5.9-9 ncurses-bin_5.9-9 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-12 perl-base_5.14.2-12 perl-modules_5.14.2-12 readline-common_6.2-8 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 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.1 xz-utils_5.1.1alpha+20120614-1 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made 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=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=unstable-amd64-sbuild-36a13b8e-8d27-4b4e-af4e-bd2186ec8b92 SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ───────────────── dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package 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 [-Wempty-body] 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 20120623-1649 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: 2 Distribution: unstable Fail-Stage: build Install-Time: 5 Job: freecdb_0.75 Package: freecdb Package-Time: 34 Source-Version: 0.75 Space: 1116 Status: attempted Version: 0.75 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1649 Build needed 00:00:34, 1116k disc space DC-Status: Failed 34.757766s