I: pbuilder: network access will be disabled during build I: Current time: Fri May 19 02:25:48 +14 2023 I: pbuilder-time-stamp: 1684412748 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. 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-14.dsc] I: copying [./pads_1.2.orig.tar.gz] I: copying [./pads_1.2-14.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Oct 14 03:17:01 2022 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pads_1.2-14.dsc: no acceptable signature found 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-14.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/29621/tmp/hooks/D01_modify_environment starting debug: Running on codethink10-arm64. 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 '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 May 19 02:26 /bin/sh -> /bin/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/29621/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/29621/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-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=29621 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/r-b-build.dtoPXNdZ/pbuilderrc_Nz0F --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dtoPXNdZ/b2 --logfile b2/build.log --extrapackages usrmerge pads_1.2-14.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.15.0-211-generic #222-Ubuntu SMP Tue Apr 18 18:58:27 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 18 00:24 /bin -> usr/bin I: user script /srv/workspace/pbuilder/29621/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: arm64 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 ... 19616 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} libicu72{a} libmagic-mgc{a} libmagic1{a} libpcap0.8{a} libpcap0.8-dev{a} libpcre16-3{a} libpcre3{a} libpcre3-dev{a} libpcre32-3{a} libpcrecpp0v5{a} libpipeline1{a} libpkgconf3{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 45 newly installed, 0 to remove and 0 not upgraded. Need to get 20.8 MB of archives. After unpacking 81.6 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 sgml-base all 1.31 [15.4 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 22 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.2 [620 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 libdbus-1-3 arm64 1.14.6-1 [191 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 libpkgconf3 arm64 1.8.1-1 [35.3 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 pkgconf-bin arm64 1.8.1-1 [28.9 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 pkgconf arm64 1.8.1-1 [25.9 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 pkg-config arm64 1.8.1-1 [13.7 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 xml-core all 0.18+nmu1 [23.8 kB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 libdbus-1-dev arm64 1.14.6-1 [239 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 libpcap0.8 arm64 1.10.3-1 [148 kB] Get: 40 http://deb.debian.org/debian bookworm/main arm64 libpcap0.8-dev arm64 1.10.3-1 [271 kB] Get: 41 http://deb.debian.org/debian bookworm/main arm64 libpcre16-3 arm64 2:8.39-15 [234 kB] Get: 42 http://deb.debian.org/debian bookworm/main arm64 libpcre3 arm64 2:8.39-15 [313 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 libpcre32-3 arm64 2:8.39-15 [226 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 libpcrecpp0v5 arm64 2:8.39-15 [142 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 libpcre3-dev arm64 2:8.39-15 [584 kB] Fetched 20.8 MB in 1s (40.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19616 files and directories currently installed.) Preparing to unpack .../00-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../03-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../06-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../09-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... 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-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../23-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../25-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.2_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... 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.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libdbus-1-3:arm64. Preparing to unpack .../31-libdbus-1-3_1.14.6-1_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.14.6-1) ... Selecting previously unselected package libpkgconf3:arm64. Preparing to unpack .../32-libpkgconf3_1.8.1-1_arm64.deb ... Unpacking libpkgconf3:arm64 (1.8.1-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../33-pkgconf-bin_1.8.1-1_arm64.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:arm64. Preparing to unpack .../34-pkgconf_1.8.1-1_arm64.deb ... Unpacking pkgconf:arm64 (1.8.1-1) ... Selecting previously unselected package pkg-config:arm64. Preparing to unpack .../35-pkg-config_1.8.1-1_arm64.deb ... Unpacking pkg-config:arm64 (1.8.1-1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package libdbus-1-dev:arm64. Preparing to unpack .../37-libdbus-1-dev_1.14.6-1_arm64.deb ... Unpacking libdbus-1-dev:arm64 (1.14.6-1) ... Selecting previously unselected package libpcap0.8:arm64. Preparing to unpack .../38-libpcap0.8_1.10.3-1_arm64.deb ... Unpacking libpcap0.8:arm64 (1.10.3-1) ... Selecting previously unselected package libpcap0.8-dev:arm64. Preparing to unpack .../39-libpcap0.8-dev_1.10.3-1_arm64.deb ... Unpacking libpcap0.8-dev:arm64 (1.10.3-1) ... Selecting previously unselected package libpcre16-3:arm64. Preparing to unpack .../40-libpcre16-3_2%3a8.39-15_arm64.deb ... Unpacking libpcre16-3:arm64 (2:8.39-15) ... Selecting previously unselected package libpcre3:arm64. Preparing to unpack .../41-libpcre3_2%3a8.39-15_arm64.deb ... Unpacking libpcre3:arm64 (2:8.39-15) ... Selecting previously unselected package libpcre32-3:arm64. Preparing to unpack .../42-libpcre32-3_2%3a8.39-15_arm64.deb ... Unpacking libpcre32-3:arm64 (2:8.39-15) ... Selecting previously unselected package libpcrecpp0v5:arm64. Preparing to unpack .../43-libpcrecpp0v5_2%3a8.39-15_arm64.deb ... Unpacking libpcrecpp0v5:arm64 (2:8.39-15) ... Selecting previously unselected package libpcre3-dev:arm64. Preparing to unpack .../44-libpcre3-dev_2%3a8.39-15_arm64.deb ... Unpacking libpcre3-dev:arm64 (2:8.39-15) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libpcre16-3:arm64 (2:8.39-15) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libpcre3:arm64 (2:8.39-15) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:arm64 (1.8.1-1) ... Setting up libdbus-1-3:arm64 (1.14.6-1) ... Setting up libpcre32-3:arm64 (2:8.39-15) ... Setting up autopoint (0.21-12) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up sgml-base (1.31) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libpcrecpp0v5:arm64 (2:8.39-15) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libpcre3-dev:arm64 (2:8.39-15) ... Setting up pkgconf:arm64 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libpcap0.8:arm64 (1.10.3-1) ... Setting up pkg-config:arm64 (1.8.1-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up xml-core (0.18+nmu1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-9) ... Processing triggers for sgml-base (1.31) ... Setting up libdbus-1-dev:arm64 (1.14.6-1) ... Setting up libpcap0.8-dev:arm64 (1.10.3-1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/29621/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/29621/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution 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-14_source.changes dpkg-buildpackage: info: source package pads dpkg-buildpackage: info: source version 1.2-14 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jelmer Vernooij dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:19: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:19: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.in:19: the top level configure.in:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:31: the top level configure.in:39: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:39: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:39: the top level configure.in:112: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:112: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:112: the top level configure.in:187: warning: AC_OUTPUT should be used without arguments. configure.in:187: You should run autoupdate. autoheader: 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=aarch64-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/aarch64-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 race-free mkdir -p... /usr/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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... unsupported checking for gcc option to enable C99 features... unsupported checking for gcc option to enable C89 features... 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking for stdio.h... (cached) yes checking for stdarg.h... yes checking for signal.h... 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 12.2.0 is supported. checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-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 -j8 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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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-csv.h:47, from output-csv.c:27: output-csv.c: In function 'init_output_csv': ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 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) { | ^~~~~ In file included from output-csv.h:43: /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../../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) { | ^~~~~ /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../../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) { | ^~~~~ /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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) { | ^~~~~ /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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: /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: ../../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:489, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27: /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ output-csv.c:191:23: warning: argument 1 null where non-null expected [-Wnonnull] 191 | if ((port = htons(atoi(bdata(list->entry[1])))) == -1) | ^~~~ /usr/include/stdlib.h:362:1: note: in a call to function 'atoi' declared 'nonnull' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../../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) | ^~~~~ /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ output-csv.c:194:18: warning: argument 1 null where non-null expected [-Wnonnull] 194 | if ((proto = atoi(bdata(list->entry[2]))) == -1) | ^~~~ /usr/include/stdlib.h:362:1: note: in a call to function 'atoi' declared 'nonnull' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ ../../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) | ^~~~~ /usr/include/stdlib.h:367:1: note: expected 'const char *' but argument is of type 'unsigned char *' 367 | __NTH (atol (const char *__nptr)) | ^~~~~ output-csv.c:203:23: warning: argument 1 null where non-null expected [-Wnonnull] 203 | if ((discovered = atol(bdata(list->entry[5]))) == -1) | ^~~~ /usr/include/stdlib.h:367:1: note: in a call to function 'atol' declared 'nonnull' 367 | __NTH (atol (const char *__nptr)) | ^~~~~ ../../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: ../../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 * ../../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 * ../../src/util.h:60:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ output-screen.c: In function 'print_arp_asset_screen': output-screen.c:117:53: 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); | ~~~~~~~~~~~~~~~~~~~~~^~~ output-screen.c:120:53: 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 * ../../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-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: /usr/include/aarch64-linux-gnu/sys/stat.h:418:32: note: expected 'const char *' but argument is of type 'unsigned char *' 418 | extern int mkfifo (const char *__path, __mode_t __mode) | ~~~~~~~~~~~~^~~~~~ output-fifo.c:107:5: warning: argument 1 null where non-null expected [-Wnonnull] 107 | mkfifo (bdata(fifo_file), S_IFIFO | 0755); | ^~~~~~ /usr/include/aarch64-linux-gnu/sys/stat.h:418:12: note: in a call to function 'mkfifo' declared 'nonnull' 418 | extern int mkfifo (const char *__path, __mode_t __mode) | ^~~~~~ ../../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: /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | 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 * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46: ../../src/util.h:60:36: note: expected 'const unsigned char *' but argument is of type 'char *' 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ output-fifo.c:167:28: warning: pointer targets in passing argument 1 of 'hex2mac' differ in signedness [-Wpointer-sign] 167 | hex2mac(rec->mac_addr), rec->discovered); | ~~~^~~~~~~~~~ | | | char * ../../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:18: warning: 'rec' may be used uninitialized [-Wmaybe-uninitialized] 210 | (*head->plugin->print_arp)(rec); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c:185:15: note: 'rec' was declared here 185 | ArpAsset *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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/build/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o util.o util.c packet.c: In function 'process_arp': packet.c:160:46: 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: 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:44: 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 *} 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:47: 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: 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:25: 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); | ^ 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: /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))) | ^~ /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ ../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)))) | ^~~~~ /usr/include/pcap/pcap.h:696:50: note: expected 'const char *' but argument is of type 'unsigned char *' 696 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); | ^~~~~~~~~~~~ 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: /usr/include/unistd.h:858:32: note: expected 'const char *' but argument is of type 'unsigned char *' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ pads.c:325:14: warning: argument 1 null where non-null expected [-Wnonnull] 325 | if ((unlink(bdata(gc.pid_file))) != 0) | ^~~~~~ /usr/include/unistd.h:858:12: note: in a call to function 'unlink' declared 'nonnull' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ storage.c: In function 'print_database': storage.c:485:28: 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 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: /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | 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 '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: /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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) | ^~~~~ /usr/include/stdio.h:423:43: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ 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: 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: 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: /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../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: /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); | ~~~~~~~~~~~~^~~~~~ ../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: /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: argument 1 null where non-null expected [-Wnonnull] 117 | if ((this_user = getpwnam(bdata(user))) == NULL) | ^~~~~~~~ /usr/include/pwd.h:116:23: note: in a call to function 'getpwnam' declared 'nonnull' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ ../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: /usr/include/unistd.h:493:31: note: expected 'const char *' but argument is of type 'unsigned char *' 493 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ~~~~~~~~~~~~^~~~~~ util.c:119:10: warning: argument 1 null where non-null expected [-Wnonnull] 119 | if ((chown(bdata(pid_file), this_user->pw_uid, this_group->gr_gid)) != 0) | ^~~~~ /usr/include/unistd.h:493:12: note: in a call to function 'chown' declared 'nonnull' 493 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ^~~~~ monnet.c: In function 'parse_networks': monnet.c:83:9: warning: value computed is not used [-Wunused-value] 83 | *cmdline++; | ^~~~~~~~~~ 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) | ^~~~~ /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); | ~~~~~~~~~~~~^~~~~~ ../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) | ^~~~~ /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: argument 1 null where non-null expected [-Wnonnull] 369 | if ((this_user = getpwnam(bdata(newuser))) == NULL) | ^~~~~~~~ /usr/include/pwd.h:116:23: note: in a call to function 'getpwnam' declared 'nonnull' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function 'init_identification': ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 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: /usr/include/stdio.h:258:44: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 258 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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) { | ^~~~~ util.c: In function 'strlcat': util.c:328:16: warning: 'tocopy' is used uninitialized [-Wuninitialized] 328 | while (tocopy-- && *dstptr) dstptr++; | ~~~~~~^~ util.c:325:22: note: 'tocopy' was declared here 325 | size_t dstlen, tocopy; | ^~~~~~ In file included from global.h:73: /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 *, | ^~~~~~~~~~~~ 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: 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); | ~~~~~~~~~~~~^~~ ../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); | ^~~~~ 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); | ~~~~~~~~~~~~^~~ ../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); | ^~~~~ 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); | ~~~~~~~~~~~~^~~ cat ./pads-report.pl >> pads-report identification.c: In function 'parse_raw_signature': identification.c:130:14: warning: 'title' may be used uninitialized [-Wmaybe-uninitialized] 130 | if (title->qty < 3) | ~~~~~^~~~~ identification.c:94:22: note: 'title' was declared here 94 | struct bstrList *title; | ^~~~~ identification.c:170:8: warning: 'pcre_string' may be used uninitialized [-Wmaybe-uninitialized] 170 | if (pcre_string != NULL) | ^ identification.c:96:13: note: 'pcre_string' was declared here 96 | bstring pcre_string; | ^~~~~~~~~~~ chmod +x pads-report storage.c: In function 'find_asset': storage.c:403:12: warning: 'rec' may be used uninitialized [-Wmaybe-uninitialized] 403 | Asset *rec; | ^~~ gcc -g -O2 -ffile-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 -j8 check "TESTSUITEFLAGS=-j8 --verbose" 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 -j8 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' /usr/bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' /usr/bin/mkdir -p '/build/pads-1.2/debian/pads/usr/bin' make[4]: Nothing to be done for 'install-data-am'. /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 -j8 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' /usr/bin/mkdir -p '/build/pads-1.2/debian/pads/etc/pads' make[3]: Nothing to be done for 'install-data-am'. /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-dbgsym' in '../pads-dbgsym_1.2-14_arm64.deb'. dpkg-deb: building package 'pads' in '../pads_1.2-14_arm64.deb'. dpkg-genbuildinfo --build=binary -O../pads_1.2-14_arm64.buildinfo dpkg-genchanges --build=binary -O../pads_1.2-14_arm64.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/29621/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/29621/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/29621 and its subdirectories I: Current time: Fri May 19 02:27:05 +14 2023 I: pbuilder-time-stamp: 1684412825