DC-Build-Header: hpsockd 0.17 / 2014-06-17 15:22:00 +0000 DC-Task: source:hpsockd version:0.17 architecture:any chroot:unstable esttime:119 logfile:/tmp/hpsockd_0.17_unstable_clang.log modes:binary-only:parallel:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " hpsockd_0.17' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-15-70.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ hpsockd 0.17clang1 (amd64) 17 Jun 2014 15:22 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: hpsockd Version: 0.17clang1 Source Version: 0.17 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/hpsockd-Z4f_Bm/hpsockd-0.17clang1' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/hpsockd-Z4f_Bm' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-d644255a-4cdc-4c8d-b504-18ebd6157fb2' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [206 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2014-06-16-2054.31.pdiff [15.4 kB] Get:6 http://localhost:9999 unstable/main 2014-06-17-0253.05.pdiff [7983 B] Get:7 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [7757 B] Get:8 http://localhost:9999 unstable/main amd64 2014-06-16-2054.31.pdiff [20.7 kB] Get:9 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [7757 B] Get:10 http://localhost:9999 unstable/main amd64 2014-06-17-0253.05.pdiff [38.6 kB] Get:11 http://localhost:9999 unstable/main amd64 2014-06-17-0856.27.pdiff [9018 B] Get:12 http://localhost:9999 unstable/main 2014-06-16-2054.31.pdiff [699 B] Get:13 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [442 B] Get:14 http://localhost:9999 unstable/main amd64 2014-06-17-0856.27.pdiff [9018 B] Get:15 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [442 B] Fetched 330 kB in 5s (61.7 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libc-bin libc-dev-bin libc6 libc6-dev linux-libc-dev multiarch-support 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 9447 kB of archives. After this operation, 10.2 kB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libc6-dev amd64 2.19-2 [2000 kB] Get:2 http://localhost:9999/debian/ unstable/main libc-dev-bin amd64 2.19-2 [235 kB] Get:3 http://localhost:9999/debian/ unstable/main linux-libc-dev amd64 3.14.7-1 [937 kB] Get:4 http://localhost:9999/debian/ unstable/main libc-bin amd64 2.19-2 [1288 kB] Get:5 http://localhost:9999/debian/ unstable/main libc6 amd64 2.19-2 [4816 kB] Get:6 http://localhost:9999/debian/ unstable/main multiarch-support amd64 2.19-2 [171 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 9447 kB in 0s (33.2 MB/s) (Reading database ... 14215 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.19-2_amd64.deb ... Unpacking libc6-dev:amd64 (2.19-2) over (2.19-1) ... Preparing to unpack .../libc-dev-bin_2.19-2_amd64.deb ... Unpacking libc-dev-bin (2.19-2) over (2.19-1) ... Preparing to unpack .../linux-libc-dev_3.14.7-1_amd64.deb ... Unpacking linux-libc-dev:amd64 (3.14.7-1) over (3.14.5-1) ... Preparing to unpack .../libc-bin_2.19-2_amd64.deb ... Unpacking libc-bin (2.19-2) over (2.19-1) ... Preparing to unpack .../libc6_2.19-2_amd64.deb ... Unpacking libc6:amd64 (2.19-2) over (2.19-1) ... Setting up libc6:amd64 (2.19-2) ... Setting up libc-bin (2.19-2) ... (Reading database ... 14216 files and directories currently installed.) Preparing to unpack .../multiarch-support_2.19-2_amd64.deb ... Unpacking multiarch-support (2.19-2) over (2.19-1) ... Setting up multiarch-support (2.19-2) ... Setting up libc-dev-bin (2.19-2) ... Setting up linux-libc-dev:amd64 (3.14.7-1) ... Setting up libc6-dev:amd64 (2.19-2) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'hpsockd' packaging is maintained in the 'Git' version control system at: git://git.debian.org/~lamont/hpsockd.git Need to get 89.9 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main hpsockd 0.17 (dsc) [632 B] Get:2 http://localhost:9999/debian/ unstable/main hpsockd 0.17 (tar) [89.3 kB] Fetched 89.9 kB in 0s (122 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 'Install of clang-3.4' Install of clang-3.4 + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.4 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.9-dev libobjc4 Suggested packages: gnustep gnustep-devel Recommended packages: llvm-3.4-dev python The following NEW packages will be installed: clang-3.4 libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.9-dev libobjc4 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 30.6 MB of archives. After this operation, 118 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.1-2 [19.8 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.4 amd64 1:3.4.2-2 [6721 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.9.0-6 [112 kB] Get:4 http://localhost:9999/debian/ unstable/main libobjc-4.9-dev amd64 4.9.0-6 [372 kB] Get:5 http://localhost:9999/debian/ unstable/main libclang1-3.4 amd64 1:3.4.2-2 [3619 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.4-dev amd64 1:3.4.2-2 [543 kB] Get:7 http://localhost:9999/debian/ unstable/main clang-3.4 amd64 1:3.4.2-2 [19.2 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 30.6 MB in 0s (33.8 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 14216 files and directories currently installed.) Preparing to unpack .../libffi6_3.1-2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2) ... Selecting previously unselected package libllvm3.4:amd64. Preparing to unpack .../libllvm3.4_1%3a3.4.2-2_amd64.deb ... Unpacking libllvm3.4:amd64 (1:3.4.2-2) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.9.0-6_amd64.deb ... Unpacking libobjc4:amd64 (4.9.0-6) ... Selecting previously unselected package libobjc-4.9-dev:amd64. Preparing to unpack .../libobjc-4.9-dev_4.9.0-6_amd64.deb ... Unpacking libobjc-4.9-dev:amd64 (4.9.0-6) ... Selecting previously unselected package libclang1-3.4:amd64. Preparing to unpack .../libclang1-3.4_1%3a3.4.2-2_amd64.deb ... Unpacking libclang1-3.4:amd64 (1:3.4.2-2) ... Selecting previously unselected package libclang-common-3.4-dev. Preparing to unpack .../libclang-common-3.4-dev_1%3a3.4.2-2_amd64.deb ... Unpacking libclang-common-3.4-dev (1:3.4.2-2) ... Selecting previously unselected package clang-3.4. Preparing to unpack .../clang-3.4_1%3a3.4.2-2_amd64.deb ... Unpacking clang-3.4 (1:3.4.2-2) ... Setting up libffi6:amd64 (3.1-2) ... Setting up libllvm3.4:amd64 (1:3.4.2-2) ... Setting up libobjc4:amd64 (4.9.0-6) ... Setting up libobjc-4.9-dev:amd64 (4.9.0-6) ... Setting up libclang1-3.4:amd64 (1:3.4.2-2) ... Setting up libclang-common-3.4-dev (1:3.4.2-2) ... Setting up clang-3.4 (1:3.4.2-2) ... Processing triggers for libc-bin (2.19-2) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f 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 + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f 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 + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + 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 + ln -s clang++ g++-4.9 + ln -s clang gcc-4.9 + ln -s clang cpp-4.9 + echo 'gcc-4.9 hold' + dpkg --set-selections + echo 'g++-4.9 hold' + dpkg --set-selections + cd - /«BUILDDIR» + 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-Lxtuzc/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/816 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 ... 14431 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... 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), byacc, debhelper (>= 5), flex, libdb-dev (>= 4.6.19) 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), byacc, debhelper (>= 5), flex, libdb-dev (>= 4.6.19) dpkg-deb: building package `sbuild-build-depends-hpsockd-dummy' in `/«BUILDDIR»/resolver-MaDIJ6/apt_archive/sbuild-build-depends-hpsockd-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install hpsockd build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils byacc debhelper file flex gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libdb-dev libdb5.3-dev libfl-dev libglib2.0-0 libmagic1 libpipeline1 libsigsegv2 libunistring0 libxml2 m4 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make bison gettext-doc groff db5.3-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils byacc debhelper file flex gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libdb-dev libdb5.3-dev libfl-dev libglib2.0-0 libmagic1 libpipeline1 libsigsegv2 libunistring0 libxml2 m4 man-db po-debconf sbuild-build-depends-hpsockd-dummy 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. Need to get 10.7 MB/10.7 MB of archives. After this operation, 31.7 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.3.0-1 [25.8 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-5 [1043 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.7.1-1 [990 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.3.2-2 [29.4 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.19-1 [237 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-3 [791 kB] Get:8 http://localhost:9999/debian/ unstable/main libsigsegv2 amd64 2.10-4 [28.8 kB] Get:9 http://localhost:9999/debian/ unstable/main m4 amd64 1.4.17-4 [254 kB] Get:10 http://localhost:9999/debian/ unstable/main libfl-dev amd64 2.5.39-7 [74.7 kB] Get:11 http://localhost:9999/debian/ unstable/main flex amd64 2.5.39-7 [960 kB] Get:12 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.40.0-3 [2405 kB] Get:13 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:14 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:15 http://localhost:9999/debian/ unstable/main file amd64 1:5.19-1 [58.0 kB] Get:16 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.3.2-2 [116 kB] Get:17 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.3.2-2 [1202 kB] Get:18 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:19 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:20 http://localhost:9999/debian/ unstable/main debhelper all 9.20140613 [692 kB] Get:21 http://localhost:9999/debian/ unstable/main byacc amd64 20140422-1 [79.1 kB] Get:22 http://localhost:9999/debian/ unstable/main libdb5.3-dev amd64 5.3.28-3 [717 kB] Get:23 http://localhost:9999/debian/ unstable/main libdb-dev amd64 5.3.0 [2276 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 10.7 MB in 0s (18.6 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14431 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.3.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.3.0-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.2-5_amd64.deb ... Unpacking groff-base (1.22.2-5) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.5_amd64.deb ... Unpacking bsdmainutils (9.0.5) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.6.7.1-1_amd64.deb ... Unpacking man-db (2.6.7.1-1) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.18.3.2-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.18.3.2-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.19-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.19-1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../libsigsegv2_2.10-4_amd64.deb ... Unpacking libsigsegv2:amd64 (2.10-4) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.17-4_amd64.deb ... Unpacking m4 (1.4.17-4) ... Selecting previously unselected package libfl-dev:amd64. Preparing to unpack .../libfl-dev_2.5.39-7_amd64.deb ... Unpacking libfl-dev:amd64 (2.5.39-7) ... Selecting previously unselected package flex. Preparing to unpack .../flex_2.5.39-7_amd64.deb ... Unpacking flex (2.5.39-7) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.40.0-3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.40.0-3) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-2) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.19-1_amd64.deb ... Unpacking file (1:5.19-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.18.3.2-2_amd64.deb ... Unpacking gettext-base (0.18.3.2-2) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.18.3.2-2_amd64.deb ... Unpacking gettext (0.18.3.2-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu2_all.deb ... Unpacking po-debconf (1.0.16+nmu2) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20140613_all.deb ... Unpacking debhelper (9.20140613) ... Selecting previously unselected package byacc. Preparing to unpack .../byacc_20140422-1_amd64.deb ... Unpacking byacc (20140422-1) ... Selecting previously unselected package libdb5.3-dev. Preparing to unpack .../libdb5.3-dev_5.3.28-3_amd64.deb ... Unpacking libdb5.3-dev (5.3.28-3) ... Selecting previously unselected package libdb-dev:amd64. Preparing to unpack .../libdb-dev_5.3.0_amd64.deb ... Unpacking libdb-dev:amd64 (5.3.0) ... Selecting previously unselected package sbuild-build-depends-hpsockd-dummy. Preparing to unpack .../sbuild-build-depends-hpsockd-dummy.deb ... Unpacking sbuild-build-depends-hpsockd-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.3.0-1) ... Setting up groff-base (1.22.2-5) ... Setting up bsdmainutils (9.0.5) ... 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 man-db (2.6.7.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.3.2-2) ... Setting up libmagic1:amd64 (1:5.19-1) ... Setting up libxml2:amd64 (2.9.1+dfsg1-3) ... Setting up libsigsegv2:amd64 (2.10-4) ... Setting up m4 (1.4.17-4) ... Setting up libfl-dev:amd64 (2.5.39-7) ... Setting up flex (2.5.39-7) ... Setting up libglib2.0-0:amd64 (2.40.0-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.19-1) ... Setting up gettext-base (0.18.3.2-2) ... Setting up gettext (0.18.3.2-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20140613) ... Setting up byacc (20140422-1) ... update-alternatives: using /usr/bin/byacc to provide /usr/bin/yacc (yacc) in auto mode Setting up libdb5.3-dev (5.3.28-3) ... Setting up libdb-dev:amd64 (5.3.0) ... Setting up sbuild-build-depends-hpsockd-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.19-2) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.24.51.20140604-3 dpkg-dev_1.17.10 g++-4.6_4.6.4-7 g++-4.9_4.9.0-6 gcc-4.6_4.6.4-7 gcc-4.7_4.7.4-1 gcc-4.9_4.9.0-6 libc6-dev_2.19-2 libstdc++-4.9-dev_4.9.0-6 libstdc++6_4.9.0-6 libstdc++6-4.6-dev_4.6.4-7 linux-libc-dev_3.14.7-1 Package versions: apt_1.0.4 base-files_7.3 base-passwd_3.5.33 bash_4.3-7 binutils_2.24.51.20140604-3 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.8 build-essential_11.6 byacc_20140422-1 bzip2_1.0.6-5 clang-3.4_1:3.4.2-2 coreutils_8.21-1.2 cpp_4:4.9.0-3 cpp-4.6_4.6.4-7 cpp-4.7_4.7.4-1 cpp-4.9_4.9.0-6 dash_0.5.7-4 debconf_1.5.53 debconf-i18n_1.5.53 debfoster_2.7-1.2 debhelper_9.20140613 debian-archive-keyring_2012.4 debianutils_4.4 diffutils_1:3.3-1 dpkg_1.17.10 dpkg-dev_1.17.10 e2fslibs_1.42.10-1 e2fsprogs_1.42.10-1 fakeroot_1.20-3 file_1:5.19-1 findutils_4.4.2-8 flex_2.5.39-7 g++_4:4.9.0-3 g++-4.6_4.6.4-7 g++-4.9_4.9.0-6 gcc_4:4.9.0-3 gcc-4.4-base_4.4.7-8 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-7 gcc-4.6-base_4.6.4-7 gcc-4.7_4.7.4-1 gcc-4.7-base_4.7.4-1 gcc-4.8-base_4.8.3-3 gcc-4.9_4.9.0-6 gcc-4.9-base_4.9.0-6 gettext_0.18.3.2-2 gettext-base_0.18.3.2-2 gnupg_1.4.16-1.1 gpgv_1.4.16-1.1 grep_2.18-2 groff-base_1.22.2-5 gzip_1.6-3 hostname_3.15 initscripts_2.88dsf-53.2 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_1.0.4 libarchive-extract-perl_0.72-1 libasan1_4.9.0-6 libasprintf0c2_0.18.3.2-2 libatomic1_4.9.0-6 libattr1_1:2.4.47-1 libaudit-common_1:2.3.7-1 libaudit1_1:2.3.7-1 libblkid1_2.20.1-5.8 libbz2-1.0_1.0.6-5 libc-bin_2.19-2 libc-dev-bin_2.19-2 libc6_2.19-2 libc6-dev_2.19-2 libcap2_1:2.22-1.2 libcilkrts5_4.9.0-6 libclang-common-3.4-dev_1:3.4.2-2 libclang1-3.4_1:3.4.2-2 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.2-1 libcloog-ppl1_0.16.1-5 libcomerr2_1.42.10-1 libcroco3_0.6.8-2 libdb-dev_5.3.0 libdb5.1_5.1.29-5 libdb5.3_5.3.28-3 libdb5.3-dev_5.3.28-3 libdebconfclient0_0.191 libdpkg-perl_1.17.10 libfakeroot_1.20-3 libffi6_3.1-2 libfile-fcntllock-perl_0.20-1 libfl-dev_2.5.39-7 libgc1c2_1:7.2d-6 libgcc-4.7-dev_4.7.4-1 libgcc-4.9-dev_4.9.0-6 libgcc1_1:4.9.0-6 libgdbm3_1.8.3-12 libglib2.0-0_2.40.0-3 libgmp10_2:6.0.0+dfsg-4 libgmpxx4ldbl_2:6.0.0+dfsg-4 libgomp1_4.9.0-6 libgpm2_1.20.4-6.1 libisl10_0.12.2-1 libitm1_4.9.0-6 libllvm3.4_1:3.4.2-2 liblocale-gettext-perl_1.05-8 liblog-message-simple-perl_0.10-1 liblsan0_4.9.0-6 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.19-1 libmodule-pluggable-perl_5.1-1 libmount1_2.20.1-5.8 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.2-1 libncurses5_5.9+20140118-1 libobjc-4.9-dev_4.9.0-6 libobjc4_4.9.0-6 libpam-modules_1.1.8-3 libpam-modules-bin_1.1.8-3 libpam-runtime_1.1.8-3 libpam0g_1.1.8-3 libpcre3_1:8.31-5 libpipeline1_1.3.0-1 libpod-latex-perl_0.61-1 libppl-c4_1:1.1-2+b1 libppl13_1:1.1-2+b1 libquadmath0_4.9.0-6 libreadline6_6.3-6 libselinux1_2.3-1 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-1 libsigsegv2_2.10-4 libslang2_2.2.4-16 libss2_1.42.10-1 libstdc++-4.9-dev_4.9.0-6 libstdc++6_4.9.0-6 libstdc++6-4.6-dev_4.6.4-7 libswitch-perl_2.17-1 libterm-ui-perl_0.42-1 libtext-charwidth-perl_0.04-7+b2 libtext-iconv-perl_1.7-5+b1 libtext-soundex-perl_3.4-1+b1 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140118-1 libtsan0_4.9.0-6 libubsan0_4.9.0-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.3 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.8 libvtv0_4.9.0-6 libxml2_2.9.1+dfsg1-3 linux-libc-dev_3.14.7-1 login_1:4.2-2 lsb-base_4.1+Debian13 m4_1.4.17-4 make_4.0-8 man-db_2.6.7.1-1 mawk_1.3.3-17 mount_2.20.1-5.8 multiarch-support_2.19-2 ncurses-base_5.9+20140118-1 ncurses-bin_5.9+20140118-1 passwd_1:4.2-2 patch_2.7.1-5 perl_5.18.2-4 perl-base_5.18.2-4 perl-modules_5.18.2-4 po-debconf_1.0.16+nmu2 readline-common_6.3-6 rename_0.20-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-hpsockd-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 startpar_0.59-3 sudo_1.8.9p5-1 sysv-rc_2.88dsf-53.2 sysvinit_2.88dsf-53.2 sysvinit-core_2.88dsf-53.2 sysvinit-utils_2.88dsf-53.2 tar_1.27.1-2 tzdata_2014e-1 ucf_3.0030 util-linux_2.20.1-5.8 vim_2:7.4.273-2+b1 vim-common_2:7.4.273-2+b1 vim-runtime_2:7.4.273-2 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sat Jun 14 15:08:31 2008 UTC using DSA key ID 0A0AC927 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./hpsockd_0.17.dsc dpkg-source: info: extracting hpsockd in hpsockd-0.17clang1 dpkg-source: info: unpacking hpsockd_0.17.tar.gz Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 0.17clang1 User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=10 HOME=/sbuild-nonexistent LOGNAME=user 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=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-d644255a-4cdc-4c8d-b504-18ebd6157fb2 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package hpsockd dpkg-buildpackage: source version 0.17clang1 dpkg-buildpackage: source distribution unstable dpkg-source --before-build hpsockd-0.17clang1 dpkg-buildpackage: 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 '/«PKGBUILDDIR»/src' for i in util sockd; do (cd $i && make clobber); done make[2]: Entering directory '/«PKGBUILDDIR»/src/util' rm -f *.o rm -f libutil.a make[2]: Leaving directory '/«PKGBUILDDIR»/src/util' make[2]: Entering directory '/«PKGBUILDDIR»/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 '/«PKGBUILDDIR»/src/sockd' make[1]: Leaving directory '/«PKGBUILDDIR»/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 '/«PKGBUILDDIR»/src' /usr/bin/make `uname -s` make[2]: Entering directory '/«PKGBUILDDIR»/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 '/«PKGBUILDDIR»/src' for i in util sockd; do (cd $i && make all); done make[4]: Entering directory '/«PKGBUILDDIR»/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 '/«PKGBUILDDIR»/src/util' make[4]: Entering directory '/«PKGBUILDDIR»/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. make[4]: *** [v5.o] Error 1 : recipe for target 'v5.o' failed make[4]: Leaving directory '/«PKGBUILDDIR»/src/sockd' make[3]: *** [all] Error 2 make[2]: *** [Linux] Error 2 make[1]: *** [default] Error 2 make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Makefile:33: recipe for target 'all' failed make[3]: Leaving directory '/«PKGBUILDDIR»/src' Makefile.os:38: recipe for target 'Linux' failed make[2]: Leaving directory '/«PKGBUILDDIR»/src' Makefile:25: recipe for target 'default' failed make[1]: Leaving directory '/«PKGBUILDDIR»/src' debian/rules:23: recipe for target 'build-stamp' failed ──────────────────────────────────────────────────────────────────────────────── Build finished at 20140617-1522 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 892 Build-Time: 4 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 10 Job: hpsockd_0.17 Machine Architecture: amd64 Package: hpsockd Package-Time: 45 Source-Version: 0.17 Space: 892 Status: attempted Version: 0.17clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20140617-1522 Build needed 00:00:45, 892k disc space DC-Status: Failed 46.407090855s DC-Time-Estimation: 46.407090855 versus expected 119 (r/m: 1.5642633013092369 ; m: 46.407090855)