DC-Build-Header: phnxdeco 0.33-3 / 2015-03-26 08:52:58 +0000 DC-Task: source:phnxdeco version:0.33-3 architecture:any chroot:unstable esttime:114 logfile:/tmp/phnxdeco_0.33-3_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/clang phnxdeco_0.33-3' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-1-31.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ phnxdeco 0.33-3 (amd64) 26 Mar 2015 08:52 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: phnxdeco Version: 0.33-3 Source Version: 0.33-3 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/phnxdeco-P9CGGZ/phnxdeco-0.33' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/phnxdeco-P9CGGZ' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-61ca7a93-3172-4577-902a-521d6b3a1685' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [257 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 2015-03-25-1448.37.pdiff [3021 B] Get:6 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [5545 B] Get:7 http://localhost:9999 unstable/main 2015-03-26-0248.39.pdiff [3389 B] Get:8 http://localhost:9999 unstable/main 2015-03-26-0248.39.pdiff [3389 B] Get:9 http://localhost:9999 unstable/main amd64 2015-03-25-1448.37.pdiff [4095 B] Get:10 http://localhost:9999 unstable/main amd64 2015-03-25-2049.47.pdiff [4595 B] Get:11 http://localhost:9999 unstable/main amd64 2015-03-26-0248.39.pdiff [3173 B] Get:12 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [2032 B] Get:13 http://localhost:9999 unstable/main amd64 2015-03-26-0248.39.pdiff [3173 B] Get:14 http://localhost:9999 unstable/main 2015-03-25-2049.47.pdiff [2032 B] Fetched 306 kB in 5s (57.1 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 25.2 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main phnxdeco 0.33-3 (dsc) [596 B] Get:2 http://localhost:9999/debian/ unstable/main phnxdeco 0.33-3 (diff) [2553 B] Get:3 http://localhost:9999/debian/ unstable/main phnxdeco 0.33-3 (tar) [22.0 kB] Fetched 25.2 kB in 0s (26.6 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/clang ────────── + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=3.6 + echo 'Install of clang-3.6' Install of clang-3.6 + apt-get update Hit http://localhost:9999 unstable InRelease Get:1 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:2 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Fetched 23.6 kB in 2s (11.3 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.6 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libbsd0 libclang-common-3.6-dev libclang1-3.6 libedit2 libffi6 libllvm3.6 libobjc-4.9-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-3.6-doc Recommended packages: llvm-3.6-dev python The following NEW packages will be installed: clang-3.6 libbsd0 libclang-common-3.6-dev libclang1-3.6 libedit2 libffi6 libllvm3.6 libobjc-4.9-dev libobjc4 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 39.2 MB of archives. After this operation, 153 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libbsd0 amd64 0.7.0-2 [67.9 kB] Get:2 http://localhost:9999/debian/ unstable/main libedit2 amd64 3.1-20140620-2 [85.1 kB] Get:3 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.1-2+b2 [20.1 kB] Get:4 http://localhost:9999/debian/ unstable/main libllvm3.6 amd64 1:3.6-2 [8137 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.9.2-10 [112 kB] Get:6 http://localhost:9999/debian/ unstable/main libobjc-4.9-dev amd64 4.9.2-10 [372 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.6 amd64 1:3.6-2 [3839 kB] Get:8 http://localhost:9999/debian/ unstable/main libclang-common-3.6-dev amd64 1:3.6-2 [706 kB] Get:9 http://localhost:9999/debian/ unstable/main clang-3.6 amd64 1:3.6-2 [25.8 MB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 39.2 MB in 1s (35.3 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 ... 11980 files and directories currently installed.) Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ... Unpacking libbsd0:amd64 (0.7.0-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ... Unpacking libedit2:amd64 (3.1-20140620-2) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.1-2+b2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2+b2) ... Selecting previously unselected package libllvm3.6:amd64. Preparing to unpack .../libllvm3.6_1%3a3.6-2_amd64.deb ... Unpacking libllvm3.6:amd64 (1:3.6-2) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.9.2-10_amd64.deb ... Unpacking libobjc4:amd64 (4.9.2-10) ... Selecting previously unselected package libobjc-4.9-dev:amd64. Preparing to unpack .../libobjc-4.9-dev_4.9.2-10_amd64.deb ... Unpacking libobjc-4.9-dev:amd64 (4.9.2-10) ... Selecting previously unselected package libclang1-3.6:amd64. Preparing to unpack .../libclang1-3.6_1%3a3.6-2_amd64.deb ... Unpacking libclang1-3.6:amd64 (1:3.6-2) ... Selecting previously unselected package libclang-common-3.6-dev. Preparing to unpack .../libclang-common-3.6-dev_1%3a3.6-2_amd64.deb ... Unpacking libclang-common-3.6-dev (1:3.6-2) ... Selecting previously unselected package clang-3.6. Preparing to unpack .../clang-3.6_1%3a3.6-2_amd64.deb ... Unpacking clang-3.6 (1:3.6-2) ... Setting up libbsd0:amd64 (0.7.0-2) ... Setting up libedit2:amd64 (3.1-20140620-2) ... Setting up libffi6:amd64 (3.1-2+b2) ... Setting up libllvm3.6:amd64 (1:3.6-2) ... Setting up libobjc4:amd64 (4.9.2-10) ... Setting up libobjc-4.9-dev:amd64 (4.9.2-10) ... Setting up libclang1-3.6:amd64 (1:3.6-2) ... Setting up libclang-common-3.6-dev (1:3.6-2) ... Setting up clang-3.6 (1:3.6-2) ... Processing triggers for libc-bin (2.19-17) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-3.6 g++-4.6 + ln -s clang-3.6 gcc-4.6 + ln -s clang-3.6 cpp-4.6 + ln -s clang-3.6 gcc + 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 gcc + ln -s clang++-3.6 g++-4.7 + ln -s clang-3.6 gcc-4.7 + ln -s clang-3.6 cpp-4.7 + ln -s clang-3.6 gcc + 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 gcc + ln -s clang++-3.6 g++-4.8 + ln -s clang-3.6 gcc-4.8 + ln -s clang-3.6 cpp-4.8 + ln -s clang-3.6 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + for VERSION in '$VERSIONS' + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-3.6 g++-4.9 + ln -s clang-3.6 gcc-4.9 + ln -s clang-3.6 cpp-4.9 + ln -s clang-3.6 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections + echo 'g++-4.9 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-3.6 g++-5 + ln -s clang-3.6 gcc-5 + ln -s clang-3.6 cpp-5 + ln -s clang-3.6 gcc + echo 'gcc-5 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-5 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + 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/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-DiA7Ai/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 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/818 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 ... (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 ... 12200 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, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), cdbs, debhelper (>= 5) Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), cdbs, debhelper (>= 5) dpkg-deb: building package `sbuild-build-depends-phnxdeco-dummy' in `/«BUILDDIR»/resolver-UlGxri/apt_archive/sbuild-build-depends-phnxdeco-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install phnxdeco 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 cdbs debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libicu52 libmagic1 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation devscripts dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: autotools-dev curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xdg-user-dirs xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils cdbs debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libicu52 libmagic1 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-phnxdeco-dummy 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. Need to get 15.8 MB/15.8 MB of archives. After this operation, 56.0 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.4.0-1 [27.9 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.3-1 [1205 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.6 [183 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.7.0.2-5 [1000 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.19.3-2 [31.3 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.22+15-2 [249 kB] Get:7 http://localhost:9999/debian/ unstable/main libicu52 amd64 52.1-8 [6780 kB] Get:8 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.2+dfsg1-3 [934 kB] Get:9 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.42.1-1 [2401 kB] Get:10 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-3+b1 [135 kB] Get:11 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5.2+b1 [288 kB] Get:12 http://localhost:9999/debian/ unstable/main file amd64 1:5.22+15-2 [60.1 kB] Get:13 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.19.3-2 [121 kB] Get:14 http://localhost:9999/debian/ unstable/main cdbs all 0.4.129 [76.3 kB] Get:15 http://localhost:9999/debian/ unstable/main gettext amd64 0.19.3-2 [1240 kB] Get:16 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:17 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu3 [220 kB] Get:18 http://localhost:9999/debian/ unstable/main debhelper all 9.20150101 [813 kB] Preconfiguring packages ... Fetched 15.8 MB in 0s (30.0 MB/s) Selecting previously unselected package libpipeline1: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 ... 12200 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.4.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.0-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.3-1_amd64.deb ... Unpacking groff-base (1.22.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.6_amd64.deb ... Unpacking bsdmainutils (9.0.6) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.0.2-5_amd64.deb ... Unpacking man-db (2.7.0.2-5) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.19.3-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.19.3-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.22+15-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.22+15-2) ... Selecting previously unselected package libicu52:amd64. Preparing to unpack .../libicu52_52.1-8_amd64.deb ... Unpacking libicu52:amd64 (52.1-8) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.2+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.2+dfsg1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.42.1-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.42.1-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-3+b1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-3+b1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2+b1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2+b1) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.22+15-2_amd64.deb ... Unpacking file (1:5.22+15-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.3-2_amd64.deb ... Unpacking gettext-base (0.19.3-2) ... Selecting previously unselected package cdbs. Preparing to unpack .../archives/cdbs_0.4.129_all.deb ... Unpacking cdbs (0.4.129) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.3-2_amd64.deb ... Unpacking gettext (0.19.3-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+nmu3_all.deb ... Unpacking po-debconf (1.0.16+nmu3) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20150101_all.deb ... Unpacking debhelper (9.20150101) ... Selecting previously unselected package sbuild-build-depends-phnxdeco-dummy. Preparing to unpack .../sbuild-build-depends-phnxdeco-dummy.deb ... Unpacking sbuild-build-depends-phnxdeco-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.4.0-1) ... Setting up groff-base (1.22.3-1) ... Setting up bsdmainutils (9.0.6) ... 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.7.0.2-5) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.19.3-2) ... Setting up libmagic1:amd64 (1:5.22+15-2) ... Setting up libicu52:amd64 (52.1-8) ... Setting up libxml2:amd64 (2.9.2+dfsg1-3) ... Setting up libglib2.0-0:amd64 (2.42.1-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-3+b1) ... Setting up libunistring0:amd64 (0.9.3-5.2+b1) ... Setting up file (1:5.22+15-2) ... Setting up gettext-base (0.19.3-2) ... Setting up cdbs (0.4.129) ... Setting up gettext (0.19.3-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu3) ... Setting up debhelper (9.20150101) ... Setting up sbuild-build-depends-phnxdeco-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.19-17) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.2.0-4-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.25-5 dpkg-dev_1.17.24 g++-4.9_4.9.2-10 gcc-4.9_4.9.2-10 libc6-dev_2.19-17 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 linux-libc-dev_3.16.7-ckt7-1 Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.7 apt-utils_1.0.9.7 base-files_8 base-passwd_3.5.37 bash_4.3-12 binutils_2.25-5 bsdmainutils_9.0.6 bsdutils_1:2.25.2-5 build-essential_11.7 bzip2_1.0.6-7+b2 cdbs_0.4.129 clang-3.6_1:3.6-2 coreutils_8.23-4 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10 dash_0.5.7-4+b1 debconf_1.5.56 debfoster_2.7-2 debhelper_9.20150101 debian-archive-keyring_2014.3 debianutils_4.4+b1 diffutils_1:3.3-1+b1 dmsetup_2:1.02.90-2.1 dpkg_1.17.24 dpkg-dev_1.17.24 e2fslibs_1.42.12-1.1 e2fsprogs_1.42.12-1.1 fakeroot_1.20.2-1 file_1:5.22+15-2 findutils_4.4.2-9+b1 g++_4:4.9.2-2 g++-4.9_4.9.2-10 gcc_4:4.9.2-2 gcc-4.9_4.9.2-10 gcc-4.9-base_4.9.2-10 gettext_0.19.3-2 gettext-base_0.19.3-2 gnupg_1.4.18-7 gpgv_1.4.18-7 grep_2.20-4.1 groff-base_1.22.3-1 gzip_1.6-4 hostname_3.15 init_1.22 initscripts_2.88dsf-58 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 less_458-3 libacl1_2.2.52-2 libapt-inst1.5_1.0.9.7 libapt-pkg4.12_1.0.9.7 libasan1_4.9.2-10 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1+b1 libblkid1_2.25.2-5 libbsd0_0.7.0-2 libbz2-1.0_1.0.6-7+b2 libc-bin_2.19-17 libc-dev-bin_2.19-17 libc6_2.19-17 libc6-dev_2.19-17 libcap2_1:2.24-7 libcap2-bin_1:2.24-7 libcilkrts5_4.9.2-10 libclang-common-3.6-dev_1:3.6-2 libclang1-3.6_1:3.6-2 libcloog-isl4_0.18.2-1+b2 libcomerr2_1.42.12-1.1 libcroco3_0.6.8-3+b1 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-9 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.1 libdpkg-perl_1.17.24 libedit2_3.1-20140620-2 libfakeroot_1.20.2-1 libffi6_3.1-2+b2 libgc1c2_1:7.2d-6.4 libgcc-4.9-dev_4.9.2-10 libgcc1_1:4.9.2-10 libgcrypt20_1.6.3-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-6 libgomp1_4.9.2-10 libgpg-error0_1.17-3 libicu52_52.1-8 libisl10_0.12.2-2 libitm1_4.9.2-10 libkmod2_20-1 libllvm3.6_1:3.6-2 liblsan0_4.9.2-10 liblzma5_5.1.1alpha+20120614-2+b3 libmagic1_1:5.22+15-2 libmount1_2.25.2-5 libmpc3_1.0.3-1 libmpfr4_3.1.2-3 libncurses5_5.9+20140913-1+b1 libncursesw5_5.9+20140913-1+b1 libobjc-4.9-dev_4.9.2-10 libobjc4_4.9.2-10 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-3.3 libpipeline1_1.4.0-1 libprocps3_2:3.3.9-9 libquadmath0_4.9.2-10 libreadline6_6.3-8+b3 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1+b1 libsepol1_2.3-2 libslang2_2.3.0-2 libsmartcols1_2.25.2-5 libss2_1.42.12-1.1 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 libsystemd0_215-12 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140913-1+b1 libtsan0_4.9.2-10 libubsan0_4.9.2-10 libudev1_215-12 libunistring0_0.9.3-5.2+b1 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3+b2 libuuid1_2.25.2-5 libxml2_2.9.2+dfsg1-3 linux-libc-dev_3.16.7-ckt7-1 login_1:4.2-3 lsb-base_4.1+Debian13+nmu1 make_4.0-8.1 man-db_2.7.0.2-5 mawk_1.3.3-17 mount_2.25.2-5 multiarch-support_2.19-17 ncurses-base_5.9+20140913-1 ncurses-bin_5.9+20140913-1+b1 nvi_1.81.6-11+b1 passwd_1:4.2-3 patch_2.7.5-1 perl_5.20.2-2 perl-base_5.20.2-2 perl-modules_5.20.2-2 po-debconf_1.0.16+nmu3 procps_2:3.3.9-9 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-phnxdeco-dummy_0.invalid.0 sed_4.2.2-4+b1 sensible-utils_0.0.9 startpar_0.59-3 sudo_1.8.12-1 systemd_215-12 systemd-sysv_215-12 sysv-rc_2.88dsf-58 sysvinit-utils_2.88dsf-58 tar_1.27.1-2+b1 tzdata_2015b-1 udev_215-12 util-linux_2.25.2-5 xz-utils_5.1.1alpha+20120614-2+b3 zlib1g_1:1.2.8.dfsg-2+b1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sat Feb 9 22:51:19 2008 UTC using DSA key ID 78D621B4 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./phnxdeco_0.33-3.dsc dpkg-source: info: extracting phnxdeco in phnxdeco-0.33 dpkg-source: info: unpacking phnxdeco_0.33.orig.tar.gz dpkg-source: info: applying phnxdeco_0.33-3.diff.gz Check disc space ──────────────── Sufficient free space for build 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=1001 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-61ca7a93-3172-4577-902a-521d6b3a1685 SCHROOT_UID=1001 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package phnxdeco dpkg-buildpackage: source version 0.33-3 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Uwe Hermann dpkg-source --before-build phnxdeco-0.33 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean /usr/share/cdbs/1/rules/simple-patchsys.mk:31: CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead test -x debian/rules rmdir src rmdir: failed to remove 'src': Directory not empty make: [cleanbuilddir] Error 1 (ignored) /usr/share/cdbs/1/rules/buildcore.mk:46: recipe for target 'cleanbuilddir' failed rm -f debian/stamp-makefile-build debian/stamp-makefile-install /usr/bin/make -f Makefile -C src CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" -k clean make[1]: Entering directory '/«PKGBUILDDIR»/src' rm -f *.o rm -f phnxdeco make[1]: Leaving directory '/«PKGBUILDDIR»/src' /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory '/«PKGBUILDDIR»' /usr/share/cdbs/1/rules/simple-patchsys.mk:31: CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead make[1]: Nothing to be done for 'reverse-config'. make[1]: Leaving directory '/«PKGBUILDDIR»' if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi patches: debian/patches/10_makefile.patch debian/patches/15_honor_nostrip.patch debian/patches/20_kfreebsd.patch debian/patches/30_bugfix.patch Patch debian/patches/30_bugfix.patch is not applied. Patch debian/patches/20_kfreebsd.patch is not applied. Patch debian/patches/15_honor_nostrip.patch is not applied. Patch debian/patches/10_makefile.patch is not applied. if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; fi if [ "reverse-patches" != "reverse-patches" ] ; then \ /usr/bin/make -f debian/rules update-config ; \ fi for dir in debian/patches ; do \ rm -f $dir/*.log ; \ done dh_clean debian/rules build-arch /usr/share/cdbs/1/rules/simple-patchsys.mk:31: CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead test -x debian/rules mkdir -p "src" /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory '/«PKGBUILDDIR»' /usr/share/cdbs/1/rules/simple-patchsys.mk:31: CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead make[1]: Nothing to be done for 'reverse-config'. make[1]: Leaving directory '/«PKGBUILDDIR»' if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi patches: debian/patches/10_makefile.patch debian/patches/15_honor_nostrip.patch debian/patches/20_kfreebsd.patch debian/patches/30_bugfix.patch Trying patch debian/patches/10_makefile.patch at level 1 ... 0 ... success. Trying patch debian/patches/15_honor_nostrip.patch at level 1 ... 0 ... success. Trying patch debian/patches/20_kfreebsd.patch at level 1 ... success. Trying patch debian/patches/30_bugfix.patch at level 1 ... 0 ... success. if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi if [ "debian/stamp-patched" != "reverse-patches" ] ; then \ /usr/bin/make -f debian/rules update-config ; \ fi make[1]: Entering directory '/«PKGBUILDDIR»' /usr/share/cdbs/1/rules/simple-patchsys.mk:31: CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead make[1]: Nothing to be done for 'update-config'. make[1]: Leaving directory '/«PKGBUILDDIR»' /usr/bin/make -f Makefile -C src CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" make[1]: Entering directory '/«PKGBUILDDIR»/src' gcc phnxfunc.c -c -o phnxfunc.o -fpack-struct phnxfunc.c:89:6: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' if(memcmp( Buf + i, Pattern, Len ) == 0 ) ^ phnxfunc.c:89:6: note: include the header or explicitly provide a declaration for 'memcmp' phnxfunc.c:100:19: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] byte *Months[]={"", ^~ phnxfunc.c:101:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] "January", ^~~~~~~~~ phnxfunc.c:102:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "February", ^~~~~~~~~~ phnxfunc.c:103:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] "March", ^~~~~~~ phnxfunc.c:104:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] "April", ^~~~~~~ phnxfunc.c:105:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "May", ^~~~~ phnxfunc.c:106:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] "June", ^~~~~~ phnxfunc.c:107:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] "July", ^~~~~~ phnxfunc.c:108:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] "August", ^~~~~~~~ phnxfunc.c:109:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] "September", ^~~~~~~~~~~ phnxfunc.c:110:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] "October", ^~~~~~~~~ phnxfunc.c:111:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "November", ^~~~~~~~~~ phnxfunc.c:112:5: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "December"}; ^~~~~~~~~~ phnxfunc.c:115:7: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] if((atoi(year) >= 0) && (atoi(year) < 70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year); ^ phnxfunc.c:115:54: warning: passing 'byte [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((atoi(year) >= 0) && (atoi(year) < 70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year); ^~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:116:17: warning: passing 'byte [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"19",year); ^~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:118:11: warning: address of stack memory associated with local variable 'Buf' returned [-Wreturn-stack-address] return(Buf); ^~~ phnxfunc.c:124:19: warning: returning 'char [5]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'A': return("ACPI"); ^~~~~~~~ phnxfunc.c:125:19: warning: returning 'char [9]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'B': return("BIOSCODE"); ^~~~~~~~~~~~ phnxfunc.c:126:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'C': return("UPDATE"); ^~~~~~~~~~ phnxfunc.c:127:19: warning: returning 'char [8]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'D': return("DISPLAY"); ^~~~~~~~~~~ phnxfunc.c:128:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'E': return("SETUP"); ^~~~~~~~~ phnxfunc.c:129:19: warning: returning 'char [5]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'F': return("FONT"); ^~~~~~~~ phnxfunc.c:130:19: warning: returning 'char [11]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'G': return("DECOMPCODE"); ^~~~~~~~~~~~~~ phnxfunc.c:131:19: warning: returning 'char [10]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'I': return("BOOTBLOCK"); ^~~~~~~~~~~~~ phnxfunc.c:132:19: warning: returning 'char [5]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'L': return("LOGO"); ^~~~~~~~ phnxfunc.c:133:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'M': return("MISER"); ^~~~~~~~~ phnxfunc.c:134:19: warning: returning 'char [13]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'N': return("ROMPILOTLOAD"); ^~~~~~~~~~~~~~~~ phnxfunc.c:135:19: warning: returning 'char [8]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'O': return("NETWORK"); ^~~~~~~~~~~ phnxfunc.c:136:19: warning: returning 'char [13]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'P': return("ROMPILOTINIT"); ^~~~~~~~~~~~~~~~ phnxfunc.c:137:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'R': return("OPROM"); ^~~~~~~~~ phnxfunc.c:138:19: warning: returning 'char [8]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'S': return("STRINGS"); ^~~~~~~~~~~ phnxfunc.c:139:19: warning: returning 'char [9]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'T': return("TEMPLATE"); ^~~~~~~~~~~~ phnxfunc.c:140:19: warning: returning 'char [5]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'U': return("USER"); ^~~~~~~~ phnxfunc.c:141:19: warning: returning 'char [8]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'X': return("ROMEXEC"); ^~~~~~~~~~~ phnxfunc.c:142:19: warning: returning 'char [4]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'W': return("WAV"); ^~~~~~~ phnxfunc.c:144:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'H': return("TCPA_H"); // TCPA (Trust Computing), USBKCLIB? ^~~~~~~~~~ phnxfunc.c:145:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'K': return("TCPA_K"); // TCPA (Trust Computing), "AUTH"? ^~~~~~~~~~ phnxfunc.c:146:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'Q': return("TCPA_Q"); // TCPA (Trust Computing), "SROM"? ^~~~~~~~~~ phnxfunc.c:147:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case '<': return("TCPA_<"); ^~~~~~~~~~ phnxfunc.c:148:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case '*': return("TCPA_*"); ^~~~~~~~~~ phnxfunc.c:149:19: warning: returning 'char [7]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case '?': return("TCPA_?"); ^~~~~~~~~~ phnxfunc.c:151:19: warning: returning 'char [13]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 'J': return("SmartCardPAS"); ^~~~~~~~~~~~~~~~ phnxfunc.c:153:19: warning: returning 'char [13]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] default: return("User-Defined"); ^~~~~~~~~~~~~~~~ phnxfunc.c:164:19: warning: returning 'char [5]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x0: return("NONE"); ^~~~~~~~ phnxfunc.c:165:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x2: return("LZARI"); ^~~~~~~~~ phnxfunc.c:166:19: warning: returning 'char [5]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x3: return("LZSS"); ^~~~~~~~ phnxfunc.c:167:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x4: return("LZHUF"); ^~~~~~~~~ phnxfunc.c:168:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x5: return("LZINT"); ^~~~~~~~~ phnxfunc.c:169:19: warning: returning 'char [6]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] default : return("RSRV!"); ^~~~~~~~~ phnxfunc.c:188:19: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' Buffer = (byte*)calloc(4096,1); ^ phnxfunc.c:188:19: note: include the header or explicitly provide a declaration for 'calloc' phnxfunc.c:198:25: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(Now >= RealLen) { free(Buffer); return; } ^ phnxfunc.c:296:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (dword)100*(dword)phhead.Packed1/(dword)phhead.ExpLen1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phnxfunc.c:303:15: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buffer, "phoenix0.%1.1C%.1X", phhead.ID_LO, phhead.ID_HI); ^~~~~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:303:35: warning: precision used with 'C' conversion specifier, resulting in undefined behavior [-Wformat] sprintf(Buffer, "phoenix0.%1.1C%.1X", phhead.ID_LO, phhead.ID_HI); ~~^~~ phnxfunc.c:305:15: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buffer,"phoenix_.%1.1C%.1X",phhead.ID_LO,phhead.ID_HI); ^~~~~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:305:34: warning: precision used with 'C' conversion specifier, resulting in undefined behavior [-Wformat] sprintf(Buffer,"phoenix_.%1.1C%.1X",phhead.ID_LO,phhead.ID_HI); ~~^~~ phnxfunc.c:308:21: warning: passing 'byte [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((pto = fopen(Buffer,"wb")) == NULL) ^~~~~~ /usr/include/stdio.h:272:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ phnxfunc.c:311:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ phnxfunc.c:311:6: note: include the header or explicitly provide a declaration for 'exit' phnxfunc.c:327:5: warning: implicit declaration of function 'decode' is invalid in C99 [-Wimplicit-function-declaration] decode(interface); ^ phnxfunc.c:437:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (dword)100*(dword)phhead.Packed1/(dword)phhead.ExpLen1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phnxfunc.c:447:16: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buffer, "%s", GetModuleName(phhead.ID_LO)); ^~~~~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:450:17: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buffer, "%7.7s%1.1X.rom",GetModuleName(phhead.ID_LO),phhead.ID_HI); ^~~~~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:453:17: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buffer,"%s%1.1X.rom",GetModuleName(phhead.ID_LO),phhead.ID_HI); ^~~~~~ /usr/include/stdio.h:364:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ phnxfunc.c:459:21: warning: passing 'byte [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((pto = fopen(Buffer,"wb")) == NULL) ^~~~~~ /usr/include/stdio.h:272:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ 66 warnings generated. gcc kernel.c -c -o kernel.o -fpack-struct DEMO="" gcc -DDEBUG phnxdeco.c phnxfunc.o kernel.o -fpack-struct -o phnxdeco In file included from phnxdeco.c:35: ././phnxhelp.h:18:24: warning: passing 'char [3]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if( StrCmp(argv[x], "-h" ) == 0 ) ^~~~ ././phnxdeco.h:77:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from phnxdeco.c:35: ././phnxhelp.h:49:24: warning: passing 'char [4]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if( StrCmp(argv[x], "-xs" ) == 0 ) retcode = 0x20; ^~~~~ ././phnxdeco.h:77:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from phnxdeco.c:35: ././phnxhelp.h:50:24: warning: passing 'char [4]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if( StrCmp(argv[x], "-ls" ) == 0 ) retcode = 0x21; ^~~~~ ././phnxdeco.h:77:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from phnxdeco.c:35: ././phnxhelp.h:51:24: warning: passing 'char [3]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if( StrCmp(argv[x], "-x" ) == 0 ) retcode = 0x10; ^~~~ ././phnxdeco.h:77:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from phnxdeco.c:35: ././phnxhelp.h:52:24: warning: passing 'char [3]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if( StrCmp(argv[x], "-l" ) == 0 ) retcode = 0x11; ^~~~ ././phnxdeco.h:77:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from phnxdeco.c:35: ././phnxhelp.h:53:24: warning: passing 'char [3]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if( StrCmp(argv[x], "-c" ) == 0 ) retcode += 0x40; ^~~~ ././phnxdeco.h:77:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from phnxdeco.c:35: ././phnxhelp.h:69:14: warning: passing 'char [1]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] PrintHeader(""); ^~ ././phnxhelp.h:59:24: note: passing argument to parameter 'EOL' here void PrintHeader(byte* EOL) ^ phnxdeco.c:37:5: error: first parameter of 'main' (argument count) must be of type 'int' int main(byte argc, byte *argv[]) ^ phnxdeco.c:37:5: error: second parameter of 'main' (argument array) must be of type 'char **' phnxdeco.c:83:15: warning: passing 'char [3]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] PrintHeader("\n\n"); ^~~~~~ ././phnxhelp.h:59:24: note: passing argument to parameter 'EOL' here void PrintHeader(byte* EOL) ^ phnxdeco.c:85:34: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( (ptx = fopen(argv[1],"rb")) == NULL ) ^~~~~~~ /usr/include/stdio.h:272:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ phnxdeco.c:186:39: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] printf("BootBlock\t: %lX bytes\n", (BBsz == 0x0)?(0x10000):(BBsz)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %X phnxdeco.c:187:35: warning: format specifies type 'long' but the argument has type 'word' (aka 'unsigned short') [-Wformat] printf("BankSize\t: %li KB\n", BANKsz); ~~~ ^~~~~~ %hu phnxdeco.c:197:44: warning: format specifies type 'unsigned long' but the argument has type 'word' (aka 'unsigned short') [-Wformat] printf("FCP 1st module\t: %lX (%lX)\n", FirstBLK, FirstBLKf); ~~~ ^~~~~~~~ %hX phnxdeco.c:245:26: warning: while loop has empty body [-Wempty-body] while(Buf[i++] != 0xD); Buf[i] = 0x0; ^ phnxdeco.c:245:26: note: put the semicolon on a separate line to silence this warning 13 warnings and 2 errors generated. make[1]: *** [phnxdeco] Error 1 Makefile:11: recipe for target 'phnxdeco' failed make[1]: Leaving directory '/«PKGBUILDDIR»/src' make: *** [debian/stamp-makefile-build] Error 2 /usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20150326-0853 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 212 Build-Time: 6 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 11 Job: phnxdeco_0.33-3 Machine Architecture: amd64 Package: phnxdeco Package-Time: 45 Source-Version: 0.33-3 Space: 212 Status: attempted Version: 0.33-3 ──────────────────────────────────────────────────────────────────────────────── Finished at 20150326-0853 Build needed 00:00:45, 212k disc space DC-Status: Failed 46.111340073s DC-Time-Estimation: 46.111340073 versus expected 114 (r/m: 1.4722768806875657 ; m: 46.111340073)