DC-Build-Header: amideco 0.31e-3.1 / Sat Jun 23 16:46:19 +0000 2012 DC-Task: logfile:/tmp/amideco_0.31e-3.1_unstable_clang.log version:0.31e-3.1 chroot:unstable modes:binary-only:clang source:amideco architecture:any esttime:30 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang amideco_0.31e-3.1' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-133-185.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ amideco 0.31e-3.1 (amd64) 23 Jun 2012 16:46 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: amideco Version: 0.31e-3.1 Source Version: 0.31e-3.1 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/amideco-ocSACr/amideco-0.31e' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/amideco-ocSACr' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-88af0a3c-1965-4f98-9d05-d455f7374d02' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [233 kB] Get:3 http://localhost unstable/main Sources/DiffIndex [7876 B] Get:4 http://localhost unstable/main amd64 Packages/DiffIndex [7876 B] Get:5 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:6 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:7 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:8 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:9 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:10 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:11 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:12 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:13 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:14 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:15 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Get:16 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:17 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Fetched 296 kB in 7s (41.6 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: base-passwd bsdutils libblkid1 libmount1 libuuid1 mount util-linux 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1300 kB of archives. After this operation, 308 kB disk space will be freed. Get:1 http://localhost/debian/ unstable/main mount amd64 2.20.1-5.1 [213 kB] Get:2 http://localhost/debian/ unstable/main util-linux amd64 2.20.1-5.1 [659 kB] Get:3 http://localhost/debian/ unstable/main base-passwd amd64 3.5.26 [46.3 kB] Get:4 http://localhost/debian/ unstable/main bsdutils amd64 1:2.20.1-5.1 [85.3 kB] Get:5 http://localhost/debian/ unstable/main libuuid1 amd64 2.20.1-5.1 [56.9 kB] Get:6 http://localhost/debian/ unstable/main libblkid1 amd64 2.20.1-5.1 [120 kB] Get:7 http://localhost/debian/ unstable/main libmount1 amd64 2.20.1-5.1 [120 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1300 kB in 0s (13.4 MB/s) (Reading database ... 11730 files and directories currently installed.) Preparing to replace mount 2.20.1-5 (using .../mount_2.20.1-5.1_amd64.deb) ... Unpacking replacement mount ... Setting up mount (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace util-linux 2.20.1-5 (using .../util-linux_2.20.1-5.1_amd64.deb) ... Unpacking replacement util-linux ... Setting up util-linux (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace base-passwd 3.5.25 (using .../base-passwd_3.5.26_amd64.deb) ... Unpacking replacement base-passwd ... Setting up base-passwd (3.5.26) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace bsdutils 1:2.20.1-5 (using .../bsdutils_1%3a2.20.1-5.1_amd64.deb) ... Unpacking replacement bsdutils ... Setting up bsdutils (1:2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libuuid1:amd64 2.20.1-5 (using .../libuuid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libuuid1:amd64 ... Setting up libuuid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libblkid1:amd64 2.20.1-5 (using .../libblkid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libblkid1:amd64 ... Setting up libblkid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libmount1 2.20.1-5 (using .../libmount1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libmount1 ... Setting up libmount1 (2.20.1-5.1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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.6 kB of source archives. Get:1 http://localhost/debian/ unstable/main amideco 0.31e-3.1 (dsc) [986 B] Get:2 http://localhost/debian/ unstable/main amideco 0.31e-3.1 (tar) [21.1 kB] Get:3 http://localhost/debian/ unstable/main amideco 0.31e-3.1 (diff) [3464 B] Fetched 25.6 kB in 0s (114 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends clang -t unstable Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-dev libffi5 libllvm3.1 Recommended packages: llvm-3.1-dev python The following NEW packages will be installed: clang libclang-common-dev libffi5 libllvm3.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 35.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:2 http://localhost/debian/ unstable/main libllvm3.1 amd64 3.1-1 [7276 kB] Get:3 http://localhost/debian/ unstable/main libclang-common-dev amd64 3.1-6 [84.0 kB] Get:4 http://localhost/debian/ unstable/main clang amd64 3.1-6 [5755 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.1 MB in 0s (30.2 MB/s) Selecting previously unselected package libffi5:amd64. (Reading database ... 11730 files and directories currently installed.) Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.1:amd64. Unpacking libllvm3.1:amd64 (from .../libllvm3.1_3.1-1_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.1-6_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.1-6_amd64.deb) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.1:amd64 (3.1-1) ... Setting up libclang-common-dev (3.1-6) ... Setting up clang (3.1-6) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSION=4.7 + cd /usr/bin + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-mlT7_9/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/706 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 ... 11810 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), cdbs, debhelper (>= 5) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), cdbs, debhelper (>= 5) dpkg-deb: building package `sbuild-build-depends-amideco-dummy' in `/«BUILDDIR»/resolver-Q6oiFG/apt_archive/sbuild-build-depends-amideco-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install amideco 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 html2text intltool-debian libasprintf0c2 libcroco3 libgettextpo0 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation devscripts dh-make gettext-doc groff less www-browser libmail-box-perl Recommended packages: autotools-dev curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils cdbs debhelper file gettext gettext-base groff-base html2text intltool-debian libasprintf0c2 libcroco3 libgettextpo0 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-amideco-dummy 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. Need to get 10.0 MB/10.0 MB of archives. After this operation, 25.7 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libpipeline1 amd64 1.2.1-1 [39.2 kB] Get:2 http://localhost/debian/ unstable/main libasprintf0c2 amd64 0.18.1.1-9 [26.8 kB] Get:3 http://localhost/debian/ unstable/main libmagic1 amd64 5.11-1 [250 kB] Get:4 http://localhost/debian/ unstable/main libpcre3 amd64 1:8.30-5 [242 kB] Get:5 http://localhost/debian/ unstable/main libxml2 amd64 2.8.0+dfsg1-4 [903 kB] Get:6 http://localhost/debian/ unstable/main libglib2.0-0 amd64 2.32.3-1 [2081 kB] Get:7 http://localhost/debian/ unstable/main libcroco3 amd64 0.6.5-1 [151 kB] Get:8 http://localhost/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:9 http://localhost/debian/ unstable/main libgettextpo0 amd64 0.18.1.1-9 [145 kB] Get:10 http://localhost/debian/ unstable/main bsdmainutils amd64 9.0.3 [209 kB] Get:11 http://localhost/debian/ unstable/main groff-base amd64 1.21-8 [1152 kB] Get:12 http://localhost/debian/ unstable/main man-db amd64 2.6.2-1 [1061 kB] Get:13 http://localhost/debian/ unstable/main file amd64 5.11-1 [53.2 kB] Get:14 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-9 [154 kB] Get:15 http://localhost/debian/ unstable/main cdbs all 0.4.115 [80.2 kB] Get:16 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:17 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-9 [1975 kB] Get:18 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:19 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:20 http://localhost/debian/ unstable/main debhelper all 9.20120608 [700 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 10.0 MB in 0s (23.9 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 11810 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.1-1_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_5.11-1_amd64.deb) ... Selecting previously unselected package libpcre3:amd64. Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.30-5_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.32.3-1_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.5-1_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0:amd64. Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-8_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.2-1_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.11-1_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package cdbs. Unpacking cdbs (from .../archives/cdbs_0.4.115_all.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20120608_all.deb) ... Selecting previously unselected package sbuild-build-depends-amideco-dummy. Unpacking sbuild-build-depends-amideco-dummy (from .../sbuild-build-depends-amideco-dummy.deb) ... Setting up libpipeline1:amd64 (1.2.1-1) ... Setting up libasprintf0c2:amd64 (0.18.1.1-9) ... Setting up libmagic1:amd64 (5.11-1) ... Setting up libpcre3:amd64 (1:8.30-5) ... Setting up libxml2:amd64 (2.8.0+dfsg1-4) ... Setting up libglib2.0-0:amd64 (2.32.3-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.5-1) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libgettextpo0:amd64 (0.18.1.1-9) ... Setting up bsdmainutils (9.0.3) ... 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 groff-base (1.21-8) ... Setting up man-db (2.6.2-1) ... Building database of manual pages ... Setting up file (5.11-1) ... Setting up gettext-base (0.18.1.1-9) ... Setting up cdbs (0.4.115) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-9) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20120608) ... Setting up sbuild-build-depends-amideco-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-6.1 dpkg-dev_1.16.4.3 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc-4.6_4.6.3-7 gcc-4.7_4.7.1-1 libc6-dev_2.13-33 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 linux-libc-dev_3.2.20-1 Package versions: apt_0.9.7 base-files_6.11 base-passwd_3.5.26 bash_4.2-2 binutils_2.22-6.1 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5.1 build-essential_11.5 bzip2_1.0.6-3 cdbs_0.4.115 clang_3.1-6 coreutils_8.13-3.2 cpp_4:4.7.0-6 cpp-4.6_4.6.3-7 cpp-4.7_4.7.1-1 dash_0.5.7-3 debconf_1.5.44 debconf-i18n_1.5.44 debfoster_2.7-1.1 debhelper_9.20120608 debian-archive-keyring_2012.4 debianutils_4.3.1 diffutils_1:3.2-6 dpkg_1.16.4.3 dpkg-dev_1.16.4.3 e2fslibs_1.42.4-3 e2fsprogs_1.42.4-3 fakeroot_1.18.4-2 file_5.11-1 findutils_4.4.2-4 g++_4:4.7.0-6 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc_4:4.7.0-6 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-7 gcc-4.6-base_4.6.3-7 gcc-4.7_4.7.1-1 gcc-4.7-base_4.7.1-1 gettext_0.18.1.1-9 gettext-base_0.18.1.1-9 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.12-2 groff-base_1.21-8 gzip_1.5-1.1 hostname_3.11 html2text_1.3.2a-15 initscripts_2.88dsf-27 insserv_1.14.0-3 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7 libasprintf0c2_0.18.1.1-9 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.1 libbz2-1.0_1.0.6-3 libc-bin_2.13-33 libc-dev-bin_2.13-33 libc6_2.13-33 libc6-dev_2.13-33 libclang-common-dev_3.1-6 libclass-isa-perl_0.36-3 libcomerr2_1.42.4-3 libcroco3_0.6.5-1 libdb5.1_5.1.29-4 libdpkg-perl_1.16.4.3 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-8 libgcc1_1:4.7.1-1 libgdbm3_1.8.3-11 libgettextpo0_0.18.1.1-9 libglib2.0-0_2.32.3-1 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.1-1 libitm1_4.7.1-1 libllvm3.1_3.1-1 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-1 libmagic1_5.11-1 libmount1_2.20.1-5.1 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpcre3_1:8.30-5 libpipeline1_1.2.1-1 libquadmath0_4.7.1-1 libreadline6_6.2-8 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-13 libss2_1.42.4-3 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-9 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.1 libxml2_2.8.0+dfsg1-4 linux-libc-dev_3.2.20-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian7 make_3.81-8.2 man-db_2.6.2-1 mawk_1.3.3-17 mount_2.20.1-5.1 multiarch-support_2.13-33 ncurses-base_5.9-9 ncurses-bin_5.9-9 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-12 perl-base_5.14.2-12 perl-modules_5.14.2-12 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-amideco-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.1 xz-utils_5.1.1alpha+20120614-1 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Wed Dec 23 20:32:57 2009 UTC using DSA key ID 4B394F7E gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./amideco_0.31e-3.1.dsc dpkg-source: info: extracting amideco in amideco-0.31e dpkg-source: info: unpacking amideco_0.31e.orig.tar.gz dpkg-source: info: applying amideco_0.31e-3.1.diff.gz Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=unstable-amd64-sbuild-88af0a3c-1965-4f98-9d05-d455f7374d02 SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ───────────────── dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package amideco dpkg-buildpackage: source version 0.31e-3.1 dpkg-buildpackage: source changed by Barry deFreese dpkg-source --before-build amideco-0.31e dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead test -x debian/rules dh_testroot rmdir src rmdir: failed to remove `src': Directory not empty make: [cleanbuilddir] Error 1 (ignored) rm -f debian/stamp-makefile-build debian/stamp-makefile-install /usr/bin/make -f Makefile -C src CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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 amideco 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: WARNING: simple-patchsys.mk is deprecated - 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_hurd.diff debian/patches/40_bad_table.diff debian/patches/50_bad_output.diff Patch debian/patches/50_bad_output.diff is not applied. Patch debian/patches/40_bad_table.diff is not applied. Patch debian/patches/30_hurd.diff 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: WARNING: simple-patchsys.mk is deprecated - 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: WARNING: simple-patchsys.mk is deprecated - 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_hurd.diff debian/patches/40_bad_table.diff debian/patches/50_bad_output.diff 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_hurd.diff at level 1 ... success. Trying patch debian/patches/40_bad_table.diff at level 1 ... success. Trying patch debian/patches/50_bad_output.diff at level 1 ... 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 /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead make[1]: Entering directory `/«PKGBUILDDIR»' 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 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" make[1]: Entering directory `/«PKGBUILDDIR»/src' gcc amifunc.c -c -o amifunc.o -fpack-struct amifunc.c:116:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] "POST", "Setup Server", ^~~~~~ amifunc.c:116:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] "POST", "Setup Server", ^~~~~~~~~~~~~~ amifunc.c:117:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] "Runtime", "DIM", ^~~~~~~~~ amifunc.c:117:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] "Runtime", "DIM", ^~~~~ amifunc.c:118:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] "Setup Client", "Remote Server", ^~~~~~~~~~~~~~ amifunc.c:118:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "Setup Client", "Remote Server", ^~~~~~~~~~~~~~~ amifunc.c:119:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "DMI Data", "GreenPC", ^~~~~~~~~~ amifunc.c:119:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] "DMI Data", "GreenPC", ^~~~~~~~~ amifunc.c:120:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] "Interface", "MP", ^~~~~~~~~~~ amifunc.c:120:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] "Interface", "MP", ^~~~ amifunc.c:121:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "Notebook", "Int-10", ^~~~~~~~~~ amifunc.c:121:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] "Notebook", "Int-10", ^~~~~~~~ amifunc.c:122:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] "ROM-ID", "Int-13", ^~~~~~~~ amifunc.c:122:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] "ROM-ID", "Int-13", ^~~~~~~~ amifunc.c:123:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "OEM Logo", "ACPI Table", ^~~~~~~~~~ amifunc.c:123:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] "OEM Logo", "ACPI Table", ^~~~~~~~~~~~ amifunc.c:124:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "ACPI AML", "P6 MicroCode", ^~~~~~~~~~ amifunc.c:124:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] "ACPI AML", "P6 MicroCode", ^~~~~~~~~~~~~~ amifunc.c:125:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "Configuration","DMI Code", ^~~~~~~~~~~~~~~ amifunc.c:125:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] "Configuration","DMI Code", ^~~~~~~~~~ amifunc.c:126:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "System Health","UserDefined", ^~~~~~~~~~~~~~~ amifunc.c:126:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] "System Health","UserDefined", ^~~~~~~~~~~~~ amifunc.c:127:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:127:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:128:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:128:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:129:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:129:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:130:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:130:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:131:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:131:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:132:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "PCI AddOn ROM","Multilanguage", ^~~~~~~~~~~~~~~ amifunc.c:132:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "PCI AddOn ROM","Multilanguage", ^~~~~~~~~~~~~~~ amifunc.c:133:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] "UserDefined","", ^~~~~~~~~~~~~ amifunc.c:133:39: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "UserDefined","", ^~ amifunc.c:134:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:134:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:135:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:135:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:136:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:136:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:137:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:137:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:138:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:138:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:139:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:139:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:140:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "Font Database","OEM Logo Data", ^~~~~~~~~~~~~~~ amifunc.c:140:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] "Font Database","OEM Logo Data", ^~~~~~~~~~~~~~~ amifunc.c:141:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] "Graphic Logo Code","Graphic Logo Data", ^~~~~~~~~~~~~~~~~~~ amifunc.c:141:45: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] "Graphic Logo Code","Graphic Logo Data", ^~~~~~~~~~~~~~~~~~~ amifunc.c:142:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] "Action Logo Code","Action Logo Data", ^~~~~~~~~~~~~~~~~~ amifunc.c:142:44: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] "Action Logo Code","Action Logo Data", ^~~~~~~~~~~~~~~~~~ amifunc.c:143:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] "Virus", "Online Menu", ^~~~~~~ amifunc.c:143:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] "Virus", "Online Menu", ^~~~~~~~~~~~~ amifunc.c:144:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:144:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:145:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:145:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:146:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:146:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:147:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:147:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:148:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:148:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:149:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:149:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:150:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:150:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:151:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:151:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","", ^~ amifunc.c:152:25: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","" ^~ amifunc.c:152:28: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] "","" ^~ amifunc.c:161:34: 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 0x00: return("POST"); ^~~~~~~~ amifunc.c:162:34: 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 0x01: return("Setup Server"); ^~~~~~~~~~~~~~~~ amifunc.c:163:34: 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 0x02: return("RunTime"); ^~~~~~~~~~~ amifunc.c:164:34: 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 0x03: return("DIM"); ^~~~~~~ amifunc.c:165:34: 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 0x04: return("Setup Client"); ^~~~~~~~~~~~~~~~ amifunc.c:166:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x05: return("Remote Server"); ^~~~~~~~~~~~~~~~~ amifunc.c:167:34: 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 0x06: return("DMI Data"); ^~~~~~~~~~~~ amifunc.c:168:34: 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 0x07: return("Green PC"); ^~~~~~~~~~~~ amifunc.c:169:34: 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 0x08: return("Interface"); ^~~~~~~~~~~~~ amifunc.c:170:34: warning: returning 'char [3]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x09: return("MP"); ^~~~~~ amifunc.c:171:34: 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 0x0A: return("Notebook"); ^~~~~~~~~~~~ amifunc.c:172:34: 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 0x0B: return("Int-10"); ^~~~~~~~~~ amifunc.c:173:34: 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 0x0C: return("ROM-ID"); ^~~~~~~~~~ amifunc.c:174:34: 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 0x0D: return("Int-13"); ^~~~~~~~~~ amifunc.c:175:34: 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 0x0E: return("OEM Logo"); ^~~~~~~~~~~~ amifunc.c:176:34: 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 0x0F: return("ACPI Table"); ^~~~~~~~~~~~~~ amifunc.c:177:34: 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 0x10: return("ACPI AML"); ^~~~~~~~~~~~ amifunc.c:178:34: 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 0x11: return("P6 Microcode"); ^~~~~~~~~~~~~~~~ amifunc.c:179:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x12: return("Configuration"); ^~~~~~~~~~~~~~~~~ amifunc.c:180:34: 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 0x13: return("DMI Code"); ^~~~~~~~~~~~ amifunc.c:181:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x14: return("System Health"); ^~~~~~~~~~~~~~~~~ amifunc.c:183:20: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x15: return("Memory Sizing"); ^~~~~~~~~~~~~~~~~ amifunc.c:184:20: warning: returning 'char [12]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x16: return("Memory Test"); ^~~~~~~~~~~~~~~ amifunc.c:185:20: 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 0x17: return("Debug"); ^~~~~~~~~ amifunc.c:186:20: warning: returning 'char [18]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x18: return("ADM (Display MGR)"); ^~~~~~~~~~~~~~~~~~~~~ amifunc.c:187:20: 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 0x19: return("ADM Font"); ^~~~~~~~~~~~ amifunc.c:188:20: 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 0x1A: return("Small Logo"); ^~~~~~~~~~~~~~ amifunc.c:189:20: 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 0x1B: return("SLAB"); ^~~~~~~~ amifunc.c:191:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x20: return("PCI AddOn ROM"); ^~~~~~~~~~~~~~~~~ amifunc.c:192:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x21: return("Multilanguage"); ^~~~~~~~~~~~~~~~~ amifunc.c:193:34: warning: returning 'char [12]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x22: return("UserDefined"); ^~~~~~~~~~~~~~~ amifunc.c:194:20: 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 0x23: return("ASCII Font"); ^~~~~~~~~~~~~~ amifunc.c:195:20: 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 0x24: return("BIG5 Font"); ^~~~~~~~~~~~~ amifunc.c:196:20: 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 0x25: return("OEM Logo"); ^~~~~~~~~~~~ amifunc.c:197:20: 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 0x2A: return("User ROM"); ^~~~~~~~~~~~ amifunc.c:198:20: 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 0x2B: return("PXE Code"); ^~~~~~~~~~~~ amifunc.c:199:20: 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 0x2C: return("AMI Font"); ^~~~~~~~~~~~ amifunc.c:200:20: 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 0x2E: return("User ROM"); ^~~~~~~~~~~~ amifunc.c:201:20: warning: returning 'char [16]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x2D: return("Battery Refresh"); ^~~~~~~~~~~~~~~~~~~ amifunc.c:203:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x30: return("Font Database"); ^~~~~~~~~~~~~~~~~ amifunc.c:204:34: warning: returning 'char [14]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x31: return("OEM Logo Data"); ^~~~~~~~~~~~~~~~~ amifunc.c:205:34: warning: returning 'char [18]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x32: return("Graphic Logo Code"); ^~~~~~~~~~~~~~~~~~~~~ amifunc.c:206:34: warning: returning 'char [18]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x33: return("Graphic Logo Data"); ^~~~~~~~~~~~~~~~~~~~~ amifunc.c:207:34: warning: returning 'char [17]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x34: return("Action Logo Code"); ^~~~~~~~~~~~~~~~~~~~ amifunc.c:208:34: warning: returning 'char [17]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x35: return("Action Logo Data"); ^~~~~~~~~~~~~~~~~~~~ amifunc.c:209:34: 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 0x36: return("Virus"); ^~~~~~~~~ amifunc.c:210:34: warning: returning 'char [12]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x37: return("Online Menu"); ^~~~~~~~~~~~~~~ amifunc.c:212:20: 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 0x38: return("Lang1 as ROM"); ^~~~~~~~~~~~~~~~ amifunc.c:213:20: 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 0x39: return("Lang2 as ROM"); ^~~~~~~~~~~~~~~~ amifunc.c:214:20: 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 0x3A: return("Lang3 as ROM"); ^~~~~~~~~~~~~~~~ amifunc.c:216:20: warning: returning 'char [12]' from a function with result type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] case 0x70: return("OSD Bitmaps"); ^~~~~~~~~~~~~~~ amifunc.c:218:32: warning: returning 'char [16]' 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 ;)"); ^~~~~~~~~~~~~~~~~~~ amifunc.c:235:33: 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[]={"", ^~ amifunc.c:236:33: 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", ^~~~~~~~~ amifunc.c:237:33: 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", ^~~~~~~~~~ amifunc.c:238:33: 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", ^~~~~~~ amifunc.c:239:33: 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", ^~~~~~~ amifunc.c:240:33: 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", ^~~~~ amifunc.c:241:33: 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", ^~~~~~ amifunc.c:242:33: 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", ^~~~~~ amifunc.c:243:33: 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", ^~~~~~~~ amifunc.c:244:33: 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", ^~~~~~~~~~~ amifunc.c:245:33: 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", ^~~~~~~~~ amifunc.c:246:33: 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", ^~~~~~~~~~ amifunc.c:247:33: 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"}; ^~~~~~~~~~ amifunc.c:249:25: warning: passing 'byte [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buf,"%2.2s",year); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:251:26: warning: passing 'byte [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((atoi(Buf)>=0) && (atoi(Buf)<70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year); ^~~ /usr/include/stdlib.h:148:32: note: passing argument to parameter '__nptr' here extern int atoi (__const char *__nptr) ^ amifunc.c:251:44: warning: passing 'byte [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((atoi(Buf)>=0) && (atoi(Buf)<70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year); ^~~ /usr/include/stdlib.h:148:32: note: passing argument to parameter '__nptr' here extern int atoi (__const char *__nptr) ^ amifunc.c:251:99: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((atoi(Buf)>=0) && (atoi(Buf)<70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year); ^~~ /usr/include/stdlib.h:148:32: note: passing argument to parameter '__nptr' here extern int atoi (__const char *__nptr) ^ amifunc.c:251:62: warning: passing 'byte [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((atoi(Buf)>=0) && (atoi(Buf)<70)) sprintf(Buf,"%.2s %s %s%.2s",day,Months[atoi(mon)],"20",year); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:252:75: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const 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/stdlib.h:148:32: note: passing argument to parameter '__nptr' here extern int atoi (__const char *__nptr) ^ amifunc.c:252:38: 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:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:309:17: warning: passing 'byte [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(MyDirName, "%s.---", MyDirName); ^~~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:315:17: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] if(!mkdir(MyDirName, 0755)) ^ amifunc.c:358:39: warning: passing 'byte [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(doDir) sprintf(Buf, "%s/amipci_%.2X.%.2X", MyDirName, Multiple++, part.PartID); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:359:38: warning: passing 'byte [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else sprintf(Buf, "amipci_%.2X.%.2X", Multiple++, part.PartID); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:362:39: warning: passing 'byte [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(doDir) sprintf(Buf, "%s/amibody.%.2x", MyDirName, part.PartID); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:363:38: warning: passing 'byte [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else sprintf(Buf,"amibody.%.2x", part.PartID); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:366:33: warning: passing 'byte [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((pto = fopen(Buf,"wb")) == NULL) { ^~~ /usr/include/stdio.h:269:46: note: passing argument to parameter '__filename' here extern FILE *fopen (__const char *__restrict __filename, ^ amifunc.c:380:17: warning: implicit declaration of function 'decode' is invalid in C99 [-Wimplicit-function-declaration] decode(interface); ^ amifunc.c:432:25: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buf,"amibody.%.2x",Module++); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:433:29: warning: passing 'byte [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pto = fopen(Buf,"wb"); ^~~ /usr/include/stdio.h:269:46: note: passing argument to parameter '__filename' here extern FILE *fopen (__const char *__restrict __filename, ^ amifunc.c:507:71: warning: passing 'char [1]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Mods94[i].PartID,(StrCmp(RecordList[Mods94[i].PartID],"")==0)?("UserDefined"):(RecordList[Mods94[i].PartID]), ^~ amifunc.c:224:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src) ^ amifunc.c:507:78: warning: pointer type mismatch ('char *' and 'byte *' (aka 'unsigned char *')) [-Wpointer-type-mismatch] Mods94[i].PartID,(StrCmp(RecordList[Mods94[i].PartID],"")==0)?("UserDefined"):(RecordList[Mods94[i].PartID]), ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ amifunc.c:505:52: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("\n%.2s %.2X (%17.17s) %5.5lX (%5.5lu) => %5.5lX (%5.5lu), %5.5lXh", ~~~~~^ %5.5X amifunc.c:505:60: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("\n%.2s %.2X (%17.17s) %5.5lX (%5.5lu) => %5.5lX (%5.5lu), %5.5lXh", ~~~~~^ %5.5u amifunc.c:505:71: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("\n%.2s %.2X (%17.17s) %5.5lX (%5.5lu) => %5.5lX (%5.5lu), %5.5lXh", ~~~~~^ %5.5X amifunc.c:505:79: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("\n%.2s %.2X (%17.17s) %5.5lX (%5.5lu) => %5.5lX (%5.5lu), %5.5lXh", ~~~~~^ %5.5u amifunc.c:505:88: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("\n%.2s %.2X (%17.17s) %5.5lX (%5.5lu) => %5.5lX (%5.5lu), %5.5lXh", ~~~~~^ %5.5X amifunc.c:530:99: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("\nNext Module (%i): %5.5X (%5.5u) => %5.5X (%5.5u), %5.5lXh", ~~~~~^ %5.5X amifunc.c:551:25: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buf,"amibody.%.2x",Module++); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:552:29: warning: passing 'byte [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pto = fopen(Buf,"wb"); ^~~ /usr/include/stdio.h:269:46: note: passing argument to parameter '__filename' here extern FILE *fopen (__const char *__restrict __filename, ^ amifunc.c:553:51: warning: more '%' conversions than data arguments [-Wformat] if(pto == NULL) { printf("\nFile %s I/O Error..Exit"); exit(1); } ~^ amifunc.c:592:17: warning: passing 'byte [12]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Buf,"amibody.%.2x",Module++); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ amifunc.c:593:21: warning: passing 'byte [12]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pto = fopen(Buf,"wb"); ^~~ /usr/include/stdio.h:269:46: note: passing argument to parameter '__filename' here extern FILE *fopen (__const char *__restrict __filename, ^ amifunc.c:594:43: warning: more '%' conversions than data arguments [-Wformat] if(pto == NULL) { printf("\nFile %s I/O Error..Exit"); exit(1); } ~^ 170 warnings generated. gcc kernel.c -c -o kernel.o -fpack-struct gcc amideco.c amifunc.o kernel.o -fpack-struct -o amideco In file included from amideco.c:43: ././amihelp.h:18:22: 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) ^~~~ ././amideco.h:121:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from amideco.c:43: ././amihelp.h:48:23: 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) (ID = ID ^ 0x10); ^~~~ ././amideco.h:121:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from amideco.c:43: ././amihelp.h:49:23: 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) (ID = ID ^ 0x01); ^~~~ ././amideco.h:121:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from amideco.c:43: ././amihelp.h:50:23: 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], "-d") == 0) (ID = ID ^ 0x80); ^~~~ ././amideco.h:121:30: note: passing argument to parameter 'Src' here byte StrCmp(byte *Dst, byte *Src); ^ In file included from amideco.c:43: ././amihelp.h:65: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(""); ^~ ././amihelp.h:58:24: note: passing argument to parameter 'EOL' here void PrintHeader(byte* EOL) ^ amideco.c:45:5: error: first parameter of 'main' (argument count) must be of type 'int' int main(byte argc, byte *argv[]) ^ amideco.c:45:5: error: second parameter of 'main' (argument array) must be of type 'char **' amideco.c:76:20: 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:269:46: note: passing argument to parameter '__filename' here extern FILE *fopen (__const char *__restrict __filename, ^ amideco.c:82: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"); ^~~~~~ ././amihelp.h:58:24: note: passing argument to parameter 'EOL' here void PrintHeader(byte* EOL) ^ amideco.c:87:27: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("FileLength\t: %lX (%lu bytes)\n", fLen, fLen); ~~^ ~~~~ %X amideco.c:87:32: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("FileLength\t: %lX (%lu bytes)\n", fLen, fLen); ~~^ ~~~~ %u amideco.c:134:30: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("\nPacked Data\t: %lX (%lu bytes)",(dword)abc.CRCLen*8,(dword)abc.CRCLen*8); ~~^ ~~~~~~~~~~~~~~~~~~~ %X amideco.c:134:35: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] printf("\nPacked Data\t: %lX (%lu bytes)",(dword)abc.CRCLen*8,(dword)abc.CRCLen*8); ~~^ ~~~~~~~~~~~~~~~~~~~ %u amideco.c:135:26: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("\nStart\t\t: %lX",Offset=((dword)abc.BeginHi<<4)+(dword)abc.BeginLo); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %X amideco.c:138:32: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("\nPacked Offset\t: %lX", BODYOff); ~~^ ~~~~~~~ %X amideco.c:141:27: warning: format specifies type 'unsigned long' but the argument has type 'dword' (aka 'unsigned int') [-Wformat] printf("\nOffset\t\t: %lX", ConstOff); ~~^ ~~~~~~~~ %X amideco.c:146:11: warning: passing 'byte [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(atoi(amidate.Day) == 10 && atoi(amidate.Month) == 10) { Offset = 0x30; AMIVer = 10; } ^~~~~~~~~~~ /usr/include/stdlib.h:148:32: note: passing argument to parameter '__nptr' here extern int atoi (__const char *__nptr) ^ amideco.c:146:38: warning: passing 'byte [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(atoi(amidate.Day) == 10 && atoi(amidate.Month) == 10) { Offset = 0x30; AMIVer = 10; } ^~~~~~~~~~~~~ /usr/include/stdlib.h:148:32: note: passing argument to parameter '__nptr' here extern int atoi (__const char *__nptr) ^ 16 warnings and 2 errors generated. make[1]: *** [amideco] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»/src' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120623-1647 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 240 Build-Time: 7 Distribution: unstable Fail-Stage: build Install-Time: 7 Job: amideco_0.31e-3.1 Package: amideco Package-Time: 40 Source-Version: 0.31e-3.1 Space: 240 Status: attempted Version: 0.31e-3.1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1647 Build needed 00:00:40, 240k disc space DC-Status: Failed 40.764246s