Sat Jul 18 10:22:43 UTC 2020 I: starting to build hunt/buster/arm64 on jenkins on '2020-07-18 10:22' Sat Jul 18 10:22:43 UTC 2020 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_3/4086/console.log Sat Jul 18 10:22:43 UTC 2020 I: Downloading source for buster/hunt=1.5-6.1 --2020-07-18 10:22:44-- http://deb.debian.org/debian/pool/main/h/hunt/hunt_1.5-6.1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1707 (1.7K) Saving to: ‘hunt_1.5-6.1.dsc’ 0K . 100% 85.1M=0s 2020-07-18 10:22:44 (85.1 MB/s) - ‘hunt_1.5-6.1.dsc’ saved [1707/1707] Sat Jul 18 10:22:44 UTC 2020 I: hunt_1.5-6.1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.0 Source: hunt Binary: hunt Architecture: any Version: 1.5-6.1 Maintainer: Angel Ramos Standards-Version: 3.8.0 Build-Depends: debhelper (>= 5.0.0) Package-List: hunt deb net optional arch=any Checksums-Sha1: 3a772b1b9af58c566930ca67121e4a817b65a9a7 99241 hunt_1.5.orig.tar.gz 09d2a2bee640c39a9254a076d55d9107f5ce653d 4556 hunt_1.5-6.1.diff.gz Checksums-Sha256: a8a1978f3bd05ca3f01c168c13c9a09b1e1e9038c14fdfe43694c07fe3a0e328 99241 hunt_1.5.orig.tar.gz 91996bfdb25656b3ea02072a47754ae19dc43fb605da0df89c73231c6fd57207 4556 hunt_1.5-6.1.diff.gz Files: 5a8886784d1668a8518d5562bfd01ae7 99241 hunt_1.5.orig.tar.gz f98718b41f1960a351e3a6231fe2a12e 4556 hunt_1.5-6.1.diff.gz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJVrS2LXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREMUUxMzE2RTkzQTc2MEE4MTA0RDg1RkFC QjNBNjgwMTg2NDlBQTA2AAoJELs6aAGGSaoGGCkQALN4jF6+oL3T6H4Vc7peJzVh 1ySpEKK98NpckoCxYM9LPqUHLQvidX5+Q6puYUxwy4DGeDeNinNr65Cfn/4D6iBI GITA4t5TqFx4Q1ketgVf8+UvFsruW0/9JqKATMfs5WJwzVXTIfB/mi1lVxhkq8PE Jzdr6PDZLj4D+yUj2/qNFj91E69eA/n9vBFCSsOz0bFARAX7nzVU8ilpSeQTYTrK nM6k75xAYAhQu8lLpq6zp84w9DegEK0ziPF2DZYDRbIfgMvcfy5J2WTVL2Sb2F2G TRq0lkIEbH1d49fvrPN1h1JHTR3fNnYfdgT1yQ1mXtCOlrzOAhayZ1es/b/+lovT QmQo8I08qBpSUjg8oMmi4x4VSWbJzAPD4KqQhlx1pBaI7AQ5k+4RjvBOG4Y5xZq4 zaWY0MY/Jg01SupduCsWshy+/ZQ1Jmbd5XshvFwDgwGVY5CnqKhvDUzARHXU2/TC kU20mvBdz0lrc9oivLoc0XuEYvKXGdgzQ8MWUotUB0JP2hXsIfkoGidwP0h/D6lW 8vLHy7Z2uY+MoZn7xs+Qw0M8fJlqBkBlngJgQJx/7PRy5giNLyrh7WOSm6fv4f1q TTJV2UJPCoIPMFP6zaO+qbaV9mLrJCbG205wXLIEtm+gUV2PC6F0mUjzf66KrTwa RvcKf00qMm4T9F4wS/BB =3KeV -----END PGP SIGNATURE----- Sat Jul 18 10:22:44 UTC 2020 I: Checking whether the package is not for us Sat Jul 18 10:22:44 UTC 2020 I: Starting 1st build on remote node codethink-sled9-arm64.debian.net. Sat Jul 18 10:22:44 UTC 2020 I: Preparing to do remote build '1' on codethink-sled9-arm64.debian.net. Sat Jul 18 10:23:54 UTC 2020 I: Deleting $TMPDIR on codethink-sled9-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Fri Aug 20 04:45:53 -12 2021 I: pbuilder-time-stamp: 1629477954 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [hunt_1.5-6.1.dsc] I: copying [./hunt_1.5.orig.tar.gz] I: copying [./hunt_1.5-6.1.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Mon Jul 20 05:19:07 2015 -12 gpgv: using RSA key BB3A68018649AA06 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./hunt_1.5-6.1.dsc dpkg-source: info: extracting hunt in hunt-1.5 dpkg-source: info: unpacking hunt_1.5.orig.tar.gz dpkg-source: info: applying hunt_1.5-6.1.diff.gz dpkg-source: info: upstream files that have been modified: hunt-1.5/Makefile hunt-1.5/hostup.c hunt-1.5/hunt.c hunt-1.5/hunt.h hunt-1.5/main.c hunt-1.5/man/hunt.1 hunt-1.5/net.c hunt-1.5/tpserv/Makefile I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/26556/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='26556' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/pbuilderrc_zDY0 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/b1 --logfile b1/build.log hunt_1.5-6.1.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink-sled9-arm64 4.4.0-185-generic #215-Ubuntu SMP Mon Jun 8 21:55:24 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash -rwxr-xr-x 1 root root 97136 Feb 28 2019 date -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd -rwxr-xr-x 1 root root 93752 Feb 28 2019 df -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 27256 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln -rwxr-xr-x 1 root root 52544 Jul 26 2018 login -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 9 2019 more -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 20 02:50 sh -> dash -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty -rwsr-xr-x 1 root root 59424 Jan 9 2019 su -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch -rwxr-xr-x 1 root root 27256 Feb 28 2019 true -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/26556/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 5.0.0) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 5.0.0); however: Package debhelper is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 18.6 MB of archives. After unpacking 69.2 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Fetched 18.6 MB in 1s (17.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (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 ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../11-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../22-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../27-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/hunt-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package hunt dpkg-buildpackage: info: source version 1.5-6.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by gregor herrmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean make[1]: Entering directory '/build/hunt-1.5' rm -f *.o core c/*.o c/core c/list_test c/hash_test c/array_test rm -f hunt hunt_static /usr/bin/make -C tpserv distclean make[2]: Entering directory '/build/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[2]: Leaving directory '/build/hunt-1.5/tpserv' make[1]: Leaving directory '/build/hunt-1.5' [ ! -f tpserv/Makefile ] || /usr/bin/make -C tpserv distclean make[1]: Entering directory '/build/hunt-1.5/tpserv' rm -f *.o rm -f tpserv make[1]: Leaving directory '/build/hunt-1.5/tpserv' #cd tpserv && make distclean dh_clean rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) rm -f -- debian/hunt.substvars debian/files rm -fr -- debian/hunt/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) debian/rules build dh_testdir # build package here /usr/bin/make make[1]: Entering directory '/build/hunt-1.5' cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o hunt.o hunt.c In file included from hunt.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ hunt.c: In function 'conn_add_update': hunt.c:393:30: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] struct host_info *h_src, *h_dst; ^~~~~ hunt.c: In function 'mac_arp_learn': hunt.c:696:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] mac = arpethh->ar_sha; ^ hunt.c: In function 'mac_ip_learn': hunt.c:710:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] mac = p->p_ethh->h_source; ^ hunt.c: In function 'print_mac_table': hunt.c:1016:26: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] sprintf_eth_mac(buf, mi->mac); ~~^~~~~ In file included from hunt.c:9: hunt.h:422:5: note: expected 'unsigned char *' but argument is of type 'char *' int sprintf_eth_mac(char *b, unsigned char *mac); ^~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o main.o main.c In file included from main.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ main.c: In function 'a_hijack': main.c:350:34: warning: pointer targets in passing argument 2 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); ^~~~~~~~~~~~ In file included from main.c:9: hunt.h:503:5: note: expected 'char *' but argument is of type 'unsigned char *' int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, ^~~~~~~~~~~~~~~ main.c:350:48: warning: pointer targets in passing argument 3 of 'user_arp_hijack' differ in signedness [-Wpointer-sign] retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); ^~~~~~~~~~~~ In file included from main.c:9: hunt.h:503:5: note: expected 'char *' but argument is of type 'unsigned char *' int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, ^~~~~~~~~~~~~~~ main.c:373:24: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] user_arp_hijack_done(src_fake_mac, dst_fake_mac); ^~~~~~~~~~~~ In file included from main.c:9: hunt.h:505:6: note: expected 'char *' but argument is of type 'unsigned char *' void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); ^~~~~~~~~~~~~~~~~~~~ main.c:373:38: warning: pointer targets in passing argument 2 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] user_arp_hijack_done(src_fake_mac, dst_fake_mac); ^~~~~~~~~~~~ In file included from main.c:9: hunt.h:505:6: note: expected 'char *' but argument is of type 'unsigned char *' void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); ^~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:509:56: warning: backslash and newline separated by space fprintf(stderr, "Network interface %s does not have "\ main.c:499:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(my_ifreq.ifr_name, eth_device, IFNAMSIZ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o c/list.o c/list.c c/list.c: In function '__func_remove_at': c/list.c:252:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (nr == (int) m) ^ c/list.c: In function 'list_remove_at': c/list.c:297:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return __list_remove(l, __func_remove_at, (void *) nr); ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o c/hash.o c/hash.c cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o c/array.o c/array.c In file included from c/array.c:10: c/array.c: In function 'array_init': c/array.c:27:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(a->a_arr = malloc(size * sizeof(struct array_item))); ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o util.o util.c In file included from util.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o net.o net.c In file included from net.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ net.c: In function 'is_icmp_reply': net.c:189:17: warning: variable 'seq' set but not used [-Wunused-but-set-variable] unsigned short seq, id; ^~~ net.c: In function 'send_tcp_packet': net.c:85:2: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c: In function 'send_icmp_packet': net.c:151:2: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c: In function 'send_arp_packet': net.c:246:2: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c: In function 'send_packet': net.c:274:2: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o rst.o rst.c In file included from rst.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ rst.c: In function 'rst': rst.c:60:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ rst.c:61:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ rst.c:69:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ rst.c:70:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o menu.o menu.c In file included from menu.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ menu.c: In function 'menu_choose_mac': menu.c:254:22: warning: pointer targets in passing argument 2 of 'parse_mac' differ in signedness [-Wpointer-sign] if (parse_mac(buf, mac_ret) == 0) ^~~~~~~ menu.c:173:5: note: expected 'char *' but argument is of type 'unsigned char *' int parse_mac(char *buf, char *mac_ret) ^~~~~~~~~ menu.c: In function 'menu_choose_ports': menu.c:281:24: warning: pointer targets in passing argument 2 of 'parse_ports' differ in signedness [-Wpointer-sign] if (parse_ports(buf, ret_ports) == 0) ^~~~~~~~~ menu.c:58:5: note: expected 'unsigned int *' but argument is of type 'int *' int parse_ports(char *buf, unsigned int *ret_ports) ^~~~~~~~~~~ menu.c: In function 'menu_choose_host_mask_ports_dfl': menu.c:347:29: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] buf_p += sprintf_db_ports(dfl_ports, buf_p, ^~~~~~~~~ In file included from menu.c:9: hunt.h:415:5: note: expected 'unsigned int *' but argument is of type 'int *' int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^~~~~~~~~~~~~~~~ menu.c: In function 'menu': menu.c:522:12: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] printf("%*s", strlen(head) + 9, " "); ~^~ ~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o hijack.o hijack.c In file included from hijack.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ hijack.c: In function 'fast_ack_to_dst': hijack.c:89:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->src.src_mac; ^ hijack.c:90:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ hijack.c: In function 'stormack_hijack': hijack.c:223:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ hijack.c:224:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o rstd.o rstd.c In file included from rstd.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ rstd.c: In function 'func_tcp_packet': rstd.c:86:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; ^ rstd.c: In function 'rst_daemon_thr': rstd.c:140:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rst_mode = (int) p->p_arg[MODULE_RSTD]; ^ rstd.c: In function 'rst_add_item': rstd.c:265:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from rstd.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:268:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from rstd.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:281:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from rstd.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ rstd.c:285:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from rstd.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ rstd.c: In function 'rst_mod_item': rstd.c:314:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from rstd.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:315:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) ~~~^~~~~~~~~~~ In file included from rstd.c:9: hunt.h:370:5: note: expected 'int *' but argument is of type 'unsigned int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:318:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from rstd.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:319:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) ~~~^~~~~~~~~~~ In file included from rstd.c:9: hunt.h:370:5: note: expected 'int *' but argument is of type 'unsigned int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rstd.c:326:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from rstd.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ rstd.c:327:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from rstd.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ rstd.c: In function 'db_item_print': rstd.c:228:23: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), ^~ count_mask(dbi->src_mask), buf_src_ports); ~~~~~~~~~~~~~ rstd.c:228:2: note: 'sprintf' output 6 or more bytes (assuming 517) into a destination of size 512 sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ count_mask(dbi->src_mask), buf_src_ports); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o sniff.o sniff.c In file included from sniff.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ sniff.c: In function 'sniff_item_print': sniff.c:128:21: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); ~~^~~~~~~~~~~ In file included from sniff.c:9: hunt.h:415:5: note: expected 'unsigned int *' but argument is of type 'int *' int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^~~~~~~~~~~~~~~~ sniff.c:129:21: warning: pointer targets in passing argument 1 of 'sprintf_db_ports' differ in signedness [-Wpointer-sign] sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); ~~^~~~~~~~~~~ In file included from sniff.c:9: hunt.h:415:5: note: expected 'unsigned int *' but argument is of type 'int *' int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); ^~~~~~~~~~~~~~~~ sniff.c: In function 'sniff_packet_match': sniff.c:174:34: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] port_match(tcph->source, si->src_ports) && ~~^~~~~~~~~~~ In file included from sniff.c:9: hunt.h:427:5: note: expected 'unsigned int *' but argument is of type 'int *' int port_match(int port, unsigned int *db_ports); ^~~~~~~~~~ sniff.c:175:32: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] port_match(tcph->dest, si->dst_ports)) ~~^~~~~~~~~~~ In file included from sniff.c:9: hunt.h:427:5: note: expected 'unsigned int *' but argument is of type 'int *' int port_match(int port, unsigned int *db_ports); ^~~~~~~~~~ sniff.c:181:34: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] port_match(tcph->source, si->dst_ports) && ~~^~~~~~~~~~~ In file included from sniff.c:9: hunt.h:427:5: note: expected 'unsigned int *' but argument is of type 'int *' int port_match(int port, unsigned int *db_ports); ^~~~~~~~~~ sniff.c:182:32: warning: pointer targets in passing argument 2 of 'port_match' differ in signedness [-Wpointer-sign] port_match(tcph->dest, si->src_ports)) ~~^~~~~~~~~~~ In file included from sniff.c:9: hunt.h:427:5: note: expected 'unsigned int *' but argument is of type 'int *' int port_match(int port, unsigned int *db_ports); ^~~~~~~~~~ sniff.c: In function 'sniff_add_item': sniff.c:664:4: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:664:15: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:667:4: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:667:15: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:705:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from sniff.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ sniff.c:709:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from sniff.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ sniff.c: In function 'sniff_mod_item': sniff.c:747:17: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:747:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:751:17: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:751:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from sniff.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c:770:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from sniff.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ sniff.c:771:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from sniff.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ sniff.c: In function 'sniff_item_print': sniff.c:135:28: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), ^~ count_mask(si->src_mask), buf_src_ports); ~~~~~~~~~~~~~ sniff.c:135:2: note: 'sprintf' output 6 or more bytes (assuming 517) into a destination of size 512 sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ count_mask(si->src_mask), buf_src_ports); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniff_add_item': sniff.c:690:26: warning: '%s' directive writing up to 511 bytes into a region of size 505 [-Wformat-overflow=] sprintf(file_name, "%s/%s", SNIFF_FILE_DIR, file_name_buf); ^~ ~~~~~~~~~~~~~ sniff.c:690:3: note: 'sprintf' output between 8 and 519 bytes into a destination of size 512 sprintf(file_name, "%s/%s", SNIFF_FILE_DIR, file_name_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniff.c: In function 'sniffer_log_print': sniff.c:236:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] sprintf(file_name, "%s_%d", file_name_buf, ++i); ^~ sniff.c:236:24: note: directive argument in the range [1, 2147483647] sprintf(file_name, "%s_%d", file_name_buf, ++i); ^~~~~~~ sniff.c:236:5: note: 'sprintf' output between 3 and 523 bytes into a destination of size 512 sprintf(file_name, "%s_%d", file_name_buf, ++i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o macdisc.o macdisc.c In file included from macdisc.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ macdisc.c: In function 'mac_discover': macdisc.c:40:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.src_mac = my_eth_mac; ^ macdisc.c:41:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.dst_mac = mac_broadcast; ^ macdisc.c:43:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.sender_mac = my_eth_mac; ^ macdisc.c:45:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.target_mac = mac_zero; ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o tap.o tap.c In file included from tap.c:31: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ tap.c: In function 'get_ifc_info': tap.c:135:17: warning: pointer targets in passing argument 1 of 'print_eth_mac' differ in signedness [-Wpointer-sign] print_eth_mac(mac); ^~~ In file included from tap.c:31: hunt.h:421:5: note: expected 'unsigned char *' but argument is of type 'char *' int print_eth_mac(unsigned char *mac); ^~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o arphijack.o arphijack.c In file included from arphijack.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ arphijack.c: In function 'watch_tty': arphijack.c:81:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = wtd->ci->dst.src_mac; ^ arphijack.c: In function 'arp_hijack': arphijack.c:122:21: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] ci->src.src_mac, ci->dst.src_mac, ~~~~~~~^~~~~~~~ In file included from arphijack.c:9: hunt.h:520:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arphijack.c:122:38: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] ci->src.src_mac, ci->dst.src_mac, ~~~~~~~^~~~~~~~ In file included from arphijack.c:9: hunt.h:520:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arphijack.c:143:19: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] ci->dst.src_mac, ci->src.src_mac, ~~~~~~~^~~~~~~~ In file included from arphijack.c:9: hunt.h:520:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arphijack.c:143:36: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] ci->dst.src_mac, ci->src.src_mac, ~~~~~~~^~~~~~~~ In file included from arphijack.c:9: hunt.h:520:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arphijack.c:169:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; ^ arphijack.c:200:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = asi_src ? asi_src->src_fake_mac : ^ arphijack.c:202:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ arphijack.c:224:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = asi_dst ? asi_dst->src_fake_mac : ^ arphijack.c:226:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o tty.o tty.c In file included from tty.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o synchijack.o synchijack.c In file included from synchijack.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ synchijack.c: In function 'hijack_sync_init_msg': synchijack.c:153:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ synchijack.c:154:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ synchijack.c: In function 'need_read_write_negative': synchijack.c:220:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ synchijack.c:221:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ synchijack.c: In function 'need_write_positive': synchijack.c:279:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ synchijack.c:280:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ synchijack.c: In function 'need_read_positive': synchijack.c:307:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->src.dst_mac; ^ synchijack.c:308:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->src.src_mac; ^ synchijack.c: In function 'f_hijack_sync': synchijack.c:419:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.src_mac = ci->dst.dst_mac; ^ synchijack.c:420:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ts.dst_mac = ci->dst.src_mac; ^ synchijack.c: In function 'hijack_sync': synchijack.c:464:18: warning: variable 'absts' set but not used [-Wunused-but-set-variable] struct timespec absts; ^~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o arpspoof.o arpspoof.c In file included from arpspoof.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ arpspoof.c: In function 'send_src_spoof_to_dst': arpspoof.c:85:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; ^ arpspoof.c:86:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ arpspoof.c:88:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.sender_mac = asi->src_fake_mac; ^ arpspoof.c:90:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.target_mac = asi->dst_mac; ^ arpspoof.c: In function 'send_src_spoof_to_dst_through_request': arpspoof.c:117:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; ^ arpspoof.c:118:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ ^ arpspoof.c:120:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.sender_mac = asi->src_fake_mac; ^ arpspoof.c:122:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.target_mac = mac_zero; ^ arpspoof.c: In function 'stop_arp_spoof': arpspoof.c:543:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ arpspoof.c:546:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ arpspoof.c:548:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ arpspoof.c:550:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.sender_mac = asi_src_mac; ^ arpspoof.c:552:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.target_mac = asi->dst_mac; ^ arpspoof.c:565:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ arpspoof.c:568:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : ^ arpspoof.c:570:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.src_mac = asi->src_mac; ^ arpspoof.c:571:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.dst_mac = asi->dst_mac; ^ arpspoof.c:573:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.sender_mac = asi_src_mac; ^ arpspoof.c:575:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as_dst.target_mac = mac_zero; ^ arpspoof.c: In function 'arp_spoof_range_list': arpspoof.c:951:27: warning: pointer targets in passing argument 2 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] sprintf_eth_mac(buf, asr->src_fake_mac); ~~~^~~~~~~~~~~~~~ In file included from arpspoof.c:9: hunt.h:422:5: note: expected 'unsigned char *' but argument is of type 'char *' int sprintf_eth_mac(char *b, unsigned char *mac); ^~~~~~~~~~~~~~~ arpspoof.c: In function 'arp_spoof_add_item': arpspoof.c:1008:36: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] mi_dst ? mi_dst->mac : NULL, src_fake_mac, ^~~~~~~~~~~~ arpspoof.c:396:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arpspoof.c: In function 'arp_spoof_add_h': arpspoof.c:1163:77: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, ^~~~~~~~~~~~ arpspoof.c:396:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arpspoof.c:1165:77: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, ^~~~~~~~~~~~ arpspoof.c:396:24: note: expected 'char *' but argument is of type 'unsigned char *' struct arp_spoof_info *start_arp_spoof(unsigned int src_addr, ^~~~~~~~~~~~~~~ arpspoof.c: In function 'arpspoof_test': arpspoof.c:1390:54: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, ~~~^~~~~~~~~~~~~~ In file included from arpspoof.c:9: hunt.h:697:6: note: expected 'char *' but argument is of type 'unsigned char *' void send_icmp_request(unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~~~~~ arpspoof.c:1391:10: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] asi->dst_mac, 1 + i); ~~~^~~~~~~~~ In file included from arpspoof.c:9: hunt.h:697:6: note: expected 'char *' but argument is of type 'unsigned char *' void send_icmp_request(unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~~~~~ arpspoof.c:1397:16: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] asi->dst_mac, asi->src_fake_mac); ~~~^~~~~~~~~ In file included from arpspoof.c:9: hunt.h:699:5: note: expected 'char *' but argument is of type 'unsigned char *' int is_icmp_reply(struct packet *p, unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~ arpspoof.c:1397:30: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] asi->dst_mac, asi->src_fake_mac); ~~~^~~~~~~~~~~~~~ In file included from arpspoof.c:9: hunt.h:699:5: note: expected 'char *' but argument is of type 'unsigned char *' int is_icmp_reply(struct packet *p, unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o hostup.o hostup.c In file included from hostup.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ hostup.c: In function 'perform_ping': hostup.c:87:14: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] ip, my_eth_mac, ^~~~~~~~~~ In file included from hostup.c:9: hunt.h:697:6: note: expected 'char *' but argument is of type 'unsigned char *' void send_icmp_request(unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~~~~~ hostup.c:93:7: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] my_eth_mac, fake_mac, htons(j + 2000)); ^~~~~~~~~~ In file included from hostup.c:9: hunt.h:697:6: note: expected 'char *' but argument is of type 'unsigned char *' void send_icmp_request(unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~~~~~ hostup.c:93:19: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] my_eth_mac, fake_mac, htons(j + 2000)); ^~~~~~~~ In file included from hostup.c:9: hunt.h:697:6: note: expected 'char *' but argument is of type 'unsigned char *' void send_icmp_request(unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~~~~~ hostup.c:106:17: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] p->p_ethh->h_source, my_eth_mac) || ~~~~~~~~~^~~~~~~~~~ In file included from hostup.c:9: hunt.h:699:5: note: expected 'char *' but argument is of type 'unsigned char *' int is_icmp_reply(struct packet *p, unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~ hostup.c:106:29: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] p->p_ethh->h_source, my_eth_mac) || ^~~~~~~~~~ In file included from hostup.c:9: hunt.h:699:5: note: expected 'char *' but argument is of type 'unsigned char *' int is_icmp_reply(struct packet *p, unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~ hostup.c:108:8: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] fake_mac, my_eth_mac))) { ^~~~~~~~ In file included from hostup.c:9: hunt.h:699:5: note: expected 'char *' but argument is of type 'unsigned char *' int is_icmp_reply(struct packet *p, unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~ hostup.c:108:18: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] fake_mac, my_eth_mac))) { ^~~~~~~~~~ In file included from hostup.c:9: hunt.h:699:5: note: expected 'char *' but argument is of type 'unsigned char *' int is_icmp_reply(struct packet *p, unsigned int src_addr, unsigned int dst_addr, ^~~~~~~~~~~~~ hostup.c: In function 'send_arp_message': hostup.c:125:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.src_mac = my_eth_mac; ^ hostup.c:128:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.sender_mac = my_eth_mac; ^ hostup.c:130:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] as.target_mac = mac_zero; ^ hostup.c: In function 'perform_arp': hostup.c:159:27: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] send_arp_message(ip, mac_broadcast); ^~~~~~~~~~~~~ hostup.c:121:13: note: expected 'char *' but argument is of type 'unsigned char *' static void send_arp_message(unsigned int ip, char *dst_mac) ^~~~~~~~~~~~~~~~ hostup.c:161:27: warning: pointer targets in passing argument 2 of 'send_arp_message' differ in signedness [-Wpointer-sign] send_arp_message(ip, fake_mac); ^~~~~~~~ hostup.c:121:13: note: expected 'char *' but argument is of type 'unsigned char *' static void send_arp_message(unsigned int ip, char *dst_mac) ^~~~~~~~~~~~~~~~ hostup.c: In function 'host_up': hostup.c:299:19: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] sprintf_eth_mac(buf_mac, suggest_mac()); ^~~~~~~ In file included from hostup.c:9: hunt.h:422:5: note: expected 'char *' but argument is of type 'unsigned char *' int sprintf_eth_mac(char *b, unsigned char *mac); ^~~~~~~~~~~~~~~ hostup.c:300:70: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { ^~~~~~~ In file included from hostup.c:9: hunt.h:365:5: note: expected 'char *' but argument is of type 'unsigned char *' int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^~~~~~~~~~~~~~~ hostup.c:314:19: warning: pointer targets in passing argument 1 of 'sprintf_eth_mac' differ in signedness [-Wpointer-sign] sprintf_eth_mac(buf_mac, suggest_mac()); ^~~~~~~ In file included from hostup.c:9: hunt.h:422:5: note: expected 'char *' but argument is of type 'unsigned char *' int sprintf_eth_mac(char *b, unsigned char *mac); ^~~~~~~~~~~~~~~ hostup.c:315:70: warning: pointer targets in passing argument 3 of 'menu_choose_mac' differ in signedness [-Wpointer-sign] if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { ^~~~~~~ In file included from hostup.c:9: hunt.h:365:5: note: expected 'char *' but argument is of type 'unsigned char *' int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); ^~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o addpolicy.o addpolicy.c In file included from addpolicy.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ addpolicy.c: In function 'addpolicy_add_item': addpolicy.c:113:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addpolicy.c:116:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addpolicy.c:125:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ addpolicy.c:129:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ addpolicy.c: In function 'addpolicy_mod_item': addpolicy.c:150:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addpolicy.c:151:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] api->src_addr, api->src_mask, api->src_ports) < 0) ~~~^~~~~~~~~~~ In file included from addpolicy.c:9: hunt.h:370:5: note: expected 'int *' but argument is of type 'unsigned int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addpolicy.c:154:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addpolicy.c:155:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] api->dst_addr, api->dst_mask, api->dst_ports) < 0) ~~~^~~~~~~~~~~ In file included from addpolicy.c:9: hunt.h:370:5: note: expected 'int *' but argument is of type 'unsigned int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addpolicy.c:157:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ addpolicy.c:158:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from addpolicy.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ addpolicy.c: In function 'addpolicy_item_print': addpolicy.c:79:28: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), ^~ count_mask(api->src_mask), buf_src_ports); ~~~~~~~~~~~~~ addpolicy.c:79:2: note: 'sprintf' output 6 or more bytes (assuming 517) into a destination of size 512 sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ count_mask(api->src_mask), buf_src_ports); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o options.o options.c In file included from options.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o resolv.o resolv.c In file included from resolv.c:1: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ resolv.c: In function 'update_thr': resolv.c:131:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int fd = (int) arg; ^ resolv.c: In function 'resolv_init': resolv.c:485:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); ^ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o timer.o timer.c In file included from timer.c:11: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ timer.c: In function 'timer_init': timer.c:154:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ timer.c:154:3: warning: incompatible implicit declaration of built-in function 'exit' timer.c:154:3: note: include '' or provide a declaration of 'exit' timer.c:12:1: +#include timer.c:154:3: exit(1); ^~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o pktrelay.o pktrelay.c In file included from pktrelay.c:9: hunt.h:410:5: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] int log2(unsigned int i); ^~~~ pktrelay.c: In function 'relay_add_item': pktrelay.c:270:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_mask, src_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c:273:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_mask, dst_ports, 0, 0, NULL) < 0) ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c:294:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ pktrelay.c:298:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ pktrelay.c: In function 'relay_mod_item': pktrelay.c:334:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &src_ip, &src_mask, src_ports, ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c:335:38: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] ri->src_addr, ri->src_mask, ri->src_ports) < 0) ~~^~~~~~~~~~~ In file included from pktrelay.c:9: hunt.h:370:5: note: expected 'int *' but argument is of type 'unsigned int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c:338:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] &dst_ip, &dst_mask, dst_ports, ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:370:5: note: expected 'unsigned int *' but argument is of type 'int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c:339:38: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) ~~^~~~~~~~~~~ In file included from pktrelay.c:9: hunt.h:370:5: note: expected 'int *' but argument is of type 'unsigned int *' int menu_choose_host_mask_ports_dfl(char *label, unsigned int *ret_ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pktrelay.c:367:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(src_ports); ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ pktrelay.c:368:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] port_htons(dst_ports); ^~~~~~~~~ In file included from pktrelay.c:9: hunt.h:428:6: note: expected 'unsigned int *' but argument is of type 'int *' void port_htons(unsigned int *db_ports); ^~~~~~~~~~ pktrelay.c: In function 'relay_item_print': pktrelay.c:225:23: warning: '%s' directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), ^~ count_mask(ri->src_mask), buf_src_ports); ~~~~~~~~~~~~~ pktrelay.c:225:2: note: 'sprintf' output 6 or more bytes (assuming 517) into a destination of size 512 sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ count_mask(ri->src_mask), buf_src_ports); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread make[1]: Leaving directory '/build/hunt-1.5' cd tpserv && make make[1]: Entering directory '/build/hunt-1.5/tpserv' cc -Wall -O2 -g -c -o tpserv.o tpserv.c tpserv.c:58:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] static void log(int level, int pid, char *format, ...) ^~~ tpserv.c: In function 'process_request_connect': tpserv.c:161:25: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types] if (connect(fd_remote, to_addr, to_addr_len) < 0) { ^~~~~~~ In file included from tpserv.c:11: /usr/include/aarch64-linux-gnu/sys/socket.h:126:52: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); ^ tpserv.c:166:62: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd_remote, (struct sockaddr *) &local_addr, &local_addr_len) < 0) { ^~~~~~~~~~~~~~~ In file included from tpserv.c:11: /usr/include/aarch64-linux-gnu/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ tpserv.c: In function 'serv_slave': tpserv.c:216:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *) &to_addr, &to_addr_len) < 0) { ^~~~~~~~~~~~ In file included from tpserv.c:11: /usr/include/aarch64-linux-gnu/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ tpserv.c:222:54: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *) &from_addr, &from_addr_len) < 0) { ^~~~~~~~~~~~~~ In file included from tpserv.c:11: /usr/include/aarch64-linux-gnu/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ tpserv.c: In function 'main': tpserv.c:336:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); ^~~~~~~ In file included from tpserv.c:11: /usr/include/aarch64-linux-gnu/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ cc -o tpserv tpserv.o make[1]: Leaving directory '/build/hunt-1.5/tpserv' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_clean rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) rm -f -- debian/hunt.substvars debian/files rm -fr -- debian/hunt/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) dh_installdocs README TODO README.tp dh_installdocs: Compatibility levels before 9 are deprecated (level 5 in use) install -d debian/hunt/usr/share/doc/hunt install -d debian/.debhelper/generated/hunt cp --reflink=auto -a README debian/hunt/usr/share/doc/hunt cp --reflink=auto -a TODO debian/hunt/usr/share/doc/hunt cp --reflink=auto -a README.tp debian/hunt/usr/share/doc/hunt chown -R 0:0 debian/hunt/usr/share/doc chmod -R u\+rw,go=rX debian/hunt/usr/share/doc install -p -m0644 debian/copyright debian/hunt/usr/share/doc/hunt/copyright dh_installman man/hunt.1 dh_installman: Compatibility levels before 9 are deprecated (level 5 in use) install -d debian/hunt/usr/share/man/man1/ install -p -m0644 man/hunt.1 debian/hunt/usr/share/man/man1/hunt.1 man -l --recode UTF-8 ./debian/hunt/usr/share/man/man1/hunt.1 > debian/hunt/usr/share/man/man1/hunt.1.dh-new mv debian/hunt/usr/share/man/man1/hunt.1.dh-new debian/hunt/usr/share/man/man1/hunt.1 chmod 0644 -- debian/hunt/usr/share/man/man1/hunt.1 dh_installchangelogs CHANGES install -p -m0644 debian/changelog debian/hunt/usr/share/doc/hunt/changelog.Debian install -p -m0644 CHANGES debian/hunt/usr/share/doc/hunt/changelog dh_install dh_install: Compatibility levels before 9 are deprecated (level 5 in use) install -d debian/hunt/usr/sbin cp --reflink=auto -a ./hunt ./tpserv/tpserv ./tpsetup/transproxy debian/hunt/usr/sbin/ dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) install -d debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/46 objcopy --only-keep-debug --compress-debug-sections debian/hunt/usr/sbin/tpserv debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/46/03a0be7885eae9d329d346436a2780018b491d.debug chmod 0644 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/46/03a0be7885eae9d329d346436a2780018b491d.debug chown 0:0 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/46/03a0be7885eae9d329d346436a2780018b491d.debug strip --remove-section=.comment --remove-section=.note debian/hunt/usr/sbin/tpserv objcopy --add-gnu-debuglink debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/46/03a0be7885eae9d329d346436a2780018b491d.debug debian/hunt/usr/sbin/tpserv install -d debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/32 objcopy --only-keep-debug --compress-debug-sections debian/hunt/usr/sbin/hunt debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/32/46743309ea060eb3045bea085bae26112ee1b6.debug chmod 0644 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/32/46743309ea060eb3045bea085bae26112ee1b6.debug chown 0:0 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/32/46743309ea060eb3045bea085bae26112ee1b6.debug strip --remove-section=.comment --remove-section=.note debian/hunt/usr/sbin/hunt objcopy --add-gnu-debuglink debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/32/46743309ea060eb3045bea085bae26112ee1b6.debug debian/hunt/usr/sbin/hunt install -d debian/.debhelper/hunt/dbgsym-root/usr/share/doc ln -s hunt debian/.debhelper/hunt/dbgsym-root/usr/share/doc/hunt-dbgsym dh_compress dh_compress: Compatibility levels before 9 are deprecated (level 5 in use) cd debian/hunt chmod a-x usr/share/doc/hunt/README usr/share/doc/hunt/README.tp usr/share/doc/hunt/changelog usr/share/doc/hunt/changelog.Debian usr/share/man/man1/hunt.1 gzip -9nf usr/share/doc/hunt/README usr/share/doc/hunt/README.tp usr/share/doc/hunt/changelog usr/share/doc/hunt/changelog.Debian usr/share/man/man1/hunt.1 cd '/build/hunt-1.5' dh_fixperms find debian/hunt -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/hunt ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/hunt/usr/share/doc -type f -a -true -a ! -regex 'debian/hunt/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/hunt/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/hunt/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/hunt -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/hunt/usr/sbin -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod a+x dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 5 in use) install -d debian/hunt/DEBIAN dh_shlibdeps dh_shlibdeps: Compatibility levels before 9 are deprecated (level 5 in use) dpkg-shlibdeps -Tdebian/hunt.substvars debian/hunt/usr/sbin/hunt debian/hunt/usr/sbin/tpserv dh_gencontrol echo misc:Depends= >> debian/hunt.substvars echo misc:Pre-Depends= >> debian/hunt.substvars install -d debian/.debhelper/hunt/dbgsym-root/DEBIAN dpkg-gencontrol -phunt -ldebian/changelog -Tdebian/hunt.substvars -Pdebian/.debhelper/hunt/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -DAuto-Built-Package=debug-symbols -DPackage=hunt-dbgsym "-DDepends=hunt (= \${binary:Version})" "-DDescription=debug symbols for hunt" "-DBuild-Ids=3246743309ea060eb3045bea085bae26112ee1b6 4603a0be7885eae9d329d346436a2780018b491d" -DSection=debug -UMulti-Arch -UReplaces -UBreaks chmod 0644 -- debian/.debhelper/hunt/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/hunt/dbgsym-root/DEBIAN/control dpkg-gencontrol -phunt -ldebian/changelog -Tdebian/hunt.substvars -Pdebian/hunt -UMulti-Arch chmod 0644 -- debian/hunt/DEBIAN/control chown 0:0 -- debian/hunt/DEBIAN/control dh_md5sums cd debian/hunt >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/hunt/DEBIAN/md5sums chown 0:0 -- debian/hunt/DEBIAN/md5sums cd debian/.debhelper/hunt/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/hunt/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/hunt/dbgsym-root/DEBIAN/md5sums dh_builddeb dpkg-deb --build debian/hunt .. dpkg-deb --build debian/.debhelper/hunt/dbgsym-root .. dpkg-deb: building package 'hunt-dbgsym' in '../hunt-dbgsym_1.5-6.1_arm64.deb'. dpkg-deb: building package 'hunt' in '../hunt_1.5-6.1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../hunt_1.5-6.1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/26556 and its subdirectories I: Current time: Fri Aug 20 04:46:52 -12 2021 I: pbuilder-time-stamp: 1629478012 Sat Jul 18 10:23:55 UTC 2020 I: 1st build successful. Starting 2nd build on remote node codethink-sled14-arm64.debian.net. Sat Jul 18 10:23:55 UTC 2020 I: Preparing to do remote build '2' on codethink-sled14-arm64.debian.net. Sat Jul 18 10:24:49 UTC 2020 I: Deleting $TMPDIR on codethink-sled14-arm64.debian.net. Sat Jul 18 10:24:50 UTC 2020 I: hunt_1.5-6.1_arm64.changes: Format: 1.8 Date: Mon, 20 Jul 2015 19:17:12 +0200 Source: hunt Binary: hunt hunt-dbgsym Architecture: arm64 Version: 1.5-6.1 Distribution: unstable Urgency: medium Maintainer: Angel Ramos Changed-By: gregor herrmann Description: hunt - Advanced packet sniffer and connection intrusion Closes: 777907 Changes: hunt (1.5-6.1) unstable; urgency=medium . * Non-maintainer upload. * Fix "ftbfs with GCC-5": apply patch from Nicholas Luedtke: build with "-std=gnu89". (Closes: #777907) Checksums-Sha1: d0bb2977dba0b059f85ee6f02bda7a0f965675d1 198296 hunt-dbgsym_1.5-6.1_arm64.deb 90ad6c3a0f85987a6b00851dd83a567dfe494ac9 4512 hunt_1.5-6.1_arm64.buildinfo fbd03229eb189f5c239bb070cd912f251b86eafb 81416 hunt_1.5-6.1_arm64.deb Checksums-Sha256: d36088c14545054981606b0bd271945d62bfc9a3ed15c85719dffa37eaaed975 198296 hunt-dbgsym_1.5-6.1_arm64.deb 57399326bcfd8ae30cb90ce0ab9b265a248657481f8ad0c885061d7ffa3c04f3 4512 hunt_1.5-6.1_arm64.buildinfo dd939b4c87f5dbcd94d916799072a6808af9033e61aae5b002700036e0c87f87 81416 hunt_1.5-6.1_arm64.deb Files: aeeb789e3d0e3308898a8c09b11c0f66 198296 debug optional hunt-dbgsym_1.5-6.1_arm64.deb 6462385c5c2de5bbc3a6a8c286325172 4512 net optional hunt_1.5-6.1_arm64.buildinfo 09fe6226daedc33978e7ba8d170da2ef 81416 net optional hunt_1.5-6.1_arm64.deb Sat Jul 18 10:24:51 UTC 2020 I: diffoscope 151 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/hunt_1.5-6.1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/hunt_1.5-6.1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/hunt_1.5-6.1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/b1/hunt_1.5-6.1_arm64.changes /srv/reproducible-results/rbuild-debian/tmp.VylIBgw4oy/b2/hunt_1.5-6.1_arm64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.496s) 0.496s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.060s) 0.060s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Sat Jul 18 10:24:53 UTC 2020 I: diffoscope 151 found no differences in the changes files, and a .buildinfo file also exists. Sat Jul 18 10:24:53 UTC 2020 I: hunt from buster built successfully and reproducibly on arm64. Sat Jul 18 10:24:54 UTC 2020 I: Submitting .buildinfo files to external archives: Sat Jul 18 10:24:54 UTC 2020 I: Submitting 8.0K b1/hunt_1.5-6.1_arm64.buildinfo.asc Sat Jul 18 10:24:55 UTC 2020 I: Submitting 8.0K b2/hunt_1.5-6.1_arm64.buildinfo.asc Sat Jul 18 10:24:56 UTC 2020 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sat Jul 18 10:24:56 UTC 2020 I: Done submitting .buildinfo files. Sat Jul 18 10:24:56 UTC 2020 I: Removing signed hunt_1.5-6.1_arm64.buildinfo.asc files: removed './b1/hunt_1.5-6.1_arm64.buildinfo.asc' removed './b2/hunt_1.5-6.1_arm64.buildinfo.asc'