DC-Build-Header: postal 0.75 / 2017-07-06 15:48:44 +0000 DC-Task: type:rebuild-binarch-only source:postal version:0.75 chroot:unstable esttime: logfile:/tmp/postal_0.75_unstable_clang4.0.log modes:clang40:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang40 postal_0.75' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-35-21.eu-central-1.compute.internal +==============================================================================+ | postal 0.75 (amd64) Thu, 06 Jul 2017 15:48:44 +0000 | +==============================================================================+ Package: postal Version: 0.75 Source Version: 0.75 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-00b09274-f561-4eec-a0df-43d02c7a2481' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang40 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=4.0 + echo 'Install of clang-4.0' Install of clang-4.0 + apt-get update Hit:1 http://127.0.0.1:9999/debian unstable InRelease Get:2 http://127.0.0.1:9999/debian unstable/main Translation-en [5730 kB] Fetched 5730 kB in 1s (3787 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-4.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-4.0-doc libomp-dev Recommended packages: llvm-4.0-dev python libgpm2 The following NEW packages will be installed: clang-4.0 libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 74.4 MB of archives. After this operation, 320 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.5-1 [89.6 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.0+20161126-1 [93.4 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libllvm4.0 amd64 1:4.0.1-1 [12.3 MB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-4.0 amd64 1:4.0.1-1 [6355 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 7.1.0-9 [51.0 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.4.0-1 [197 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-4.0-dev amd64 1:4.0.1-1 [2495 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 clang-4.0 amd64 1:4.0.1-1 [52.7 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 74.4 MB in 0s (95.1 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9711 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.8.5-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.5-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../1-libncurses5_6.0+20161126-1_amd64.deb ... Unpacking libncurses5:amd64 (6.0+20161126-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../2-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm4.0:amd64. Preparing to unpack .../3-libllvm4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libllvm4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libclang1-4.0:amd64. Preparing to unpack .../4-libclang1-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libclang1-4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../5-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../6-libobjc4_7.1.0-9_amd64.deb ... Unpacking libobjc4:amd64 (7.1.0-9) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../7-libobjc-6-dev_6.4.0-1_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.4.0-1) ... Selecting previously unselected package libclang-common-4.0-dev. Preparing to unpack .../8-libclang-common-4.0-dev_1%3a4.0.1-1_amd64.deb ... Unpacking libclang-common-4.0-dev (1:4.0.1-1) ... Selecting previously unselected package clang-4.0. Preparing to unpack .../9-clang-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking clang-4.0 (1:4.0.1-1) ... Setting up libncurses5:amd64 (6.0+20161126-1) ... Setting up libobjc4:amd64 (7.1.0-9) ... Setting up libbsd0:amd64 (0.8.5-1) ... Processing triggers for libc-bin (2.24-12) ... Setting up libobjc-6-dev:amd64 (6.4.0-1) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm4.0:amd64 (1:4.0.1-1) ... Setting up libclang1-4.0:amd64 (1:4.0.1-1) ... Setting up libclang-common-4.0-dev (1:4.0.1-1) ... Setting up clang-4.0 (1:4.0.1-1) ... Processing triggers for libc-bin (2.24-12) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-4.0 g++-4.6 + ln -s clang-4.0 gcc-4.6 + ln -s clang-4.0 cpp-4.6 + ln -s clang-4.0 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-4.0 g++-4.7 + ln -s clang-4.0 gcc-4.7 + ln -s clang-4.0 cpp-4.7 + ln -s clang-4.0 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-4.0 g++-4.8 + ln -s clang-4.0 gcc-4.8 + ln -s clang-4.0 cpp-4.8 + ln -s clang-4.0 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-4.0 g++-4.9 + ln -s clang-4.0 gcc-4.9 + ln -s clang-4.0 cpp-4.9 + ln -s clang-4.0 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-4.0 g++-5 + ln -s clang-4.0 gcc-5 + ln -s clang-4.0 cpp-5 + ln -s clang-4.0 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-4.0 g++-6 + ln -s clang-4.0 gcc-6 + ln -s clang-4.0 cpp-6 + ln -s clang-4.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections + echo 'g++-6 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-4.0 g++-7 + ln -s clang-4.0 gcc-7 + ln -s clang-4.0 cpp-7 + ln -s clang-4.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/postal-JQ0afq + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/clang40'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 107 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main postal 0.75 (dsc) [1391 B] Get:2 http://127.0.0.1:9999/debian unstable/main postal 0.75 (tar) [106 kB] Fetched 107 kB in 0s (2085 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/postal-JQ0afq/postal-0.75' with '<>' I: NOTICE: Log filtering will replace 'build/postal-JQ0afq' 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-xEbwUH/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-xEbwUH/apt_archive ./ InRelease Get:2 copy:/<>/resolver-xEbwUH/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-xEbwUH/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-xEbwUH/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-xEbwUH/apt_archive ./ Packages [431 B] Fetched 1737 B in 0s (0 B/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 784 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-xEbwUH/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [784 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 784 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9), libgnutls28-dev Filtered Build-Depends: debhelper (>= 9), libgnutls28-dev dpkg-deb: building package 'sbuild-build-depends-postal-dummy' in '/<>/resolver-xEbwUH/apt_archive/sbuild-build-depends-postal-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-postal-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-xEbwUH/apt_archive ./ InRelease Get:2 copy:/<>/resolver-xEbwUH/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-xEbwUH/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-xEbwUH/apt_archive ./ Sources [495 B] Get:5 copy:/<>/resolver-xEbwUH/apt_archive ./ Packages [576 B] Fetched 2034 B in 0s (0 B/s) Reading package lists... Reading package lists... Install postal 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 debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libicu57 libidn2-0-dev libmagic-mgc libmagic1 libp11-kit-dev libpipeline1 libsigsegv2 libtasn1-6-dev libtimedate-perl libtool libunbound2 libxml2 m4 man-db nettle-dev po-debconf zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff gmp-doc libgmp10-doc libmpfr-dev dns-root-data gnutls-doc gnutls-bin libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl Recommended packages: curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libtasn1-doc libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutlsxx28 libicu57 libidn2-0-dev libmagic-mgc libmagic1 libp11-kit-dev libpipeline1 libsigsegv2 libtasn1-6-dev libtimedate-perl libtool libunbound2 libxml2 m4 man-db nettle-dev po-debconf sbuild-build-depends-postal-dummy zlib1g-dev 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. Need to get 23.3 MB of archives. After this operation, 77.2 MB of additional disk space will be used. Get:1 copy:/<>/resolver-xEbwUH/apt_archive ./ sbuild-build-depends-postal-dummy 0.invalid.0 [792 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-9 [1160 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 9.0.12+nmu1 [186 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.6.1-2 [1044 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.30-1 [222 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.30-1 [111 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.30-1 [63.9 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-2+b1 [122 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libgnutls-openssl27 amd64 3.5.13-2 [198 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-6 [7701 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-3 [715 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.11-1 [29.9 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20161112.1 [73.4 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-2 [736 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-2 [433 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 14 [15.9 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.035-2 [17.0 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.035-2 [10.7 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.52.3-1 [2742 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-1 [144 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-2+b1 [1301 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 10.6.2 [968 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-1 [22.2 kB] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-1 [631 kB] Get:33 http://127.0.0.1:9999/debian unstable/main amd64 libunbound2 amd64 1.6.4-1 [363 kB] Get:34 http://127.0.0.1:9999/debian unstable/main amd64 libgnutls-dane0 amd64 3.5.13-2 [198 kB] Get:35 http://127.0.0.1:9999/debian unstable/main amd64 libgnutlsxx28 amd64 3.5.13-2 [13.1 kB] Get:36 http://127.0.0.1:9999/debian unstable/main amd64 nettle-dev amd64 3.3-1+b1 [1041 kB] Get:37 http://127.0.0.1:9999/debian unstable/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB] Get:38 http://127.0.0.1:9999/debian unstable/main amd64 libtasn1-6-dev amd64 4.12-2 [103 kB] Get:39 http://127.0.0.1:9999/debian unstable/main amd64 libp11-kit-dev amd64 0.23.7-2 [67.2 kB] Get:40 http://127.0.0.1:9999/debian unstable/main amd64 libidn2-0-dev amd64 0.16-1+b1 [261 kB] Get:41 http://127.0.0.1:9999/debian unstable/main amd64 libgnutls28-dev amd64 3.5.13-2 [879 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 23.3 MB in 0s (96.3 MB/s) Selecting previously unselected package groff-base. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_amd64.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_9.0.12+nmu1_amd64.deb ... Unpacking bsdmainutils (9.0.12+nmu1) ... 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.6.1-2_amd64.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.30-1_amd64.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../05-libmagic1_1%3a5.30-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.30-1_amd64.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext-base (0.19.8.1-2+b1) ... Selecting previously unselected package libgnutls-openssl27:amd64. Preparing to unpack .../08-libgnutls-openssl27_3.5.13-2_amd64.deb ... Unpacking libgnutls-openssl27:amd64 (3.5.13-2) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../09-libicu57_57.1-6_amd64.deb ... Unpacking libicu57:amd64 (57.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../10-libxml2_2.9.4+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-3) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../11-libsigsegv2_2.11-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.15.1-2_all.deb ... Unpacking automake (1:1.15.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-2_all.deb ... Unpacking autopoint (0.19.8.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-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 .../20-libfile-stripnondeterminism-perl_0.035-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.035-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../21-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_0.035-2_all.deb ... Unpacking dh-strip-nondeterminism (0.035-2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../23-libglib2.0-0_2.52.3-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.52.3-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../24-libcroco3_0.6.12-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext (0.19.8.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-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 .../27-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_10.6.2_all.deb ... Unpacking debhelper (10.6.2) ... Selecting previously unselected package libgmpxx4ldbl:amd64. Preparing to unpack .../29-libgmpxx4ldbl_2%3a6.1.2+dfsg-1_amd64.deb ... Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-1) ... Selecting previously unselected package libgmp-dev:amd64. Preparing to unpack .../30-libgmp-dev_2%3a6.1.2+dfsg-1_amd64.deb ... Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-1) ... Selecting previously unselected package libunbound2:amd64. Preparing to unpack .../31-libunbound2_1.6.4-1_amd64.deb ... Unpacking libunbound2:amd64 (1.6.4-1) ... Selecting previously unselected package libgnutls-dane0:amd64. Preparing to unpack .../32-libgnutls-dane0_3.5.13-2_amd64.deb ... Unpacking libgnutls-dane0:amd64 (3.5.13-2) ... Selecting previously unselected package libgnutlsxx28:amd64. Preparing to unpack .../33-libgnutlsxx28_3.5.13-2_amd64.deb ... Unpacking libgnutlsxx28:amd64 (3.5.13-2) ... Selecting previously unselected package nettle-dev. Preparing to unpack .../34-nettle-dev_3.3-1+b1_amd64.deb ... Unpacking nettle-dev (3.3-1+b1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../35-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Selecting previously unselected package libtasn1-6-dev:amd64. Preparing to unpack .../36-libtasn1-6-dev_4.12-2_amd64.deb ... Unpacking libtasn1-6-dev:amd64 (4.12-2) ... Selecting previously unselected package libp11-kit-dev:amd64. Preparing to unpack .../37-libp11-kit-dev_0.23.7-2_amd64.deb ... Unpacking libp11-kit-dev:amd64 (0.23.7-2) ... Selecting previously unselected package libidn2-0-dev. Preparing to unpack .../38-libidn2-0-dev_0.16-1+b1_amd64.deb ... Unpacking libidn2-0-dev (0.16-1+b1) ... Selecting previously unselected package libgnutls28-dev:amd64. Preparing to unpack .../39-libgnutls28-dev_3.5.13-2_amd64.deb ... Unpacking libgnutls28-dev:amd64 (3.5.13-2) ... Selecting previously unselected package sbuild-build-depends-postal-dummy. Preparing to unpack .../40-sbuild-build-depends-postal-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-postal-dummy (0.invalid.0) ... Setting up libunbound2:amd64 (1.6.4-1) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.11-1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:amd64 (2.52.3-1) ... No schema files found: doing nothing. Setting up libp11-kit-dev:amd64 (0.23.7-2) ... Setting up libtasn1-6-dev:amd64 (4.12-2) ... Setting up gettext-base (0.19.8.1-2+b1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:amd64 (57.1-6) ... Setting up libxml2:amd64 (2.9.4+dfsg1-3) ... Setting up libmagic-mgc (1:5.30-1) ... Setting up libmagic1:amd64 (1:5.30-1) ... Setting up libcroco3:amd64 (0.6.12-1) ... Setting up libgnutlsxx28:amd64 (3.5.13-2) ... Processing triggers for libc-bin (2.24-12) ... Setting up autotools-dev (20161112.1) ... Setting up libgnutls-dane0:amd64 (3.5.13-2) ... Setting up libgnutls-openssl27:amd64 (3.5.13-2) ... Setting up bsdmainutils (9.0.12+nmu1) ... 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 libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-1) ... Setting up libidn2-0-dev (0.16-1+b1) ... Setting up autopoint (0.19.8.1-2) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Setting up libfile-stripnondeterminism-perl (0.035-2) ... Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-1) ... Setting up gettext (0.19.8.1-2+b1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.30-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15.1-2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up nettle-dev (3.3-1+b1) ... Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up libgnutls28-dev:amd64 (3.5.13-2) ... Setting up dh-autoreconf (14) ... Setting up dh-strip-nondeterminism (0.035-2) ... Setting up debhelper (10.6.2) ... Setting up sbuild-build-depends-postal-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.24-12) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-2-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.28-6 dpkg-dev_1.18.24 g++-6_6.4.0-1 gcc-6_6.4.0-1 libc6-dev_2.24-12 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 linux-libc-dev_4.11.6-1 Package versions: adduser_3.115 apt_1.5~beta1 autoconf_2.69-10 automake_1:1.15.1-2 autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_10 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-6 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 clang-4.0_1:4.0.1-1 coreutils_8.26-3 cpp_4:6.3.0-4d1 cpp-6_6.4.0-1 dash_0.5.8-2.4 debconf_1.5.62 debfoster_2.7-2.1+b1 debhelper_10.6.2 debian-archive-keyring_2017.5 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.035-2 diffutils_1:3.5-3 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 eatmydata_105-5 fakeroot_1.21-3.1 file_1:5.30-1 findutils_4.6.0+git+20170606-2 g++_4:6.3.0-4d1 g++-6_6.4.0-1 gcc_4:6.3.0-4d1 gcc-6_6.4.0-1 gcc-6-base_6.4.0-1 gcc-7-base_7.1.0-9 gettext_0.19.8.1-2+b1 gettext-base_0.19.8.1-2+b1 gpgv_2.1.18-8 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 init-system-helpers_1.48 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.5~beta1 libarchive-zip-perl_1.59-1 libasan3_6.4.0-1 libatomic1_7.1.0-9 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b1 libblkid1_2.29.2-1 libbsd0_0.8.5-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-12 libc-dev-bin_2.24-12 libc6_2.24-12 libc6-dev_2.24-12 libcap-ng0_0.7.7-3+b1 libcc1-0_7.1.0-9 libcilkrts5_7.1.0-9 libclang-common-4.0-dev_1:4.0.1-1 libclang1-4.0_1:4.0.1-1 libcomerr2_1.43.4-2 libcroco3_0.6.12-1 libdb5.3_5.3.28-12+b1 libdebconfclient0_0.229 libdpkg-perl_1.18.24 libeatmydata1_105-5 libedit2_3.1-20170329-1 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.035-2 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.4.0-1 libgcc1_1:7.1.0-9 libgcrypt20_1.7.8-1 libgdbm3_1.8.3-14 libglib2.0-0_2.52.3-1 libgmp-dev_2:6.1.2+dfsg-1 libgmp10_2:6.1.2+dfsg-1 libgmpxx4ldbl_2:6.1.2+dfsg-1 libgnutls-dane0_3.5.13-2 libgnutls-openssl27_3.5.13-2 libgnutls28-dev_3.5.13-2 libgnutls30_3.5.13-2 libgnutlsxx28_3.5.13-2 libgomp1_7.1.0-9 libgpg-error0_1.27-3 libhogweed4_3.3-1+b1 libicu57_57.1-6 libidn2-0_0.16-1+b1 libidn2-0-dev_0.16-1+b1 libisl15_0.18-1 libitm1_7.1.0-9 libjsoncpp1_1.7.4-3 libllvm4.0_1:4.0.1-1 liblsan0_7.1.0-9 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.2+b1 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29.2-1 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 libmpx2_7.1.0-9 libncurses5_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnettle6_3.3-1+b1 libobjc-6-dev_6.4.0-1 libobjc4_7.1.0-9 libp11-kit-dev_0.23.7-2 libp11-kit0_0.23.7-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-3 libperl5.24_5.24.1-6 libpipeline1_1.4.1-2 libquadmath0_7.1.0-9 libselinux1_2.6-3+b2 libsemanage-common_2.6-2 libsemanage1_2.6-2+b1 libsepol1_2.6-2 libsigsegv2_2.11-1 libsmartcols1_2.29.2-1 libss2_1.43.4-2 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 libsystemd0_233-10 libtasn1-6_4.12-2 libtasn1-6-dev_4.12-2 libtimedate-perl_2.3000-2 libtinfo5_6.0+20161126-1 libtool_2.4.6-2 libtsan0_7.1.0-9 libubsan0_7.1.0-9 libudev1_233-10 libunbound2_1.6.4-1 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-3 linux-libc-dev_4.11.6-1 login_1:4.4-4.1 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17+b3 mount_2.29.2-1 multiarch-support_2.24-12 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 nettle-dev_3.3-1+b1 passwd_1:4.4-4.1 patch_2.7.5-1+b2 perl_5.24.1-6 perl-base_5.24.1-6 perl-modules-5.24_5.24.1-6 po-debconf_1.0.20 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-postal-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 util-linux_2.29.2-1 xz-utils_5.2.2-1.2+b1 zlib1g_1:1.2.8.dfsg-5 zlib1g-dev_1:1.2.8.dfsg-5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Dec 13 12:38:01 2016 UTC gpgv: using RSA key 9F7D619DCC06F57C02AA66C7D141CD30FC4B8F79 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./postal_0.75.dsc dpkg-source: info: extracting postal in /<> dpkg-source: info: unpacking postal_0.75.tar.gz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-00b09274-f561-4eec-a0df-43d02c7a2481 SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package postal dpkg-buildpackage: info: source version 0.75 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Russell Coker dpkg-source --before-build postal-0.75 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directory '/<>' rm -f postal-list postal rabid bhm ex-test userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o md5.o smtp.o client.o basictcp.o bhmusers.o smtpserver.o md5.o build-stamp install-stamp rm -rf debian/tmp core debian/*.debhelper rm -f debian/{substvars,files} config.log make[1]: Leaving directory '/<>' 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 compile the package. ./configure --prefix=`pwd`/debian/postal/usr --without-openssl configure: WARNING: unrecognized options: --without-openssl checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes ./configure: line 3940: /usr/bin/uname: No such file or directory checking for bind in -lsocket... no checking gnutls/gnutls.h usability... yes checking gnutls/gnutls.h presence... yes checking for gnutls/gnutls.h... yes checking vector usability... yes checking vector presence... yes checking for vector... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating postal.h config.status: creating port.h config.status: creating postal.spec config.status: creating sun/pkginfo config.status: creating conf.h config.status: conf.h is unchanged configure: WARNING: unrecognized options: --without-openssl /usr/bin/make make[1]: Entering directory '/<>' g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c expand.cpp In file included from expand.cpp:1: ./expand.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope postal-list.cpp expand.o -o postal-list -lstdc++ -lpthread In file included from postal-list.cpp:1: ./expand.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c userlist.cpp In file included from userlist.cpp:1: ./userlist.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c thread.cpp g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c results.cpp In file included from results.cpp:3: ./results.h:36:12: warning: 'long long' is a C++11 extension [-Wc++11-long-long] unsigned long long m_bytes; ^ 1 warning generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c address.cpp address.cpp:92:35: warning: cast from 'char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] m_addr[ind].sin_addr.s_addr = *((unsigned int *)he->h_addr_list[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c tcp.cpp In file included from tcp.cpp:3: ./tcp.h:7:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ tcp.cpp:159:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 2 to 4 [-Wcast-align] , inet_ntoa(((sockaddr_in *)sa)->sin_addr) ^~~~~~~~~~~~~~~~~ tcp.cpp:160:32: warning: cast from 'sockaddr *' to 'sockaddr_in *' increases required alignment from 2 to 4 [-Wcast-align] , int(ntohs(((sockaddr_in *)sa)->sin_port)) ); ^~~~~~~~~~~~~~~~~ /usr/include/netinet/in.h:403:33: note: expanded from macro 'ntohs' # define ntohs(x) __bswap_16 (x) ^ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h:27:62: note: expanded from macro '__bswap_16' ({ unsigned short int __v, __x = (unsigned short int) (x); \ ^ tcp.cpp:222:47: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] gnutls_transport_set_ptr(*m_gnutls_session, (gnutls_transport_ptr_t)m_fd); ^ 4 warnings generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c cmd5.cpp In file included from cmd5.cpp:2: ./cmd5.h:13:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c mutex.cpp g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c logit.cpp In file included from logit.cpp:1: ./logit.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. gcc -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -c md5.c g++ -O2 -g -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -pedantic -Woverloaded-virtual -ffor-scope -c smtp.cpp In file included from smtp.cpp:1: ./smtp.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ ./smtp.h:28:58: error: use of undeclared identifier 'hash' typedef std::tr1::unordered_map, eqlng> NAME_MAP; ^ ./smtp.h:28:72: error: expected '(' for function-style cast or type construction typedef std::tr1::unordered_map, eqlng> NAME_MAP; ~~~~~~~~ ^ ./smtp.h:28:77: error: expected unqualified-id typedef std::tr1::unordered_map, eqlng> NAME_MAP; ^ ./smtp.h:70:3: error: unknown type name 'NAME_MAP' NAME_MAP m_names; ^ In file included from smtp.cpp:10: ./results.h:36:12: warning: 'long long' is a C++11 extension [-Wc++11-long-long] unsigned long long m_bytes; ^ smtp.cpp:69:36: error: use of undeclared identifier 'random' m_randBuf[i] = m_randomLetters[random() % m_randomLen]; ^ smtp.cpp:79:18: error: use of undeclared identifier 'random' int offset = random() % (MAP_SIZE - (len - 2)); ^ smtp.cpp:91:20: error: use of undeclared identifier 'random' int line_len = random() % max_line_len; ^ smtp.cpp:109:13: error: use of undeclared identifier 'random' t += 60 - random() % 600; ^ smtp.cpp:146:22: error: use of undeclared identifier 'rand' if(m_canTLS && CHECK_PERCENT(m_useTLS) ) ^ ./postal.h:44:43: note: expanded from macro 'CHECK_PERCENT' #define CHECK_PERCENT(XX) ((XX) == 100 || rand() % 100 < (XX)) ^ smtp.cpp:164:16: error: use of undeclared identifier 'random' msgs = random() % m_msgsPerConnection + 1; ^ smtp.cpp:288:12: error: use of undeclared identifier 'random' size = random() % (m_maxMsgSize - m_minMsgSize) + m_minMsgSize; ^ smtp.cpp:321:18: error: use of undeclared identifier 'random' int subj_len = random() % (sizeof(subj_buf) - 3) + 2; ^ smtp.cpp:332:27: error: use of undeclared identifier 'malloc' char *sendbuf = (char *)malloc(size + 1); ^ smtp.cpp:340:5: error: use of undeclared identifier 'free' free(sendbuf); ^ smtp.cpp:351:3: error: use of undeclared identifier 'free' free(sendbuf); ^ 2 warnings and 15 errors generated. Makefile:52: recipe for target 'smtp.o' failed make[1]: *** [smtp.o] Error 1 make[1]: Leaving directory '/<>' debian/rules:10: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-07-06T15:49:11Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 1048 Build-Time: 4 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 6 Job: postal_0.75 Machine Architecture: amd64 Package: postal Package-Time: 27 Source-Version: 0.75 Space: 1048 Status: attempted Version: 0.75 -------------------------------------------------------------------------------- Finished at 2017-07-06T15:49:11Z Build needed 00:00:27, 1048k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 27.772913279s DC-Time-Estimation: 27.772913279 versus expected 1 (r/m: 26.772913279 ; m: 1.0)