RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux magic 3.8.0-mustang_sw_1.07.04-Alpha #1 SMP Sat Sep 14 09:50:58 MDT 2013 aarch64 Buildd toolchain package versions: launchpad-buildd_116~0.IS.12.04 python-lpbuildd_116~0.IS.12.04. Syncing the system clock with the buildd NTP service... 9 Oct 14:05:25 ntpdate[23108]: adjust time server 10.211.37.1 offset -0.018879 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-4961053', '/home/buildd/filecache-default/05435ea4f3569216a0e565d22a2d0b2b33bb8933'] Unpacking chroot for build PACKAGEBUILD-4961053 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-4961053'] Mounting chroot for build PACKAGEBUILD-4961053 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-4961053', 'deb http://ftpmaster.internal/ubuntu saucy main'] Overriding sources.list in build-PACKAGEBUILD-4961053 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-4961053', 'arm64'] Updating debian chroot for build PACKAGEBUILD-4961053 Ign http://ftpmaster.internal saucy InRelease Ign http://archive-team.internal saucy InRelease Get:1 http://ftpmaster.internal saucy Release.gpg [933 B] Ign http://archive-team.internal saucy Release.gpg Get:2 http://ftpmaster.internal saucy Release [49.6 kB] Get:3 http://archive-team.internal saucy Release [746 B] Ign http://archive-team.internal saucy/main arm64 Packages/DiffIndex Get:4 http://ftpmaster.internal saucy/main arm64 Packages [754 kB] Ign http://archive-team.internal saucy/main Translation-en Get:5 http://archive-team.internal saucy/main arm64 Packages [2366 kB] Get:6 http://ftpmaster.internal saucy/main Translation-en [711 kB] Fetched 3882 kB in 2s (1417 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: mountall 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 63.3 kB of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! mountall Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ saucy/main mountall arm64 2.52 [63.3 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 63.3 kB in 0s (108 kB/s) (Reading database ... 11909 files and directories currently installed.) Preparing to replace mountall 2.51 (using .../mountall_2.52_arm64.deb) ... Unpacking replacement mountall ... Setting up mountall (2.52) ... Installing new version of config file /etc/init/mountall.conf ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-4961053', 'arm64', 'saucy', '--nolog', '--batch', '--archive=ubuntu', '--dist=saucy', '--purpose=PRIMARY', '--architecture=arm64', '--comp=main', 'devio_1.2-1build2.dsc'] Initiating build PACKAGEBUILD-4961053 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 3.8.0-mustang_sw_1.07.04-Alpha #1 SMP Sat Sep 14 09:50:58 MDT 2013 aarch64 Automatic build of devio_1.2-1build2 on magic by sbuild/arm64 1.170.5 Build started at 20131009-1405 ****************************************************************************** devio_1.2-1build2.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: debhelper (>= 4.0.0), autotools-dev Checking for already installed source dependencies... debhelper: missing autotools-dev: missing Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper autotools-dev Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apparmor-easyprof bsdmainutils dh-apparmor dh-python file gettext gettext-base groff-base intltool-debian libasprintf-dev libasprintf0c2 libcroco3 libexpat1 libffi6 libgettextpo-dev libgettextpo0 libglib2.0-0 libmagic1 libpipeline1 libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libssl1.0.0 libunistring0 libxml2 man-db mime-support po-debconf python3 python3-minimal python3.3 python3.3-minimal Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff less www-browser libmail-box-perl python3-doc python3-tk python3.3-doc binfmt-support Recommended packages: curl wget lynx-cur libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: apparmor-easyprof autotools-dev bsdmainutils debhelper dh-apparmor dh-python file gettext gettext-base groff-base intltool-debian libasprintf-dev libasprintf0c2 libcroco3 libexpat1 libffi6 libgettextpo-dev libgettextpo0 libglib2.0-0 libmagic1 libpipeline1 libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libssl1.0.0 libunistring0 libxml2 man-db mime-support po-debconf python3 python3-minimal python3.3 python3.3-minimal 0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 12.6 MB of archives. After this operation, 44.9 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libexpat1 libffi6 libmagic1 libpython3.3-minimal mime-support libssl1.0.0 libpython3.3-stdlib python3.3-minimal libasprintf0c2 libglib2.0-0 libpipeline1 libxml2 groff-base bsdmainutils man-db libcroco3 libunistring0 libgettextpo0 python3.3 python3-minimal libpython3-stdlib python3 dh-python file gettext-base autotools-dev libasprintf-dev libgettextpo-dev gettext intltool-debian po-debconf apparmor-easyprof dh-apparmor debhelper Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ saucy/main libexpat1 arm64 2.1.0-4 [114 kB] Get:2 http://archive-team.internal/bootstrap/arm64/ saucy/main libpython3.3-minimal arm64 3.3.2-3ubuntu1 [579 kB] Get:3 http://ftpmaster.internal/ubuntu/ saucy/main libffi6 arm64 3.0.13-4 [19.0 kB] Get:4 http://ftpmaster.internal/ubuntu/ saucy/main libmagic1 arm64 5.11-2ubuntu4 [163 kB] Get:5 http://archive-team.internal/bootstrap/arm64/ saucy/main libpython3.3-stdlib arm64 3.3.2-3ubuntu1 [2593 kB] Get:6 http://ftpmaster.internal/ubuntu/ saucy/main mime-support all 3.54ubuntu1 [31.7 kB] Get:7 http://ftpmaster.internal/ubuntu/ saucy/main libssl1.0.0 arm64 1.0.1e-3ubuntu1 [860 kB] Get:8 http://archive-team.internal/bootstrap/arm64/ saucy/main python3.3-minimal arm64 3.3.2-3ubuntu1 [1430 kB] Get:9 http://archive-team.internal/bootstrap/arm64/ saucy/main libasprintf0c2 arm64 0.18.1.1-10ubuntu3 [6828 B] Get:10 http://archive-team.internal/bootstrap/arm64/ saucy/main libgettextpo0 arm64 0.18.1.1-10ubuntu3 [106 kB] Get:11 http://ftpmaster.internal/ubuntu/ saucy/main libglib2.0-0 arm64 2.38.0-1ubuntu1 [824 kB] Get:12 http://archive-team.internal/bootstrap/arm64/ saucy/main python3.3 arm64 3.3.2-3ubuntu1 [122 kB] Get:13 http://archive-team.internal/bootstrap/arm64/ saucy/main gettext-base arm64 0.18.1.1-10ubuntu3 [119 kB] Get:14 http://archive-team.internal/bootstrap/arm64/ saucy/main libasprintf-dev arm64 0.18.1.1-10ubuntu3 [4620 B] Get:15 http://archive-team.internal/bootstrap/arm64/ saucy/main libgettextpo-dev arm64 0.18.1.1-10ubuntu3 [147 kB] Get:16 http://archive-team.internal/bootstrap/arm64/ saucy/main gettext arm64 0.18.1.1-10ubuntu3 [1736 kB] Get:17 http://ftpmaster.internal/ubuntu/ saucy/main libpipeline1 arm64 1.2.4-1 [24.5 kB] Get:18 http://ftpmaster.internal/ubuntu/ saucy/main libxml2 arm64 2.9.1+dfsg1-3ubuntu2 [588 kB] Get:19 http://ftpmaster.internal/ubuntu/ saucy/main groff-base arm64 1.22.2-3 [688 kB] Get:20 http://ftpmaster.internal/ubuntu/ saucy/main bsdmainutils arm64 9.0.5ubuntu1 [199 kB] Get:21 http://ftpmaster.internal/ubuntu/ saucy/main man-db arm64 2.6.5-2 [678 kB] Get:22 http://ftpmaster.internal/ubuntu/ saucy/main libcroco3 arm64 0.6.8-2 [64.9 kB] Get:23 http://ftpmaster.internal/ubuntu/ saucy/main libunistring0 arm64 0.9.3-5ubuntu1 [403 kB] Get:24 http://ftpmaster.internal/ubuntu/ saucy/main python3-minimal arm64 3.3.2-14ubuntu1 [26.4 kB] Get:25 http://ftpmaster.internal/ubuntu/ saucy/main libpython3-stdlib arm64 3.3.2-14ubuntu1 [8144 B] Get:26 http://ftpmaster.internal/ubuntu/ saucy/main python3 arm64 3.3.2-14ubuntu1 [9144 B] Get:27 http://ftpmaster.internal/ubuntu/ saucy/main dh-python all 1.20131003-1 [61.7 kB] Get:28 http://ftpmaster.internal/ubuntu/ saucy/main file arm64 5.11-2ubuntu4 [18.2 kB] Get:29 http://ftpmaster.internal/ubuntu/ saucy/main autotools-dev all 20130810.1 [44.3 kB] Get:30 http://ftpmaster.internal/ubuntu/ saucy/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:31 http://ftpmaster.internal/ubuntu/ saucy/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] Get:32 http://ftpmaster.internal/ubuntu/ saucy/main apparmor-easyprof all 2.8.0-0ubuntu30 [24.1 kB] Get:33 http://ftpmaster.internal/ubuntu/ saucy/main dh-apparmor all 2.8.0-0ubuntu30 [7736 B] Get:34 http://ftpmaster.internal/ubuntu/ saucy/main debhelper all 9.20130630ubuntu1 [629 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 12.6 MB in 6s (2035 kB/s) Selecting previously unselected package libexpat1:arm64. (Reading database ... 11909 files and directories currently installed.) Unpacking libexpat1:arm64 (from .../libexpat1_2.1.0-4_arm64.deb) ... Selecting previously unselected package libffi6:arm64. Unpacking libffi6:arm64 (from .../libffi6_3.0.13-4_arm64.deb) ... Selecting previously unselected package libmagic1:arm64. Unpacking libmagic1:arm64 (from .../libmagic1_5.11-2ubuntu4_arm64.deb) ... Selecting previously unselected package libpython3.3-minimal:arm64. Unpacking libpython3.3-minimal:arm64 (from .../libpython3.3-minimal_3.3.2-3ubuntu1_arm64.deb) ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.54ubuntu1_all.deb) ... Selecting previously unselected package libssl1.0.0:arm64. Unpacking libssl1.0.0:arm64 (from .../libssl1.0.0_1.0.1e-3ubuntu1_arm64.deb) ... Selecting previously unselected package libpython3.3-stdlib:arm64. Unpacking libpython3.3-stdlib:arm64 (from .../libpython3.3-stdlib_3.3.2-3ubuntu1_arm64.deb) ... Selecting previously unselected package python3.3-minimal. Unpacking python3.3-minimal (from .../python3.3-minimal_3.3.2-3ubuntu1_arm64.deb) ... Selecting previously unselected package libasprintf0c2:arm64. Unpacking libasprintf0c2:arm64 (from .../libasprintf0c2_0.18.1.1-10ubuntu3_arm64.deb) ... Selecting previously unselected package libglib2.0-0:arm64. Unpacking libglib2.0-0:arm64 (from .../libglib2.0-0_2.38.0-1ubuntu1_arm64.deb) ... Selecting previously unselected package libpipeline1:arm64. Unpacking libpipeline1:arm64 (from .../libpipeline1_1.2.4-1_arm64.deb) ... Selecting previously unselected package libxml2:arm64. Unpacking libxml2:arm64 (from .../libxml2_2.9.1+dfsg1-3ubuntu2_arm64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_arm64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5ubuntu1_arm64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_arm64.deb) ... Selecting previously unselected package libcroco3:arm64. Unpacking libcroco3:arm64 (from .../libcroco3_0.6.8-2_arm64.deb) ... Selecting previously unselected package libunistring0:arm64. Unpacking libunistring0:arm64 (from .../libunistring0_0.9.3-5ubuntu1_arm64.deb) ... Selecting previously unselected package libgettextpo0:arm64. Unpacking libgettextpo0:arm64 (from .../libgettextpo0_0.18.1.1-10ubuntu3_arm64.deb) ... Selecting previously unselected package python3.3. Unpacking python3.3 (from .../python3.3_3.3.2-3ubuntu1_arm64.deb) ... Selecting previously unselected package python3-minimal. Unpacking python3-minimal (from .../python3-minimal_3.3.2-14ubuntu1_arm64.deb) ... Selecting previously unselected package libpython3-stdlib:arm64. Unpacking libpython3-stdlib:arm64 (from .../libpython3-stdlib_3.3.2-14ubuntu1_arm64.deb) ... Selecting previously unselected package python3. Unpacking python3 (from .../python3_3.3.2-14ubuntu1_arm64.deb) ... Selecting previously unselected package dh-python. Unpacking dh-python (from .../dh-python_1.20131003-1_all.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_5.11-2ubuntu4_arm64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-10ubuntu3_arm64.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20130810.1_all.deb) ... Selecting previously unselected package libasprintf-dev:arm64. Unpacking libasprintf-dev:arm64 (from .../libasprintf-dev_0.18.1.1-10ubuntu3_arm64.deb) ... Selecting previously unselected package libgettextpo-dev:arm64. Unpacking libgettextpo-dev:arm64 (from .../libgettextpo-dev_0.18.1.1-10ubuntu3_arm64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-10ubuntu3_arm64.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+nmu2ubuntu1_all.deb) ... Selecting previously unselected package apparmor-easyprof. Unpacking apparmor-easyprof (from .../apparmor-easyprof_2.8.0-0ubuntu30_all.deb) ... Selecting previously unselected package dh-apparmor. Unpacking dh-apparmor (from .../dh-apparmor_2.8.0-0ubuntu30_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130630ubuntu1_all.deb) ... Setting up libexpat1:arm64 (2.1.0-4) ... Setting up libffi6:arm64 (3.0.13-4) ... Setting up libmagic1:arm64 (5.11-2ubuntu4) ... Setting up libpython3.3-minimal:arm64 (3.3.2-3ubuntu1) ... Setting up mime-support (3.54ubuntu1) ... update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode Setting up libssl1.0.0:arm64 (1.0.1e-3ubuntu1) ... Setting up libpython3.3-stdlib:arm64 (3.3.2-3ubuntu1) ... Setting up python3.3-minimal (3.3.2-3ubuntu1) ... Setting up libasprintf0c2:arm64 (0.18.1.1-10ubuntu3) ... Setting up libglib2.0-0:arm64 (2.38.0-1ubuntu1) ... No schema files found: doing nothing. Setting up libpipeline1:arm64 (1.2.4-1) ... Setting up libxml2:arm64 (2.9.1+dfsg1-3ubuntu2) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libcroco3:arm64 (0.6.8-2) ... Setting up libunistring0:arm64 (0.9.3-5ubuntu1) ... Setting up libgettextpo0:arm64 (0.18.1.1-10ubuntu3) ... Setting up python3.3 (3.3.2-3ubuntu1) ... Setting up python3-minimal (3.3.2-14ubuntu1) ... Setting up libpython3-stdlib:arm64 (3.3.2-14ubuntu1) ... Setting up file (5.11-2ubuntu4) ... Setting up gettext-base (0.18.1.1-10ubuntu3) ... Setting up autotools-dev (20130810.1) ... Setting up libasprintf-dev:arm64 (0.18.1.1-10ubuntu3) ... Setting up libgettextpo-dev:arm64 (0.18.1.1-10ubuntu3) ... Setting up gettext (0.18.1.1-10ubuntu3) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up dh-python (1.20131003-1) ... Setting up python3 (3.3.2-14ubuntu1) ... running python rtupdate hooks for python3.3... running python post-rtupdate hooks for python3.3... Setting up apparmor-easyprof (2.8.0-0ubuntu30) ... Setting up dh-apparmor (2.8.0-0ubuntu30) ... Setting up debhelper (9.20130630ubuntu1) ... Processing triggers for libc-bin ... Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.17-93ubuntu1 make_3.81-8.2ubuntu3 dpkg-dev_1.16.12ubuntu1 gcc-4.8_4.8.1-10ubuntu6 g++-4.8_4.8.1-10ubuntu6 binutils_2.23.52.20130913-0ubuntu1 libstdc++-4.8-dev_4.8.1-10ubuntu6 libstdc++6_4.8.1-10ubuntu6 ------------------------------------------------------------------------------ gpgv: Signature made Mon Oct 1 19:57:58 2012 UTC using RSA key ID 7D86500B gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./devio_1.2-1build2.dsc dpkg-source: info: extracting devio in devio-1.2 dpkg-source: info: unpacking devio_1.2.orig.tar.gz dpkg-source: info: applying devio_1.2-1build2.diff.gz dpkg-source: info: upstream files that have been modified: devio-1.2/src/devio.man dpkg-buildpackage: source package devio dpkg-buildpackage: source version 1.2-1build2 dpkg-source --before-build devio-1.2 dpkg-buildpackage: host architecture arm64 /usr/bin/fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp /usr/bin/make distclean make[1]: Entering directory `/build/buildd/devio-1.2' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/build/buildd/devio-1.2' make: [clean] Error 2 (ignored) cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess dh_clean dh_clean: Compatibility levels before 5 are deprecated (level 4 in use) rm -f config.sub config.guess dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build dh_testdir CFLAGS="-Wall -g -O2" ./configure --host=aarch64-linux-gnu --build=aarch64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for aarch64-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of aarch64-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for fdatasync... yes checking for memset... yes checking for strerror... yes checking for strtoul... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands dh_testdir /usr/bin/make make[1]: Entering directory `/build/buildd/devio-1.2' /usr/bin/make all-recursive make[2]: Entering directory `/build/buildd/devio-1.2' Making all in src make[3]: Entering directory `/build/buildd/devio-1.2/src' if aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -MT devio.o -MD -MP -MF ".deps/devio.Tpo" -c -o devio.o devio.c; \ then mv -f ".deps/devio.Tpo" ".deps/devio.Po"; else rm -f ".deps/devio.Tpo"; exit 1; fi devio.c: In function 'my_strdup': devio.c:126:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] size_t cb = strlen(from)+1; ^ In file included from devio.c:40:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ devio.c:129:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("out of memory", from); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'size_mtd': devio.c:201:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("lseek(length)", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:203:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("lseek(length reset)", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:210:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("cannot find size of this device", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'new_mtd': devio.c:220:2: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] pfile->pname = my_strdup(pname); ^ devio.c:125:16: note: expected 'const unsigned char *' but argument is of type 'const char *' unsigned char *my_strdup(const unsigned char *from) { ^ devio.c:229:3: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("fstat", pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:229:3: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("fstat", pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'const char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:236:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("invalid device", pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:236:3: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] die("invalid device", pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'const char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'open_mtd': devio.c:252:3: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("open", pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:252:3: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("open", pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'const char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:254:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("no standard streams", "-"); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:254:3: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] die("no standard streams", "-"); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'write_mtd': devio.c:278:5: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("verification failed", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:285:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("lseek(write)", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:320:6: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'close_mtd': devio.c:392:6: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("sync", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:399:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("close", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'buffer_mtd': devio.c:427:4: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("out of memory", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'read_mtd': devio.c:454:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("read outside file", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:479:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("lseek(read)", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:500:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("lseek(read reset)", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:505:4: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("read", pfile->pname); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:507:4: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("unexpected end of file", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'mtd_putb': devio.c:546:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("file is not writeable", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'mtd_readbytes': devio.c:561:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("read beyond end of file", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'mtd_writebytes': devio.c:591:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("file is not writeable", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:593:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("write beyond end of file", pfile->pname); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'quit': devio.c:716:3: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("output failed", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:716:3: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("output failed", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'inb': devio.c:728:4: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("read error", "stdin"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:728:4: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("read error", "stdin"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'outb': devio.c:740:4: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write error", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:740:4: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write error", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'outputbytes': devio.c:751:4: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write error", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:751:4: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write error", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:753:3: warning: pointer targets in passing argument 2 of 'mtd_writebytes' differ in signedness [-Wpointer-sign] mtd_writebytes(pp->pto, pbuf, cb); ^ devio.c:589:13: note: expected 'const unsigned char *' but argument is of type 'const char *' static void mtd_writebytes(mtd_file *pfile, const unsigned char *pbuf, size_t cb) { ^ devio.c: In function 'copybytes': devio.c:781:5: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("read error", "stdin"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:781:5: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("read error", "stdin"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:788:3: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] outputbytes(pp, buf, cbavail); ^ devio.c:748:13: note: expected 'const char *' but argument is of type 'unsigned char *' static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { ^ devio.c: In function 'fillbytes': devio.c:805:3: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] outputbytes(pp, buf, cbavail); ^ devio.c:748:13: note: expected 'const char *' but argument is of type 'unsigned char *' static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { ^ devio.c: In function 'push': devio.c:815:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("stack overflow", str); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'pop': devio.c:823:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("stack underflow", str); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'top': devio.c:830:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("stack underflow", str); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'parse_expression': devio.c:860:5: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("() stack overflow", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:956:4: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("bad [: or [) nesting", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:990:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] num = strtoul(lp, &end, 0); ^ In file included from devio.c:38:0: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'const unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ devio.c:992:6: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("invalid number", lp); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1056:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("size of input unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1061:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("position of input unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1066:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("size of output unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1071:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("position of output unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1076:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("input device number unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1082:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("output block size unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1087:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("input block size unknown", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1095:6: warning: pointer targets in passing argument 2 of 'parse_expression' differ in signedness [-Wpointer-sign] P("@8{@+8{@+8{@+;# 4 byte big-endian read"); ^ devio.c:847:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int parse_expression(parse_buf *pp, const unsigned char *line, int Ac, int AcEnd) { ^ devio.c:1098:6: warning: pointer targets in passing argument 2 of 'parse_expression' differ in signedness [-Wpointer-sign] P("@@@@8{+8{+8{+;# 4 byte little-endian read"); ^ devio.c:847:12: note: expected 'const unsigned char *' but argument is of type 'char *' static int parse_expression(parse_buf *pp, const unsigned char *line, int Ac, int AcEnd) { ^ devio.c:1112:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("invalid operator", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1124:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("unclosed ( )", line); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'need': devio.c:1139:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("too few arguments", line+Ac); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'string': devio.c:1167:4: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("unterminated quoted string", line+start); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1171:4: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("stuff on line after quoted string", line+start); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1181:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("string too long", line+start); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'find_file': devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp(name, pp->files[i].pname) == 0) ^ devio.c:1216:4: note: expected 'const char *' but argument is of type 'const unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'const unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'const unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'const unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'const unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'const unsigned char *' devio.c:1216:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] devio.c:1216:4: note: expected 'const char *' but argument is of type 'unsigned char *' devio.c: In function 'open_file': devio.c:1230:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("no more files", name); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1231:2: warning: pointer targets in passing argument 2 of 'open_mtd' differ in signedness [-Wpointer-sign] open_mtd(pp->files+i, name, fwrite, pp->fverify, pp->fprogress); ^ devio.c:248:13: note: expected 'const char *' but argument is of type 'const unsigned char *' static void open_mtd(mtd_file *pfile, const char *pname, ^ devio.c: In function 'parse': devio.c:1267:31: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const unsigned char *line = prog[Al]; ^ devio.c:1268:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] const int AcEnd = strlen(line); ^ In file included from devio.c:40:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ devio.c:1295:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("exec stack overflow", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1347:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] line = prog[Al]; ^ devio.c:1366:5: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("exec stack underflow", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1392:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("attempt to open a read file for write", buffer); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1415:7: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("no such file to close", buffer); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1423:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("<> (close) requires an argument", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1429:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("no output file", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1436:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("no input file", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1449:5: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] default:die("byte count out of range", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1461:5: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] default:die("byte count out of range", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1467:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] outputbytes(pp, buffer, strlen(buffer)); ^ In file included from devio.c:40:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ devio.c:1467:5: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] outputbytes(pp, buffer, strlen(buffer)); ^ devio.c:748:13: note: expected 'const char *' but argument is of type 'unsigned char *' static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { ^ devio.c:1477:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("fill value out of range", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1495:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("invalid byte count", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1505:6: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write error", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1505:6: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] pdie("write error", "stdout"); ^ devio.c:94:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_pdie(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1517:10: warning: pointer targets in passing argument 1 of 'printf' differ in signedness [-Wpointer-sign] stack[-4], stack[-5], stack[-6], stack[-7]); ^ In file included from /usr/include/stdio.h:937:0, from devio.c:39: /usr/include/aarch64-linux-gnu/bits/stdio2.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' printf (const char *__restrict __fmt, ...) ^ devio.c:1538:6: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("unknown command", lp); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1551:3: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] die("unclosed $( $)", "eof"); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c:1551:3: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] die("unclosed $( $)", "eof"); ^ devio.c:75:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void do_die(const unsigned char *why, const unsigned char *infile) { ^ devio.c: In function 'main': devio.c:1587:30: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const unsigned char *p = argv[i]; ^ devio.c:1590:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "Enter the keyword in [] contained after the command list\n" ^ devio.c:1595:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = " commands are terminated by ';', newline or the end of input:\n" ^ devio.c:1612:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "conditional evalation\n" ^ devio.c:1638:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "conditional: $( condition; do if (condition) {\n"; ^ devio.c:1641:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "conditional: $( condition; } else if (condition) {\n"; ^ devio.c:1644:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "conditional: $: condition; } while (condition);\n"; ^ devio.c:1647:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "conditional: $: condition; if (condition) break;\n"; ^ devio.c:1650:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "program termination commands:\n" ^ devio.c:1658:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "exit: !? code; if (code != 0) exit(code);\n"; ^ devio.c:1661:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "exit: !! code; exit(code);\n"; ^ devio.c:1664:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "input/output control:\n" ^ devio.c:1680:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "io: >> file; select file as the current output device\n" ^ devio.c:1684:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "io: << file; select file as the current input device\n" ^ devio.c:1688:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "io: <> file; close file\n"; ^ devio.c:1691:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "io: >< file; close file\n"; ^ devio.c:1694:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "io: >= offset; set the 'to' pointer: output device file pointer\n"; ^ devio.c:1697:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "io: <= offset; set the 'from' pointer: input device file pointer\n"; ^ devio.c:1700:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "writing to the output:\n" ^ devio.c:1706:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "write: wb number bytes; write number in bytes big endian bytes\n"; ^ devio.c:1709:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "write: wl number bytes; write number in bytes little endian bytes\n"; ^ devio.c:1712:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "write: ws string; write string\n"; ^ devio.c:1715:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "write: fb number byte; write number bytes of value 'byte'\n"; ^ devio.c:1718:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "write: cp number; copy number bytes from input to output\n"; ^ devio.c:1721:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "write: xp number bytes; byte swap number bytes from input to output\n" ^ devio.c:1725:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "writing to stdout:\n" ^ devio.c:1735:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "message: pr number; printf(\"%lu\\n\", number);\n"; ^ devio.c:1738:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "message: pf string; printf(string, 1, 2, 3, 4, 5, 6, 7, 8)\n" ^ devio.c:1744:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "message: pn; prints a newline (printf(\"\\n\");)\n"; ^ devio.c:1747:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = ".= [number]\n" ^ devio.c:1750:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "= [number] ( is an upper case character in the range A-Z)\n" ^ devio.c:1754:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "string format\n" ^ devio.c:1762:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "number format\n" ^ devio.c:1777:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "operators\n" ^ aarch64-linux-gnu-gcc -Wall -g -O2 -o devio devio.o make[3]: Leaving directory `/build/buildd/devio-1.2/src' make[3]: Entering directory `/build/buildd/devio-1.2' make[3]: Leaving directory `/build/buildd/devio-1.2' make[2]: Leaving directory `/build/buildd/devio-1.2' make[1]: Leaving directory `/build/buildd/devio-1.2' touch build-stamp /usr/bin/fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_clean: Compatibility levels before 5 are deprecated (level 4 in use) dh_installdirs dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use) /usr/bin/make install DESTDIR=/build/buildd/devio-1.2/debian/devio make[1]: Entering directory `/build/buildd/devio-1.2' Making install in src make[2]: Entering directory `/build/buildd/devio-1.2/src' make[3]: Entering directory `/build/buildd/devio-1.2/src' test -z "/usr/bin" || mkdir -p -- "/build/buildd/devio-1.2/debian/devio/usr/bin" /usr/bin/install -c 'devio' '/build/buildd/devio-1.2/debian/devio/usr/bin/devio' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/build/buildd/devio-1.2/src' make[2]: Leaving directory `/build/buildd/devio-1.2/src' make[2]: Entering directory `/build/buildd/devio-1.2' make[3]: Entering directory `/build/buildd/devio-1.2' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/build/buildd/devio-1.2' make[2]: Leaving directory `/build/buildd/devio-1.2' make[1]: Leaving directory `/build/buildd/devio-1.2' /usr/bin/make install DESTDIR=/build/buildd/devio-1.2/debian/devio-udeb make[1]: Entering directory `/build/buildd/devio-1.2' Making install in src make[2]: Entering directory `/build/buildd/devio-1.2/src' make[3]: Entering directory `/build/buildd/devio-1.2/src' test -z "/usr/bin" || mkdir -p -- "/build/buildd/devio-1.2/debian/devio-udeb/usr/bin" /usr/bin/install -c 'devio' '/build/buildd/devio-1.2/debian/devio-udeb/usr/bin/devio' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/build/buildd/devio-1.2/src' make[2]: Leaving directory `/build/buildd/devio-1.2/src' make[2]: Entering directory `/build/buildd/devio-1.2' make[3]: Entering directory `/build/buildd/devio-1.2' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/build/buildd/devio-1.2' make[2]: Leaving directory `/build/buildd/devio-1.2' make[1]: Leaving directory `/build/buildd/devio-1.2' dh_testdir dh_testroot dh_installman -pdevio src/devio.man dh_installman: Compatibility levels before 5 are deprecated (level 4 in use) dh_installchangelogs ChangeLog dh_installchangelogs: Compatibility levels before 5 are deprecated (level 4 in use) dh_installdocs dh_installdocs: Compatibility levels before 5 are deprecated (level 4 in use) dh_link dh_link: Compatibility levels before 5 are deprecated (level 4 in use) dh_strip dh_strip debug symbol extraction: all non-arch-all packages for this build platform arm64: devio devio-udeb dh_strip debug symbol extraction: packages to act on: devio devio-udeb dh_strip debug symbol extraction: ignored packages: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-deb: building package `devio-dbgsym' in `../devio-dbgsym_1.2-1build2_arm64.ddeb'. dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-deb: building package `devio-udeb-dbgsym' in `../devio-udeb-dbgsym_1.2-1build2_arm64.ddeb'. dh_strip.pkg-create-dbgsym: Compatibility levels before 5 are deprecated (level 4 in use) dh_compress dh_compress: Compatibility levels before 5 are deprecated (level 4 in use) dh_fixperms dh_fixperms: Compatibility levels before 5 are deprecated (level 4 in use) dh_installdeb dh_installdeb: Compatibility levels before 5 are deprecated (level 4 in use) dh_shlibdeps dh_shlibdeps: Compatibility levels before 5 are deprecated (level 4 in use) dh_gencontrol dh_gencontrol: Compatibility levels before 5 are deprecated (level 4 in use) dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dh_md5sums dh_md5sums: Compatibility levels before 5 are deprecated (level 4 in use) dh_builddeb dh_builddeb.pkgbinarymangler: Compatibility levels before 5 are deprecated (level 4 in use) INFO: pkgstriptranslations version 118 pkgstriptranslations: processing devio (in debian/devio); do_strip: 1, oemstrip: pkgstriptranslations: devio does not contain translations, skipping pkgstriptranslations: no translation files, not creating tarball pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/devio/DEBIAN/control, package devio, directory debian/devio .. removing usr/share/doc/devio/changelog.gz pkgstripfiles: PNG optimization for package devio took 0 s dpkg-deb: warning: 'debian/devio/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `devio' in `../devio_1.2-1build2_arm64.deb'. dh_builddeb.pkgbinarymangler: Compatibility levels before 5 are deprecated (level 4 in use) INFO: Disabling pkgsanitychecks for udeb INFO: pkgstriptranslations version 118 pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/devio-udeb/DEBIAN/control, package devio-udeb, directory debian/devio-udeb pkgstripfiles: PNG optimization for package devio-udeb took 0 s dpkg-deb: warning: 'debian/devio-udeb/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `devio-udeb' in `../devio-udeb_1.2-1build2_arm64.udeb'. dh_builddeb.pkgbinarymangler: Compatibility levels before 5 are deprecated (level 4 in use) dpkg-genchanges -B -mUbuntu Build Daemon >../devio_1.2-1build2_arm64.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build devio-1.2 dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20131009-1406 Publishing debug debs. chroot-autobuild/build/buildd/devio_1.2-1build2_arm64.deb: new debian package, version 2.0. size 17152 bytes: control archive=825 bytes. 738 bytes, 17 lines control 373 bytes, 6 lines md5sums Package: devio Version: 1.2-1build2 Architecture: arm64 Maintainer: Ubuntu Developers Original-Maintainer: Rod Whitby Installed-Size: 74 Depends: libc6 (>= 2.17) Section: utils Priority: optional Description: correctly read (or write) a region of a block device devio is a command line program to read correctly from mtd character (and other block) devices. devio allows access to specific regions of the device and allows output of data from specific locations. The primary difference between devio and other command line utilities, such as dd and cat, is that it is not stream based - it writes directly into the object rather than reading and writing a stream of data. chroot-autobuild/build/buildd/devio-udeb_1.2-1build2_arm64.udeb: new debian package, version 2.0. size 12300 bytes: control archive=619 bytes. 835 bytes, 20 lines control Package: devio-udeb Source: devio Version: 1.2-1build2 Architecture: arm64 Maintainer: Ubuntu Developers Original-Maintainer: Rod Whitby Installed-Size: 47 Depends: libc6-udeb (>= 2.17) Section: debian-installer Priority: optional Description: correctly read (or write) a region of a block device devio is a command line program to read correctly from mtd character (and other block) devices. devio allows access to specific regions of the device and allows output of data from specific locations. The primary difference between devio and other command line utilities, such as dd and cat, is that it is not stream based - it writes directly into the object rather than reading and writing a stream of data. . devio-udeb is a minimal package used by debian-installer. chroot-autobuild/build/buildd/devio_1.2-1build2_arm64.deb: drwxr-xr-x root/root 0 2013-10-09 14:06 ./ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/bin/ -rwxr-xr-x root/root 30936 2013-10-09 14:06 ./usr/bin/devio drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/share/ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/share/man/ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/share/man/man8/ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/share/man/man1/ -rw-r--r-- root/root 848 2013-10-09 14:06 ./usr/share/man/man1/devio.1.gz drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/share/doc/devio/ -rw-r--r-- root/root 155 2005-06-06 16:12 ./usr/share/doc/devio/NEWS.gz -rw-r--r-- root/root 524 2013-10-09 14:05 ./usr/share/doc/devio/changelog.Debian.gz -rw-r--r-- root/root 95 2005-06-06 16:12 ./usr/share/doc/devio/README -rw-r--r-- root/root 1233 2013-10-09 14:05 ./usr/share/doc/devio/copyright chroot-autobuild/build/buildd/devio-udeb_1.2-1build2_arm64.udeb: drwxr-xr-x root/root 0 2013-10-09 14:06 ./ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/ drwxr-xr-x root/root 0 2013-10-09 14:06 ./usr/bin/ -rwxr-xr-x root/root 30936 2013-10-09 14:06 ./usr/bin/devio devio_1.2-1build2_arm64.changes: Format: 1.8 Date: Mon, 01 Oct 2012 20:57:54 +0100 Source: devio Binary: devio devio-udeb Architecture: arm64 Version: 1.2-1build2 Distribution: saucy Urgency: low Maintainer: Ubuntu Build Daemon Changed-By: Colin Watson Description: devio - correctly read (or write) a region of a block device devio-udeb - correctly read (or write) a region of a block device (udeb) Changes: devio (1.2-1build2) quantal; urgency=low . * Rebuild for new armel compiler default of ARMv5t. Checksums-Sha1: b0de53cc5ab49c87f0597e04af0d3af057e57d76 17152 devio_1.2-1build2_arm64.deb 54a3ff2f567be97e9800d048b9a2d14e197293a4 12300 devio-udeb_1.2-1build2_arm64.udeb Checksums-Sha256: 8fedfcfdace1af65e22e54f856a14d4a08894c9bd68afbfad711f2a4b19cbe6a 17152 devio_1.2-1build2_arm64.deb 354018a7f4ce9889de3e634d8f65b0b211c5cc1c5c08297ebdf0c4a638bae8c8 12300 devio-udeb_1.2-1build2_arm64.udeb Files: 6335becbe2af5745c99abfba6db9816c 17152 utils optional devio_1.2-1build2_arm64.deb e0271927c92936b1be06e3afb6225e81 12300 debian-installer optional devio-udeb_1.2-1build2_arm64.udeb Package-Type: udeb ****************************************************************************** Built successfully ****************************************************************************** Finished at 20131009-1406 Build needed 00:00:22, 1072k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-4961053'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-4961053/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-4961053'] Unmounting chroot for build PACKAGEBUILD-4961053... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-4961053'] Removing build PACKAGEBUILD-4961053