I: pbuilder: network access will be disabled during build I: Current time: Thu Mar 16 09:50:00 +14 2023 I: pbuilder-time-stamp: 1678909800 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-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-12.dsc] I: copying [./pads_1.2.orig.tar.gz] 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.BH2TY4y5/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 dpkg-source: info: extracting pads in pads-1.2 dpkg-source: info: unpacking pads_1.2.orig.tar.gz dpkg-source: info: unpacking pads_1.2-12.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying import.patch 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/3443830/tmp/hooks/D01_modify_environment starting debug: Running on ionos15-amd64. 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/3443830/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/3443830/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]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") 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=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=93021c0f08b44101aeed67ccb32a3921 LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu 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=3443830 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.fwFQ4VJmyJ/pbuilderrc_toCN --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.fwFQ4VJmyJ/b2 --logfile b2/build.log pads_1.2-12.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://85.184.249.68:3128 I: uname -a Linux i-capture-the-hostname 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash -rwxr-xr-x 1 root root 113664 Sep 24 2020 date -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd -rwxr-xr-x 1 root root 93936 Sep 24 2020 df -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir -rwxr-xr-x 1 root root 84440 Jul 29 2021 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 39712 Sep 24 2020 echo -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep -rwxr-xr-x 1 root root 39680 Sep 24 2020 false -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln -rwxr-xr-x 1 root root 56952 Feb 8 2020 login -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp -rwxr-xr-x 1 root root 59632 Jul 29 2021 more -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Mar 16 09:50 sh -> bash lrwxrwxrwx 1 root root 4 Mar 13 05:46 sh.distrib -> dash -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty -rwsr-xr-x 1 root root 71912 Jul 29 2021 su -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch -rwxr-xr-x 1 root root 39680 Sep 24 2020 true -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew I: user script /srv/workspace/pbuilder/3443830/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: amd64 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-compat (= 12), 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 ... 19655 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-compat (= 12); however: Package debhelper-compat 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} bsdextrautils{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} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libpcap0.8{a} libpcap0.8-dev{a} libpcre16-3{a} libpcre3-dev{a} libpcre32-3{a} libpcrecpp0v5{a} libpipeline1{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libglib2.0-data libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 41 newly installed, 0 to remove and 0 not upgraded. Need to get 22.0 MB of archives. After unpacking 78.3 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8 [145 kB] Get: 2 http://deb.debian.org/debian bullseye/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 3 http://deb.debian.org/debian bullseye/main amd64 groff-base amd64 1.22.4-6 [936 kB] Get: 4 http://deb.debian.org/debian bullseye/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB] Get: 5 http://deb.debian.org/debian bullseye/main amd64 man-db amd64 2.9.4-2 [1354 kB] Get: 6 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main amd64 libmagic-mgc amd64 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main amd64 libmagic1 amd64 1:5.39-3 [126 kB] Get: 9 http://deb.debian.org/debian bullseye/main amd64 file amd64 1:5.39-3 [69.1 kB] Get: 10 http://deb.debian.org/debian bullseye/main amd64 gettext-base amd64 0.21-4 [175 kB] Get: 11 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB] Get: 12 http://deb.debian.org/debian bullseye/main amd64 m4 amd64 1.4.18-5 [204 kB] Get: 13 http://deb.debian.org/debian bullseye/main amd64 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main amd64 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main amd64 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main amd64 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main amd64 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main amd64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main amd64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main amd64 libelf1 amd64 0.183-1 [165 kB] Get: 25 http://deb.debian.org/debian bullseye/main amd64 dwz amd64 0.13+20210201-1 [175 kB] Get: 26 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB] Get: 27 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7 [693 kB] Get: 28 http://deb.debian.org/debian bullseye/main amd64 gettext amd64 0.21-4 [1311 kB] Get: 29 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 libdbus-1-3 amd64 1.12.20-2 [219 kB] Get: 33 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1370 kB] Get: 34 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB] Get: 35 http://deb.debian.org/debian bullseye/main amd64 libdbus-1-dev amd64 1.12.20-2 [256 kB] Get: 36 http://deb.debian.org/debian bullseye/main amd64 libpcap0.8 amd64 1.10.0-2 [159 kB] Get: 37 http://deb.debian.org/debian bullseye/main amd64 libpcap0.8-dev amd64 1.10.0-2 [281 kB] Get: 38 http://deb.debian.org/debian bullseye/main amd64 libpcre16-3 amd64 2:8.39-13 [259 kB] Get: 39 http://deb.debian.org/debian bullseye/main amd64 libpcre32-3 amd64 2:8.39-13 [250 kB] Get: 40 http://deb.debian.org/debian bullseye/main amd64 libpcrecpp0v5 amd64 2:8.39-13 [152 kB] Get: 41 http://deb.debian.org/debian bullseye/main amd64 libpcre3-dev amd64 2:8.39-13 [650 kB] Fetched 22.0 MB in 0s (64.9 MB/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 ... 19655 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8_amd64.deb ... Unpacking bsdextrautils (2.36.1-8) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_amd64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_amd64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_amd64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../07-libmagic1_1%3a5.39-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_amd64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_amd64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../10-libsigsegv2_2.13-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_amd64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../23-libelf1_0.183-1_amd64.deb ... Unpacking libelf1:amd64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_amd64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:amd64. Preparing to unpack .../25-libicu67_67.1-7_amd64.deb ... Unpacking libicu67:amd64 (67.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_amd64.deb ... Unpacking libxml2:amd64 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_amd64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-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 .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../31-libdbus-1-3_1.12.20-2_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.12.20-2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../32-libglib2.0-0_2.66.8-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.66.8-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../33-pkg-config_0.29.2-1_amd64.deb ... Unpacking pkg-config (0.29.2-1) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../34-libdbus-1-dev_1.12.20-2_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.12.20-2) ... Selecting previously unselected package libpcap0.8:amd64. Preparing to unpack .../35-libpcap0.8_1.10.0-2_amd64.deb ... Unpacking libpcap0.8:amd64 (1.10.0-2) ... Selecting previously unselected package libpcap0.8-dev:amd64. Preparing to unpack .../36-libpcap0.8-dev_1.10.0-2_amd64.deb ... Unpacking libpcap0.8-dev:amd64 (1.10.0-2) ... Selecting previously unselected package libpcre16-3:amd64. Preparing to unpack .../37-libpcre16-3_2%3a8.39-13_amd64.deb ... Unpacking libpcre16-3:amd64 (2:8.39-13) ... Selecting previously unselected package libpcre32-3:amd64. Preparing to unpack .../38-libpcre32-3_2%3a8.39-13_amd64.deb ... Unpacking libpcre32-3:amd64 (2:8.39-13) ... Selecting previously unselected package libpcrecpp0v5:amd64. Preparing to unpack .../39-libpcrecpp0v5_2%3a8.39-13_amd64.deb ... Unpacking libpcrecpp0v5:amd64 (2:8.39-13) ... Selecting previously unselected package libpcre3-dev:amd64. Preparing to unpack .../40-libpcre3-dev_2%3a8.39-13_amd64.deb ... Unpacking libpcre3-dev:amd64 (2:8.39-13) ... Setting up libpcrecpp0v5:amd64 (2:8.39-13) ... Setting up libpipeline1:amd64 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libpcre16-3:amd64 (2:8.39-13) ... Setting up libicu67:amd64 (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:amd64 (2.66.8-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.3.4) ... Setting up libmagic1:amd64 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libdbus-1-3:amd64 (1.12.20-2) ... Setting up libsigsegv2:amd64 (2.13-1) ... Setting up libpcre32-3:amd64 (2:8.39-13) ... Setting up autopoint (0.21-4) ... Setting up pkg-config (0.29.2-1) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:amd64 (0.183-1) ... Setting up libxml2:amd64 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up libpcre3-dev:amd64 (2:8.39-13) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpcap0.8:amd64 (1.10.0-2) ... Setting up libdbus-1-dev:amd64 (1.12.20-2) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up libpcap0.8-dev:amd64 (1.10.0-2) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4) ... Processing triggers for libc-bin (2.31-13+deb11u2) ... 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 I: Building the package 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 dpkg-buildpackage: info: source changed by Sudip Mukherjee dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:21: installing './compile' lib/bstring/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/output/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') debian/rules override_dh_auto_configure make[1]: Entering directory '/build/pads-1.2' dh_auto_configure -- --sysconfdir=/etc/pads ./configure --build=x86_64-linux-gnu --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/x86_64-linux-gnu --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 gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for ranlib... ranlib 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 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 10.2.1 is supported. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking that generated files are newer than configure... done 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 make[1]: Leaving directory '/build/pads-1.2' dh_auto_build make -j16 make[1]: Entering directory '/build/pads-1.2' make all-recursive make[2]: Entering directory '/build/pads-1.2' Making all in doc make[3]: Entering directory '/build/pads-1.2/doc' 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' 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' Making all in bstring make[4]: Entering directory '/build/pads-1.2/lib/bstring' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -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 bstrlib.o bstrlib.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -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 bstraux.o bstraux.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -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 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') 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' Making all in output make[4]: Entering directory '/build/pads-1.2/src/output' 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 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] 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)) | ^~~~~~~~ output-fifo.c:107:13: note: in expansion of macro 'bdata' 107 | mkfifo (bdata(fifo_file), S_IFIFO | 0755); | ^~~~~ In file included from output-fifo.h:44, from output-fifo.c:28: /usr/include/x86_64-linux-gnu/sys/stat.h:346:32: note: expected 'const char *' but argument is of type 'unsigned char *' 346 | extern int mkfifo (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ output-fifo.c:107:5: warning: null argument where non-null required (argument 1) [-Wnonnull] 107 | 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] 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)) | ^~~~~~~~ output-fifo.c:110:40: note: in expansion of macro 'bdata' 110 | 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:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 246 | 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 'init_output_csv': output-screen.c: In function 'print_arp_asset_screen': ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' 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)) | ^~~~~~~~ output-csv.c:86:21: note: in expansion of macro 'bdata' 86 | if ((fp = fopen(bdata(output_csv_conf.filename), "r")) == NULL) { | ^~~~~ 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)); | ~~~^~~~~~~~~~ | | | char * 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:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ In file included from output-csv.h:43, from output-csv.c:27: /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-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); | ~~~^~~~~~~~~~ | | | char * output-screen.c:120:39: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] 120 | inet_ntoa(rec->ip_addr), hex2mac(rec->mac_addr)); | ~~~^~~~~~~~~~ | | | char * 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:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ 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:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ 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] 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)) | ^~~~~~~~ output-csv.c:89:43: note: in expansion of macro 'bdata' 89 | if ((output_csv_conf.file = fopen(bdata(output_csv_conf.filename), "w")) != NULL) { | ^~~~~ output-fifo.c:167:28: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] 167 | hex2mac(rec->mac_addr), rec->discovered); | ~~~^~~~~~~~~~ | | | char * In file included from output-csv.h:43, from output-csv.c:27: /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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ 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] 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)) | ^~~~~~~~ output-csv.c:103:43: note: in expansion of macro 'bdata' 103 | 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:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 246 | 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] 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)) | ^~~~~~~~ output-csv.c:131:21: note: in expansion of macro 'bdata' 131 | 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:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 246 | 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] 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)) | ^~~~~~~~ output-csv.c:188:20: note: in expansion of macro 'bdata' 188 | 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:35: note: expected 'const char *' but argument is of type 'unsigned char *' 73 | 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] 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)) | ^~~~~~~~ output-csv.c:191:28: note: in expansion of macro 'bdata' 191 | if ((port = htons(atoi(bdata(list->entry[1])))) == -1) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/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 *' 361 | __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] 191 | 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] 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)) | ^~~~~~~~ output-csv.c:194:23: note: in expansion of macro 'bdata' 194 | if ((proto = atoi(bdata(list->entry[2]))) == -1) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/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 *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ output-csv.c:194:18: warning: null argument where non-null required (argument 1) [-Wnonnull] 194 | 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] 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)) | ^~~~~~~~ output-csv.c:203:28: note: in expansion of macro 'bdata' 203 | if ((discovered = atol(bdata(list->entry[5]))) == -1) | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/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 *' 366 | __NTH (atol (const char *__nptr)) | ^~~~~ output-csv.c:203:23: warning: null argument where non-null required (argument 1) [-Wnonnull] 203 | 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] 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)) | ^~~~~~~~ output-csv.c:213:17: note: in expansion of macro 'bdata' 213 | 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:26: note: expected 'const char *' but argument is of type 'unsigned char *' 59 | 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] 280 | bdata(rec->mac_resolved), hex2mac(rec->mac_addr), rec->discovered); | ~~~^~~~~~~~~~ | | | char * 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:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | 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] 283 | hex2mac(rec->mac_addr), rec->discovered); | ~~~^~~~~~~~~~ | | | char * 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: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); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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') ranlib liboutput.a make[4]: Leaving directory '/build/pads-1.2/src/output' make[4]: Entering directory '/build/pads-1.2/src' 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 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 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 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 configuration.o configuration.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 util.o util.c cat ./pads-report.pl >> pads-report chmod +x pads-report 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 global.h:75, from identification.h:35, from identification.c:28: identification.c: In function 'init_identification': 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 *); | ^~~~~~~~~~~~ ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' 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)) | ^~~~~~~~ identification.c:60:21: note: in expansion of macro 'bdata' 60 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~ In file included from identification.h:32, from identification.c:28: /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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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 *) | ^~~~~~~~~~~~~~ monnet.c: In function 'parse_networks': monnet.c:83:2: warning: value computed is not used [-Wunused-value] 83 | *cmdline++; | ^~~~~~~~~~ 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 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 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 /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 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] 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)) | ^~~~~~~~ identification.c:148:45: note: in expansion of macro 'bdata' 148 | 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: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 *, | ^~~~~~~~~~~~ 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) | ^~~~~~ 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] 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)) | ^~~~~~~~ identification.c:314:22: note: in expansion of macro 'bdata' 314 | strlcpy(app, bdata(sig->title.app), MAX_APP); | ^~~~~ In file included from identification.h:36, from identification.c:28: 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); | ~~~~~~~~~~~~^~~ 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] 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)) | ^~~~~~~~ identification.c:319:26: note: in expansion of macro 'bdata' 319 | strlcat(app, bdata(sig->title.ver), MAX_VER); | ^~~~~ In file included from identification.h:36, from identification.c:28: 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); | ~~~~~~~~~~~~^~~ 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] 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)) | ^~~~~~~~ identification.c:325:26: note: in expansion of macro 'bdata' 325 | strlcat(app, bdata(sig->title.misc), MAX_MISC); | ^~~~~ In file included from identification.h:36, from identification.c:28: 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); | ~~~~~~~~~~~~^~~ 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] 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)) | ^~~~~~~~ mac-resolution.c:63:21: note: in expansion of macro 'bdata' 63 | 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:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 246 | 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] 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)) | ^~~~~~~~ mac-resolution.c:103:16: note: in expansion of macro 'bdata' 103 | if (sscanf(bdata(line), "%02X:%02X:%02X %80[^,\n],\n", &m1, &m2, &m3, vendor) != 4) | ^~~~~ In file included from mac-resolution.h:38, from mac-resolution.c:34: /usr/include/stdio.h:399:43: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ 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); | ^ 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] 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)) | ^~~~~~~~ util.c:103:21: note: in expansion of macro 'bdata' 103 | if ((fp = fopen(bdata(pid_file), "w")) != NULL) { | ^~~~~ In file included from util.h:32, from util.c:28: /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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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] 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)) | ^~~~~~~~ util.c:115:32: note: in expansion of macro 'bdata' 115 | if ((this_group = getgrnam(bdata(group))) == NULL) | ^~~~~ In file included from util.h:37, from util.c:28: /usr/include/grp.h:107:44: note: expected 'const char *' but argument is of type 'unsigned char *' 107 | 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] 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)) | ^~~~~~~~ util.c:117:31: note: in expansion of macro 'bdata' 117 | if ((this_user = getpwnam(bdata(user))) == NULL) | ^~~~~ In file included from util.h:38, from util.c:28: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ util.c:117:22: warning: null argument where non-null required (argument 1) [-Wnonnull] 117 | 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] 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)) | ^~~~~~~~ util.c:119:16: note: in expansion of macro 'bdata' 119 | 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:31: note: expected 'const char *' but argument is of type 'unsigned char *' 473 | 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] 119 | if ((chown(bdata(pid_file), this_user->pw_uid, this_group->gr_gid)) != 0) | ^~~~~ 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] 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)) | ^~~~~~~~ configuration.c:47:21: note: in expansion of macro 'bdata' 47 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~ In file included from configuration.h:44, from configuration.c:28: /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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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] 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)) | ^~~~~~~~ util.c:366:32: note: in expansion of macro 'bdata' 366 | if ((this_group = getgrnam(bdata(newgroup))) == NULL) | ^~~~~ In file included from util.h:37, from util.c:28: /usr/include/grp.h:107:44: note: expected 'const char *' but argument is of type 'unsigned char *' 107 | extern struct group *getgrnam (const char *__name); | ~~~~~~~~~~~~^~~~~~ 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] 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)) | ^~~~~~~~ configuration.c:150:24: note: in expansion of macro 'bdata' 150 | 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:28: note: expected 'char *' but argument is of type 'unsigned char *' 48 | void parse_networks (char *cmdline); | ~~~~~~^~~~~~~ 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] 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)) | ^~~~~~~~ util.c:369:31: note: in expansion of macro 'bdata' 369 | if ((this_user = getpwnam(bdata(newuser))) == NULL) | ^~~~~ In file included from util.h:38, from util.c:28: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ util.c:369:22: warning: null argument where non-null required (argument 1) [-Wnonnull] 369 | if ((this_user = getpwnam(bdata(newuser))) == NULL) | ^~~~~~~~ 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) | ~~~~~^~~~~ identification.c:170:8: warning: 'pcre_string' may be used uninitialized in this function [-Wmaybe-uninitialized] 170 | if (pcre_string != NULL) | ^ storage.c: In function 'find_asset': storage.c:403:12: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | Asset *rec; | ^~~ util.c: In function 'strlcat': util.c:328:9: warning: 'tocopy' is used uninitialized in this function [-Wuninitialized] 328 | while (tocopy-- && *dstptr) dstptr++; | ^ gcc -g -O2 -fdebug-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -Wl,-z,relro -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 -lpcre -lpcap 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' dh_auto_test make -j16 check VERBOSE=1 make[1]: Entering directory '/build/pads-1.2' Making check in doc make[2]: Entering directory '/build/pads-1.2/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/pads-1.2/doc' Making check in etc make[2]: Entering directory '/build/pads-1.2/etc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/pads-1.2/etc' Making check in lib make[2]: Entering directory '/build/pads-1.2/lib' Making check in bstring make[3]: Entering directory '/build/pads-1.2/lib/bstring' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/build/pads-1.2/lib/bstring' make[3]: Entering directory '/build/pads-1.2/lib' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/pads-1.2/lib' make[2]: Leaving directory '/build/pads-1.2/lib' Making check in src make[2]: Entering directory '/build/pads-1.2/src' Making check in output make[3]: Entering directory '/build/pads-1.2/src/output' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/build/pads-1.2/src/output' make[3]: Entering directory '/build/pads-1.2/src' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/pads-1.2/src' make[2]: Leaving directory '/build/pads-1.2/src' make[2]: Entering directory '/build/pads-1.2' make[2]: Leaving directory '/build/pads-1.2' make[1]: Leaving directory '/build/pads-1.2' create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/pads-1.2' dh_auto_install -- -C src make -j16 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' make[4]: Entering directory '/build/pads-1.2/src/output' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/pads-1.2/src/output' 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' make[4]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' /bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' /usr/bin/install -c pads '/build/pads-1.2/debian/pads/usr/bin' /usr/bin/install -c pads-report '/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 -j16 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/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' make[1]: Leaving directory '/build/pads-1.2' dh_installdocs dh_installchangelogs dh_installman dh_installinit dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dpkg-gencontrol: warning: package pads: substitution variable ${perl:Depends} unused, but is defined 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_amd64.deb'. dpkg-deb: building package 'pads-dbgsym' in '../pads-dbgsym_1.2-12_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pads_1.2-12_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . 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/3443830/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/3443830/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/3443830 and its subdirectories I: Current time: Thu Mar 16 09:50:34 +14 2023 I: pbuilder-time-stamp: 1678909834