I: pbuilder: network access will be disabled during build I: Current time: Sun Aug 9 21:13:15 +14 2020 I: pbuilder-time-stamp: 1596957195 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [pads_1.2-11.1.dsc] I: copying [./pads_1.2.orig.tar.gz] I: copying [./pads_1.2-11.1.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Mon Jul 20 03:28:01 2015 +14 gpgv: using RSA key BB3A68018649AA06 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pads_1.2-11.1.dsc dpkg-source: info: extracting pads in pads-1.2 dpkg-source: info: unpacking pads_1.2.orig.tar.gz dpkg-source: info: applying pads_1.2-11.1.diff.gz dpkg-source: info: upstream files that have been modified: pads-1.2/Makefile.am pads-1.2/config.guess pads-1.2/config.sub pads-1.2/doc/ChangeLog pads-1.2/doc/INSTALL pads-1.2/doc/Makefile.am pads-1.2/doc/README pads-1.2/doc/pads-report.8 pads-1.2/doc/pads.8 pads-1.2/doc/pads.conf.8 pads-1.2/etc/Makefile.am pads-1.2/etc/pads-ether-codes pads-1.2/etc/pads-signature-list pads-1.2/etc/pads.conf pads-1.2/lib/Makefile.am pads-1.2/lib/bstring/Makefile.am pads-1.2/lib/bstring/Makefile.in pads-1.2/lib/bstring/util.c pads-1.2/lib/bstring/util.h pads-1.2/src/Makefile.am pads-1.2/src/configuration.c pads-1.2/src/configuration.h pads-1.2/src/global.h pads-1.2/src/identification.c pads-1.2/src/identification.h pads-1.2/src/mac-resolution.c pads-1.2/src/mac-resolution.h pads-1.2/src/monnet.c pads-1.2/src/monnet.h pads-1.2/src/output/Makefile.am pads-1.2/src/output/Makefile.in pads-1.2/src/output/output-csv.c pads-1.2/src/output/output-csv.h pads-1.2/src/output/output-fifo.c pads-1.2/src/output/output-fifo.h pads-1.2/src/output/output-screen.c pads-1.2/src/output/output-screen.h pads-1.2/src/output/output.c pads-1.2/src/output/output.h pads-1.2/src/packet.c pads-1.2/src/packet.h pads-1.2/src/pads-report.pl pads-1.2/src/pads.c pads-1.2/src/pads.h pads-1.2/src/storage.c pads-1.2/src/storage.h pads-1.2/src/util.c pads-1.2/src/util.h I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/26566/tmp/hooks/D01_modify_environment starting debug: Running on cbxi4b. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/26566/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/26566/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=d579e8864ede464587d0033a25e830e6 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=26566 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Rkyr6Dgawy/pbuilderrc_WKUF --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Rkyr6Dgawy/b2 --logfile b2/build.log pads_1.2-11.1.dsc' SUDO_GID=116 SUDO_UID=112 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:8000/ I: uname -a Linux i-capture-the-hostname 4.19.0-10-armmp #1 SMP Debian 4.19.132-1 (2020-07-24) armv7l GNU/Linux I: ls -l /bin total 3328 -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash -rwxr-xr-x 1 root root 71648 Mar 1 2019 date -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd -rwxr-xr-x 1 root root 55672 Mar 1 2019 df -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 18260 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln -rwxr-xr-x 1 root root 34932 Jul 27 2018 login -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 26024 Jan 10 2019 more -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Aug 9 21:13 sh -> bash lrwxrwxrwx 1 root root 4 Aug 6 22:27 sh.distrib -> dash -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty -rwsr-xr-x 1 root root 42472 Jan 10 2019 su -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch -rwxr-xr-x 1 root root 18260 Mar 1 2019 true -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/26566/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 5.0.0), libpcre3-dev, libpcap0.8-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 18932 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 5.0.0); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libpcre3-dev; however: Package libpcre3-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap0.8-dev; however: Package libpcap0.8-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpcap0.8{a} libpcap0.8-dev{a} libpcre16-3{a} libpcre3-dev{a} libpcre32-3{a} libpcrecpp0v5{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 19.8 MB of archives. After unpacking 66.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB] Get: 2 http://deb.debian.org/debian buster/main armhf bsdmainutils armhf 11.1.2+b1 [186 kB] Get: 3 http://deb.debian.org/debian buster/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB] Get: 4 http://deb.debian.org/debian buster/main armhf groff-base armhf 1.22.4-3 [828 kB] Get: 5 http://deb.debian.org/debian buster/main armhf libpipeline1 armhf 1.5.1-2 [26.8 kB] Get: 6 http://deb.debian.org/debian buster/main armhf man-db armhf 2.8.5-2 [1240 kB] Get: 7 http://deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main armhf libmagic-mgc armhf 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main armhf libmagic1 armhf 1:5.35-4+deb10u1 [110 kB] Get: 10 http://deb.debian.org/debian buster/main armhf file armhf 1:5.35-4+deb10u1 [65.5 kB] Get: 11 http://deb.debian.org/debian buster/main armhf gettext-base armhf 0.19.8.1-9 [118 kB] Get: 12 http://deb.debian.org/debian buster/main armhf libsigsegv2 armhf 2.12-2 [32.1 kB] Get: 13 http://deb.debian.org/debian buster/main armhf m4 armhf 1.4.18-2 [190 kB] Get: 14 http://deb.debian.org/debian buster/main armhf autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main armhf autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main armhf automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main armhf autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main armhf libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main armhf dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main armhf libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main armhf dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main armhf libelf1 armhf 0.176-1.1 [158 kB] Get: 24 http://deb.debian.org/debian buster/main armhf dwz armhf 0.12-3 [72.0 kB] Get: 25 http://deb.debian.org/debian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1101 kB] Get: 26 http://deb.debian.org/debian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [8005 kB] Get: 27 http://deb.debian.org/debian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [595 kB] Get: 28 http://deb.debian.org/debian buster/main armhf libcroco3 armhf 0.6.12-3 [133 kB] Get: 29 http://deb.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u2 [79.8 kB] Get: 30 http://deb.debian.org/debian buster/main armhf gettext armhf 0.19.8.1-9 [1242 kB] Get: 31 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB] Get: 34 http://deb.debian.org/debian buster/main armhf libpcap0.8 armhf 1.8.1-6 [125 kB] Get: 35 http://deb.debian.org/debian buster/main armhf libpcap0.8-dev armhf 1.8.1-6 [226 kB] Get: 36 http://deb.debian.org/debian buster/main armhf libpcre16-3 armhf 2:8.39-12 [238 kB] Get: 37 http://deb.debian.org/debian buster/main armhf libpcre32-3 armhf 2:8.39-12 [231 kB] Get: 38 http://deb.debian.org/debian buster/main armhf libpcrecpp0v5 armhf 2:8.39-12 [150 kB] Get: 39 http://deb.debian.org/debian buster/main armhf libpcre3-dev armhf 2:8.39-12 [585 kB] Fetched 19.8 MB in 2s (10.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18932 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armhf.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../02-libuchardet0_0.0.6-3_armhf.deb ... Unpacking libuchardet0:armhf (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_armhf.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../04-libpipeline1_1.5.1-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_armhf.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic1:armhf (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_armhf.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../11-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_armhf.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../22-libelf1_0.176-1.1_armhf.deb ... Unpacking libelf1:armhf (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_armhf.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:armhf. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_armhf.deb ... Unpacking libicu63:armhf (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../27-libcroco3_0.6.12-3_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-3) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_armhf.deb ... Unpacking libncurses6:armhf (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_armhf.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libpcap0.8:armhf. Preparing to unpack .../33-libpcap0.8_1.8.1-6_armhf.deb ... Unpacking libpcap0.8:armhf (1.8.1-6) ... Selecting previously unselected package libpcap0.8-dev:armhf. Preparing to unpack .../34-libpcap0.8-dev_1.8.1-6_armhf.deb ... Unpacking libpcap0.8-dev:armhf (1.8.1-6) ... Selecting previously unselected package libpcre16-3:armhf. Preparing to unpack .../35-libpcre16-3_2%3a8.39-12_armhf.deb ... Unpacking libpcre16-3:armhf (2:8.39-12) ... Selecting previously unselected package libpcre32-3:armhf. Preparing to unpack .../36-libpcre32-3_2%3a8.39-12_armhf.deb ... Unpacking libpcre32-3:armhf (2:8.39-12) ... Selecting previously unselected package libpcrecpp0v5:armhf. Preparing to unpack .../37-libpcrecpp0v5_2%3a8.39-12_armhf.deb ... Unpacking libpcrecpp0v5:armhf (2:8.39-12) ... Selecting previously unselected package libpcre3-dev:armhf. Preparing to unpack .../38-libpcre3-dev_2%3a8.39-12_armhf.deb ... Unpacking libpcre3-dev:armhf (2:8.39-12) ... Setting up libpcrecpp0v5:armhf (2:8.39-12) ... Setting up libpipeline1:armhf (1.5.1-2) ... Setting up libpcre16-3:armhf (2:8.39-12) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:armhf (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:armhf (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:armhf (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libpcap0.8:armhf (1.8.1-6) ... Setting up libncurses6:armhf (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up libpcre32-3:armhf (2:8.39-12) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:armhf (0.0.6-3) ... Setting up libbsd0:armhf (0.9.1-2) ... Setting up libelf1:armhf (0.176-1.1) ... Setting up libxml2:armhf (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up libpcre3-dev:armhf (2:8.39-12) ... Setting up libpcap0.8-dev:armhf (1.8.1-6) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... 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 libcroco3:armhf (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/pads-1.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package pads dpkg-buildpackage: info: source version 1.2-11.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by gregor herrmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean 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 9 are deprecated (level 5 in use) debian/rules build dh_testdir CFLAGS="-Wall -g -std=gnu89 -O2" ./configure --host=arm-linux-gnueabihf --build=arm-linux-gnueabihf --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc/pads 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 arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-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 arm-linux-gnueabihf-gcc accepts -g... yes checking for arm-linux-gnueabihf-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of arm-linux-gnueabihf-gcc... none checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib Configurating Passive Asset Dection System ... checking how to run the C preprocessor... arm-linux-gnueabihf-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 pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for strlcpy... no checking for strlcat... no GCC 8.3.0 is supported. checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating etc/Makefile config.status: creating lib/Makefile config.status: creating lib/bstring/Makefile config.status: creating src/Makefile config.status: creating src/output/Makefile config.status: creating config.h config.status: executing depfiles commands dh_testdir /usr/bin/make make[1]: Entering directory '/build/pads-1.2' cd . && /bin/sh /build/pads-1.2/missing --run automake-1.9 --foreign Makefile /build/pads-1.2/missing: line 52: automake-1.9: command not found WARNING: `automake-1.9' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh ./config.status Makefile config.status: creating Makefile /usr/bin/make all-recursive make[2]: Entering directory '/build/pads-1.2' Making all in doc make[3]: Entering directory '/build/pads-1.2/doc' cd .. && /bin/sh ./config.status doc/Makefile config.status: creating doc/Makefile make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/pads-1.2/doc' Making all in etc make[3]: Entering directory '/build/pads-1.2/etc' cd .. && /bin/sh ./config.status etc/Makefile config.status: creating etc/Makefile make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/pads-1.2/etc' Making all in lib make[3]: Entering directory '/build/pads-1.2/lib' cd .. && /bin/sh ./config.status lib/Makefile config.status: creating lib/Makefile Making all in bstring make[4]: Entering directory '/build/pads-1.2/lib/bstring' cd ../.. && /bin/sh ./config.status lib/bstring/Makefile config.status: creating lib/bstring/Makefile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -Wall -g -std=gnu89 -O2 -c bstrlib.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -Wall -g -std=gnu89 -O2 -c bstraux.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -Wall -g -std=gnu89 -O2 -c util.c rm -f libbstring.a ar cru libbstring.a bstrlib.o bstraux.o util.o ar: `u' modifier ignored since `D' is the default (see `U') arm-linux-gnueabihf-ranlib libbstring.a make[4]: Leaving directory '/build/pads-1.2/lib/bstring' make[4]: Entering directory '/build/pads-1.2/lib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/build/pads-1.2/lib' make[3]: Leaving directory '/build/pads-1.2/lib' Making all in src make[3]: Entering directory '/build/pads-1.2/src' cd .. && /bin/sh ./config.status src/Makefile config.status: creating src/Makefile Making all in output make[4]: Entering directory '/build/pads-1.2/src/output' cd ../.. && /bin/sh ./config.status src/output/Makefile config.status: creating src/output/Makefile arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -Wall -g -std=gnu89 -O2 -c output.c output.c: In function 'print_arp_asset': output.c:210:4: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] (*head->plugin->print_arp)(rec); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -Wall -g -std=gnu89 -O2 -c output-screen.c output-screen.c: In function 'print_arp_asset_screen': output-screen.c:117:39: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] inet_ntoa(rec->ip_addr), hex2mac(rec->mac_addr), bdata(rec->mac_resolved)); ~~~^~~~~~~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-screen.h:46, from output-screen.c:27: ../../src/util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ output-screen.c:120:39: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] inet_ntoa(rec->ip_addr), hex2mac(rec->mac_addr)); ~~~^~~~~~~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-screen.h:46, from output-screen.c:27: ../../src/util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -Wall -g -std=gnu89 -O2 -c output-csv.c In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: output-csv.c: In function 'init_output_csv': ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:86:21: note: in expansion of macro 'bdata' if ((fp = fopen(bdata(output_csv_conf.filename), "r")) == NULL) { ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:89:43: note: in expansion of macro 'bdata' if ((output_csv_conf.file = fopen(bdata(output_csv_conf.filename), "w")) != NULL) { ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:103:43: note: in expansion of macro 'bdata' if ((output_csv_conf.file = fopen(bdata(output_csv_conf.filename), "a")) == NULL) { ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: output-csv.c: In function 'read_report_file': ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:131:21: note: in expansion of macro 'bdata' if ((fp = fopen(bdata(output_csv_conf.filename), "r")) == NULL) { ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: output-csv.c: In function 'parse_raw_report': ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'inet_aton' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:188:20: note: in expansion of macro 'bdata' if ((inet_aton(bdata(list->entry[0]), &ip_addr)) == -1) ^~~~~ In file included from output-csv.h:45, from output-csv.c:27: /usr/include/arpa/inet.h:73:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; ^~~~~~~~~ In file included from /usr/include/arpa/inet.h:22, from output-csv.h:45, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:191:28: note: in expansion of macro 'bdata' if ((port = htons(atoi(bdata(list->entry[1])))) == -1) ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from output-csv.h:43, from output-csv.c:27: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ In file included from /usr/include/arpa/inet.h:22, from output-csv.h:45, from output-csv.c:27: output-csv.c:191:23: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((port = htons(atoi(bdata(list->entry[1])))) == -1) ^~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:194:23: note: in expansion of macro 'bdata' if ((proto = atoi(bdata(list->entry[2]))) == -1) ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from output-csv.h:43, from output-csv.c:27: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atoi (const char *__nptr)) ^~~~~ output-csv.c:194:18: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((proto = atoi(bdata(list->entry[2]))) == -1) ^~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:203:28: note: in expansion of macro 'bdata' if ((discovered = atol(bdata(list->entry[5]))) == -1) ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from output-csv.h:43, from output-csv.c:27: /usr/include/stdlib.h:366:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^~~~~ output-csv.c:203:23: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((discovered = atol(bdata(list->entry[5]))) == -1) ^~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'mac2hex' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-csv.c:213:17: note: in expansion of macro 'bdata' mac2hex(bdata(application), mac_addr, MAC_LEN); ^~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-csv.h:47, from output-csv.c:27: ../../src/util.h:59:6: note: expected 'const char *' but argument is of type 'unsigned char *' void mac2hex(const char *mac, char *dst, int len); ^~~~~~~ output-csv.c: In function 'print_arp_asset_csv': output-csv.c:280:54: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] bdata(rec->mac_resolved), hex2mac(rec->mac_addr), rec->discovered); ~~~^~~~~~~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-csv.h:47, from output-csv.c:27: ../../src/util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ output-csv.c:283:28: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] hex2mac(rec->mac_addr), rec->discovered); ~~~^~~~~~~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-csv.h:47, from output-csv.c:27: ../../src/util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -Wall -g -std=gnu89 -O2 -c output-fifo.c In file included from ../../src/global.h:75, from output.h:45, from output-fifo.h:48, from output-fifo.c:28: output-fifo.c: In function 'init_output_fifo': ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'mkfifo' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-fifo.c:107:13: note: in expansion of macro 'bdata' mkfifo (bdata(fifo_file), S_IFIFO | 0755); ^~~~~ In file included from output-fifo.h:44, from output-fifo.c:28: /usr/include/arm-linux-gnueabihf/sys/stat.h:346:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int mkfifo (const char *__path, __mode_t __mode) ^~~~~~ output-fifo.c:107:5: warning: null argument where non-null required (argument 1) [-Wnonnull] mkfifo (bdata(fifo_file), S_IFIFO | 0755); ^~~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-fifo.h:48, from output-fifo.c:28: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ output-fifo.c:110:40: note: in expansion of macro 'bdata' if ((output_fifo_conf.file = fopen(bdata(fifo_file), "w+")) == NULL) ^~~~~ In file included from output-fifo.h:43, from output-fifo.c:28: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ output-fifo.c: In function 'print_arp_asset_fifo': output-fifo.c:164:55: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] (char *)rec->mac_resolved, hex2mac(rec->mac_addr), rec->discovered); ~~~^~~~~~~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-fifo.h:48, from output-fifo.c:28: ../../src/util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ output-fifo.c:167:28: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] hex2mac(rec->mac_addr), rec->discovered); ~~~^~~~~~~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-fifo.h:48, from output-fifo.c:28: ../../src/util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ rm -f liboutput.a ar cru liboutput.a output.o output-screen.o output-csv.o output-fifo.o ar: `u' modifier ignored since `D' is the default (see `U') arm-linux-gnueabihf-ranlib liboutput.a make[4]: Leaving directory '/build/pads-1.2/src/output' make[4]: Entering directory '/build/pads-1.2/src' arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c pads.c In file included from global.h:75, from pads.h:50, from pads.c:28: pads.c: In function 'main_pads': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ pads.c:212:45: note: in expansion of macro 'bdata' if (!(gc.handle = pcap_open_offline(bdata(gc.pcap_file), errbuf))) { ^~~~~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:357:18: note: expected 'const char *' but argument is of type 'unsigned char *' PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^~~~~~~~~~~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of 'pcap_dump_open' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ pads.c:270:53: note: in expansion of macro 'bdata' if (!(gc.dumper = pcap_dump_open(gc.handle, bdata(gc.dump_file)))) ^~~~~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:421:25: note: expected 'const char *' but argument is of type 'unsigned char *' PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); ^~~~~~~~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: pads.c: In function 'end_pads': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ pads.c:325:21: note: in expansion of macro 'bdata' if ((unlink(bdata(gc.pid_file))) != 0) ^~~~~ In file included from pads.h:45, from pads.c:28: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ pads.c:325:14: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((unlink(bdata(gc.pid_file))) != 0) ^~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c storage.c storage.c: In function 'print_database': storage.c:485:14: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] hex2mac(arp->mac_addr), arp->discovered); ~~~^~~~~~~~~~ In file included from mac-resolution.h:40, from storage.h:38, from storage.c:27: util.h:60:7: note: expected 'const unsigned char *' but argument is of type 'char *' char *hex2mac(unsigned const char *mac); ^~~~~~~ storage.c: In function 'find_asset': storage.c:403:12: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] Asset *rec; ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c identification.c In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function 'init_identification': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ identification.c:60:21: note: in expansion of macro 'bdata' if ((fp = fopen(bdata(filename), "r")) == NULL) { ^~~~~ In file included from identification.h:32, from identification.c:28: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function 'parse_raw_signature': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'pcre_compile' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ identification.c:148:45: note: in expansion of macro 'bdata' if ((sig->regex = pcre_compile (bdata(pcre_string), 0, &err, &erroffset, NULL)) == NULL) { ^~~~~ In file included from global.h:73, from identification.h:35, from identification.c:28: /usr/include/pcre.h:540:21: note: expected 'const char *' but argument is of type 'unsigned char *' PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *, ^~~~~~~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function 'get_app_name': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ identification.c:314:22: note: in expansion of macro 'bdata' strlcpy(app, bdata(sig->title.app), MAX_APP); ^~~~~ In file included from identification.h:36, from identification.c:28: util.h:53:8: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcpy(char *dst, const char *src, size_t size); ^~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ identification.c:319:26: note: in expansion of macro 'bdata' strlcat(app, bdata(sig->title.ver), MAX_VER); ^~~~~ In file included from identification.h:36, from identification.c:28: util.h:56:8: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcat(char *dst, const char *src, size_t len); ^~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ identification.c:325:26: note: in expansion of macro 'bdata' strlcat(app, bdata(sig->title.misc), MAX_MISC); ^~~~~ In file included from identification.h:36, from identification.c:28: util.h:56:8: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcat(char *dst, const char *src, size_t len); ^~~~~~~ identification.c: In function 'parse_raw_signature': identification.c:130:14: warning: 'title' may be used uninitialized in this function [-Wmaybe-uninitialized] if (title->qty < 3) ~~~~~^~~~~ identification.c:170:8: warning: 'pcre_string' may be used uninitialized in this function [-Wmaybe-uninitialized] if (pcre_string != NULL) ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c packet.c In file included from /usr/include/netinet/in.h:21, from global.h:69, from packet.h:44, from packet.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ packet.c: In function 'process_arp': packet.c:160:39: warning: pointer targets in passing argument 2 of 'check_arp_asset' differ in signedness [-Wpointer-sign] if (check_arp_asset(ip_addr, arph->arp_sha) == 1) { ~~~~^~~~~~~~~ In file included from packet.h:45, from packet.c:28: storage.h:58:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} int check_arp_asset (struct in_addr ip_addr, char mac_addr[MAC_LEN]); ^~~~~~~~~~~~~~~ packet.c:161:30: warning: pointer targets in passing argument 2 of 'add_arp_asset' differ in signedness [-Wpointer-sign] add_arp_asset(ip_addr, arph->arp_sha, 0); ~~~~^~~~~~~~~ In file included from packet.h:45, from packet.c:28: storage.h:60:6: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} void add_arp_asset (struct in_addr ip_addr, char mac_addr[MAC_LEN], time_t discovered); ^~~~~~~~~~~~~ packet.c:162:33: warning: pointer targets in passing argument 2 of 'print_arp_asset' differ in signedness [-Wpointer-sign] print_arp_asset (ip_addr, arph->arp_sha); ~~~~^~~~~~~~~ In file included from pads.h:52, from util.h:42, from mac-resolution.h:40, from storage.h:38, from packet.h:45, from packet.c:28: output/output.h:81:5: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} int print_arp_asset (struct in_addr ip_addr, char mac_addr[MAC_LEN]); ^~~~~~~~~~~~~~~ packet.c: In function 'process_tcp': packet.c:225:11: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] payload = (u_char *)(packet + sizeof(struct tcphdr) + len); ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c monnet.c monnet.c: In function 'parse_networks': monnet.c:83:2: warning: value computed is not used [-Wunused-value] *cmdline++; ^~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c mac-resolution.c In file included from global.h:75, from mac-resolution.h:39, from mac-resolution.c:34: mac-resolution.c: In function 'init_mac_resolution': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ mac-resolution.c:63:21: note: in expansion of macro 'bdata' if ((fp = fopen(bdata(filename), "r")) == NULL) { ^~~~~ In file included from mac-resolution.h:38, from mac-resolution.c:34: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from global.h:75, from mac-resolution.h:39, from mac-resolution.c:34: mac-resolution.c: In function 'parse_raw_mac': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ mac-resolution.c:103:16: note: in expansion of macro 'bdata' if (sscanf(bdata(line), "%02X:%02X:%02X %80[^,\n],\n", &m1, &m2, &m3, vendor) != 4) ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mac-resolution.h:38, from mac-resolution.c:34: /usr/include/stdio.h:414:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c configuration.c In file included from global.h:75, from configuration.h:45, from configuration.c:28: configuration.c: In function 'init_configuration': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ configuration.c:47:21: note: in expansion of macro 'bdata' if ((fp = fopen(bdata(filename), "r")) == NULL) { ^~~~~ In file included from configuration.h:44, from configuration.c:28: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from global.h:75, from configuration.h:45, from configuration.c:28: configuration.c: In function 'parse_line': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'parse_networks' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ configuration.c:150:24: note: in expansion of macro 'bdata' parse_networks(bdata(value)); ^~~~~ In file included from pads.h:56, from util.h:42, from configuration.h:46, from configuration.c:28: monnet.h:48:6: note: expected 'char *' but argument is of type 'unsigned char *' void parse_networks (char *cmdline); ^~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -Wall -g -std=gnu89 -O2 -c util.c In file included from global.h:75, from util.h:41, from util.c:28: util.c: In function 'init_pid_file': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ util.c:103:21: note: in expansion of macro 'bdata' if ((fp = fopen(bdata(pid_file), "w")) != NULL) { ^~~~~ In file included from util.h:32, from util.c:28: /usr/include/stdio.h:246:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'getgrnam' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ util.c:115:32: note: in expansion of macro 'bdata' if ((this_group = getgrnam(bdata(group))) == NULL) ^~~~~ In file included from util.h:37, from util.c:28: /usr/include/grp.h:107:22: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct group *getgrnam (const char *__name); ^~~~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ util.c:117:31: note: in expansion of macro 'bdata' if ((this_user = getpwnam(bdata(user))) == NULL) ^~~~~ In file included from util.h:38, from util.c:28: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ util.c:117:22: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((this_user = getpwnam(bdata(user))) == NULL) ^~~~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ util.c:119:16: note: in expansion of macro 'bdata' if ((chown(bdata(pid_file), this_user->pw_uid, this_group->gr_gid)) != 0) ^~~~~ In file included from util.h:31, from util.c:28: /usr/include/unistd.h:473:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ util.c:119:10: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((chown(bdata(pid_file), this_user->pw_uid, this_group->gr_gid)) != 0) ^~~~~ In file included from global.h:75, from util.h:41, from util.c:28: util.c: In function 'drop_privs': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'getgrnam' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ util.c:366:32: note: in expansion of macro 'bdata' if ((this_group = getgrnam(bdata(newgroup))) == NULL) ^~~~~ In file included from util.h:37, from util.c:28: /usr/include/grp.h:107:22: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct group *getgrnam (const char *__name); ^~~~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) ^ ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' #define bdata(b) (bdataofs (b, 0)) ^~~~~~~~ util.c:369:31: note: in expansion of macro 'bdata' if ((this_user = getpwnam(bdata(newuser))) == NULL) ^~~~~ In file included from util.h:38, from util.c:28: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ util.c:369:22: warning: null argument where non-null required (argument 1) [-Wnonnull] if ((this_user = getpwnam(bdata(newuser))) == NULL) ^~~~~~~~ util.c: In function 'strlcat': util.c:328:9: warning: 'tocopy' is used uninitialized in this function [-Wuninitialized] while (tocopy-- && *dstptr) dstptr++; ^ arm-linux-gnueabihf-gcc -Wall -g -std=gnu89 -O2 -lpcre -o pads pads.o storage.o identification.o packet.o monnet.o mac-resolution.o configuration.o util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap cat ./pads-report.pl >> pads-report chmod +x pads-report make[4]: Leaving directory '/build/pads-1.2/src' make[3]: Leaving directory '/build/pads-1.2/src' make[3]: Entering directory '/build/pads-1.2' make[3]: Leaving directory '/build/pads-1.2' make[2]: Leaving directory '/build/pads-1.2' make[1]: Leaving directory '/build/pads-1.2' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_clean: This feature will be removed in compat 12. dh_installdirs dh_installdirs: Compatibility levels before 9 are deprecated (level 5 in use) # Add here commands to install the package into debian/pads. cd src && /usr/bin/make install DESTDIR=/build/pads-1.2/debian/pads make[1]: Entering directory '/build/pads-1.2/src' Making install in output make[2]: Entering directory '/build/pads-1.2/src/output' make[3]: Entering directory '/build/pads-1.2/src/output' 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/pads-1.2/src/output' make[2]: Leaving directory '/build/pads-1.2/src/output' make[2]: Entering directory '/build/pads-1.2/src' make[3]: Entering directory '/build/pads-1.2/src' test -z "/usr/bin" || mkdir -p -- "/build/pads-1.2/debian/pads/usr/bin" /usr/bin/install -c 'pads' '/build/pads-1.2/debian/pads/usr/bin/pads' test -z "/usr/bin" || mkdir -p -- "/build/pads-1.2/debian/pads/usr/bin" /usr/bin/install -c 'pads-report' '/build/pads-1.2/debian/pads/usr/bin/pads-report' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/pads-1.2/src' make[2]: Leaving directory '/build/pads-1.2/src' make[1]: Leaving directory '/build/pads-1.2/src' cd etc && /usr/bin/make install DESTDIR=/build/pads-1.2/debian/pads make[1]: Entering directory '/build/pads-1.2/etc' make[2]: Entering directory '/build/pads-1.2/etc' test -z "/etc/pads" || mkdir -p -- "/build/pads-1.2/debian/pads/etc/pads" /usr/bin/install -c -m 644 'pads.conf' '/build/pads-1.2/debian/pads/etc/pads/pads.conf' /usr/bin/install -c -m 644 'pads-signature-list' '/build/pads-1.2/debian/pads/etc/pads/pads-signature-list' /usr/bin/install -c -m 644 'pads-ether-codes' '/build/pads-1.2/debian/pads/etc/pads/pads-ether-codes' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/pads-1.2/etc' make[1]: Leaving directory '/build/pads-1.2/etc' # docs are installed via pads.docs # manpages are installed via pads.manpages dh_testdir dh_testroot dh_installchangelogs doc/ChangeLog dh_installdocs dh_installdocs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installexamples dh_installexamples: Compatibility levels before 9 are deprecated (level 5 in use) dh_installinit dh_installinit: Compatibility levels before 9 are deprecated (level 5 in use) dh_installman dh_installman: Compatibility levels before 9 are deprecated (level 5 in use) dh_link dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) dh_compress dh_compress: Compatibility levels before 9 are deprecated (level 5 in use) dh_fixperms dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 5 in use) dh_shlibdeps dh_shlibdeps: Compatibility levels before 9 are deprecated (level 5 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'pads-dbgsym' in '../pads-dbgsym_1.2-11.1_armhf.deb'. dpkg-deb: building package 'pads' in '../pads_1.2-11.1_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pads_1.2-11.1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/26566/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/26566/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/26566 and its subdirectories I: Current time: Sun Aug 9 21:16:06 +14 2020 I: pbuilder-time-stamp: 1596957366