DC-Build-Header: latrine 0.10.2-1 / Thu Jan 31 19:13:52 +0000 2013 DC-Task: logfile:/tmp/latrine_0.10.2-1_unstable_clang.log version:0.10.2-1 modes:binary-only:clang chroot:unstable source:latrine esttime:29 architecture:any DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang latrine_0.10.2-1' 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-159-48-232.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ latrine 0.10.2-1 (amd64) 31 Jan 2013 19:13 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: latrine Version: 0.10.2-1 Source Version: 0.10.2-1 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/latrine-mldF4N/latrine-0.10.2' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/latrine-mldF4N' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-68e0ba5e-ce00-4990-b3ac-91bb855edbe5' 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 Hit http://localhost unstable/main Translation-en/DiffIndex Get:3 http://localhost unstable/main Sources [8236 kB] Get:4 http://localhost unstable/main amd64 Packages [8279 kB] Fetched 16.7 MB in 3s (4769 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 125 kB of source archives. Get:1 http://localhost/debian/ unstable/main latrine 0.10.2-1 (dsc) [1034 B] Get:2 http://localhost/debian/ unstable/main latrine 0.10.2-1 (tar) [121 kB] Get:3 http://localhost/debian/ unstable/main latrine 0.10.2-1 (diff) [3333 B] Fetched 125 kB in 0s (533 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 an unstable version of clang as repository' Add an unstable version of clang as repository + echo deb http://clang.ecranbleu.org/apt/debian unstable main + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Ign http://clang.ecranbleu.org unstable InRelease Ign http://localhost unstable/main Sources/DiffIndex Ign http://clang.ecranbleu.org unstable Release.gpg Ign http://localhost unstable/main amd64 Packages/DiffIndex Get:1 http://clang.ecranbleu.org unstable Release [1616 B] Hit http://localhost unstable/main Translation-en/DiffIndex Hit http://localhost unstable/main Sources Get:2 http://clang.ecranbleu.org unstable/main amd64 Packages [2354 B] Hit http://localhost unstable/main amd64 Packages Ign http://clang.ecranbleu.org unstable/main Translation-en Fetched 3970 B in 1s (2699 B/s) 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 Ign http://clang.ecranbleu.org unstable InRelease Ign http://localhost unstable/main Sources/DiffIndex Ign http://clang.ecranbleu.org unstable Release.gpg Hit http://clang.ecranbleu.org unstable Release Ign http://localhost unstable/main amd64 Packages/DiffIndex Ign http://clang.ecranbleu.org unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Hit http://localhost unstable/main Sources Hit http://localhost unstable/main amd64 Packages Hit http://clang.ecranbleu.org unstable/main amd64 Packages Ign http://clang.ecranbleu.org unstable/main Translation-en Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: clang-3.2 compiler-rt libclang-common-dev libexpat1 libffi5 libllvm3.2 libncursesw5 libsqlite3-0 libssl1.0.0 mime-support python python-minimal python2.7 python2.7-minimal Suggested packages: python-doc python-tk python2.7-doc binfmt-support Recommended packages: llvm-3.2-dev file The following NEW packages will be installed: clang clang-3.2 compiler-rt libclang-common-dev libexpat1 libffi5 libllvm3.2 libncursesw5 libsqlite3-0 libssl1.0.0 mime-support python python-minimal python2.7 python2.7-minimal 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Need to get 25.3 MB of archives. After this operation, 70.1 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libclang-common-dev compiler-rt clang-3.2 clang Get:1 http://localhost/debian/ unstable/main libncursesw5 amd64 5.9-10 [141 kB] Get:2 http://localhost/debian/ unstable/main libssl1.0.0 amd64 1.0.1c-4 [1213 kB] Get:3 http://localhost/debian/ unstable/main libsqlite3-0 amd64 3.7.15.2-1 [463 kB] Get:4 http://localhost/debian/ unstable/main libexpat1 amd64 2.1.0-1 [141 kB] Get:5 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:6 http://localhost/debian/ unstable/main libllvm3.2 amd64 3.2-2 [7865 kB] Get:7 http://clang.ecranbleu.org/apt/debian/ unstable/main libclang-common-dev amd64 3.2-2 [303 kB] Get:8 http://localhost/debian/ unstable/main mime-support all 3.52-2 [35.2 kB] Get:9 http://localhost/debian/ unstable/main python2.7-minimal amd64 2.7.3-6 [1783 kB] Get:10 http://localhost/debian/ unstable/main python2.7 amd64 2.7.3-6 [2729 kB] Get:11 http://localhost/debian/ unstable/main python-minimal all 2.7.3-3 [42.5 kB] Get:12 http://localhost/debian/ unstable/main python all 2.7.3-3 [179 kB] Get:13 http://clang.ecranbleu.org/apt/debian/ unstable/main compiler-rt amd64 3.2-2 [312 kB] Get:14 http://clang.ecranbleu.org/apt/debian/ unstable/main clang-3.2 amd64 3.2-2 [10.0 MB] Get:15 http://clang.ecranbleu.org/apt/debian/ unstable/main clang all 3.2-2 [9558 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 25.3 MB in 9s (2798 kB/s) Selecting previously unselected package libncursesw5:amd64. (Reading database ... 13484 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9-10_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-1_amd64.deb) ... Selecting previously unselected package libffi5:amd64. Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.2:amd64. Unpacking libllvm3.2:amd64 (from .../libllvm3.2_3.2-2_amd64.deb) ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.52-2_all.deb) ... Selecting previously unselected package python2.7-minimal. Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-6_amd64.deb) ... Selecting previously unselected package python2.7. Unpacking python2.7 (from .../python2.7_2.7.3-6_amd64.deb) ... Selecting previously unselected package python-minimal. Unpacking python-minimal (from .../python-minimal_2.7.3-3_all.deb) ... Selecting previously unselected package python. Unpacking python (from .../python_2.7.3-3_all.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.2-2_amd64.deb) ... Selecting previously unselected package compiler-rt. Unpacking compiler-rt (from .../compiler-rt_3.2-2_amd64.deb) ... Selecting previously unselected package clang-3.2. Unpacking clang-3.2 (from .../clang-3.2_3.2-2_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.2-2_all.deb) ... Setting up libncursesw5:amd64 (5.9-10) ... 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-1) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.2:amd64 (3.2-2) ... Setting up mime-support (3.52-2) ... Setting up python2.7-minimal (2.7.3-6) ... Linking and byte-compiling packages for runtime python2.7... Setting up python2.7 (2.7.3-6) ... Setting up python-minimal (2.7.3-3) ... Setting up python (2.7.3-3) ... Setting up libclang-common-dev (3.2-2) ... Setting up compiler-rt (3.2-2) ... Setting up clang-3.2 (3.2-2) ... Setting up clang (3.2-2) ... + 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-N2xsXu/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 ... 14662 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), libncursesw5-dev (>= 5.2.20020317), libz-dev 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), libncursesw5-dev (>= 5.2.20020317), libz-dev dpkg-deb: building package `sbuild-build-depends-latrine-dummy' in `/«BUILDDIR»/resolver-QgHFh_/apt_archive/sbuild-build-depends-latrine-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install latrine build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libncursesw5-dev libtinfo-dev zlib1g-dev Suggested packages: ncurses-doc The following NEW packages will be installed: libncursesw5-dev libtinfo-dev sbuild-build-depends-latrine-dummy zlib1g-dev 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 577 kB/577 kB of archives. After this operation, 2009 kB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libtinfo-dev amd64 5.9-10 [105 kB] Get:2 http://localhost/debian/ unstable/main libncursesw5-dev amd64 5.9-10 [257 kB] Get:3 http://localhost/debian/ unstable/main zlib1g-dev amd64 1:1.2.7.dfsg-13 [215 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 577 kB in 0s (5813 kB/s) Selecting previously unselected package libtinfo-dev:amd64. (Reading database ... 14662 files and directories currently installed.) Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10_amd64.deb) ... Selecting previously unselected package libncursesw5-dev. Unpacking libncursesw5-dev (from .../libncursesw5-dev_5.9-10_amd64.deb) ... Selecting previously unselected package zlib1g-dev:amd64. Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-latrine-dummy. Unpacking sbuild-build-depends-latrine-dummy (from .../sbuild-build-depends-latrine-dummy.deb) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libncursesw5-dev (5.9-10) ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up sbuild-build-depends-latrine-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-5 gcc-4.6_4.6.3-15 gcc-4.7_4.7.2-5 libc6-dev_2.13-38 libstdc++6_4.7.2-5 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-5 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-2 clang-3.2_3.2-2 compiler-rt_3.2-2 coreutils_8.20-3 cpp_4:4.7.2-1 cpp-4.6_4.6.3-15 cpp-4.7_4.7.2-5 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-5 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-5 gcc-4.7-base_4.7.2-5 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.13-38 libc6_2.13-38 libc6-dev_2.13-38 libclang-common-dev_3.2-2 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-1 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-9.1 libgcc1_1:4.7.2-5 libgdbm3_1.8.3-11 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.2-5 libgpm2_1.20.4-6 libitm1_4.7.2-5 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-10 libncursesw5_5.9-10 libncursesw5-dev_5.9-10 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.2-5 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.7.2-5 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-5 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 libtinfo-dev_5.9-10 libtinfo5_5.9-10 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.52-2 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-3 python-minimal_2.7.3-3 python2.7_2.7.3-6 python2.7-minimal_2.7.3-6 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-latrine-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 zlib1g-dev_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri Apr 10 16:39:41 2009 UTC using DSA key ID 09FC015C gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./latrine_0.10.2-1.dsc dpkg-source: info: extracting latrine in latrine-0.10.2 dpkg-source: info: unpacking latrine_0.10.2.orig.tar.gz dpkg-source: info: applying latrine_0.10.2-1.diff.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-68e0ba5e-ce00-4990-b3ac-91bb855edbe5 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package latrine dpkg-buildpackage: source version 0.10.2-1 dpkg-buildpackage: source changed by Martin A. Godisch dpkg-source --before-build latrine-0.10.2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean test -f src/latrine.c && test -f debian/rules rm -f build debian/files debian/substvars [ ! -f src/Makefile ] || /usr/bin/make -C src -i distclean rm -rf debian/latrine 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 src/latrine.c && test -f debian/rules cd src && ./configure --build x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --datadir=/usr/share \ --mandir=/usr/share/man --sysconfdir=/etc --with-dictdir=/usr/share/dictd checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for initscr in -lncursesw... yes checking for gzopen in -lz... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uint32_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for atexit... yes checking for getcwd... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for nl_langinfo... yes checking for setlocale... yes checking for strcasecmp... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for localedir... /usr/share/locale checking for dictdir... /usr/share/dictd checking for release date... April 2009 configure: creating ./config.status config.status: creating Makefile config.status: creating latrine.1 config.status: creating latrine.conf config.status: creating config.h /usr/bin/make -C src make[1]: Entering directory `/«PKGBUILDDIR»/src' gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o latrine.o latrine.c gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o charset.o charset.c gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o data.o data.c data.c:145:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] wordlist[i].pos, ^~~~~~~~~~~~~~~ data.c:178:5: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] randcount, wordcount, last[0], last[1], last[2], ^~~~~~~~~ data.c:178:16: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] randcount, wordcount, last[0], last[1], last[2], ^~~~~~~~~ data.c:178:27: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] randcount, wordcount, last[0], last[1], last[2], ^~~~~~~ data.c:178:36: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] randcount, wordcount, last[0], last[1], last[2], ^~~~~~~ data.c:178:45: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] randcount, wordcount, last[0], last[1], last[2], ^~~~~~~ data.c:179:5: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] wordlist[next].pos, next, wordlist[next].lang[0]->c); ^~~~~~~~~~~~~~~~~~ data.c:179:25: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] wordlist[next].pos, next, wordlist[next].lang[0]->c); ^~~~ data.c:222:11: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] gzprintf(F, HEADER, WORDLIST_VERSION); ^ * /usr/include/zlib.h:1332:46: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); ^ /usr/include/zconf.h:272:26: note: expanded from macro 'Z_ARG' # define Z_ARG(args) args ^ data.c:223:11: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] gzprintf(F, _("# Dictionary: %s\n" ^ * /usr/include/zlib.h:1332:46: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); ^ /usr/include/zconf.h:272:26: note: expanded from macro 'Z_ARG' # define Z_ARG(args) args ^ data.c:275:25: warning: incompatible pointer types passing 'gzFile' (aka 'struct gzFile_s *') to parameter of type 'gzFile *' (aka 'struct gzFile_s **'); take the address with & [-Wincompatible-pointer-types] print_wordlist_intro(tmp); ^~~ & data.c:219:49: note: passing argument to parameter 'F' here static inline void print_wordlist_intro(gzFile *F) ^ data.c:413:6: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] w.pos, w.timestamp, w.rate, w.history, w.lang[0]->c); ^~~~~ data.c:427:72: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(debug, "load_wordlist: [=%d] %5d %08lx %3d |%s| \"%s\"\n", i, ~~ ^ %zd data.c:428:6: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] w.pos, w.timestamp, w.rate, w.history, w.lang[0]->c); ^~~~~ data.c:440:5: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] w.pos, w.timestamp, w.rate, w.history, w.lang[0]->c); ^~~~~ data.c:495:23: warning: incompatible pointer types passing 'gzFile' (aka 'struct gzFile_s *') to parameter of type 'gzFile *' (aka 'struct gzFile_s **'); take the address with & [-Wincompatible-pointer-types] print_wordlist_intro(new); ^~~ & data.c:219:49: note: passing argument to parameter 'F' here static inline void print_wordlist_intro(gzFile *F) ^ 16 warnings generated. gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o options.o options.c options.c:370:73: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(debug, "--limit=%d < --random=%d, adjusting: --random=%d\n", wordlimit, randcount, wordlimit); ~~ ^~~~~~~~~ %zd options.c:370:84: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(debug, "--limit=%d < --random=%d, adjusting: --random=%d\n", wordlimit, randcount, wordlimit); ~~ ^~~~~~~~~ %zd options.c:370:95: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(debug, "--limit=%d < --random=%d, adjusting: --random=%d\n", wordlimit, randcount, wordlimit); ~~ ^~~~~~~~~ %zd 3 warnings generated. gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o screen.o screen.c screen.c:126:30: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf(s, "%d/%d (%d %%)", correct, correct + mistaken, (correct + mistaken > 0) ? (int)((double)(correct * 100) / (double)(correct + mistaken) + 0.5) : 0); ~~ ^~~~~~~ %zd screen.c:126:39: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(s, "%d/%d (%d %%)", correct, correct + mistaken, (correct + mistaken > 0) ? (int)((double)(correct * 100) / (double)(correct + mistaken) + 0.5) : 0); ~~ ^~~~~~~~~~~~~~~~~~ %ld screen.c:276:60: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(line1, BUFSIZE, _("%u of %u phrases reloaded."), get_wordcount(), get_dictcount()); ~~ ^~~~~~~~~~~~~~~ screen.c:276:77: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(line1, BUFSIZE, _("%u of %u phrases reloaded."), get_wordcount(), get_dictcount()); ~~ ^~~~~~~~~~~~~~~ screen.c:508:58: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(line1, BUFSIZE, _("%u of %u phrases loaded."), get_wordcount(), get_dictcount()); ~~ ^~~~~~~~~~~~~~~ screen.c:508:75: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(line1, BUFSIZE, _("%u of %u phrases loaded."), get_wordcount(), get_dictcount()); ~~ ^~~~~~~~~~~~~~~ 6 warnings generated. gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o memory.o memory.c gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o dictd.o dictd.c gcc -Wall -funroll-loops -D_GNU_SOURCE -g -O2 -I. -DSYSCONFFILE=\"/etc/latrine.conf\" -DDICTDIR=\"/usr/share/dictd\" -DLOCALEDIR=\"/usr/share/locale\" -c -o md5.o md5.c gcc -Wall latrine.o charset.o data.o options.o screen.o memory.o dictd.o md5.o -lz -lncursesw -o latrine latrine.o: In function `main': /«PKGBUILDDIR»/src/latrine.c:185: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/latrine.c:182: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/latrine.c:198: undefined reference to `REALLOC' charset.o: In function `load_keymap': /«PKGBUILDDIR»/src/charset.c:200: undefined reference to `STRDUP' charset.o: In function `convert': /«PKGBUILDDIR»/src/charset.c:249: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/charset.c:264: undefined reference to `FREE' data.o: In function `load_wordlist': /«PKGBUILDDIR»/src/data.c:395: undefined reference to `REALLOC' /«PKGBUILDDIR»/src/data.c:393: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/data.c:388: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/data.c:406: undefined reference to `REALLOC' /«PKGBUILDDIR»/src/data.c:453: undefined reference to `REALLOC' data.o: In function `open_wordfile': /«PKGBUILDDIR»/src/data.c:267: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/data.c:300: undefined reference to `FREE' /«PKGBUILDDIR»/src/data.c:297: undefined reference to `FREE' data.o: In function `save_wordlist': /«PKGBUILDDIR»/src/data.c:485: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/data.c:490: undefined reference to `FREE' /«PKGBUILDDIR»/src/data.c:542: undefined reference to `FREE' options.o: In function `do_conf': /«PKGBUILDDIR»/src/options.c:185: undefined reference to `STRDUP' /«PKGBUILDDIR»/src/options.c:194: undefined reference to `FREE' /«PKGBUILDDIR»/src/options.c:197: undefined reference to `FREE' /«PKGBUILDDIR»/src/options.c:187: undefined reference to `STRDUP' options.o: In function `mkdictfile': /«PKGBUILDDIR»/src/options.c:86: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/options.c:91: undefined reference to `FREE' options.o: In function `mkwordfile': /«PKGBUILDDIR»/src/options.c:114: undefined reference to `MALLOC' options.o: In function `open_debug_log': /«PKGBUILDDIR»/src/options.c:130: undefined reference to `MALLOC' options.o: In function `do_opts': /«PKGBUILDDIR»/src/options.c:295: undefined reference to `FREE' /«PKGBUILDDIR»/src/options.c:283: undefined reference to `STRDUP' /«PKGBUILDDIR»/src/options.c:285: undefined reference to `STRDUP' options.o: In function `fullpath': /«PKGBUILDDIR»/src/options.c:49: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/options.c:45: undefined reference to `STRDUP' /«PKGBUILDDIR»/src/options.c:60: undefined reference to `MALLOC' screen.o: In function `init_screen': /«PKGBUILDDIR»/src/screen.c:300: undefined reference to `STRDUP' /«PKGBUILDDIR»/src/screen.c:302: undefined reference to `STRDUP' screen.o: In function `blowup': /«PKGBUILDDIR»/src/screen.c:478: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/screen.c:478: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/screen.c:478: undefined reference to `MALLOC' screen.o: In function `key_handler': /«PKGBUILDDIR»/src/screen.c:370: undefined reference to `wcsbackspace' /«PKGBUILDDIR»/src/screen.c:431: undefined reference to `make_digraph' /«PKGBUILDDIR»/src/screen.c:432: undefined reference to `wcsappend' /«PKGBUILDDIR»/src/screen.c:433: undefined reference to `wcsbackspace' /«PKGBUILDDIR»/src/screen.c:434: undefined reference to `wcsappend' screen.o: In function `check': /«PKGBUILDDIR»/src/screen.c:452: undefined reference to `wcsreverse' screen.o: In function `update_phrase': /«PKGBUILDDIR»/src/screen.c:187: undefined reference to `wcstrlen' screen.o: In function `update_translation': /«PKGBUILDDIR»/src/screen.c:238: undefined reference to `wcstrlen' /«PKGBUILDDIR»/src/screen.c:242: undefined reference to `wcstrlen' /«PKGBUILDDIR»/src/screen.c:245: undefined reference to `wcsreverse' dictd.o: In function `read_dictd': /«PKGBUILDDIR»/src/dictd.c:82: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/dictd.c:87: undefined reference to `STRDUP' /«PKGBUILDDIR»/src/dictd.c:119: undefined reference to `MALLOC' /«PKGBUILDDIR»/src/dictd.c:124: undefined reference to `STRDUP' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [latrine] Error 1 make: *** [build] Error 2 make[1]: Leaving directory `/«PKGBUILDDIR»/src' dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130131-1914 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 1016 Build-Time: 7 Distribution: unstable Fail-Stage: build Install-Time: 4 Job: latrine_0.10.2-1 Package: latrine Package-Time: 40 Source-Version: 0.10.2-1 Space: 1016 Status: attempted Version: 0.10.2-1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130131-1914 Build needed 00:00:40, 1016k disc space DC-Status: Failed 40.683641s