Sun Jun 13 02:19:32 UTC 2021 I: starting to build hunt/bullseye/i386 on jenkins on '2021-06-13 02:19' Sun Jun 13 02:19:32 UTC 2021 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_15/13430/console.log Sun Jun 13 02:19:32 UTC 2021 I: Downloading source for bullseye/hunt=1.5-6.1 --2021-06-13 02:19:32-- http://cdn-fastly.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% 162M=0s 2021-06-13 02:19:32 (162 MB/s) - ‘hunt_1.5-6.1.dsc’ saved [1707/1707] Sun Jun 13 02:19:32 UTC 2021 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----- Sun Jun 13 02:19:32 UTC 2021 I: Checking whether the package is not for us Sun Jun 13 02:19:32 UTC 2021 I: Starting 1st build on remote node ionos12-i386.debian.net. Sun Jun 13 02:19:32 UTC 2021 I: Preparing to do remote build '1' on ionos12-i386.debian.net. Sun Jun 13 02:24:28 UTC 2021 I: Deleting $TMPDIR on ionos12-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sat Jun 12 14:19:34 -12 2021 I: pbuilder-time-stamp: 1623550774 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-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: using eatmydata during job 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 '/tmp/dpkg-verify-sig.YoG4hLqJ/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/4480/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='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' DISTRIBUTION='' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='33bf9fb587cb496aa041c0cc369d7edf' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' 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='4480' 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.ZWgNOYpeSU/pbuilderrc_6mHn --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.ZWgNOYpeSU/b1 --logfile b1/build.log hunt_1.5-6.1.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux I: ls -l /bin total 5780 -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash -rwxr-xr-x 1 root root 124904 Sep 22 2020 date -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd -rwxr-xr-x 1 root root 100752 Sep 22 2020 df -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep -rwxr-xr-x 1 root root 34664 Sep 22 2020 false -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln -rwxr-xr-x 1 root root 55572 Feb 7 2020 login -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Jun 11 21:25 sh -> dash -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch -rwxr-xr-x 1 root root 34664 Sep 22 2020 true -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew I: user script /srv/workspace/pbuilder/4480/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: i386 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 ... 19675 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} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsigsegv2{a} libsub-override-perl{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 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 18.6 MB of archives. After unpacking 67.9 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main i386 bsdextrautils i386 2.36.1-7 [148 kB] Get: 2 http://deb.debian.org/debian bullseye/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main i386 groff-base i386 1.22.4-6 [952 kB] Get: 4 http://deb.debian.org/debian bullseye/main i386 libpipeline1 i386 1.5.3-1 [36.8 kB] Get: 5 http://deb.debian.org/debian bullseye/main i386 man-db i386 2.9.4-2 [1367 kB] Get: 6 http://deb.debian.org/debian bullseye/main i386 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main i386 libmagic-mgc i386 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main i386 libmagic1 i386 1:5.39-3 [133 kB] Get: 9 http://deb.debian.org/debian bullseye/main i386 file i386 1:5.39-3 [69.0 kB] Get: 10 http://deb.debian.org/debian bullseye/main i386 gettext-base i386 0.21-4 [176 kB] Get: 11 http://deb.debian.org/debian bullseye/main i386 libsigsegv2 i386 2.13-1 [35.1 kB] Get: 12 http://deb.debian.org/debian bullseye/main i386 m4 i386 1.4.18-5 [206 kB] Get: 13 http://deb.debian.org/debian bullseye/main i386 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main i386 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main i386 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main i386 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main i386 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main i386 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main i386 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main i386 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main i386 libfile-stripnondeterminism-perl all 1.11.0-1 [25.6 kB] Get: 23 http://deb.debian.org/debian bullseye/main i386 dh-strip-nondeterminism all 1.11.0-1 [15.3 kB] Get: 24 http://deb.debian.org/debian bullseye/main i386 libelf1 i386 0.183-1 [171 kB] Get: 25 http://deb.debian.org/debian bullseye/main i386 dwz i386 0.13+20210201-1 [179 kB] Get: 26 http://deb.debian.org/debian bullseye/main i386 libicu67 i386 67.1-6 [8776 kB] Get: 27 http://deb.debian.org/debian bullseye/main i386 libxml2 i386 2.9.10+dfsg-6.7 [728 kB] Get: 28 http://deb.debian.org/debian bullseye/main i386 gettext i386 0.21-4 [1322 kB] Get: 29 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] Fetched 18.6 MB in 7s (2593 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-7_i386.deb ... Unpacking bsdextrautils (2.36.1-7) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../01-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_i386.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../03-libpipeline1_1.5.3-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_i386.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_i386.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../07-libmagic1_1%3a5.39-3_i386.deb ... Unpacking libmagic1:i386 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_i386.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_i386.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../10-libsigsegv2_2.13-1_i386.deb ... Unpacking libsigsegv2:i386 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_i386.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.11.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.11.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.11.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.11.0-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../23-libelf1_0.183-1_i386.deb ... Unpacking libelf1:i386 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_i386.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:i386. Preparing to unpack .../25-libicu67_67.1-6_i386.deb ... Unpacking libicu67:i386 (67.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_i386.deb ... Unpacking libxml2:i386 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_i386.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-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 .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Setting up libpipeline1:i386 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-7) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:i386 (67.1-6) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up libmagic1:i386 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libsigsegv2:i386 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:i386 (0.183-1) ... Setting up libxml2:i386 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.11.0-1) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.11.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4) ... Processing triggers for libc-bin (2.31-12) ... 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.25.3-1.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 i386 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: warning: Compatibility levels before 10 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | hunt.c: In function 'conn_add_update': hunt.c:393:30: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] 393 | 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] 696 | 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] 710 | 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] 1016 | sprintf_eth_mac(buf, mi->mac); | ~~^~~~~ | | | char * In file included from hunt.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:503:55: note: expected 'char *' but argument is of type 'unsigned char *' 503 | 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] 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:504:13: note: expected 'char *' but argument is of type 'unsigned char *' 504 | char *dst_fake_mac, int input_mode); | ~~~~~~^~~~~~~~~~~~ main.c:373:24: warning: pointer targets in passing argument 1 of 'user_arp_hijack_done' differ in signedness [-Wpointer-sign] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:505:33: note: expected 'char *' but argument is of type 'unsigned char *' 505 | 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] 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); | ^~~~~~~~~~~~ | | | unsigned char * In file included from main.c:9: hunt.h:505:53: note: expected 'char *' but argument is of type 'unsigned char *' 505 | 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 509 | fprintf(stderr, "Network interface %s does not have "\ | main.c:499:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 499 | strncpy(my_ifreq.ifr_name, eth_device, IFNAMSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -O2 -g -D_REENTRANT -std=gnu89 -c -o c/list.o c/list.c 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] 27 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | net.c: In function 'is_icmp_reply': net.c:189:17: warning: variable 'seq' set but not used [-Wunused-but-set-variable] 189 | 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] 85 | 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] 151 | 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] 246 | 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] 274 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | rst.c: In function 'rst': rst.c:60:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 60 | 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] 61 | 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] 69 | 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] 70 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 254 | if (parse_mac(buf, mac_ret) == 0) | ^~~~~~~ | | | unsigned char * menu.c:173:32: note: expected 'char *' but argument is of type 'unsigned char *' 173 | 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] 281 | if (parse_ports(buf, ret_ports) == 0) | ^~~~~~~~~ | | | int * menu.c:58:42: note: expected 'unsigned int *' but argument is of type 'int *' 58 | 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] 347 | buf_p += sprintf_db_ports(dfl_ports, buf_p, | ^~~~~~~~~ | | | int * In file included from menu.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); | ~~~~~~~~~~~~~~^~~~~ 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 89 | 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] 90 | 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] 223 | 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] 224 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 265 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:268:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:281:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 281 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 285 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 314 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:315:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from rstd.c:9: hunt.h:372:52: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c:318:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 318 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ rstd.c:319:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from rstd.c:9: hunt.h:372:52: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ rstd.c:326:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 326 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 327 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from rstd.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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=] 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), | ^~ 229 | 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 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | 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] 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:415:36: note: expected 'unsigned int *' but argument is of type 'int *' 415 | 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] 174 | port_match(tcph->source, si->src_ports) && | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | 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] 175 | port_match(tcph->dest, si->dst_ports)) | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | 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] 181 | port_match(tcph->source, si->dst_ports) && | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | 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] 182 | port_match(tcph->dest, si->src_ports)) | ~~^~~~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:427:40: note: expected 'unsigned int *' but argument is of type 'int *' 427 | 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] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:664:15: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 664 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:667:4: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:667:15: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:705:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 705 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 709 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:747:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 747 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:751:17: warning: pointer targets in passing argument 3 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:17: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~ sniff.c:751:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 751 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ sniff.c:770:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 770 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 771 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from sniff.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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=] 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), | ^~ 136 | 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 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | count_mask(si->src_mask), buf_src_ports); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); | ^~ sniff.c:236:24: note: directive argument in the range [1, 2147483647] 236 | 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 236 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 40 | 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] 41 | as.dst_mac = mac_broadcast; | ^ macdisc.c:43:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 43 | 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] 45 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 135 | print_eth_mac(mac); | ^~~ | | | char * In file included from tap.c:31: hunt.h:421:34: note: expected 'unsigned char *' but argument is of type 'char *' 421 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 81 | 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] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:9: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:122:38: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 122 | ci->src.src_mac, ci->dst.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:24: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:143:19: warning: pointer targets in passing argument 3 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:9: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:143:36: warning: pointer targets in passing argument 4 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 143 | ci->dst.src_mac, ci->src.src_mac, | ~~~~~~~^~~~~~~~ | | | unsigned char * In file included from arphijack.c:9: hunt.h:522:24: note: expected 'char *' but argument is of type 'unsigned char *' 522 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~ arphijack.c:169:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 169 | 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] 200 | 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] 202 | 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] 224 | 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] 226 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 153 | 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] 154 | 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] 220 | 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] 221 | 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] 279 | 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] 280 | 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] 307 | 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] 308 | 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] 419 | 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] 420 | 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] 464 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 85 | 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] 86 | 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] 88 | 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] 90 | 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] 117 | 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] 118 | 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] 120 | 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] 122 | 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] 543 | 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] 546 | 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] 548 | 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] 550 | 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] 552 | 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] 565 | 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] 568 | 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] 570 | 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] 571 | 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] 573 | 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] 575 | 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] 951 | sprintf_eth_mac(buf, asr->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | char * In file included from arpspoof.c:9: hunt.h:422:45: note: expected 'unsigned char *' but argument is of type 'char *' 422 | 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] 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:39: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ 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] 1163 | asi_src_in_dst = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:39: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ arpspoof.c:1165:77: warning: pointer targets in passing argument 5 of 'start_arp_spoof' differ in signedness [-Wpointer-sign] 1165 | asi_dst_in_src = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, | ^~~~~~~~~~~~ | | | unsigned char * arpspoof.c:398:39: note: expected 'char *' but argument is of type 'unsigned char *' 398 | char *src_mac, char *dst_mac, char *src_fake_mac, | ~~~~~~^~~~~~~~~~~~ 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] 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:698:16: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1391:10: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 1391 | asi->dst_mac, 1 + i); | ~~~^~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:698:31: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ arpspoof.c:1397:16: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:700:11: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ arpspoof.c:1397:30: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 1397 | asi->dst_mac, asi->src_fake_mac); | ~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from arpspoof.c:9: hunt.h:700:26: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 87 | ip, my_eth_mac, | ^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:698:16: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ hostup.c:93:7: warning: pointer targets in passing argument 3 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:698:16: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ hostup.c:93:19: warning: pointer targets in passing argument 4 of 'send_icmp_request' differ in signedness [-Wpointer-sign] 93 | my_eth_mac, fake_mac, htons(j + 2000)); | ^~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:698:31: note: expected 'char *' but argument is of type 'unsigned char *' 698 | char *src_mac, char *dst_mac, unsigned short seq); | ~~~~~~^~~~~~~ hostup.c:106:17: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ~~~~~~~~~^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:700:11: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:106:29: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 106 | p->p_ethh->h_source, my_eth_mac) || | ^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:700:26: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:108:8: warning: pointer targets in passing argument 4 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:700:11: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ hostup.c:108:18: warning: pointer targets in passing argument 5 of 'is_icmp_reply' differ in signedness [-Wpointer-sign] 108 | fake_mac, my_eth_mac))) { | ^~~~~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:700:26: note: expected 'char *' but argument is of type 'unsigned char *' 700 | char *src_mac, char *dst_mac); | ~~~~~~^~~~~~~ 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] 125 | 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] 128 | 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] 130 | 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] 159 | send_arp_message(ip, mac_broadcast); | ^~~~~~~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | 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] 161 | send_arp_message(ip, fake_mac); | ^~~~~~~~ | | | unsigned char * hostup.c:121:53: note: expected 'char *' but argument is of type 'unsigned char *' 121 | 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] 299 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | 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] 300 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | 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] 314 | sprintf_eth_mac(buf_mac, suggest_mac()); | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:422:27: note: expected 'char *' but argument is of type 'unsigned char *' 422 | 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] 315 | if (menu_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { | ^~~~~~~ | | | unsigned char * In file included from hostup.c:9: hunt.h:365:64: note: expected 'char *' but argument is of type 'unsigned char *' 365 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 113 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:116:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:125:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 125 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 129 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 150 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:151:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 151 | api->src_addr, api->src_mask, api->src_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from addpolicy.c:9: hunt.h:372:52: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ addpolicy.c:154:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 154 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ addpolicy.c:155:41: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) | ~~~^~~~~~~~~~~ | | | unsigned int * In file included from addpolicy.c:9: hunt.h:372:52: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ addpolicy.c:157:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 157 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 158 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from addpolicy.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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=] 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), | ^~ 80 | 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 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | timer.c: In function 'timer_init': timer.c:154:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 154 | exit(1); | ^~~~ timer.c:154:3: warning: incompatible implicit declaration of built-in function 'exit' timer.c:12:1: note: include '' or provide a declaration of 'exit' 11 | #include "hunt.h" +++ |+#include 12 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 410 | int log2(unsigned int i); | ^~~~ hunt.h:48:1: note: 'log2' is declared in header '' 47 | #include "c/hash.h" +++ |+#include 48 | 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] 270 | &src_mask, src_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:273:16: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:294:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 294 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 298 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 334 | &src_ip, &src_mask, src_ports, | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:335:38: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * In file included from pktrelay.c:9: hunt.h:372:52: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:338:28: warning: pointer targets in passing argument 4 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 338 | &dst_ip, &dst_mask, dst_ports, | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:371:41: note: expected 'unsigned int *' but argument is of type 'int *' 371 | unsigned int *ret_mask, unsigned int *ret_ports, | ~~~~~~~~~~~~~~^~~~~~~~~ pktrelay.c:339:38: warning: pointer targets in passing argument 7 of 'menu_choose_host_mask_ports_dfl' differ in signedness [-Wpointer-sign] 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) | ~~^~~~~~~~~~~ | | | unsigned int * In file included from pktrelay.c:9: hunt.h:372:52: note: expected 'int *' but argument is of type 'unsigned int *' 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); | ~~~~~^~~~~~~~~ pktrelay.c:367:13: warning: pointer targets in passing argument 1 of 'port_htons' differ in signedness [-Wpointer-sign] 367 | port_htons(src_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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] 368 | port_htons(dst_ports); | ^~~~~~~~~ | | | int * In file included from pktrelay.c:9: hunt.h:428:31: note: expected 'unsigned int *' but argument is of type 'int *' 428 | 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=] 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), | ^~ 226 | 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 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 226 | 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'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 58 | static void log(int level, int pid, char *format, ...) | ^~~ tpserv.c:23:1: note: 'log' is declared in header '' 22 | #include +++ |+#include 23 | tpserv.c: In function 'process_request_connect': tpserv.c:161:25: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types] 161 | if (connect(fd_remote, to_addr, to_addr_len) < 0) { | ^~~~~~~ | | | struct sockaddr_in * In file included from tpserv.c:11: /usr/include/i386-linux-gnu/sys/socket.h:126:52: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' 126 | 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] 166 | if (getsockname(fd_remote, (struct sockaddr *) &local_addr, &local_addr_len) < 0) { | ^~~~~~~~~~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/i386-linux-gnu/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tpserv.c: In function 'serv_slave': tpserv.c:216:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 216 | if (getsockname(fd, (struct sockaddr *) &to_addr, &to_addr_len) < 0) { | ^~~~~~~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/i386-linux-gnu/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tpserv.c:222:54: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 222 | if (getpeername(fd, (struct sockaddr *) &from_addr, &from_addr_len) < 0) { | ^~~~~~~~~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/i386-linux-gnu/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tpserv.c: In function 'main': tpserv.c:336:54: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 336 | clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); | ^~~~~~~ | | | int * In file included from tpserv.c:11: /usr/include/i386-linux-gnu/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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: warning: Compatibility levels before 10 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: warning: Compatibility levels before 10 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: warning: Compatibility levels before 10 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-recode --to-code UTF-8 --suffix .dh-new debian/hunt/usr/share/man/man1/hunt.1 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: warning: Compatibility levels before 10 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: warning: Compatibility levels before 10 are deprecated (level 5 in use) install -d debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/fa objcopy --only-keep-debug --compress-debug-sections debian/hunt/usr/sbin/hunt debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/fa/b3f6db446ccd416049973b24c8f57c0e0c8c2a.debug chmod 0644 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/fa/b3f6db446ccd416049973b24c8f57c0e0c8c2a.debug chown 0:0 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/fa/b3f6db446ccd416049973b24c8f57c0e0c8c2a.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/fa/b3f6db446ccd416049973b24c8f57c0e0c8c2a.debug debian/hunt/usr/sbin/hunt install -d debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/4a objcopy --only-keep-debug --compress-debug-sections debian/hunt/usr/sbin/tpserv debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/4a/442cbaaf7b2b675eaf9e46c9aa63e3fb5c23c2.debug chmod 0644 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/4a/442cbaaf7b2b675eaf9e46c9aa63e3fb5c23c2.debug chown 0:0 -- debian/.debhelper/hunt/dbgsym-root/usr/lib/debug/.build-id/4a/442cbaaf7b2b675eaf9e46c9aa63e3fb5c23c2.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/4a/442cbaaf7b2b675eaf9e46c9aa63e3fb5c23c2.debug debian/hunt/usr/sbin/tpserv 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: warning: Compatibility levels before 10 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: warning: Compatibility levels before 10 are deprecated (level 5 in use) install -d debian/hunt/DEBIAN dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 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 -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=hunt-dbgsym "-DDepends=hunt (= \${binary:Version})" "-DDescription=debug symbols for hunt" "-DBuild-Ids=4a442cbaaf7b2b675eaf9e46c9aa63e3fb5c23c2 fab3f6db446ccd416049973b24c8f57c0e0c8c2a" -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 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' in '../hunt_1.5-6.1_i386.deb'. dpkg-deb: building package 'hunt-dbgsym' in '../hunt-dbgsym_1.5-6.1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../hunt_1.5-6.1_i386.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/4480 and its subdirectories I: Current time: Sat Jun 12 14:24:27 -12 2021 I: pbuilder-time-stamp: 1623551067 Sun Jun 13 02:24:28 UTC 2021 I: 1st build successful. Starting 2nd build on remote node ionos16-i386.debian.net. Sun Jun 13 02:24:28 UTC 2021 I: Preparing to do remote build '2' on ionos16-i386.debian.net. Sun Jun 13 02:24:52 UTC 2021 I: Deleting $TMPDIR on ionos16-i386.debian.net. Sun Jun 13 02:24:53 UTC 2021 I: hunt_1.5-6.1_i386.changes: Format: 1.8 Date: Mon, 20 Jul 2015 19:17:12 +0200 Source: hunt Binary: hunt hunt-dbgsym Architecture: i386 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: f930c1cd30a84a58d800fdba4ef5cd01927ea9b2 162876 hunt-dbgsym_1.5-6.1_i386.deb 050ad2ab413a465d88bb1b179ce930a6b9d7a11e 4792 hunt_1.5-6.1_i386.buildinfo d12ab24db46e59e10eea13daef6559f212c8d361 90820 hunt_1.5-6.1_i386.deb Checksums-Sha256: 32f0a0ecd63656ef70d8f26fcca5bbe720af7951036e310c947274613ee4feba 162876 hunt-dbgsym_1.5-6.1_i386.deb 9a8ac003755a32a09af857a07e435058a16d76a1f27d68b654168a8ac0057ff8 4792 hunt_1.5-6.1_i386.buildinfo 228b94207bdfac79e030d66b1752ba84e3ed240bce8a4cad982f2e1eae115d7e 90820 hunt_1.5-6.1_i386.deb Files: 14bddeb15da9ca82feb42b302eed23e5 162876 debug optional hunt-dbgsym_1.5-6.1_i386.deb 058feaf3f77a52862219b9e64d0825fb 4792 net optional hunt_1.5-6.1_i386.buildinfo 8f0337f150760f26b0985e719ed778f6 90820 net optional hunt_1.5-6.1_i386.deb Sun Jun 13 02:24:54 UTC 2021 I: diffoscope 172 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.ZWgNOYpeSU/hunt_1.5-6.1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.ZWgNOYpeSU/hunt_1.5-6.1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.ZWgNOYpeSU/hunt_1.5-6.1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.ZWgNOYpeSU/b1/hunt_1.5-6.1_i386.changes /srv/reproducible-results/rbuild-debian/tmp.ZWgNOYpeSU/b2/hunt_1.5-6.1_i386.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.282s) 0.282s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.020s) 0.020s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Sun Jun 13 02:24:56 UTC 2021 I: diffoscope 172 found no differences in the changes files, and a .buildinfo file also exists. Sun Jun 13 02:24:56 UTC 2021 I: hunt from bullseye built successfully and reproducibly on i386. Sun Jun 13 02:24:58 UTC 2021 I: Submitting .buildinfo files to external archives: Sun Jun 13 02:24:58 UTC 2021 I: Submitting 8.0K b1/hunt_1.5-6.1_i386.buildinfo.asc Sun Jun 13 02:24:59 UTC 2021 I: Submitting 8.0K b2/hunt_1.5-6.1_i386.buildinfo.asc Sun Jun 13 02:24:59 UTC 2021 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun Jun 13 02:24:59 UTC 2021 I: Done submitting .buildinfo files. Sun Jun 13 02:24:59 UTC 2021 I: Removing signed hunt_1.5-6.1_i386.buildinfo.asc files: removed './b1/hunt_1.5-6.1_i386.buildinfo.asc' removed './b2/hunt_1.5-6.1_i386.buildinfo.asc'