Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/pads/pads_1.2-13_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/pads-1.2-13opbl7mga/pads_1.2-13_amd64.buildinfo Get source package info: pads=1.2-13 Source URL: http://snapshot.notset.fr/mr/package/pads/1.2-13/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.3 autopoint=0.21-6 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6+b1 binutils=2.38-4 binutils-common=2.38-4 binutils-x86-64-linux-gnu=2.38-4 bsdextrautils=2.38-4 bsdutils=1:2.38-4 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.3.0-3 dash=0.5.11+git20210903+057cd650a4ed-8 debconf=1.5.79 debhelper=13.7.1 debianutils=5.7-0.2 dh-autoreconf=20 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.8 dpkg-dev=1.21.8 dwz=0.14-1 file=1:5.41-4 findutils=4.9.0-3 g++=4:11.2.0-2 g++-11=11.3.0-3 gcc=4:11.2.0-2 gcc-11=11.3.0-3 gcc-11-base=11.3.0-3 gcc-12-base=12.1.0-2 gettext=0.21-6 gettext-base=0.21-6 grep=3.7-1 groff-base=1.22.4-8 gzip=1.12-1 hostname=3.23 init-system-helpers=1.63 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.3.0-3 libatomic1=12.1.0-2 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1+b1 libbinutils=2.38-4 libblkid1=2.38-4 libbz2-1.0=1.0.8-5 libc-bin=2.33-7 libc-dev-bin=2.33-7 libc6=2.33-7 libc6-dev=2.33-7 libcap-ng0=0.7.9-2.2+b2 libcap2=1:2.44-1 libcc1-0=12.1.0-2 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.38-4 libctf0=2.38-4 libdb5.3=5.3.28+dfsg1-0.9 libdbus-1-3=1.14.0-1 libdbus-1-dev=1.14.0-1 libdebconfclient0=0.262 libdebhelper-perl=13.7.1 libdpkg-perl=1.21.8 libelf1=0.187-1 libffi8=3.4.2-4 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.3.0-3 libgcc-s1=12.1.0-2 libgcrypt20=1.10.1-2 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libglib2.0-0=2.72.1-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=12.1.0-2 libgpg-error0=1.45-2 libgssapi-krb5-2=1.19.2-2+b2 libicu71=71.1-3 libisl23=0.24-2 libitm1=12.1.0-2 libk5crypto3=1.19.2-2+b2 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2+b2 libkrb5support0=1.19.2-2+b2 liblsan0=12.1.0-2 liblz4-1=1.9.3-2 liblzma5=5.2.5-2.1 libmagic-mgc=1:5.41-4 libmagic1=1:5.41-4 libmount1=2.38-4 libmpc3=1.2.1-2 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-13 libpam-modules-bin=1.4.0-13 libpam-runtime=1.4.0-13 libpam0g=1.4.0-13 libpcap0.8=1.10.1-4 libpcap0.8-dev=1.10.1-4 libpcre16-3=2:8.39-14 libpcre2-8-0=10.40-1 libpcre3=2:8.39-14 libpcre3-dev=2:8.39-14 libpcre32-3=2:8.39-14 libpcrecpp0v5=2:8.39-14 libperl5.34=5.34.0-4 libpipeline1=1.5.6-1 libquadmath0=12.1.0-2 libseccomp2=2.5.4-1 libselinux1=3.3-1+b2 libsigsegv2=2.14-1 libsmartcols1=2.38-4 libssl3=3.0.3-5 libstdc++-11-dev=11.3.0-3 libstdc++6=12.1.0-2 libsub-override-perl=0.09-2 libsystemd0=251-2 libtinfo6=6.3+20220423-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.7-4 libtsan0=11.3.0-3 libubsan1=12.1.0-2 libuchardet0=0.0.7-1 libudev1=251-2 libunistring2=1.0-1 libuuid1=2.38-4 libxml2=2.9.14+dfsg-1 libzstd1=1.5.2+dfsg-1 linux-libc-dev=5.17.6-1+b1 login=1:4.11.1+dfsg1-2 lsb-base=11.2 m4=1.4.18-5 make=4.3-4.1 man-db=2.10.2-1 mawk=1.3.4.20200120-3+b1 ncurses-base=6.3+20220423-2 ncurses-bin=6.3+20220423-2 patch=2.7.6-7 perl=5.34.0-4 perl-base=5.34.0-4 perl-modules-5.34=5.34.0-4 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sgml-base=1.30 sysvinit-utils=3.03-1 tar=1.34+dfsg-1 util-linux=2.38-4 util-linux-extra=2.38-4 xml-core=0.18+nmu1 xz-utils=5.2.5-2.1 zlib1g=1:1.2.11.dfsg-4 --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/20220602T030029Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220602T030029Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220525T212247Z/ 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-13 && mkdir -p /build/pads-yyNtmL && dpkg-source --no-check -x /*.dsc /build/pads-yyNtmL/pads-1.2 && chown -R builduser:builduser /build/pads-yyNtmL" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/pads-yyNtmL/pads-1.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1653678480" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/pads-yyNtmL /tmp/pads-1.2-13opbl7mga bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220525T212247Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.S1IdppBNjV 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.S1IdppBNjV Reading package lists... Building dependency tree... util-linux is already the newest version (2.38-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 136 kB of archives. After this operation, 401 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220525T212247Z unstable/main amd64 libfakeroot amd64 1.29-1 [48.5 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220525T212247Z unstable/main amd64 fakeroot amd64 1.29-1 [87.3 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 136 kB in 0s (1091 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 ... 4629 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.29-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.29-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.29-1_amd64.deb ... Unpacking fakeroot (1.29-1) ... Setting up libfakeroot:amd64 (1.29-1) ... Setting up fakeroot (1.29-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-7) ... 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/20220602T030029Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220602T030029Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220525T212247Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.S1IdppBNjV Get:1 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm InRelease [130 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20220525T212247Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main Sources [12.0 MB] Get:4 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main amd64 Packages [11.5 MB] Fetched 23.6 MB in 20s (1193 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.S1IdppBNjV I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d pads=1.2-13 && mkdir -p /build/pads-yyNtmL && dpkg-source --no-check -x /*.dsc /build/pads-yyNtmL/pads-1.2 && chown -R builduser:builduser /build/pads-yyNtmL"' exec /tmp/mmdebstrap.S1IdppBNjV 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/20220602T030029Z bookworm/main pads 1.2-13 (dsc) [1802 B] Get:2 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main pads 1.2-13 (tar) [237 kB] Get:3 http://snapshot.notset.fr/archive/debian/20220602T030029Z bookworm/main pads 1.2-13 (diff) [35.5 kB] Fetched 274 kB in 0s (956 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'pads_1.2-13.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting pads in /build/pads-yyNtmL/pads-1.2 dpkg-source: info: unpacking pads_1.2.orig.tar.gz dpkg-source: info: unpacking pads_1.2-13.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-yyNtmL/pads-1.2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1653678480" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.S1IdppBNjV dpkg-buildpackage: info: source package pads dpkg-buildpackage: info: source version 1.2-13 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jelmer Vernooij 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 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-yyNtmL/pads-1.2' dh_auto_configure -- --sysconfdir=/etc/pads ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --sysconfdir=/etc/pads checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 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 11.3.0 is supported. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating etc/Makefile config.status: creating lib/Makefile config.status: creating lib/bstring/Makefile config.status: creating src/Makefile config.status: creating src/output/Makefile config.status: creating config.h config.status: executing depfiles commands make[1]: Leaving directory '/build/pads-yyNtmL/pads-1.2' dh_auto_build -a make -j10 make[1]: Entering directory '/build/pads-yyNtmL/pads-1.2' make all-recursive make[2]: Entering directory '/build/pads-yyNtmL/pads-1.2' Making all in doc make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/doc' Making all in etc make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/etc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/etc' Making all in lib make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/lib' Making all in bstring make[4]: Entering directory '/build/pads-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/pads-1.2/lib/bstring' make[4]: Entering directory '/build/pads-yyNtmL/pads-1.2/lib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/build/pads-yyNtmL/pads-1.2/lib' make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/lib' Making all in src make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/src' Making all in output make[4]: Entering directory '/build/pads-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o output-fifo.o output-fifo.c output-screen.c: In function ‘print_arp_asset_screen’: output-screen.c:117: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 * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-screen.h:46, from output-screen.c:27: ../../src/util.h:60:36: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: 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, from output-csv.c:27: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../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:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ output-csv.c:103:43: note: in expansion of macro ‘bdata’ 103 | if ((output_csv_conf.file = fopen(bdata(output_csv_conf.filename), "a")) == NULL) { | ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: output-csv.c: In function ‘read_report_file’: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ output-csv.c:131:21: note: in expansion of macro ‘bdata’ 131 | if ((fp = fopen(bdata(output_csv_conf.filename), "r")) == NULL) { | ^~~~~ In file included from output-csv.h:43, from output-csv.c:27: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: output-csv.c: In function ‘parse_raw_report’: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘inet_aton’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ output-csv.c:188:20: note: in expansion of macro ‘bdata’ 188 | if ((inet_aton(bdata(list->entry[0]), &ip_addr)) == -1) | ^~~~~ In file included from output-csv.h:45, from output-csv.c:27: /usr/include/arpa/inet.h:73:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 73 | extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW; | ~~~~~~~~~~~~^~~~ In file included from /usr/include/arpa/inet.h:22, from output-csv.h:45, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ output-csv.c:191:28: note: in expansion of macro ‘bdata’ 191 | if ((port = htons(atoi(bdata(list->entry[1])))) == -1) | ^~~~~ In file included from /usr/include/features.h:472, 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: argument 1 null where non-null expected [-Wnonnull] 191 | if ((port = htons(atoi(bdata(list->entry[1])))) == -1) | ^~~~ In file included from /usr/include/features.h:472, 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: in a call to function ‘atoi’ declared ‘nonnull’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ 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:472, 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: argument 1 null where non-null expected [-Wnonnull] 194 | if ((proto = atoi(bdata(list->entry[2]))) == -1) | ^~~~ In file included from /usr/include/features.h:472, 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: in a call to function ‘atoi’ declared ‘nonnull’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ 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:472, 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: argument 1 null where non-null expected [-Wnonnull] 203 | if ((discovered = atol(bdata(list->entry[5]))) == -1) | ^~~~ In file included from /usr/include/features.h:472, 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: in a call to function ‘atol’ declared ‘nonnull’ 366 | __NTH (atol (const char *__nptr)) | ^~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-csv.h:47, from output-csv.c:27: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘mac2hex’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ output-csv.c:213:17: note: in expansion of macro ‘bdata’ 213 | mac2hex(bdata(application), mac_addr, MAC_LEN); | ^~~~~ In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-csv.h:47, from output-csv.c:27: ../../src/util.h:59:26: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 59 | void mac2hex(const char *mac, char *dst, int len); | ~~~~~~~~~~~~^~~ output-csv.c: In function ‘print_arp_asset_csv’: output-csv.c:280:54: warning: pointer targets in passing argument 1 of ‘hex2mac’ differ in signedness [-Wpointer-sign] 280 | bdata(rec->mac_resolved), hex2mac(rec->mac_addr), rec->discovered); | ~~~^~~~~~~~~~ | | | char * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-csv.h:47, from output-csv.c:27: ../../src/util.h:60:36: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ output-csv.c:283:28: warning: pointer targets in passing argument 1 of ‘hex2mac’ differ in signedness [-Wpointer-sign] 283 | hex2mac(rec->mac_addr), rec->discovered); | ~~~^~~~~~~~~~ | | | char * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-csv.h:47, from output-csv.c:27: ../../src/util.h:60:36: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ 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: argument 1 null where non-null expected [-Wnonnull] 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:12: note: in a call to function ‘mkfifo’ declared ‘nonnull’ 346 | extern int mkfifo (const char *__path, __mode_t __mode) | ^~~~~~ In file included from ../../src/global.h:75, from output.h:45, from output-fifo.h:48, from output-fifo.c:28: ../../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ output-fifo.c:110:40: note: in expansion of macro ‘bdata’ 110 | if ((output_fifo_conf.file = fopen(bdata(fifo_file), "w+")) == NULL) | ^~~~~ In file included from output-fifo.h:43, from output-fifo.c:28: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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: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 * In file included from ../../src/mac-resolution.h:40, from ../../src/storage.h:38, from output.h:46, from output-fifo.h:48, from output-fifo.c:28: ../../src/util.h:60:36: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 60 | char *hex2mac(unsigned const char *mac); | ~~~~~~~~~~~~~~~~~~~~~^~~ output.c: In function ‘print_arp_asset’: output.c:210:18: 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-yyNtmL/pads-1.2/src/output' make[4]: Entering directory '/build/pads-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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-yyNtmL/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 -ffile-prefix-map=/build/pads-yyNtmL/pads-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu89 -c -o util.o util.c cat ./pads-report.pl >> pads-report chmod +x pads-report pads.c: In function ‘print_version’: pads.c:146:37: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); | ^~~~~~~~ pads.c:146:47: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 146 | printf("Compiled - %s %s\n", __DATE__, __TIME__); | ^~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: pads.c: In function ‘main_pads’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘pcap_open_offline’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ pads.c:212:45: note: in expansion of macro ‘bdata’ 212 | if (!(gc.handle = pcap_open_offline(bdata(gc.pcap_file), errbuf))) { | ^~~~~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:527:36: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 527 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); | ^~~~~~~~~~~~ pads.c:228:13: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 228 | if (!(gc.dev = pcap_lookupdev(errbuf))) | ^~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of ‘pcap_dump_open’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ pads.c:270:53: note: in expansion of macro ‘bdata’ 270 | if (!(gc.dumper = pcap_dump_open(gc.handle, bdata(gc.dump_file)))) | ^~~~~ In file included from /usr/include/pcap.h:43, from global.h:72, from pads.h:50, from pads.c:28: /usr/include/pcap/pcap.h:695:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 695 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); | ^~~~~~~~~~~~ In file included from global.h:75, from pads.h:50, from pads.c:28: pads.c: In function ‘end_pads’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ pads.c:325:21: note: in expansion of macro ‘bdata’ 325 | if ((unlink(bdata(gc.pid_file))) != 0) | ^~~~~ In file included from pads.h:45, from pads.c:28: /usr/include/unistd.h:837:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 837 | 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) | ^~~~~~ In file included from pads.h:45, from pads.c:28: /usr/include/unistd.h:837:12: note: in a call to function ‘unlink’ declared ‘nonnull’ 837 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ monnet.c: In function ‘parse_networks’: monnet.c:83:9: warning: value computed is not used [-Wunused-value] 83 | *cmdline++; | ^~~~~~~~~~ In file included from /usr/include/netinet/in.h:21, from global.h:69, from packet.h:44, from packet.c:28: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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); | ~~~~~~~~~~~~~~~~~~~~~^~~ 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, 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: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 *} 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: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, 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: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); | ^ 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:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function ‘parse_raw_signature’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘pcre_compile’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ identification.c:148:45: note: in expansion of macro ‘bdata’ 148 | if ((sig->regex = pcre_compile (bdata(pcre_string), 0, &err, &erroffset, NULL)) == NULL) { | ^~~~~ In file included from global.h:73, from identification.h:35, from identification.c:28: /usr/include/pcre.h:540:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 540 | PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *, | ^~~~~~~~~~~~ In file included from global.h:75, from identification.h:35, from identification.c:28: identification.c: In function ‘get_app_name’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ identification.c:314:22: note: in expansion of macro ‘bdata’ 314 | strlcpy(app, bdata(sig->title.app), MAX_APP); | ^~~~~ In file included from identification.h:36, from identification.c:28: util.h:53:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 53 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~~~~~~~^~~ In file included from global.h:75, from identification.h:35, from identification.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of ‘strlcat’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ identification.c:319:26: note: in expansion of macro ‘bdata’ 319 | strlcat(app, bdata(sig->title.ver), MAX_VER); | ^~~~~ In file included from identification.h:36, from identification.c:28: util.h:56:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 56 | size_t strlcat(char *dst, const char *src, size_t len); | ~~~~~~~~~~~~^~~ In file included from global.h:75, from identification.h:35, from identification.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 2 of ‘strlcat’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ identification.c:325:26: note: in expansion of macro ‘bdata’ 325 | strlcat(app, bdata(sig->title.misc), MAX_MISC); | ^~~~~ In file included from identification.h:36, from identification.c:28: util.h:56:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 56 | size_t strlcat(char *dst, const char *src, size_t len); | ~~~~~~~~~~~~^~~ In file included from global.h:75, from configuration.h:45, from configuration.c:28: configuration.c: In function ‘init_configuration’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ configuration.c:47:21: note: in expansion of macro ‘bdata’ 47 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~ In file included from configuration.h:44, from configuration.c:28: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from global.h:75, from configuration.h:45, from configuration.c:28: configuration.c: In function ‘parse_line’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘parse_networks’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ configuration.c:150:24: note: in expansion of macro ‘bdata’ 150 | parse_networks(bdata(value)); | ^~~~~ In file included from pads.h:56, from util.h:42, from configuration.h:46, from configuration.c:28: monnet.h:48:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 48 | void parse_networks (char *cmdline); | ~~~~~~^~~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: util.c: In function ‘init_pid_file’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ util.c:103:21: note: in expansion of macro ‘bdata’ 103 | if ((fp = fopen(bdata(pid_file), "w")) != NULL) { | ^~~~~ In file included from util.h:32, from util.c:28: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘getgrnam’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ util.c:115:32: note: in expansion of macro ‘bdata’ 115 | if ((this_group = getgrnam(bdata(group))) == NULL) | ^~~~~ In file included from util.h:37, from util.c:28: /usr/include/grp.h:107:44: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 107 | extern struct group *getgrnam (const char *__name); | ~~~~~~~~~~~~^~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ util.c:117:31: note: in expansion of macro ‘bdata’ 117 | if ((this_user = getpwnam(bdata(user))) == NULL) | ^~~~~ In file included from util.h:38, from util.c:28: /usr/include/pwd.h:116:45: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ util.c:117:22: warning: argument 1 null where non-null expected [-Wnonnull] 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: 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 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:482:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 482 | 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) | ^~~~~ In file included from util.h:31, from util.c:28: /usr/include/unistd.h:482:12: note: in a call to function ‘chown’ declared ‘nonnull’ 482 | extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | ^~~~~ In file included from global.h:75, from mac-resolution.h:39, from mac-resolution.c:34: mac-resolution.c: In function ‘init_mac_resolution’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ mac-resolution.c:63:21: note: in expansion of macro ‘bdata’ 63 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~ In file included from mac-resolution.h:38, from mac-resolution.c:34: /usr/include/stdio.h:246:44: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from global.h:75, from mac-resolution.h:39, from mac-resolution.c:34: mac-resolution.c: In function ‘parse_raw_mac’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ mac-resolution.c:103:16: note: in expansion of macro ‘bdata’ 103 | if (sscanf(bdata(line), "%02X:%02X:%02X %80[^,\n],\n", &m1, &m2, &m3, vendor) != 4) | ^~~~~ In file included from mac-resolution.h:38, from mac-resolution.c:34: /usr/include/stdio.h:399:43: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from global.h:75, from util.h:41, from util.c:28: util.c: In function ‘drop_privs’: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘getgrnam’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ util.c:366:32: note: in expansion of macro ‘bdata’ 366 | if ((this_group = getgrnam(bdata(newgroup))) == NULL) | ^~~~~ In file included from util.h:37, from util.c:28: /usr/include/grp.h:107:44: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 107 | extern struct group *getgrnam (const char *__name); | ~~~~~~~~~~~~^~~~~~ In file included from global.h:75, from util.h:41, from util.c:28: ../lib/bstring/bstrlib.h:131:97: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 131 | #define bdataofse(b, o, e) (((b) == (void *)0 || (b)->data == (void*)0) ? (unsigned char *)(e) : ((b)->data) + (o)) | ^ | | | unsigned char * ../lib/bstring/bstrlib.h:132:30: note: in expansion of macro ‘bdataofse’ 132 | #define bdataofs(b, o) (bdataofse ((b), (o), (void *)0)) | ^~~~~~~~~ ../lib/bstring/bstrlib.h:134:30: note: in expansion of macro ‘bdataofs’ 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~ util.c:369:31: note: in expansion of macro ‘bdata’ 369 | if ((this_user = getpwnam(bdata(newuser))) == NULL) | ^~~~~ In file included from util.h:38, from util.c:28: /usr/include/pwd.h:116:45: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ util.c:369:22: warning: argument 1 null where non-null expected [-Wnonnull] 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: in a call to function ‘getpwnam’ declared ‘nonnull’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ storage.c: In function ‘find_asset’: storage.c:403:12: warning: ‘rec’ may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | Asset *rec; | ^~~ 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:170:8: warning: ‘pcre_string’ may be used uninitialized in this function [-Wmaybe-uninitialized] 170 | if (pcre_string != NULL) | ^ util.c: In function ‘strlcat’: util.c:328:19: warning: ‘tocopy’ is used uninitialized [-Wuninitialized] 328 | while (tocopy-- && *dstptr) dstptr++; | ~~~~~~~~~^~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/pads-yyNtmL/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-yyNtmL/pads-1.2/src' make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/src' make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2' make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2' make[2]: Leaving directory '/build/pads-yyNtmL/pads-1.2' make[1]: Leaving directory '/build/pads-yyNtmL/pads-1.2' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_prep -a dh_installdirs -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/pads-yyNtmL/pads-1.2' dh_auto_install -- -C src make -j10 install DESTDIR=/build/pads-yyNtmL/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C src make[2]: Entering directory '/build/pads-yyNtmL/pads-1.2/src' Making install in output make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/src/output' make[4]: Entering directory '/build/pads-yyNtmL/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-yyNtmL/pads-1.2/src/output' make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/src/output' make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/src' make[4]: Entering directory '/build/pads-yyNtmL/pads-1.2/src' /bin/mkdir -p '/build/pads-yyNtmL/pads-1.2/debian/pads/usr/bin' /bin/mkdir -p '/build/pads-yyNtmL/pads-1.2/debian/pads/usr/bin' make[4]: Nothing to be done for 'install-data-am'. /usr/bin/install -c pads-report '/build/pads-yyNtmL/pads-1.2/debian/pads/usr/bin' /usr/bin/install -c pads '/build/pads-yyNtmL/pads-1.2/debian/pads/usr/bin' make[4]: Leaving directory '/build/pads-yyNtmL/pads-1.2/src' make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/src' make[2]: Leaving directory '/build/pads-yyNtmL/pads-1.2/src' dh_auto_install -- -C etc make -j10 install DESTDIR=/build/pads-yyNtmL/pads-1.2/debian/pads AM_UPDATE_INFO_DIR=no -C etc make[2]: Entering directory '/build/pads-yyNtmL/pads-1.2/etc' make[3]: Entering directory '/build/pads-yyNtmL/pads-1.2/etc' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/pads-yyNtmL/pads-1.2/debian/pads/etc/pads' /usr/bin/install -c -m 644 pads.conf pads-signature-list pads-ether-codes '/build/pads-yyNtmL/pads-1.2/debian/pads/etc/pads' make[3]: Leaving directory '/build/pads-yyNtmL/pads-1.2/etc' make[2]: Leaving directory '/build/pads-yyNtmL/pads-1.2/etc' make[1]: Leaving directory '/build/pads-yyNtmL/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-13_amd64.deb'. dpkg-deb: building package 'pads-dbgsym' in '../pads-dbgsym_1.2-13_amd64.deb'. dpkg-genbuildinfo --build=any -O../pads_1.2-13_amd64.buildinfo dpkg-genchanges --build=any -O../pads_1.2-13_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-yyNtmL /tmp/pads-1.2-13opbl7mga I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.S1IdppBNjV... I: success in 256.3720 seconds md5: pads-dbgsym_1.2-13_amd64.deb: OK md5: pads_1.2-13_amd64.deb: OK sha1: pads-dbgsym_1.2-13_amd64.deb: OK sha1: pads_1.2-13_amd64.deb: OK sha256: pads-dbgsym_1.2-13_amd64.deb: OK sha256: pads_1.2-13_amd64.deb: OK Checksums: OK