Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/d/dnstracer/dnstracer_1.9-5+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/dnstracer-1.9-5+b19p35c0ww/dnstracer_1.9-5+b1_amd64.buildinfo Get source package info: dnstracer=1.9-5 Source URL: http://snapshot.notset.fr/mr/package/dnstracer/1.9-5/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.16.1-4 autopoint=0.19.8.1-9 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.46 bash=5.0-4 binutils=2.32.51.20190727-1 binutils-common=2.32.51.20190727-1 binutils-x86-64-linux-gnu=2.32.51.20190727-1 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.6 bzip2=1.0.6-9.2 coreutils=8.30-3 cpp=4:8.3.0-1 cpp-8=8.3.0-19 dash=0.5.10.2-6 debconf=1.5.72 debhelper=12.2.3 debianutils=4.8.6.3 dh-autoreconf=19 dh-strip-nondeterminism=1.3.0-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.12.20190723-1 fdisk=2.34-0.1 file=1:5.37-5 findutils=4.6.0+git+20190510-2 g++=4:8.3.0-1 g++-8=8.3.0-19 gcc=4:8.3.0-1 gcc-8=8.3.0-19 gcc-8-base=8.3.0-19 gcc-9-base=9.1.0-10 gettext=0.19.8.1-9 gettext-base=0.19.8.1-9 grep=3.3-1 groff-base=1.22.4-3 gzip=1.9-3 hostname=3.21 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-4 libarchive-zip-perl=1.64-1 libasan5=9.1.0-10 libatomic1=9.1.0-10 libattr1=1:2.4.48-4 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2 libbinutils=2.32.51.20190727-1 libblkid1=2.34-0.1 libbsd0=0.9.1-2 libbz2-1.0=1.0.6-9.2 libc-bin=2.28-10 libc-dev-bin=2.28-10 libc6=2.28-10 libc6-dev=2.28-10 libcap-ng0=0.7.9-2 libcc1-0=9.1.0-10 libcroco3=0.6.12-3 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.249 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libfdisk1=2.34-0.1 libffi6=3.2.1-9 libfile-stripnondeterminism-perl=1.3.0-1 libgcc-8-dev=8.3.0-19 libgcc1=1:9.1.0-10 libgcrypt20=1.8.4-5 libgdbm-compat4=1.18.1-4+b1 libgdbm6=1.18.1-4+b1 libglib2.0-0=2.60.6-1 libgmp10=2:6.1.2+dfsg-4 libgomp1=9.1.0-10 libgpg-error0=1.36-7 libicu63=63.2-2 libisl19=0.20-2 libitm1=9.1.0-10 liblsan0=9.1.0-10 liblz4-1=1.8.3-1 liblzma5=5.2.4-1 libmagic-mgc=1:5.37-5 libmagic1=1:5.37-5 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libmpx2=8.3.0-19 libncurses6=6.1+20190713-1 libncursesw6=6.1+20190713-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 libpcre2-8-0=10.32-5 libpcre3=2:8.39-12 libperl5.28=5.28.1-6 libpipeline1=1.5.1-2 libquadmath0=9.1.0-10 libseccomp2=2.4.1-2 libselinux1=2.9-2 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libstdc++-8-dev=8.3.0-19 libstdc++6=9.1.0-10 libsub-override-perl=0.09-2 libsystemd0=241-7 libtinfo6=6.1+20190713-1 libtool=2.4.6-10 libtsan0=9.1.0-10 libubsan1=9.1.0-10 libuchardet0=0.0.6-3 libudev1=241-7 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libxml2=2.9.4+dfsg1-7+b3 linux-libc-dev=4.19.37-6 login=1:4.7-2 m4=1.4.18-2 make=4.2.1-1.2 man-db=2.8.5-2 mawk=1.3.3-17+b3 ncurses-base=6.1+20190713-1 ncurses-bin=6.1+20190713-1 patch=2.7.6-6 perl=5.28.1-6 perl-base=5.28.1-6 perl-modules-5.28=5.28.1-6 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12 sysvinit-utils=2.95-2 tar=1.30+dfsg-6 util-linux=2.34-0.1 xz-utils=5.2.4-1 zlib1g=1:1.2.11.dfsg-1 --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/20190729T092703Z/ 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 dnstracer=1.9-5 && mkdir -p /build/dnstracer-R8BYjI && dpkg-source --no-check -x /*.dsc /build/dnstracer-R8BYjI/dnstracer-1.9 && cd /build/dnstracer-R8BYjI/dnstracer-1.9 && { printf '%s' 'dnstracer (1.9-5+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild for missing buildinfo files -- amd64 / i386 Build Daemon (x86-csail-01) Mon, 29 Jul 2019 12:30:33 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/dnstracer-R8BYjI" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/dnstracer-R8BYjI/dnstracer-1.9 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1564403433" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/dnstracer-R8BYjI /tmp/dnstracer-1.9-5+b19p35c0ww bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20190729T092703Z 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.ZG9X4v0HS7 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.ZG9X4v0HS7 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, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20190729T092703Z unstable/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20190729T092703Z unstable/main amd64 fakeroot amd64 1.23-1 [85.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1183 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 ... 4453 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_amd64.deb ... Unpacking fakeroot (1.23-1) ... Setting up libfakeroot:amd64 (1.23-1) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.28-10) ... 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/20190729T092703Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ZG9X4v0HS7 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20190729T092703Z 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 20s (1108 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.ZG9X4v0HS7 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d dnstracer=1.9-5 && mkdir -p /build/dnstracer-R8BYjI && dpkg-source --no-check -x /*.dsc /build/dnstracer-R8BYjI/dnstracer-1.9 && cd /build/dnstracer-R8BYjI/dnstracer-1.9 && { printf '%s' 'dnstracer (1.9-5+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild for missing buildinfo files -- amd64 / i386 Build Daemon (x86-csail-01) Mon, 29 Jul 2019 12:30:33 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/dnstracer-R8BYjI"' exec /tmp/mmdebstrap.ZG9X4v0HS7 Reading package lists... NOTICE: 'dnstracer' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/collab-maint/dnstracer.git Please use: git clone https://anonscm.debian.org/git/collab-maint/dnstracer.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 137 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main dnstracer 1.9-5 (dsc) [1834 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main dnstracer 1.9-5 (tar) [131 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main dnstracer 1.9-5 (diff) [4204 B] Fetched 137 kB in 0s (1013 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'dnstracer_1.9-5.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting dnstracer in /build/dnstracer-R8BYjI/dnstracer-1.9 dpkg-source: info: unpacking dnstracer_1.9.orig.tar.gz dpkg-source: info: unpacking dnstracer_1.9-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 10-dnstracer.8.patch dpkg-source: info: applying 20-binary-spelling.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/dnstracer-R8BYjI/dnstracer-1.9 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1564403433" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ZG9X4v0HS7 dpkg-buildpackage: info: source package dnstracer dpkg-buildpackage: info: source version 1.9-5+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from dnstracer-1.9/debian/source/options: --extend-diff-ignore=configure|config\.(sub|guess)|Makefile fakeroot debian/rules clean dh clean --with autotools_dev dh: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115) dh: This feature will be removed in compat 12. dh_autotools-dev_restoreconfig dh_autotools-dev_restoreconfig: dh_autotools-dev_restoreconfig is deprecated; please see dh_autotools-dev_restoreconfig(1) for a replacement dh_autotools-dev_restoreconfig: This feature will be removed in compat 12. debian/rules override_dh_clean make[1]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_autotools-dev_restoreconfig dh_autotools-dev_restoreconfig: dh_autotools-dev_restoreconfig is deprecated; please see dh_autotools-dev_restoreconfig(1) for a replacement dh_autotools-dev_restoreconfig: This feature will be removed in compat 12. dh_clean make[1]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' debian/rules build-arch dh build-arch --with autotools_dev dh: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115) dh: This feature will be removed in compat 12. dh_update_autotools_config -a dh_autotools-dev_updateconfig -a dh_autotools-dev_updateconfig: dh_autotools-dev_updateconfig is deprecated; please see dh_autotools-dev_updateconfig(1) for a replacement dh_autotools-dev_updateconfig: This feature will be removed in compat 12. debian/rules override_dh_auto_configure make[1]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_autotools-dev_updateconfig dh_autotools-dev_updateconfig: dh_autotools-dev_updateconfig is deprecated; please see dh_autotools-dev_updateconfig(1) for a replacement dh_autotools-dev_updateconfig: This feature will be removed in compat 12. dh_auto_configure ./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 --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether byte ordering is bigendian... no checking for inet_ntoa... yes checking for socket... yes checking for gethostbyname... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for gethostbyname... (cached) yes checking for inet_ntoa... (cached) yes checking for inet_pton... yes checking for memset... yes checking for select... yes checking for socket... (cached) yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes configure: creating ./config.status ./config.status: line 559: cd: /nonexistent: No such file or directory config.status: creating Makefile config.status: creating config.h ./config.status: line 915: cd: /nonexistent: No such file or directory config.status: executing default-1 commands make[1]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_auto_build -a make -j1 make[1]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' make all-am make[2]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' gcc -DHAVE_CONFIG_H -I. -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/dnstracer-R8BYjI/dnstracer-1.9=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c `test -f 'dnstracer.c' || echo './'`dnstracer.c dnstracer.c: In function ‘getname’: dnstracer.c:291:24: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] offset = getshort(p); ^ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c: In function ‘extract_rr’: dnstracer.c:335:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] RR->domainname = strdup(domainname); ^ dnstracer.c:336:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] RR->domainname_string = strdup(printablename(domainname, 1)); ^ dnstracer.c:337:25: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] RR->type = getshort(thisrr); ^~~~~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:338:33: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] RR->class = getshort(thisrr + 2); ~~~~~~~^~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:339:30: warning: pointer targets in passing argument 1 of ‘getlong’ differ in signedness [-Wpointer-sign] RR->ttl = getlong(thisrr + 4); ~~~~~~~^~~ dnstracer.c:245:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getlong(unsigned char *s) ^~~~~~~ dnstracer.c:340:38: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] RR->datalength = getshort(thisrr + 8); ~~~~~~~^~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:345:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] RR->data_string = strdup(get_resource(RR->type, session, p, 1)); ^ dnstracer.c: In function ‘extract_data’: dnstracer.c:393:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] question->query = strdup(getname(session, &pquestion)); ^ dnstracer.c:394:31: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] question->type = getshort(pquestion); ^~~~~~~~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:395:42: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] question->class = getshort(pquestion + 2); ~~~~~~~~~~^~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:361:12: warning: variable ‘pheader’ set but not used [-Wunused-but-set-variable] char * pheader; ^~~~~~~ dnstracer.c: In function ‘get_resource’: dnstracer.c:581:16: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] us = getshort(buffer); ^~~~~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:609:15: warning: pointer targets in passing argument 1 of ‘getlong’ differ in signedness [-Wpointer-sign] ul = getlong(buffer); ^~~~~~ dnstracer.c:245:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getlong(unsigned char *s) ^~~~~~~ dnstracer.c: In function ‘dump_question’: dnstracer.c:622:66: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] printf("- Queryname: %s\n", printablename(question->query, 0)); ~~~~~~~~^~~~~~~ dnstracer.c:439:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ printablename(char *name, int withdots) ^~~~~~~~~~~~~ dnstracer.c: In function ‘dump_rr’: dnstracer.c:679:60: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] printf("- Domainname: %s\n", printablename(rr->domainname, 0)); ~~^~~~~~~~~~~~ dnstracer.c:439:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ printablename(char *name, int withdots) ^~~~~~~~~~~~~ dnstracer.c:688:43: warning: pointer targets in passing argument 3 of ‘get_resource’ differ in signedness [-Wpointer-sign] get_resource(rr->type, session, rr->data, 0)); ~~^~~~~~ dnstracer.c:536:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ get_resource(int type, struct dnssession *session, char *buffer, int dots) ^~~~~~~~~~~~ dnstracer.c: In function ‘send_data’: dnstracer.c:876:9: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] pkt = create_packet(session); ^ dnstracer.c: In function ‘receive_data’: dnstracer.c:915:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] if (getshort(buffer) != session->send_header->identification) { ^~~~~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c:917:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] session->send_header->identification, getshort(buffer)); ^~~~~~ dnstracer.c:251:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’ getshort(unsigned char *s) ^~~~~~~~ dnstracer.c: In function ‘create_question’: dnstracer.c:962:42: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(session->send_question->query + 1, name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ dnstracer.c:964:7: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] p = session->send_question->query + 1; ^ dnstracer.c:965:7: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] q = session->send_question->query; ^ dnstracer.c: In function ‘add_arecord’: dnstracer.c:997:47: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] arecord->rr_name = strdup(printablename(rr->domainname, 1)); ~~^~~~~~~~~~~~ dnstracer.c:439:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ printablename(char *name, int withdots) ^~~~~~~~~~~~~ dnstracer.c:1002:30: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] arecord->rr_data = strdup(rr->data_string); ~~^~~~~~~~~~~~~ In file included from dnstracer.c:55: /usr/include/string.h:166:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern char *strdup (const char *__s) ^~~~~~ dnstracer.c: In function ‘create_session’: dnstracer.c:1259:28: warning: pointer targets in passing argument 2 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] session->authority->domainname_string) == 0) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:431, from dnstracer.c:55: /usr/include/strings.h:116:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ dnstracer.c:1303:19: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(rrauth->domainname_string, ".") == 0) { ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from dnstracer.c:55: /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ dnstracer.c:1311:25: warning: pointer targets in passing argument 1 of ‘strnrcasecmp’ differ in signedness [-Wpointer-sign] strnrcasecmp(rrauth->domainname_string, server_authfor, ~~~~~~^~~~~~~~~~~~~~~~~~~ dnstracer.c:227:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ strnrcasecmp(const char *big, const char *little, size_t len) ^~~~~~~~~~~~ dnstracer.c:1325:35: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] if (strcmp(printablename(rradd->domainname, 1), ~~~~~^~~~~~~~~~~~ dnstracer.c:439:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ printablename(char *name, int withdots) ^~~~~~~~~~~~~ dnstracer.c:1326:9: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] rrauth->data_string) == 0) ~~~~~~^~~~~~~~~~~~~ In file included from dnstracer.c:55: /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ dnstracer.c:1337:33: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] if (strcmp(printablename(rradd->domainname, 1), ~~~~~^~~~~~~~~~~~ dnstracer.c:439:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ printablename(char *name, int withdots) ^~~~~~~~~~~~~ dnstracer.c:1338:13: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] rrauth->data_string) == 0) ~~~~~~^~~~~~~~~~~~~ In file included from dnstracer.c:55: /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ dnstracer.c:1359:46: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] strcpy(nextserver_name, printablename(rradd->domainname, 1)); ~~~~~^~~~~~~~~~~~ dnstracer.c:439:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ printablename(char *name, int withdots) ^~~~~~~~~~~~~ dnstracer.c:1360:30: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(nextserver_ip, rradd->data_string); ~~~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ dnstracer.c:1363:31: warning: pointer targets in passing argument 5 of ‘create_session’ differ in signedness [-Wpointer-sign] nextserver_name, rrauth->domainname_string, ~~~~~~^~~~~~~~~~~~~~~~~~~ dnstracer.c:1131:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ create_session(char *host, char *server_ip, int ipv6, char *server_name, ^~~~~~~~~~~~~~ dnstracer.c:1369:33: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(nextserver_name, rrauth->data_string); ~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ dnstracer.c:1399:27: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] unsigned char *s = addr_list[i]; ^~~~~~~~~ dnstracer.c:1404:27: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] unsigned char *s = addr_list[i]; ^~~~~~~~~ dnstracer.c:1416:31: warning: pointer targets in passing argument 5 of ‘create_session’ differ in signedness [-Wpointer-sign] nextserver_name, rrauth->domainname_string, ~~~~~~^~~~~~~~~~~~~~~~~~~ dnstracer.c:1131:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ create_session(char *host, char *server_ip, int ipv6, char *server_name, ^~~~~~~~~~~~~~ dnstracer.c:1433:27: warning: pointer targets in passing argument 5 of ‘create_session’ differ in signedness [-Wpointer-sign] nextserver_name, rrauth->domainname_string, ~~~~~~^~~~~~~~~~~~~~~~~~~ dnstracer.c:1131:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ create_session(char *host, char *server_ip, int ipv6, char *server_name, ^~~~~~~~~~~~~~ dnstracer.c: In function ‘main’: dnstracer.c:1643:25: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] unsigned char *s = h->h_addr_list[0]; ^ dnstracer.c:1647:25: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] unsigned char *s = h->h_addr_list[0]; ^ dnstracer.c: In function ‘display_arecords’: dnstracer.c:1022:20: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(s, "%%%ds", 40 - i); ^~ dnstracer.c:1022:17: note: directive argument in the range [1, 2147483647] sprintf(s, "%%%ds", 40 - i); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/resolv.h:58, from dnstracer.c:50: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 13 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/dnstracer-R8BYjI/dnstracer-1.9=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o dnstracer dnstracer.o make[2]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' make[1]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_auto_test -a make -j1 check VERBOSE=1 make[1]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' make[1]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' fakeroot debian/rules binary-arch dh binary-arch --with autotools_dev dh: The autotools-dev sequence is deprecated and replaced by dh in debhelper (>= 9.20160115) dh: This feature will be removed in compat 12. dh_testroot -a dh_prep -a dh_auto_install -a make -j1 install DESTDIR=/build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' make[2]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' /bin/bash ./mkinstalldirs /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/bin mkdir /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr mkdir /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/bin /usr/bin/install -c dnstracer /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/bin/dnstracer /bin/bash ./mkinstalldirs /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/share/man/man8 mkdir /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/share mkdir /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/share/man mkdir /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/share/man/man8 /usr/bin/install -c -m 644 ./dnstracer.8 /build/dnstracer-R8BYjI/dnstracer-1.9/debian/dnstracer/usr/share/man/man8/dnstracer.8 make[2]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' make[1]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_installdocs -a debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_installchangelogs CHANGES make[1]: Leaving directory '/build/dnstracer-R8BYjI/dnstracer-1.9' dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'dnstracer' in '../dnstracer_1.9-5+b1_amd64.deb'. dpkg-deb: building package 'dnstracer-dbgsym' in '../dnstracer-dbgsym_1.9-5+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../dnstracer_1.9-5+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-source: info: using options from dnstracer-1.9/debian/source/options: --extend-diff-ignore=configure|config\.(sub|guess)|Makefile dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/dnstracer-R8BYjI /tmp/dnstracer-1.9-5+b19p35c0ww I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.ZG9X4v0HS7... I: success in 268.9787 seconds md5: dnstracer-dbgsym_1.9-5+b1_amd64.deb: OK md5: dnstracer_1.9-5+b1_amd64.deb: OK sha1: dnstracer-dbgsym_1.9-5+b1_amd64.deb: OK sha1: dnstracer_1.9-5+b1_amd64.deb: OK sha256: dnstracer-dbgsym_1.9-5+b1_amd64.deb: OK sha256: dnstracer_1.9-5+b1_amd64.deb: OK Checksums: OK