Diff of the two buildlogs: -- --- b1/build.log 2021-07-26 06:14:11.471395502 +0000 +++ b2/build.log 2021-07-26 06:15:25.816619664 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jul 25 18:12:47 -12 2021 -I: pbuilder-time-stamp: 1627279967 +I: Current time: Mon Jul 26 20:14:20 +14 2021 +I: pbuilder-time-stamp: 1627280060 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./pads_1.2-12.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.oJbuCusO/trustedkeys.kbx': General error -gpgv: Signature made Sun Jan 19 08:42:40 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.DZd_wd93/trustedkeys.kbx': General error +gpgv: Signature made Mon Jan 20 10:42:40 2020 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pads_1.2-12.dsc @@ -29,135 +29,169 @@ dpkg-source: info: applying fix_linker.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21895/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14490/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1c. +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/14490/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14490/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(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,-fixfilepath 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='d65050d584c946b593cf55e03d2cb02f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='21895' - PS1='# ' - PS2='> ' + INVOCATION_ID=d042de16ce6141129eb6775b588ae040 + 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=14490 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Cz0q468Onh/pbuilderrc_jfCk --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Cz0q468Onh/b1 --logfile b1/build.log pads_1.2-12.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.Cz0q468Onh/pbuilderrc_asV1 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Cz0q468Onh/b2 --logfile b2/build.log --extrapackages usrmerge pads_1.2-12.dsc' + SUDO_GID=114 + SUDO_UID=108 + 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 virt32c 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-2 (2021-07-20) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-arm64 #1 SMP Debian 5.10.46-2 (2021-07-20) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Feb 7 02:38 more - -rwsr-xr-x 1 root root 34400 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 9824 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 21 21:24 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Feb 7 02:38 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/21895/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Feb 8 04:38 more + -rwsr-xr-x 1 root root 34400 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 9824 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 26 20:14 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 24 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Feb 8 04:38 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/14490/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -238,7 +272,7 @@ Get: 39 http://deb.debian.org/debian bullseye/main armhf libpcre32-3 armhf 2:8.39-13 [231 kB] Get: 40 http://deb.debian.org/debian bullseye/main armhf libpcrecpp0v5 armhf 2:8.39-13 [150 kB] Get: 41 http://deb.debian.org/debian bullseye/main armhf libpcre3-dev armhf 2:8.39-13 [587 kB] -Fetched 21.0 MB in 2s (13.1 MB/s) +Fetched 21.0 MB in 3s (8090 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19398 files and directories currently installed.) @@ -418,8 +452,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 2s (32.6 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 21635 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/pads-1.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../pads_1.2-12_source.changes +hostname: Name or service not known +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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pads_1.2-12_source.changes dpkg-buildpackage: info: source package pads dpkg-buildpackage: info: source version 1.2-12 dpkg-buildpackage: info: source distribution unstable @@ -446,7 +517,7 @@ ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --sysconfdir=/etc/pads checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -468,8 +539,8 @@ Configurating Passive Asset Dection System ... checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -521,7 +592,7 @@ config.status: executing depfiles commands make[1]: Leaving directory '/build/pads-1.2' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/pads-1.2' make all-recursive make[2]: Entering directory '/build/pads-1.2' @@ -556,6 +627,7 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o output.o output.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o output-screen.o output-screen.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o output-csv.o output-csv.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o output-fifo.o output-fifo.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] 117 | inet_ntoa(rec->ip_addr), hex2mac(rec->mac_addr), bdata(rec->mac_resolved)); @@ -843,11 +915,6 @@ ../../src/util.h:60:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ -output.c: In function 'print_arp_asset': -output.c:210:4: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] - 210 | (*head->plugin->print_arp)(rec); - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o output-fifo.o output-fifo.c In file included from ../../src/global.h:75, from output.h:45, from output-fifo.h:48, @@ -898,6 +965,10 @@ /usr/include/stdio.h:246:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +output.c: In function 'print_arp_asset': +output.c:210:4: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] + 210 | (*head->plugin->print_arp)(rec); + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 164 | (char *)rec->mac_resolved, hex2mac(rec->mac_addr), rec->discovered); @@ -934,110 +1005,14 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o pads.o pads.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o storage.o storage.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o identification.o identification.c -pads.c: In function 'print_version': -pads.c:146:37: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); - | ^~~~~~~~ -pads.c:146:47: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); - | ^~~~~~~~ -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] - 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) - | ^ - | | - | unsigned char * -../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' - 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) - | ^~~~~~~~~ -../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' - 134 | #define bdata(b) (bdataofs (b, 0)) - | ^~~~~~~~ -pads.c:212:45: note: in expansion of macro 'bdata' - 212 | 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:527:36: note: expected 'const char *' but argument is of type 'unsigned char *' - 527 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); - | ^~~~~~~~~~~~ -pads.c:228:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] - 228 | if (!(gc.dev = pcap_lookupdev(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:394:16: note: declared here - 394 | PCAP_API char *pcap_lookupdev(char *) - | ^~~~~~~~~~~~~~ -storage.c: In function 'print_database': -storage.c:485:14: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] - 485 | hex2mac(arp->mac_addr), arp->discovered); - | ~~~^~~~~~~~~~ - | | - | char * -In file included from mac-resolution.h:40, - from storage.h:38, - from storage.c:27: -util.h:60:36: note: expected 'const unsigned char *' but argument is of type 'char *' - 60 | char *hex2mac(unsigned const char *mac); - | ~~~~~~~~~~~~~~~~~~~~~^~~ -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] - 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) - | ^ - | | - | unsigned char * -../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' - 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) - | ^~~~~~~~~ -../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' - 134 | #define bdata(b) (bdataofs (b, 0)) - | ^~~~~~~~ -pads.c:270:53: note: in expansion of macro 'bdata' - 270 | 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:695:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 695 | 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] - 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) - | ^ - | | - | unsigned char * -../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' - 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) - | ^~~~~~~~~ -../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' - 134 | #define bdata(b) (bdataofs (b, 0)) - | ^~~~~~~~ -pads.c:325:21: note: in expansion of macro 'bdata' - 325 | if ((unlink(bdata(gc.pid_file))) != 0) - | ^~~~~ -In file included from pads.h:45, - from pads.c:28: -/usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'unsigned char *' - 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); - | ~~~~~~~~~~~~^~~~~~ -pads.c:325:14: warning: null argument where non-null required (argument 1) [-Wnonnull] - 325 | if ((unlink(bdata(gc.pid_file))) != 0) - | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o packet.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + | ^~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: @@ -1085,10 +1060,45 @@ /usr/include/pcre.h:540:34: note: expected 'const char *' but argument is of type 'unsigned char *' 540 | PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *, | ^~~~~~~~~~~~ +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] + 160 | if (check_arp_asset(ip_addr, arph->arp_sha) == 1) { + | ~~~~^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from packet.h:45, + from packet.c:28: +storage.h:58:51: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 58 | 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] + 161 | add_arp_asset(ip_addr, arph->arp_sha, 0); + | ~~~~^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from packet.h:45, + from packet.c:28: +storage.h:60:50: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 60 | void add_arp_asset (struct in_addr ip_addr, char mac_addr[MAC_LEN], time_t discovered); + | ~~~~~^~~~~~~~~~~~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function 'get_app_name': +packet.c:162:33: warning: pointer targets in passing argument 2 of 'print_arp_asset' differ in signedness [-Wpointer-sign] + 162 | print_arp_asset (ip_addr, arph->arp_sha); + | ~~~~^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +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:51: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 81 | int print_arp_asset (struct in_addr ip_addr, char mac_addr[MAC_LEN]); + | ~~~~~^~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ @@ -1108,6 +1118,10 @@ util.h:53:39: note: expected 'const char *' but argument is of type 'unsigned char *' 53 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~~~~~~~^~~ +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] + 225 | payload = (u_char *)(packet + sizeof(struct tcphdr) + len); + | ^ In file included from global.h:75, from identification.h:35, from identification.c:28: @@ -1152,6 +1166,110 @@ util.h:56:39: note: expected 'const char *' but argument is of type 'unsigned char *' 56 | size_t strlcat(char *dst, const char *src, size_t len); | ~~~~~~~~~~~~^~~ +storage.c: In function 'print_database': +pads.c: In function 'print_version': +storage.c:485:14: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] + 485 | hex2mac(arp->mac_addr), arp->discovered); + | ~~~^~~~~~~~~~ + | | + | char * +In file included from mac-resolution.h:40, + from storage.h:38, + from storage.c:27: +util.h:60:36: note: expected 'const unsigned char *' but argument is of type 'char *' + 60 | char *hex2mac(unsigned const char *mac); + | ~~~~~~~~~~~~~~~~~~~~~^~~ +pads.c:146:37: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); + | ^~~~~~~~ +pads.c:146:47: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); + | ^~~~~~~~ +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] + 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) + | ^ + | | + | unsigned char * +../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' + 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) + | ^~~~~~~~~ +../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' + 134 | #define bdata(b) (bdataofs (b, 0)) + | ^~~~~~~~ +pads.c:212:45: note: in expansion of macro 'bdata' + 212 | 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:527:36: note: expected 'const char *' but argument is of type 'unsigned char *' + 527 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); + | ^~~~~~~~~~~~ +pads.c:228:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] + 228 | if (!(gc.dev = pcap_lookupdev(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:394:16: note: declared here + 394 | PCAP_API char *pcap_lookupdev(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] + 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) + | ^ + | | + | unsigned char * +../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' + 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) + | ^~~~~~~~~ +../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' + 134 | #define bdata(b) (bdataofs (b, 0)) + | ^~~~~~~~ +pads.c:270:53: note: in expansion of macro 'bdata' + 270 | 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:695:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 695 | 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] + 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) + | ^ + | | + | unsigned char * +../lib/bstring/bstrlib.h:132:30: note: in expansion of macro 'bdataofse' + 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) + | ^~~~~~~~~ +../lib/bstring/bstrlib.h:134:30: note: in expansion of macro 'bdataofs' + 134 | #define bdata(b) (bdataofs (b, 0)) + | ^~~~~~~~ +pads.c:325:21: note: in expansion of macro 'bdata' + 325 | if ((unlink(bdata(gc.pid_file))) != 0) + | ^~~~~ +In file included from pads.h:45, + from pads.c:28: +/usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'unsigned char *' + 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); + | ~~~~~~~~~~~~^~~~~~ +pads.c:325:14: warning: null argument where non-null required (argument 1) [-Wnonnull] + 325 | if ((unlink(bdata(gc.pid_file))) != 0) + | ^~~~~~ identification.c: In function 'parse_raw_signature': identification.c:130:14: warning: 'title' may be used uninitialized in this function [-Wmaybe-uninitialized] 130 | if (title->qty < 3) @@ -1159,59 +1277,12 @@ identification.c:170:8: warning: 'pcre_string' may be used uninitialized in this function [-Wmaybe-uninitialized] 170 | if (pcre_string != NULL) | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o monnet.o monnet.c storage.c: In function 'find_asset': storage.c:403:12: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | Asset *rec; | ^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o packet.o 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:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o monnet.o monnet.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o mac-resolution.o mac-resolution.c -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] - 160 | if (check_arp_asset(ip_addr, arph->arp_sha) == 1) { - | ~~~~^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from packet.h:45, - from packet.c:28: -storage.h:58:51: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 58 | 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] - 161 | add_arp_asset(ip_addr, arph->arp_sha, 0); - | ~~~~^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from packet.h:45, - from packet.c:28: -storage.h:60:50: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 60 | 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] - 162 | print_arp_asset (ip_addr, arph->arp_sha); - | ~~~~^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -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:51: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 81 | 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] - 225 | payload = (u_char *)(packet + sizeof(struct tcphdr) + len); - | ^ monnet.c: In function 'parse_networks': monnet.c:83:2: warning: value computed is not used [-Wunused-value] 83 | *cmdline++; @@ -1264,6 +1335,8 @@ 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o util.o util.c +cat ./pads-report.pl >> pads-report +chmod +x pads-report In file included from global.h:75, from configuration.h:45, from configuration.c:28: @@ -1312,8 +1385,6 @@ monnet.h:48:28: note: expected 'char *' but argument is of type 'unsigned char *' 48 | void parse_networks (char *cmdline); | ~~~~~~^~~~~~~ -cat ./pads-report.pl >> pads-report -chmod +x pads-report In file included from global.h:75, from util.h:41, from util.c:28: @@ -1469,7 +1540,7 @@ make[2]: Leaving directory '/build/pads-1.2' make[1]: Leaving directory '/build/pads-1.2' dh_auto_test - make -j3 check VERBOSE=1 + make -j4 check VERBOSE=1 make[1]: Entering directory '/build/pads-1.2' Making check in doc make[2]: Entering directory '/build/pads-1.2/doc' @@ -1508,7 +1579,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/pads-1.2' dh_auto_install -- -C src - make -j3 install DESTDIR=/build/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C src + make -j4 install DESTDIR=/build/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C src make[2]: Entering directory '/build/pads-1.2/src' Making install in output make[3]: Entering directory '/build/pads-1.2/src/output' @@ -1519,20 +1590,20 @@ make[3]: Leaving directory '/build/pads-1.2/src/output' make[3]: Entering directory '/build/pads-1.2/src' make[4]: Entering directory '/build/pads-1.2/src' - /bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' make[4]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' + /usr/bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' + /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' /usr/bin/install -c pads '/build/pads-1.2/debian/pads/usr/bin' make[4]: Leaving directory '/build/pads-1.2/src' make[3]: Leaving directory '/build/pads-1.2/src' make[2]: Leaving directory '/build/pads-1.2/src' dh_auto_install -- -C etc - make -j3 install DESTDIR=/build/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C etc + make -j4 install DESTDIR=/build/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C etc make[2]: Entering directory '/build/pads-1.2/etc' make[3]: Entering directory '/build/pads-1.2/etc' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/pads-1.2/debian/pads/etc/pads' + /usr/bin/mkdir -p '/build/pads-1.2/debian/pads/etc/pads' /usr/bin/install -c -m 644 pads.conf pads-signature-list pads-ether-codes '/build/pads-1.2/debian/pads/etc/pads' make[3]: Leaving directory '/build/pads-1.2/etc' make[2]: Leaving directory '/build/pads-1.2/etc' @@ -1557,8 +1628,8 @@ dpkg-gencontrol: warning: package pads: substitution variable ${perl:Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'pads' in '../pads_1.2-12_armhf.deb'. dpkg-deb: building package 'pads-dbgsym' in '../pads-dbgsym_1.2-12_armhf.deb'. +dpkg-deb: building package 'pads' in '../pads_1.2-12_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pads_1.2-12_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1566,12 +1637,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/14490/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14490/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/21895 and its subdirectories -I: Current time: Sun Jul 25 18:14:07 -12 2021 -I: pbuilder-time-stamp: 1627280047 +I: removing directory /srv/workspace/pbuilder/14490 and its subdirectories +I: Current time: Mon Jul 26 20:15:21 +14 2021 +I: pbuilder-time-stamp: 1627280121