Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/pads/pads_1.2-12_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/pads-1.2-128y83q962/pads_1.2-12_amd64.buildinfo Get source package info: pads=1.2-12 Source URL: http://snapshot.notset.fr/mr/package/pads/1.2-12/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.1-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-5 binutils=2.33.50.20200115-2 binutils-common=2.33.50.20200115-2 binutils-x86-64-linux-gnu=2.33.50.20200115-2 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-24 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.8 debianutils=4.9.1 dh-autoreconf=19 dh-strip-nondeterminism=1.6.3-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.2.1-24 gcc=4:9.2.1-3.1 gcc-9=9.2.1-24 gcc-9-base=9.2.1-24 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.3-1 groff-base=1.22.4-4 gzip=1.9-3+b1 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-5 libarchive-zip-perl=1.67-1 libasan5=9.2.1-24 libatomic1=9.2.1-24 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2+b1 libbinutils=2.33.50.20200115-2 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-9 libc-dev-bin=2.29-9 libc6=2.29-9 libc6-dev=2.29-9 libcap-ng0=0.7.9-2.1+b1 libcc1-0=9.2.1-24 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.10-10 libcrypt1=1:4.4.10-10 libctf-nobfd0=2.33.50.20200115-2 libctf0=2.33.50.20200115-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.250 libdebhelper-perl=12.8 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libfdisk1=2.34-0.1 libffi7=3.3-3 libfile-stripnondeterminism-perl=1.6.3-1 libgcc-9-dev=9.2.1-24 libgcc1=1:9.2.1-24 libgcrypt20=1.8.5-3 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.62.4-1+b1 libgmp10=2:6.1.2+dfsg-4 libgomp1=9.2.1-24 libgpg-error0=1.36-7 libicu63=63.2-2 libisl22=0.22-2 libitm1=9.2.1-24 liblsan0=9.2.1-24 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncursesw6=6.1+20191019-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcap0.8=1.9.1-2 libpcap0.8-dev=1.9.1-2 libpcre16-3=2:8.39-12+b1 libpcre2-8-0=10.34-7 libpcre3=2:8.39-12+b1 libpcre3-dev=2:8.39-12+b1 libpcre32-3=2:8.39-12+b1 libpcrecpp0v5=2:8.39-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.2-2 libquadmath0=9.2.1-24 libseccomp2=2.4.2-2 libselinux1=3.0-1 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libstdc++-9-dev=9.2.1-24 libstdc++6=9.2.1-24 libsub-override-perl=0.09-2 libsystemd0=244-3 libtinfo6=6.1+20191019-1 libtool=2.4.6-11 libtsan0=9.2.1-24 libubsan1=9.2.1-24 libuchardet0=0.0.6-3 libudev1=244-3 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libxml2=2.9.4+dfsg1-8 linux-libc-dev=5.4.13-1 login=1:4.8-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.0-2 mawk=1.3.3-20 ncurses-base=6.1+20191019-1 ncurses-bin=6.1+20191019-1 patch=2.7.6-6 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-2.1 tar=1.30+dfsg-6+b1 util-linux=2.34-0.1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-1+b1 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200121T090303Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d pads=1.2-12 && mkdir -p /build/pads-Wpzfzn && dpkg-source --no-check -x /*.dsc /build/pads-Wpzfzn/pads-1.2 && chown -R builduser:builduser /build/pads-Wpzfzn" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pads-Wpzfzn/pads-1.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1579279809" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/pads-Wpzfzn /tmp/pads-1.2-128y83q962 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200121T090303Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.7KnemX1Prz as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.7KnemX1Prz Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200121T090303Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200121T090303Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1185 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4508 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200121T090303Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.7KnemX1Prz Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200121T090303Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 22s (1031 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.7KnemX1Prz I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d pads=1.2-12 && mkdir -p /build/pads-Wpzfzn && dpkg-source --no-check -x /*.dsc /build/pads-Wpzfzn/pads-1.2 && chown -R builduser:builduser /build/pads-Wpzfzn"' exec /tmp/mmdebstrap.7KnemX1Prz Reading package lists... NOTICE: 'pads' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/pads.git Please use: git clone https://salsa.debian.org/debian/pads.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 274 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pads 1.2-12 (dsc) [1802 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pads 1.2-12 (tar) [237 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main pads 1.2-12 (diff) [35.4 kB] Fetched 274 kB in 0s (1190 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'pads_1.2-12.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting pads in /build/pads-Wpzfzn/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: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pads-Wpzfzn/pads-1.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1579279809" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.7KnemX1Prz 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-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a 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-Wpzfzn/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-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --sysconfdir=/etc/pads configure: WARNING: unrecognized options: --disable-maintainer-mode 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 9.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 configure: WARNING: unrecognized options: --disable-maintainer-mode make[1]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' dh_auto_build -a make -j4 make[1]: Entering directory '/build/pads-Wpzfzn/pads-1.2' make all-recursive make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2' Making all in doc make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/doc' Making all in etc make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/etc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/etc' Making all in lib make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/lib' Making all in bstring make[4]: Entering directory '/build/pads-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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-Wpzfzn/pads-1.2/lib/bstring' make[4]: Entering directory '/build/pads-Wpzfzn/pads-1.2/lib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/lib' make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/lib' Making all in src make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src' Making all in output make[4]: Entering directory '/build/pads-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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:14: 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 * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-fifo.h:48, from output-fifo.c:28: ../../src/util.h:60:7: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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 * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-fifo.h:48, from output-fifo.c:28: ../../src/util.h:60:7: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 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: 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:7: 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:14: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ^~~~~ 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-screen.h:46, from output-screen.c:27: ../../src/util.h:60:7: 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) { | ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:14: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 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: ../../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:14: 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:14: 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:446, 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:446, 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:446, 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:7: 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:7: 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-Wpzfzn/pads-1.2/src/output' make[4]: Entering directory '/build/pads-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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-Wpzfzn/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-Wpzfzn/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o packet.o packet.c In file included from /usr/include/netinet/in.h:21, from global.h:69, from packet.h:44, from packet.c:28: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ storage.c: In function ‘print_database’: storage.c:485:14: warning: pointer targets in passing argument 1 of ‘hex2mac’ differ in signedness [-Wpointer-sign] 485 | hex2mac(arp->mac_addr), arp->discovered); | ~~~^~~~~~~~~~ | | | char * In file included from mac-resolution.h:40, from storage.h:38, from storage.c:27: util.h:60:7: 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 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, from identification.c:28: /usr/include/stdio.h:246:14: 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 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:21: 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 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); | ~~~~~~~~~~~~^~~ pads.c: In function ‘print_version’: pads.c:146:37: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); | ^~~~~~~~ pads.c:146:47: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); | ^~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: pads.c: In function ‘main_pads’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘pcap_open_offline’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ pads.c:212:45: note: in expansion of macro ‘bdata’ 212 | if (!(gc.handle = pcap_open_offline(bdata(gc.pcap_file), errbuf))) { | ^~~~~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:413:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 413 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); | ^~~~~~~~~~~~~~~~~ pads.c:228:13: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 228 | if (!(gc.dev = pcap_lookupdev(errbuf))) | ^~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of ‘pcap_dump_open’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ pads.c:270:53: note: in expansion of macro ‘bdata’ 270 | if (!(gc.dumper = pcap_dump_open(gc.handle, bdata(gc.dump_file)))) | ^~~~~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:488:25: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 488 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); | ^~~~~~~~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: pads.c: In function ‘end_pads’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ pads.c:325:21: note: in expansion of macro ‘bdata’ 325 | if ((unlink(bdata(gc.pid_file))) != 0) | ^~~~~ In file included from pads.h:45, from pads.c:28: /usr/include/unistd.h:825:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 825 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ pads.c:325:14: warning: null argument where non-null required (argument 1) [-Wnonnull] 325 | if ((unlink(bdata(gc.pid_file))) != 0) | ^~~~~~ 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); | ^ 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; | ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-Wpzfzn/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-Wpzfzn/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-Wpzfzn/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o configuration.o configuration.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/pads-Wpzfzn/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o util.o util.c monnet.c: In function ‘parse_networks’: monnet.c:83:2: warning: value computed is not used [-Wunused-value] 83 | *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, from util.c:28: /usr/include/stdio.h:246:14: 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:22: 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:23: 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 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:22: 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: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:23: 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) | ^~~~~~~~ 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:14: 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 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 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:14: 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, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ cat ./pads-report.pl >> pads-report chmod +x pads-report 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-Wpzfzn/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-Wpzfzn/pads-1.2/src' make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src' make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2' make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' make[1]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' dh_auto_test -a make -j4 check VERBOSE=1 make[1]: Entering directory '/build/pads-Wpzfzn/pads-1.2' Making check in doc make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/doc' Making check in etc make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2/etc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/etc' Making check in lib make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2/lib' Making check in bstring make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/lib/bstring' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/lib/bstring' make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/lib' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/lib' make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/lib' Making check in src make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src' Making check in output make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src/output' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src/output' make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src' make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src' make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2' make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' make[1]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_installdirs -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/pads-Wpzfzn/pads-1.2' dh_auto_install -- -C src make -j4 install DESTDIR=/build/pads-Wpzfzn/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C src make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src' Making install in output make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src/output' make[4]: Entering directory '/build/pads-Wpzfzn/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-Wpzfzn/pads-1.2/src/output' make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src/output' make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src' make[4]: Entering directory '/build/pads-Wpzfzn/pads-1.2/src' /bin/mkdir -p '/build/pads-Wpzfzn/pads-1.2/debian/pads/usr/bin' /bin/mkdir -p '/build/pads-Wpzfzn/pads-1.2/debian/pads/usr/bin' make[4]: Nothing to be done for 'install-data-am'. /usr/bin/install -c pads '/build/pads-Wpzfzn/pads-1.2/debian/pads/usr/bin' /usr/bin/install -c pads-report '/build/pads-Wpzfzn/pads-1.2/debian/pads/usr/bin' make[4]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src' make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src' make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/src' dh_auto_install -- -C etc make -j4 install DESTDIR=/build/pads-Wpzfzn/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C etc make[2]: Entering directory '/build/pads-Wpzfzn/pads-1.2/etc' make[3]: Entering directory '/build/pads-Wpzfzn/pads-1.2/etc' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/pads-Wpzfzn/pads-1.2/debian/pads/etc/pads' /usr/bin/install -c -m 644 pads.conf pads-signature-list pads-ether-codes '/build/pads-Wpzfzn/pads-1.2/debian/pads/etc/pads' make[3]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/etc' make[2]: Leaving directory '/build/pads-Wpzfzn/pads-1.2/etc' make[1]: Leaving directory '/build/pads-Wpzfzn/pads-1.2' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_installinit -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a 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 -a dh_builddeb -a 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=any dpkg-genchanges --build=any >../pads_1.2-12_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/pads-Wpzfzn /tmp/pads-1.2-128y83q962 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.7KnemX1Prz... I: success in 335.7525 seconds md5: pads-dbgsym_1.2-12_amd64.deb: OK md5: pads_1.2-12_amd64.deb: OK sha1: pads-dbgsym_1.2-12_amd64.deb: OK sha1: pads_1.2-12_amd64.deb: OK sha256: pads-dbgsym_1.2-12_amd64.deb: OK sha256: pads_1.2-12_amd64.deb: OK Checksums: OK