DC-Build-Header: hpsockd 0.17 / 2016-08-29 17:08:19 +0000 DC-Task: type:rebuild-binarch-only source:hpsockd version:0.17 chroot:unstable esttime:30 logfile:/tmp/hpsockd_0.17_unstable_clang3.8.log modes:clang:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang hpsockd_0.17' sbuild (Debian sbuild) 0.70.0 (03 Aug 2016) on ip-172-31-0-226.eu-central-1.compute.internal +==============================================================================+ | hpsockd 0.17 (amd64) Mon, 29 Aug 2016 17:08:19 +0000 | +==============================================================================+ Package: hpsockd Version: 0.17 Source Version: 0.17 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-b39c0e14-66e3-43b6-a062-609deb367850' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang ---------- + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=3.8 + echo 'Install of clang-3.8' Install of clang-3.8 + apt-get update Get:1 http://127.0.0.1:9999/debian unstable InRelease [209 kB] Get:2 http://127.0.0.1:9999/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://127.0.0.1:9999/debian unstable/main Translation-en [5451 kB] Get:5 http://127.0.0.1:9999/debian unstable/main Sources 2016-08-29-0319.00.pdiff [16.7 kB] Get:6 http://127.0.0.1:9999/debian unstable/main Sources 2016-08-29-0916.07.pdiff [5442 B] Get:6 http://127.0.0.1:9999/debian unstable/main Sources 2016-08-29-0916.07.pdiff [5442 B] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2016-08-29-0319.00.pdiff [13.2 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2016-08-29-0916.07.pdiff [3300 B] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 Packages 2016-08-29-0916.07.pdiff [3300 B] Fetched 5755 kB in 2s (1931 kB/s) Reading package lists... W: No sandbox user '_apt' on the system, can not drop privileges + apt-get install --yes --no-install-recommends --force-yes clang-3.8 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libbsd0 libclang-common-3.8-dev libclang1-3.8 libedit2 libffi6 libllvm3.8 libobjc-6-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-3.8-doc Recommended packages: llvm-3.8-dev python The following NEW packages will be installed: clang-3.8 libbsd0 libclang-common-3.8-dev libclang1-3.8 libedit2 libffi6 libllvm3.8 libobjc-6-dev libobjc4 0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded. Need to get 38.3 MB of archives. After this operation, 162 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.3-1 [83.0 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20150325-1+b1 [85.2 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libffi6 amd64 3.2.1-4 [20.4 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libllvm3.8 amd64 1:3.8.1-9 [10.3 MB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 6.2.0-1 [110 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.2.0-1 [394 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-3.8 amd64 1:3.8.1-9 [4188 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-3.8-dev amd64 1:3.8.1-9 [1477 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 clang-3.8 amd64 1:3.8.1-9 [21.6 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 38.3 MB in 1s (21.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 ... 9446 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.8.3-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.3-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../1-libedit2_3.1-20150325-1+b1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20150325-1+b1) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../2-libffi6_3.2.1-4_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-4) ... Selecting previously unselected package libllvm3.8:amd64. Preparing to unpack .../3-libllvm3.8_1%3a3.8.1-9_amd64.deb ... Unpacking libllvm3.8:amd64 (1:3.8.1-9) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../4-libobjc4_6.2.0-1_amd64.deb ... Unpacking libobjc4:amd64 (6.2.0-1) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../5-libobjc-6-dev_6.2.0-1_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.2.0-1) ... Selecting previously unselected package libclang1-3.8:amd64. Preparing to unpack .../6-libclang1-3.8_1%3a3.8.1-9_amd64.deb ... Unpacking libclang1-3.8:amd64 (1:3.8.1-9) ... Selecting previously unselected package libclang-common-3.8-dev. Preparing to unpack .../7-libclang-common-3.8-dev_1%3a3.8.1-9_amd64.deb ... Unpacking libclang-common-3.8-dev (1:3.8.1-9) ... Selecting previously unselected package clang-3.8. Preparing to unpack .../8-clang-3.8_1%3a3.8.1-9_amd64.deb ... Unpacking clang-3.8 (1:3.8.1-9) ... Setting up libobjc4:amd64 (6.2.0-1) ... Setting up libbsd0:amd64 (0.8.3-1) ... Processing triggers for libc-bin (2.23-5) ... Setting up libobjc-6-dev:amd64 (6.2.0-1) ... Setting up libffi6:amd64 (3.2.1-4) ... Setting up libedit2:amd64 (3.1-20150325-1+b1) ... Setting up libllvm3.8:amd64 (1:3.8.1-9) ... Setting up libclang-common-3.8-dev (1:3.8.1-9) ... Setting up libclang1-3.8:amd64 (1:3.8.1-9) ... Setting up clang-3.8 (1:3.8.1-9) ... Processing triggers for libc-bin (2.23-5) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. W: No sandbox user '_apt' on the system, can not drop privileges + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-3.8 g++-4.6 + ln -s clang-3.8 gcc-4.6 + ln -s clang-3.8 cpp-4.6 + ln -s clang-3.8 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in 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 + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in 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 + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-3.8 g++-4.7 + ln -s clang-3.8 gcc-4.7 + ln -s clang-3.8 cpp-4.7 + ln -s clang-3.8 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in 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 + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in 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 + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-3.8 g++-4.8 + ln -s clang-3.8 gcc-4.8 + ln -s clang-3.8 cpp-4.8 + ln -s clang-3.8 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in 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 + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in 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 + for VERSION in '$VERSIONS' + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-3.8 g++-4.9 + ln -s clang-3.8 gcc-4.9 + ln -s clang-3.8 cpp-4.9 + ln -s clang-3.8 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in 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 + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in 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 + for VERSION in '$VERSIONS' + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-3.8 g++-5 + ln -s clang-3.8 gcc-5 + ln -s clang-3.8 cpp-5 + ln -s clang-3.8 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++-3.8 g++-6 + ln -s clang-3.8 gcc-6 + ln -s clang-3.8 cpp-6 + ln -s clang-3.8 gcc + echo 'gcc-6 hold' + dpkg --set-selections + echo 'g++-6 hold' + dpkg --set-selections + cd - /build/hpsockd-SfVOdn + 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/clang'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... W: No sandbox user '_apt' on the system, can not drop privileges Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: linux-libc-dev 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1158 kB of archives. After this operation, 60.4 kB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 linux-libc-dev amd64 4.7.2-1 [1158 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1158 kB in 0s (70.8 MB/s) (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 ... 9769 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_4.7.2-1_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.7.2-1) over (4.6.4-1) ... Setting up linux-libc-dev:amd64 (4.7.2-1) ... W: No sandbox user '_apt' on the system, can not drop privileges +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'hpsockd' packaging is maintained in the 'Git' version control system at: git://git.debian.org/~lamont/hpsockd.git Please use: git clone git://git.debian.org/~lamont/hpsockd.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 89.9 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main hpsockd 0.17 (dsc) [632 B] Get:2 http://127.0.0.1:9999/debian unstable/main hpsockd 0.17 (tar) [89.3 kB] Fetched 89.9 kB in 0s (747 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/hpsockd-SfVOdn/hpsockd-0.17' with '<>' I: NOTICE: Log filtering will replace 'build/hpsockd-SfVOdn' 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-EDCzuf/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-EDCzuf/apt_archive ./ InRelease Get:2 copy:/<>/resolver-EDCzuf/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-EDCzuf/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-EDCzuf/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-EDCzuf/apt_archive ./ Packages [431 B] Fetched 1737 B in 0s (0 B/s) Reading package lists... W: No sandbox user '_apt' on the system, can not drop privileges 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 774 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-EDCzuf/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [774 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 774 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 9775 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) ... W: No sandbox user '_apt' on the system, can not drop privileges +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: byacc, debhelper (>= 5), flex, libdb-dev (>= 4.6.19) Filtered Build-Depends: byacc, debhelper (>= 5), flex, libdb-dev (>= 4.6.19) dpkg-deb: building package 'sbuild-build-depends-hpsockd-dummy' in '/<>/resolver-v5yIOg/apt_archive/sbuild-build-depends-hpsockd-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-hpsockd-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-v5yIOg/apt_archive ./ InRelease Get:2 copy:/<>/resolver-v5yIOg/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-v5yIOg/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-v5yIOg/apt_archive ./ Sources [366 B] Get:5 copy:/<>/resolver-v5yIOg/apt_archive ./ Packages [455 B] Fetched 1778 B in 0s (0 B/s) Reading package lists... W: No sandbox user '_apt' on the system, can not drop privileges Reading package lists... Install hpsockd build dependencies (apt-based resolver) ------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils byacc debhelper dh-autoreconf dh-strip-nondeterminism file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libdb-dev libdb5.3-dev libfile-stripnondeterminism-perl libfl-dev libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libunistring0 libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make bison gettext-doc libasprintf-dev libgettextpo-dev groff db5.3-doc libtool-doc gfortran | fortran95-compiler gcj-jdk less www-browser libmail-box-perl Recommended packages: curl | wget | lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils byacc debhelper dh-autoreconf dh-strip-nondeterminism file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libdb-dev libdb5.3-dev libfile-stripnondeterminism-perl libfl-dev libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libunistring0 libxml2 m4 man-db po-debconf sbuild-build-depends-hpsockd-dummy 0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 21.1 MB of archives. After this operation, 71.2 MB of additional disk space will be used. Get:1 copy:/<>/resolver-v5yIOg/apt_archive ./ sbuild-build-depends-hpsockd-dummy 0.invalid.0 [794 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-8 [1162 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 9.0.10 [184 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libpipeline1 amd64 1.4.1-2 [27.6 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 man-db amd64 2.7.5-1 [1003 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.10-5 [28.9 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.17-5 [255 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libfl-dev amd64 2.6.1-1 [92.5 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 flex amd64 2.6.1-1 [428 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.28-4 [210 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.28-4 [109 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.28-4 [62.9 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-1 [121 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-3 [7676 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-1+b1 [919 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20160430.1 [72.6 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15-4 [735 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-1 [433 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.48.1-3 [2707 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.11-1 [143 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libunistring0 amd64 0.9.6+really0.9.3-0.1 [279 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-1 [1493 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.19 [249 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.023-2 [13.4 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.023-2 [8202 B] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 12 [15.8 kB] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 9.20160814 [800 kB] Get:33 http://127.0.0.1:9999/debian unstable/main amd64 byacc amd64 20140715-1 [79.5 kB] Get:34 http://127.0.0.1:9999/debian unstable/main amd64 libdb5.3-dev amd64 5.3.28-12 [739 kB] Get:35 http://127.0.0.1:9999/debian unstable/main amd64 libdb-dev amd64 5.3.1 [2344 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 21.1 MB in 0s (64.4 MB/s) Selecting previously unselected package groff-base. (Reading database ... 9775 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-8_amd64.deb ... Unpacking groff-base (1.22.3-8) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_9.0.10_amd64.deb ... Unpacking bsdmainutils (9.0.10) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../02-libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.7.5-1_amd64.deb ... Unpacking man-db (2.7.5-1) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../04-libsigsegv2_2.10-5_amd64.deb ... Unpacking libsigsegv2:amd64 (2.10-5) ... Selecting previously unselected package m4. Preparing to unpack .../05-m4_1.4.17-5_amd64.deb ... Unpacking m4 (1.4.17-5) ... Selecting previously unselected package libfl-dev:amd64. Preparing to unpack .../06-libfl-dev_2.6.1-1_amd64.deb ... Unpacking libfl-dev:amd64 (2.6.1-1) ... Selecting previously unselected package flex. Preparing to unpack .../07-flex_2.6.1-1_amd64.deb ... Unpacking flex (2.6.1-1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../08-libmagic-mgc_1%3a5.28-4_amd64.deb ... Unpacking libmagic-mgc (1:5.28-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../09-libmagic1_1%3a5.28-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.28-4) ... Selecting previously unselected package file. Preparing to unpack .../10-file_1%3a5.28-4_amd64.deb ... Unpacking file (1:5.28-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.19.8.1-1_amd64.deb ... Unpacking gettext-base (0.19.8.1-1) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../12-libicu57_57.1-3_amd64.deb ... Unpacking libicu57:amd64 (57.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../13-libxml2_2.9.4+dfsg1-1+b1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-1+b1) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20160430.1_all.deb ... Unpacking autotools-dev (20160430.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.15-4_all.deb ... Unpacking automake (1:1.15-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-1_all.deb ... Unpacking autopoint (0.19.8.1-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../18-libglib2.0-0_2.48.1-3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.48.1-3) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../19-libcroco3_0.6.11-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../20-libunistring0_0.9.6+really0.9.3-0.1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../21-gettext_0.19.8.1-1_amd64.deb ... Unpacking gettext (0.19.8.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../22-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../23-po-debconf_1.0.19_all.deb ... Unpacking po-debconf (1.0.19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../24-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_0.023-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.023-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../26-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../27-dh-strip-nondeterminism_0.023-2_all.deb ... Unpacking dh-strip-nondeterminism (0.023-2) ... Selecting previously unselected package libtool. Preparing to unpack .../28-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../29-dh-autoreconf_12_all.deb ... Unpacking dh-autoreconf (12) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_9.20160814_all.deb ... Unpacking debhelper (9.20160814) ... Selecting previously unselected package byacc. Preparing to unpack .../31-byacc_20140715-1_amd64.deb ... Unpacking byacc (20140715-1) ... Selecting previously unselected package libdb5.3-dev. Preparing to unpack .../32-libdb5.3-dev_5.3.28-12_amd64.deb ... Unpacking libdb5.3-dev (5.3.28-12) ... Selecting previously unselected package libdb-dev:amd64. Preparing to unpack .../33-libdb-dev_5.3.1_amd64.deb ... Unpacking libdb-dev:amd64 (5.3.1) ... Selecting previously unselected package sbuild-build-depends-hpsockd-dummy. Preparing to unpack .../34-sbuild-build-depends-hpsockd-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-hpsockd-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.10-5) ... Setting up groff-base (1.22.3-8) ... Setting up libglib2.0-0:amd64 (2.48.1-3) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.17-5) ... Setting up libicu57:amd64 (57.1-3) ... Setting up libxml2:amd64 (2.9.4+dfsg1-1+b1) ... Setting up libmagic-mgc (1:5.28-4) ... Setting up libfl-dev:amd64 (2.6.1-1) ... Setting up libmagic1:amd64 (1:5.28-4) ... Setting up libcroco3:amd64 (0.6.11-1) ... Setting up libdb5.3-dev (5.3.28-12) ... Setting up byacc (20140715-1) ... update-alternatives: using /usr/bin/byacc to provide /usr/bin/yacc (yacc) in auto mode Processing triggers for libc-bin (2.23-5) ... Setting up autotools-dev (20160430.1) ... Setting up libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Setting up bsdmainutils (9.0.10) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up autopoint (0.19.8.1-1) ... Setting up libfile-stripnondeterminism-perl (0.023-2) ... Setting up libdb-dev:amd64 (5.3.1) ... Setting up gettext (0.19.8.1-1) ... Setting up flex (2.6.1-1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.28-4) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15-4) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.19) ... Setting up dh-autoreconf (12) ... Setting up debhelper (9.20160814) ... Setting up sbuild-build-depends-hpsockd-dummy (0.invalid.0) ... Setting up dh-strip-nondeterminism (0.023-2) ... Processing triggers for libc-bin (2.23-5) ... W: No sandbox user '_apt' on the system, can not drop privileges +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 3.16.0-4-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.27-6 dpkg-dev_1.18.10 g++-6_6.2.0-1 gcc-6_6.2.0-1 libc6-dev_2.23-5 libstdc++-6-dev_6.2.0-1 libstdc++6_6.2.0-1 linux-libc-dev_4.7.2-1 Package versions: adduser_3.115 apt_1.3~rc2 autoconf_2.69-10 automake_1:1.15-4 autopoint_0.19.8.1-1 autotools-dev_20160430.1 base-files_9.6 base-passwd_3.5.40 bash_4.3-15 binutils_2.27-6 bsdmainutils_9.0.10 bsdutils_1:2.28.1-1 build-essential_12.2 byacc_20140715-1 bzip2_1.0.6-8 clang-3.8_1:3.8.1-9 coreutils_8.25-2 cpp_4:6.1.1-1 cpp-6_6.2.0-1 dash_0.5.8-2.3 debconf_1.5.59 debfoster_2.7-2.1 debhelper_9.20160814 debian-archive-keyring_2014.3 debianutils_4.8 dh-autoreconf_12 dh-strip-nondeterminism_0.023-2 diffutils_1:3.3-3 dpkg_1.18.10 dpkg-dev_1.18.10 e2fslibs_1.43.1-1 e2fsprogs_1.43.1-1 eatmydata_105-3 fakeroot_1.21-1 file_1:5.28-4 findutils_4.6.0+git+20160703-2 flex_2.6.1-1 g++_4:6.1.1-1 g++-6_6.2.0-1 gcc_4:6.1.1-1 gcc-6_6.2.0-1 gcc-6-base_6.2.0-1 gettext_0.19.8.1-1 gettext-base_0.19.8.1-1 gpgv_2.1.14-5 grep_2.25-6 groff-base_1.22.3-8 gzip_1.6-5 hostname_3.18 init-system-helpers_1.42 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3 libapt-pkg5.0_1.3~rc2 libarchive-zip-perl_1.59-1 libasan3_6.2.0-1 libatomic1_6.2.0-1 libattr1_1:2.4.47-2 libaudit-common_1:2.6.6-1 libaudit1_1:2.6.6-1 libblkid1_2.28.1-1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8 libc-bin_2.23-5 libc-dev-bin_2.23-5 libc6_2.23-5 libc6-dev_2.23-5 libcap-ng0_0.7.7-3 libcc1-0_6.2.0-1 libcilkrts5_6.2.0-1 libclang-common-3.8-dev_1:3.8.1-9 libclang1-3.8_1:3.8.1-9 libcomerr2_1.43.1-1 libcroco3_0.6.11-1 libdb-dev_5.3.1 libdb5.3_5.3.28-12 libdb5.3-dev_5.3.28-12 libdebconfclient0_0.215 libdpkg-perl_1.18.10 libeatmydata1_105-3 libedit2_3.1-20150325-1+b1 libfakeroot_1.21-1 libfdisk1_2.28.1-1 libffi6_3.2.1-4 libfile-stripnondeterminism-perl_0.023-2 libfl-dev_2.6.1-1 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.2.0-1 libgcc1_1:6.2.0-1 libgcrypt20_1.7.3-1 libgdbm3_1.8.3-14 libglib2.0-0_2.48.1-3 libgmp10_2:6.1.1+dfsg-1 libgomp1_6.2.0-1 libgpg-error0_1.24-1 libicu57_57.1-3 libisl15_0.17.1-1 libitm1_6.2.0-1 libllvm3.8_1:3.8.1-9 liblsan0_6.2.0-1 liblz4-1_0.0~r131-2 liblzma5_5.1.1alpha+20120614-2.1 libmagic-mgc_1:5.28-4 libmagic1_1:5.28-4 libmount1_2.28.1-1 libmpc3_1.0.3-1 libmpfr4_3.1.4-2 libmpx2_6.2.0-1 libncurses5_6.0+20160625-1 libncursesw5_6.0+20160625-1 libobjc-6-dev_6.2.0-1 libobjc4_6.2.0-1 libpam-modules_1.1.8-3.3 libpam-modules-bin_1.1.8-3.3 libpam-runtime_1.1.8-3.3 libpam0g_1.1.8-3.3 libpcre3_2:8.39-2 libperl5.22_5.22.2-3 libpipeline1_1.4.1-2 libquadmath0_6.2.0-1 libselinux1_2.5-3 libsemanage-common_2.5-1 libsemanage1_2.5-1 libsepol1_2.5-1 libsigsegv2_2.10-5 libsmartcols1_2.28.1-1 libss2_1.43.1-1 libstdc++-6-dev_6.2.0-1 libstdc++6_6.2.0-1 libsystemd0_231-5 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160625-1 libtool_2.4.6-2 libtsan0_6.2.0-1 libubsan0_6.2.0-1 libudev1_231-5 libunistring0_0.9.6+really0.9.3-0.1 libustr-1.0-1_1.0.4-5 libuuid1_2.28.1-1 libxml2_2.9.4+dfsg1-1+b1 linux-libc-dev_4.7.2-1 login_1:4.2-3.1 m4_1.4.17-5 make_4.1-9 man-db_2.7.5-1 mawk_1.3.3-17 mount_2.28.1-1 multiarch-support_2.23-5 ncurses-base_6.0+20160625-1 ncurses-bin_6.0+20160625-1 passwd_1:4.2-3.1 patch_2.7.5-1 perl_5.22.2-3 perl-base_5.22.2-3 perl-modules-5.22_5.22.2-3 po-debconf_1.0.19 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-hpsockd-dummy_0.invalid.0 sed_4.2.2-7.1 sensible-utils_0.0.9 sysvinit-utils_2.88dsf-59.8 tar_1.29b-1 util-linux_2.28.1-1 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sat Jun 14 15:08:31 2008 UTC using DSA key ID gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./hpsockd_0.17.dsc dpkg-source: warning: source package uses only weak checksums dpkg-source: info: extracting hpsockd in /<> dpkg-source: info: unpacking hpsockd_0.17.tar.gz Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent 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-b39c0e14-66e3-43b6-a062-609deb367850 SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package hpsockd dpkg-buildpackage: info: source version 0.17 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by LaMont Jones dpkg-source --before-build hpsockd-0.17 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. cd src && /usr/bin/make clobber make[1]: Entering directory '/<>/src' for i in util sockd; do (cd $i && make clobber); done make[2]: Entering directory '/<>/src/util' rm -f *.o rm -f libutil.a make[2]: Leaving directory '/<>/src/util' make[2]: Entering directory '/<>/src/sockd' rm -f *.o gram.output gram.tab.c gram.tab.h lexer.c rm -f sockd sdc log2ascii usage vers.c make[2]: Leaving directory '/<>/src/sockd' make[1]: Leaving directory '/<>/src' dh_clean 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 dh_testdir # Add here commands to configure the package. #CONFIGURE# touch configure-stamp dh_testdir # Add here commands to compile the package. cd src && /usr/bin/make make[1]: Entering directory '/<>/src' /usr/bin/make `uname -s` make[2]: Entering directory '/<>/src' /usr/bin/make CFLAGS="-O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\\\"/etc/hpsockd.conf\\\" -DSOCKD_PATH=\\\"/usr/sbin/hpsockd\\\" -I../util -DYYDEBUG=1" CLFLAGS="-ldl -ldb" all make[3]: Entering directory '/<>/src' for i in util sockd; do (cd $i && make all); done make[4]: Entering directory '/<>/src/util' cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o btree.o btree.c btree.c:285:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register nix=ix; ~~~~~~~~ ^ btree.c:481:3: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("Empty node at %x\n",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:481:28: warning: data argument not used by format string [-Wformat-extra-args] ERR("Empty node at %x\n",0); ~~~~~~~~~~~~~~~~~~~~ ^ btree.c:478:40: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ~ ^ btree.c:486:3: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("Key out of order/dup in %x[%d]\n",pn->nel-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:489:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("Key out of order/dup in %x[%d]\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:496:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("bad left pointer in %x[0]\n",0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:496:38: warning: data argument not used by format string [-Wformat-extra-args] ERR("bad left pointer in %x[0]\n",0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ btree.c:478:40: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ~ ^ btree.c:501:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("bad right pointer in %x[%d]\n",pn->nel-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:505:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("bad key in %x[%d]\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:508:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("bad left pointer in %x[%d]\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:512:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("bad right pointer in %x[%d]\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:514:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("Key out of order/dup key in %x[%d]\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:517:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] ERR("bad parent pointer in %x[%d]\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btree.c:478:37: note: expanded from macro 'ERR' #define ERR(s,n) ( Fprintf(stderr,s,pn,n),errs++ ) ^~ btree.c:542:3: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] pn,pn->left,pn->right,pn->parent, ^~ btree.c:542:6: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] pn,pn->left,pn->right,pn->parent, ^~~~~~~~ btree.c:542:15: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] pn,pn->left,pn->right,pn->parent, ^~~~~~~~~ btree.c:542:25: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] pn,pn->left,pn->right,pn->parent, ^~~~~~~~~~ btree.c:546:4: warning: format specifies type 'unsigned int' but the argument has type 'node_t *' (aka 'struct node *') [-Wformat] pn,i,pn->e[i].key, pn->e[i].p.data); ^~ btree.c:546:9: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] pn,i,pn->e[i].key, pn->e[i].p.data); ^~~~~~~~~~~~ btree.c:546:23: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] pn,i,pn->e[i].key, pn->e[i].p.data); ^~~~~~~~~~~~~~~ 20 warnings generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o inetdsec.o inetdsec.c inetdsec.c:180:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static internet_parse(char *string,byte *addr,char *service) ~~~~~~ ^ 1 warning generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o inet_ntoa.o inet_ntoa.c ar rv libutil.a btree.o inetdsec.o inet_ntoa.o ar: creating libutil.a a - btree.o a - inetdsec.o a - inet_ntoa.o ranlib libutil.a make[4]: Leaving directory '/<>/src/util' make[4]: Entering directory '/<>/src/sockd' cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o methods.o methods.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o sockd.o sockd.c sockd.c:94:5: warning: implicit declaration of function 'negotInit' is invalid in C99 [-Wimplicit-function-declaration] negotInit(); ^ sockd.c:135:5: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] gettimeofday(&lastAccept,(struct timezone*)NULL); /* make it something close... */ ^ sockd.c:193:49: warning: format specifies type 'int' but the argument has type '__time_t' (aka 'long') [-Wformat] fprintf(stderr,"selecting - timeout==%d\n",timeout.tv_sec); ~~ ^~~~~~~~~~~~~~ %ld sockd.c:495:10: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] if (!yyparse()) { ^ sockd.c:502:2: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration] umask(config.daemon.umask); ^ 5 warnings generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o signal.o signal.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o util.o util.c util.c:79:55: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] syslog(LOG_NOTICE,"freeSomeMemory freed %d bytes",freed); ~~ ^~~~~ %ld util.c:155:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(fd,SOL_SOCKET,SO_RCVBUF,&bval,&blen)==0 && bvalfd,info->flags); ~~ ^~~~~~~~~~~ %ld util.c:256:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] syslog(LOG_DEBUG," client=%d peer=%d udp=%d", conn->client-fdInfo, peer ? peer-fdInfo : -1, ~~ ^~~~~~~~~~~~~~~~~~~ %ld util.c:256:69: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] syslog(LOG_DEBUG," client=%d peer=%d udp=%d", conn->client-fdInfo, peer ? peer-fdInfo : -1, ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld util.c:257:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] conn->udp ? conn->udp-fdInfo : -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:292:71: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] syslog(LOG_ERR,"Null connection pointer origInfo=%x conn=%x info=%x",origInfo,conn,info); ~~ ^~~~~~~~ util.c:292:80: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] syslog(LOG_ERR,"Null connection pointer origInfo=%x conn=%x info=%x",origInfo,conn,info); ~~ ^~~~ util.c:292:85: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] syslog(LOG_ERR,"Null connection pointer origInfo=%x conn=%x info=%x",origInfo,conn,info); ~~ ^~~~ util.c:348:64: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] syslog(LOG_ERR,"using unused connection info=%x, conn=%x",info,conn); ~~ ^~~~ util.c:348:69: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] syslog(LOG_ERR,"using unused connection info=%x, conn=%x",info,conn); ~~ ^~~~ util.c:369:44: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] syslog(LOG_ERR,"free conn(%x) in use",conn); ~~ ^~~~ util.c:376:37: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] syslog(LOG_ERR,"lost conn(%x)",conn); ~~ ^~~~ util.c:381:47: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] syslog(LOG_ERR,"badly broken connection %x",conn); ~~ ^~~~ util.c:879:3: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] info,info->peer,info->conn,info->fd,info->flags, ^~~~ util.c:879:8: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] info,info->peer,info->conn,info->fd,info->flags, ^~~~~~~~~~ util.c:879:19: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] info,info->peer,info->conn,info->fd,info->flags, ^~~~~~~~~~ util.c:887:3: warning: format specifies type 'unsigned int' but the argument has type 'connInfoType *' (aka 'struct connInfo *') [-Wformat] conn,conn->client,conn->udp,conn->flags,conn->error); ^~~~ util.c:887:8: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] conn,conn->client,conn->udp,conn->flags,conn->error); ^~~~~~~~~~~~ util.c:887:21: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] conn,conn->client,conn->udp,conn->flags,conn->error); ^~~~~~~~~ 21 warnings generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o logging.o logging.c logging.c:86:86: warning: format specifies type 'unsigned int' but the argument has type 'fdInfoType *' (aka 'struct fdInfo *') [-Wformat] syslog(LOG_CRIT,"makeLogRec got null request pointer. Info=%08x flags=%08x pid=%d",info,info->flags,conn->pid); /* XXX */ ~~~~ ^~~~ 1 warning generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o dns.o dns.c dns.c:107:20: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] res=getsockname(s,&dnsAddr,&sinLen); ^~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:127:50: note: passing argument to parameter '__addr' here extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ dns.c:107:29: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] res=getsockname(s,&dnsAddr,&sinLen); ^~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:128:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ dns.c:358:42: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] ret=recvfrom(fd,sbuf,sizeof(sbuf),0,&from,&fromLen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:175:33: note: passing argument to parameter '__addr' here int __flags, __SOCKADDR_ARG __addr, ^ dns.c:358:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret=recvfrom(fd,sbuf,sizeof(sbuf),0,&from,&fromLen); ^~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ dns.c:365:53: warning: more '%' conversions than data arguments [-Wformat] syslog(LOG_ERR,"dnsHandler: bad size request (%d)"); ~^ dns.c:394:36: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'const struct sockaddr *' [-Wincompatible-pointer-types] sendto(fd,dbuf,next-(char*)dbuf,0,&from,fromLen); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:164:44: note: passing argument to parameter '__addr' here int __flags, __CONST_SOCKADDR_ARG __addr, ^ 6 warnings generated. if [ -f /usr/bin/byacc ]; then \ byacc -b gram -d -v gram.y; \ else \ yacc -b gram -d -v gram.y; \ fi cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o gram.tab.o gram.tab.c gram.y:766:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyerror(char *s) ^ gram.y:771:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 2 warnings generated. flex -p -s -t lexer.l > lexer.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o lexer.o lexer.c lexer.l:122:15: warning: implicit declaration of function 'strToTime' is invalid in C99 [-Wimplicit-function-declaration] { yylval.iVal=strToTime(yytext); return I_TIME; } ^ 1 warning generated. sed -n '1,1s/.*(\(.*\)).*$/char *socks_version="@(#)sockd version \1";/p' < ../../debian/changelog > vers.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o vers.o vers.c cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o listen.o listen.c listen.c:67:41: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] newFd=accept(fd,(struct sockaddr*)&sin,&len); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ listen.c:90:5: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] gettimeofday(&myTime,(struct timezone*)NULL); ^ listen.c:150:39: warning: implicit declaration of function 'DoInetdSec' is invalid in C99 [-Wimplicit-function-declaration] if (config.daemon.inetdSecFile && DoInetdSec(config.daemon.service,&sin,config.daemon.inetdSecFile)<0) { ^ listen.c:211:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v4.o v4.c v4.c:161:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (res==0 || res<0 && errno==EINPROGRESS) { ~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ v4.c:161:25: note: place parentheses around the '&&' expression to silence this warning if (res==0 || res<0 && errno==EINPROGRESS) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~ v4.c:195:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] res=getsockname(fd,(struct sockaddr*)&sin,&sinlen); ^~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:128:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ v4.c:243:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] res=getsockname(outFd,(struct sockaddr*)&sin,&len); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:128:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ v4.c:284:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] newFd=accept(fd,(struct sockaddr*)&sin,&len); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 4 warnings generated. cc -O -UHAVE_THREADS -DHAVE_DLOPEN -DHAVE_MMAP -DDB_185 -DCONFIG_FILE=\"/etc/hpsockd.conf\" -DSOCKD_PATH=\"/usr/sbin/hpsockd\" -I../util -DYYDEBUG=1 -c -o v5.o v5.c v5.c:162:3: error: non-void function 'v5Request' should return a value [-Wreturn-type] return; ^ v5.c:394:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] cInfo->action,cInfo-config.clients.list); ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. : recipe for target 'v5.o' failed make[4]: *** [v5.o] Error 1 make[4]: Leaving directory '/<>/src/sockd' Makefile:33: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/<>/src' Makefile.os:38: recipe for target 'Linux' failed make[2]: *** [Linux] Error 2 make[2]: Leaving directory '/<>/src' Makefile:25: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/<>/src' debian/rules:23: 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 2016-08-29T17:08:55Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build-Space: 0 Build-Time: 2 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 8 Job: hpsockd_0.17 Machine Architecture: amd64 Package: hpsockd Package-Time: 36 Source-Version: 0.17 Space: 0 Status: failed Version: 0.17 -------------------------------------------------------------------------------- Finished at 2016-08-29T17:08:55Z Build needed 00:00:00, 0k disc space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 37.205891688s