DC-Build-Header: moria 5.6.debian.1-2 / 2017-08-20 19:16:11 +0000 DC-Task: type:rebuild-binarch-only source:moria version:5.6.debian.1-2 chroot:unstable esttime:27 logfile:/tmp/moria_5.6.debian.1-2_unstable_clang5.0.log modes:clang50:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang50 moria_5.6.debian.1-2' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-32-137.eu-central-1.compute.internal +==============================================================================+ | moria 5.6.debian.1-2 (amd64) Sun, 20 Aug 2017 19:16:11 +0000 | +==============================================================================+ Package: moria Version: 5.6.debian.1-2 Source Version: 5.6.debian.1-2 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-067def60-06c4-459e-9c5a-fee0f6cbf00e' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang50 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=5.0 + echo 'Install of clang-5.0' Install of clang-5.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 [5785 kB] Fetched 5785 kB in 1s (3839 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-5.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libasan3 libbsd0 libclang-common-5.0-dev libclang1-5.0 libedit2 libgcc-6-dev libjsoncpp1 libllvm5.0 libncurses5 libobjc-6-dev libobjc4 libstdc++-6-dev Suggested packages: gnustep gnustep-devel clang-5.0-doc libomp-dev libstdc++-6-doc Recommended packages: llvm-5.0-dev python libgpm2 The following NEW packages will be installed: clang-5.0 libasan3 libbsd0 libclang-common-5.0-dev libclang1-5.0 libedit2 libgcc-6-dev libjsoncpp1 libllvm5.0 libncurses5 libobjc-6-dev libobjc4 libstdc++-6-dev 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 88.4 MB of archives. After this operation, 376 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.6-1 [90.3 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.0+20170715-2 [93.8 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 libllvm5.0 amd64 1:5.0~+rc2-1 [13.5 MB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-5.0 amd64 1:5.0~+rc2-1 [6729 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 libasan3 amd64 6.4.0-3 [311 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libgcc-6-dev amd64 6.4.0-3 [2296 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libstdc++-6-dev amd64 6.4.0-3 [1421 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 7.2.0-1 [51.0 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.4.0-3 [197 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-5.0-dev amd64 1:5.0~+rc2-1 [1989 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 clang-5.0 amd64 1:5.0~+rc2-1 [61.6 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 88.4 MB in 0s (98.0 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 ... 9822 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.8.6-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.6-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../01-libncurses5_6.0+20170715-2_amd64.deb ... Unpacking libncurses5:amd64 (6.0+20170715-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../02-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm5.0:amd64. Preparing to unpack .../03-libllvm5.0_1%3a5.0~+rc2-1_amd64.deb ... Unpacking libllvm5.0:amd64 (1:5.0~+rc2-1) ... Selecting previously unselected package libclang1-5.0:amd64. Preparing to unpack .../04-libclang1-5.0_1%3a5.0~+rc2-1_amd64.deb ... Unpacking libclang1-5.0:amd64 (1:5.0~+rc2-1) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../05-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../06-libasan3_6.4.0-3_amd64.deb ... Unpacking libasan3:amd64 (6.4.0-3) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../07-libgcc-6-dev_6.4.0-3_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.4.0-3) ... Selecting previously unselected package libstdc++-6-dev:amd64. Preparing to unpack .../08-libstdc++-6-dev_6.4.0-3_amd64.deb ... Unpacking libstdc++-6-dev:amd64 (6.4.0-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../09-libobjc4_7.2.0-1_amd64.deb ... Unpacking libobjc4:amd64 (7.2.0-1) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../10-libobjc-6-dev_6.4.0-3_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.4.0-3) ... Selecting previously unselected package libclang-common-5.0-dev. Preparing to unpack .../11-libclang-common-5.0-dev_1%3a5.0~+rc2-1_amd64.deb ... Unpacking libclang-common-5.0-dev (1:5.0~+rc2-1) ... Selecting previously unselected package clang-5.0. Preparing to unpack .../12-clang-5.0_1%3a5.0~+rc2-1_amd64.deb ... Unpacking clang-5.0 (1:5.0~+rc2-1) ... Setting up libncurses5:amd64 (6.0+20170715-2) ... Setting up libobjc4:amd64 (7.2.0-1) ... Setting up libasan3:amd64 (6.4.0-3) ... Setting up libgcc-6-dev:amd64 (6.4.0-3) ... Setting up libstdc++-6-dev:amd64 (6.4.0-3) ... Setting up libbsd0:amd64 (0.8.6-1) ... Processing triggers for libc-bin (2.24-14) ... Setting up libobjc-6-dev:amd64 (6.4.0-3) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm5.0:amd64 (1:5.0~+rc2-1) ... Setting up libclang1-5.0:amd64 (1:5.0~+rc2-1) ... Setting up libclang-common-5.0-dev (1:5.0~+rc2-1) ... Setting up clang-5.0 (1:5.0~+rc2-1) ... Processing triggers for libc-bin (2.24-14) ... 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++-5.0 g++-4.6 + ln -s clang-5.0 gcc-4.6 + ln -s clang-5.0 cpp-4.6 + ln -s clang-5.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++-5.0 g++-4.7 + ln -s clang-5.0 gcc-4.7 + ln -s clang-5.0 cpp-4.7 + ln -s clang-5.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++-5.0 g++-4.8 + ln -s clang-5.0 gcc-4.8 + ln -s clang-5.0 cpp-4.8 + ln -s clang-5.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++-5.0 g++-4.9 + ln -s clang-5.0 gcc-4.9 + ln -s clang-5.0 cpp-4.9 + ln -s clang-5.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++-5.0 g++-5 + ln -s clang-5.0 gcc-5 + ln -s clang-5.0 cpp-5 + ln -s clang-5.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++-5.0 g++-6 + ln -s clang-5.0 gcc-6 + ln -s clang-5.0 cpp-6 + ln -s clang-5.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-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++-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-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++-7 gcc-7 cpp-7 gcc + ln -s clang++-5.0 g++-7 + ln -s clang-5.0 gcc-7 + ln -s clang-5.0 cpp-7 + ln -s clang-5.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections + echo 'g++-7 hold' + dpkg --set-selections + cd - /build/moria-Q7Y25m + 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/clang50'. 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 649 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main moria 5.6.debian.1-2 (dsc) [1690 B] Get:2 http://127.0.0.1:9999/debian unstable/main moria 5.6.debian.1-2 (tar) [570 kB] Get:3 http://127.0.0.1:9999/debian unstable/main moria 5.6.debian.1-2 (diff) [76.4 kB] Fetched 649 kB in 0s (2319 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/moria-Q7Y25m/moria-5.6.debian.1' with '<>' I: NOTICE: Log filtering will replace 'build/moria-Q7Y25m' 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-P6MWLL/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-P6MWLL/apt_archive ./ InRelease Get:2 copy:/<>/resolver-P6MWLL/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-P6MWLL/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-P6MWLL/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-P6MWLL/apt_archive ./ Packages [432 B] Fetched 1738 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 778 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-P6MWLL/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [778 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 778 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11331 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 (>= 7.0.0), libncurses-dev, sharutils Filtered Build-Depends: debhelper (>= 7.0.0), libncurses-dev, sharutils dpkg-deb: building package 'sbuild-build-depends-moria-dummy' in '/<>/resolver-P6MWLL/apt_archive/sbuild-build-depends-moria-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-moria-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-P6MWLL/apt_archive ./ InRelease Get:2 copy:/<>/resolver-P6MWLL/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-P6MWLL/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-P6MWLL/apt_archive ./ Sources [506 B] Get:5 copy:/<>/resolver-P6MWLL/apt_archive ./ Packages [583 B] Fetched 2052 B in 0s (0 B/s) Reading package lists... Reading package lists... Install moria 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 libicu57 libmagic-mgc libmagic1 libncurses5-dev libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libxml2 m4 man-db po-debconf sharutils Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl sharutils-doc bsd-mailx | mailx Recommended packages: curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libncurses5-dev libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libxml2 m4 man-db po-debconf sbuild-build-depends-moria-dummy sharutils 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After this operation, 68.7 MB of additional disk space will be used. Get:1 copy:/<>/resolver-P6MWLL/apt_archive ./ sbuild-build-depends-moria-dummy 0.invalid.0 [802 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.2-1 [28.3 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.31-1 [223 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.31-1 [112 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.31-1 [64.2 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 libicu57 amd64 57.1-6 [7701 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-3 [715 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.11-1 [29.9 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20161112.1 [73.4 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-2 [736 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-2 [433 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 14 [15.9 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.038-1 [17.6 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.038-1 [11.1 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.53.4-3 [2796 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-1 [144 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-2+b1 [1301 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 10.7.2 [975 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 libtinfo-dev amd64 6.0+20170715-2 [80.5 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5-dev amd64 6.0+20170715-2 [176 kB] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 sharutils amd64 1:4.15.2-2 [263 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.9 MB in 0s (96.0 MB/s) Selecting previously unselected package groff-base. (Reading database ... 11331 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.2-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.2-1) ... 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.31-1_amd64.deb ... Unpacking libmagic-mgc (1:5.31-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../05-libmagic1_1%3a5.31-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.31-1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.31-1_amd64.deb ... Unpacking file (1:5.31-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 libicu57:amd64. Preparing to unpack .../08-libicu57_57.1-6_amd64.deb ... Unpacking libicu57:amd64 (57.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../09-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 .../10-libsigsegv2_2.11-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.15.1-2_all.deb ... Unpacking automake (1:1.15.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.19.8.1-2_all.deb ... Unpacking autopoint (0.19.8.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-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 .../19-libfile-stripnondeterminism-perl_0.038-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.038-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../20-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_0.038-1_all.deb ... Unpacking dh-strip-nondeterminism (0.038-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../22-libglib2.0-0_2.53.4-3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.53.4-3) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../23-libcroco3_0.6.12-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../24-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 .../25-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 .../26-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../27-debhelper_10.7.2_all.deb ... Unpacking debhelper (10.7.2) ... Selecting previously unselected package libtinfo-dev:amd64. Preparing to unpack .../28-libtinfo-dev_6.0+20170715-2_amd64.deb ... Unpacking libtinfo-dev:amd64 (6.0+20170715-2) ... Selecting previously unselected package libncurses5-dev:amd64. Preparing to unpack .../29-libncurses5-dev_6.0+20170715-2_amd64.deb ... Unpacking libncurses5-dev:amd64 (6.0+20170715-2) ... Selecting previously unselected package sharutils. Preparing to unpack .../30-sharutils_1%3a4.15.2-2_amd64.deb ... Unpacking sharutils (1:4.15.2-2) ... Selecting previously unselected package sbuild-build-depends-moria-dummy. Preparing to unpack .../31-sbuild-build-depends-moria-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-moria-dummy (0.invalid.0) ... 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.53.4-3) ... No schema files found: doing nothing. Setting up sharutils (1:4.15.2-2) ... Setting up libtinfo-dev:amd64 (6.0+20170715-2) ... Setting up gettext-base (0.19.8.1-2+b1) ... Setting up libpipeline1:amd64 (1.4.2-1) ... 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.31-1) ... Setting up libmagic1:amd64 (1:5.31-1) ... Setting up libcroco3:amd64 (0.6.12-1) ... Setting up libncurses5-dev:amd64 (6.0+20170715-2) ... Processing triggers for libc-bin (2.24-14) ... Setting up autotools-dev (20161112.1) ... 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 autopoint (0.19.8.1-2) ... Setting up libfile-stripnondeterminism-perl (0.038-1) ... Setting up gettext (0.19.8.1-2+b1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.31-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 libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up dh-strip-nondeterminism (0.038-1) ... Setting up debhelper (10.7.2) ... Setting up sbuild-build-depends-moria-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-2-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.29-4 dpkg-dev_1.18.24 g++-7_7.2.0-1 gcc-7_7.2.0-1 libc6-dev_2.24-14 libstdc++-6-dev_6.4.0-3 libstdc++-7-dev_7.2.0-1 libstdc++6_7.2.0-1 linux-libc-dev_4.12.6-1 Package versions: adduser_3.116 apt_1.5~beta2 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.29-4 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-4 build-essential_12.3 bzip2_1.0.6-8.1 clang-5.0_1:5.0~+rc2-1 coreutils_8.26-3 cpp_4:7.1.0-2 cpp-7_7.2.0-1 dash_0.5.8-2.5 debconf_1.5.63 debfoster_2.7-2.1+b1 debhelper_10.7.2 debian-archive-keyring_2017.5 debianutils_4.8.2 dh-autoreconf_14 dh-strip-nondeterminism_0.038-1 diffutils_1:3.6-1 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.5-1 e2fsprogs_1.43.5-1 eatmydata_105-5 fakeroot_1.22-1 fdisk_2.29.2-4 file_1:5.31-1 findutils_4.6.0+git+20170729-2 g++_4:7.1.0-2 g++-7_7.2.0-1 gcc_4:7.1.0-2 gcc-6-base_6.4.0-3 gcc-7_7.2.0-1 gcc-7-base_7.2.0-1 gettext_0.19.8.1-2+b1 gettext-base_0.19.8.1-2+b1 gpgv_2.1.23-2 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 init-system-helpers_1.49 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.5~beta2 libarchive-zip-perl_1.59-1 libasan3_6.4.0-3 libasan4_7.2.0-1 libatomic1_7.2.0-1 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b2 libblkid1_2.29.2-4 libbsd0_0.8.6-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-14 libc-dev-bin_2.24-14 libc6_2.24-14 libc6-dev_2.24-14 libcap-ng0_0.7.7-3+b1 libcc1-0_7.2.0-1 libcilkrts5_7.2.0-1 libclang-common-5.0-dev_1:5.0~+rc2-1 libclang1-5.0_1:5.0~+rc2-1 libcomerr2_1.43.5-1 libcroco3_0.6.12-1 libdb5.3_5.3.28-13 libdebconfclient0_0.229 libdpkg-perl_1.18.24 libeatmydata1_105-5 libedit2_3.1-20170329-1 libfakeroot_1.22-1 libfdisk1_2.29.2-4 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.038-1 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.4.0-3 libgcc-7-dev_7.2.0-1 libgcc1_1:7.2.0-1 libgcrypt20_1.7.8-2 libgdbm3_1.8.3-14 libglib2.0-0_2.53.4-3 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.14-3 libgomp1_7.2.0-1 libgpg-error0_1.27-3 libhogweed4_3.3-1+b1 libicu57_57.1-6 libidn2-0_2.0.2-3 libisl15_0.18-1 libitm1_7.2.0-1 libjsoncpp1_1.7.4-3 libllvm5.0_1:5.0~+rc2-1 liblsan0_7.2.0-1 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.31-1 libmagic1_1:5.31-1 libmount1_2.29.2-4 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 libmpx2_7.2.0-1 libncurses5_6.0+20170715-2 libncurses5-dev_6.0+20170715-2 libncursesw5_6.0+20170715-2 libnettle6_3.3-1+b1 libobjc-6-dev_6.4.0-3 libobjc4_7.2.0-1 libp11-kit0_0.23.7-3 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-4 libperl5.26_5.26.0-5 libpipeline1_1.4.2-1 libquadmath0_7.2.0-1 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-4 libss2_1.43.5-1 libstdc++-6-dev_6.4.0-3 libstdc++-7-dev_7.2.0-1 libstdc++6_7.2.0-1 libsystemd0_234-2 libtasn1-6_4.12-2.1 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20170715-2 libtinfo5_6.0+20170715-2 libtool_2.4.6-2 libtsan0_7.2.0-1 libubsan0_7.2.0-1 libudev1_234-2 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-4 libxml2_2.9.4+dfsg1-3 linux-libc-dev_4.12.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-4 multiarch-support_2.24-14 ncurses-base_6.0+20170715-2 ncurses-bin_6.0+20170715-2 passwd_1:4.4-4.1 patch_2.7.5-1+b2 perl_5.26.0-5 perl-base_5.26.0-5 perl-modules-5.26_5.26.0-5 po-debconf_1.0.20 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-moria-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.10 sharutils_1:4.15.2-2 sysvinit-utils_2.88dsf-59.9 tar_1.29b-2 util-linux_2.29.2-4 xz-utils_5.2.2-1.3 zlib1g_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 Sat Oct 18 15:53:34 2014 UTC gpgv: using RSA key 819D278A0E6F992A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./moria_5.6.debian.1-2.dsc dpkg-source: info: extracting moria in /<> dpkg-source: info: unpacking moria_5.6.debian.1.orig.tar.gz dpkg-source: info: applying moria_5.6.debian.1-2.diff.gz dpkg-source: info: upstream files that have been modified: /<>/Makefile /<>/changelog /<>/doc/faq.2001 /<>/doc/moria.6 /<>/source/config.h /<>/source/death.c /<>/source/files.c /<>/source/io.c /<>/source/main.c /<>/source/misc3.c /<>/source/moria3.c /<>/source/recall.c /<>/source/store2.c /<>/source/wizard.c /<>/unix/Makefile 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-067def60-06c4-459e-9c5a-fee0f6cbf00e SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package moria dpkg-buildpackage: info: source version 5.6.debian.1-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Phil Brooke dpkg-source --before-build moria-5.6.debian.1 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f debian/icons/*.png rm -f build-stamp install-stamp make clean make[1]: Entering directory '/<>' if ( test -d build ) then rm -r build; fi make[1]: Leaving directory '/<>' # Add here commands to clean up after the build process. dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 7 in use) debian/rules build-arch dh_testdir # Add here commands to compile the package. ( cd build ; /usr/bin/make ) /bin/sh: 1: cd: can't cd to build make[1]: Entering directory '/<>' make[2]: Entering directory '/<>' *** Making build/ which will contain symlinks to the sources... mkdir build || exit 1 chmod 700 build || exit 1 ( cd build && ln -si ../files ../unix/* ../source/* . || exit 1 ) ( cd build && echo -e "WARNING: Do not modify anything in this directory; it may be purged without\nwarning. If you want to change the source do it in the source/ or unix/ dirs\nto which these symlinks point. See README.debian-build for details." >> zz-WARNING && cp -ip zz-WARNING 00-WARNING && cp -ip ../debian/README.debian-build . || exit 1 ) *** Done making build/ make[2]: Leaving directory '/<>' *** Entering build/ to actually make the package. ( cd build && make moria || exit 1 ) make[2]: Entering directory '/<>/build' cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o main.o main.c main.c:214:12: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] if (0 != setuid(getuid())) ^ main.c:214:19: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (0 != setuid(getuid())) ^ main.c:219:12: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] if (0 != setgid(getgid())) ^ main.c:219:19: warning: implicit declaration of function 'getgid' is invalid in C99 [-Wimplicit-function-declaration] if (0 != setgid(getgid())) ^ main.c:332:31: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if ((new_game == FALSE) && !access(savefile, 0) && get_char(&generate)) ^ 5 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o misc1.o misc1.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o misc2.o misc2.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o misc3.o misc3.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o misc4.o misc4.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o store1.o store1.c store1.c:462:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o files.o files.c files.c:252:11: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] level = atoi(tmp_str); ^ files.c:387:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ 2 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o io.o io.c io.c:358:10: warning: implicit declaration of function 'sysv_signal' is invalid in C99 [-Wimplicit-function-declaration] (void) sysv_signal (SIGTSTP, suspend); ^ io.c:771:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = getenv("SHELL")) ~~~~^~~~~~~~~~~~~~~~~ io.c:771:15: note: place parentheses around the assignment to silence this warning if (str = getenv("SHELL")) ^ ( ) io.c:771:15: note: use '==' to turn this assignment into an equality comparison if (str = getenv("SHELL")) ^ == io.c:791:10: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] (void) wait((int *) 0); ^ 3 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o create.o create.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o desc.o desc.c desc.c:657:21: warning: multiple unsequenced modifications to 'indexx' [-Wunsequenced] indexx = (indexx <<= 6) + ~ ^ 1 warning generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o generate.o generate.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o sets.o sets.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o dungeon.o dungeon.c dungeon.c:155:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dungeon.c:721:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o creature.o creature.c creature.c:1093:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((c_ptr->cptr > 1) && ^ creature.c:1770:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((py.flags.rest == 0 && py.flags.paralysis < 1) ^ 2 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o death.o death.c death.c:223:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] return unlink(lockname); ^ death.c:240:9: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] (void) sleep(1); ^ 2 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o eat.o eat.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o help.o help.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o magic.o magic.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o potions.o potions.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o prayer.o prayer.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o save.o save.c save.c:530:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(savefile, 0) < 0 ^ save.c:532:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] || (i = unlink(savefile)) < 0) ^ save.c:588:14: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] (void) chmod(fnam, 0600); ^ save.c:594:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ save.c:1247:14: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] else if ((!noscore & 0x04) && duplicate_character ()) ^ ~ save.c:1247:14: note: add parentheses after the '!' to evaluate the bitwise operator first else if ((!noscore & 0x04) && duplicate_character ()) ^ ( ) save.c:1247:14: note: add parentheses around left hand side expression to silence this warning else if ((!noscore & 0x04) && duplicate_character ()) ^ ( ) 5 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o staffs.o staffs.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o wands.o wands.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o scrolls.o scrolls.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o spells.o spells.c spells.c:178:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (t_list[c_ptr->tptr].tval == TV_CHEST) ^ spells.c:208:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (((t_list[c_ptr->tptr].tval == TV_UP_STAIR) || ^ spells.c:1835:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 3 warnings generated. cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o wizard.o wizard.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o store2.o store2.c cc -O2 `dpkg-buildflags --get CFLAGS` -D_FORTIFY_SOURCE=2 -c -o signals.o signals.c signals.c:138:9: warning: implicit declaration of function 'sysv_signal' is invalid in C99 [-Wimplicit-function-declaration] (void) MSIGNAL(sig, SIG_DFL); ^ signals.c:54:17: note: expanded from macro 'MSIGNAL' #define MSIGNAL sysv_signal ^ signals.c:139:7: error: non-void function 'signal_handler' should return a value [-Wreturn-type] return; ^ signals.c:170:8: error: non-void function 'signal_handler' should return a value [-Wreturn-type] return; /* OK. We don't quit. */ ^ signals.c:205:15: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] (void) kill(getpid(), sig); ^ 2 warnings and 2 errors generated. : recipe for target 'signals.o' failed make[2]: *** [signals.o] Error 1 make[2]: Leaving directory '/<>/build' Makefile:11: recipe for target 'moria' failed make[1]: *** [moria] Error 1 make[1]: Leaving directory '/<>' debian/rules:13: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-08-20T19:16:47Z 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: 3704 Build-Time: 8 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 5 Job: moria_5.6.debian.1-2 Machine Architecture: amd64 Package: moria Package-Time: 36 Source-Version: 5.6.debian.1-2 Space: 3704 Status: attempted Version: 5.6.debian.1-2 -------------------------------------------------------------------------------- Finished at 2017-08-20T19:16:47Z Build needed 00:00:36, 3704k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 36.472539742s