Sun Apr 30 23:17:10 UTC 2023 I: starting to build 4g8/bookworm/amd64 on jenkins on '2023-04-30 23:16' Sun Apr 30 23:17:10 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_25/11162/console.log Sun Apr 30 23:17:10 UTC 2023 I: Downloading source for bookworm/4g8=1.0-3.3 --2023-04-30 23:17:10-- http://cdn-fastly.deb.debian.org/debian/pool/main/4/4g8/4g8_1.0-3.3.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1744 (1.7K) [text/prs.lines.tag] Saving to: ‘4g8_1.0-3.3.dsc’ 0K . 100% 133M=0s 2023-04-30 23:17:10 (133 MB/s) - ‘4g8_1.0-3.3.dsc’ saved [1744/1744] Sun Apr 30 23:17:10 UTC 2023 I: 4g8_1.0-3.3.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.0 Source: 4g8 Binary: 4g8 Architecture: any Version: 1.0-3.3 Maintainer: LaMont Jones Standards-Version: 3.9.8 Vcs-Browser: http://git.debian.org/?p=users/lamont/4g8.git Vcs-Git: git://git.debian.org/~lamont/4g8.git Build-Depends: debhelper (>= 9), libnet1-dev (>= 1.1.2.1), libpcap-dev, autotools-dev Package-List: 4g8 deb net optional arch=any Checksums-Sha1: 205669a15a9726063d550b8e2946a733d126fc73 111458 4g8_1.0.orig.tar.gz 095bcd5ecd8280173ccffccc76207d5aae2efdee 35003 4g8_1.0-3.3.diff.gz Checksums-Sha256: 877cbe08e8eff44692995fefe45a48d09cee3a9d883b0c15a3c125376dc6ca98 111458 4g8_1.0.orig.tar.gz 6daa81d50ae570f9c55e72db77620e2ef0a340146da95f875f042f2f9a60b08f 35003 4g8_1.0-3.3.diff.gz Files: 337a52fb46dc3197d579b0db113e24e5 111458 4g8_1.0.orig.tar.gz 453365881a7732c944c596c18988ad04 35003 4g8_1.0-3.3.diff.gz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEiiBE+E9xaoW3f/djEd9ClMyjmJMFAl97x9EACgkQEd9ClMyj mJPIZA//Tp6gHHPLJYtvpxWHfoBhQz2Yv5ltOp0J3KHKtFkIo1UZAEEnheGD5vnu Wq90Y/uE3mStmaeMJ6ZfILkf9Y9R8wRsYW9jQkrlYYU9Yi2F/+kthWmy0SFFyMqh mPca/zu6pcNtlaLniRsxLslgYjpcMPI5ai12ebNY5Pg2FEcsQYRima6EP9YkE5Ny 2ZoPKrSOmRBUNAKdOO8Cbs+kmsUIHUax2rUsPOaNMu+lD8cWNCgo/H/aZ1WQcbPp BzvD4pNZFYV1kOjkOr2mYBinzsf3kxW4L6hUvhjhmA6wKmTnILsuAGBa5v55JAzU 9/CXa8ZjiytIi24rFja5pmvHovFY1fK6qe0G+dX+B5gfV8t8tuL35wc3CMX6bGeu YFIOWjLB693bLsdBlh35TBqk5Di9XL2bjrodSv458bLnItvJ8pv7HNKc53zwmF55 zvfVAhj7p3l+jP0z4uF1whRQ3Hj7RTK7NHz6Gv5PA4TEBqRz4tb02ThQvPhrBxXO fXORn12giH7Q2xDB49zCkiyrcE9MsFviyl5H1HeSE9IsVF/Vs4JQaBW+qvoKYwwv e2xoe74Pn/i9lSBR10+yKzEw6qwbIP8OonrMIa10LjnoA2RLYhDJMGvYrT0Wvm39 +DsoZz4hYrvsjyOo750w+X+fLYQkfirzOGPH2/NdI10VWxCreNo= =6RlC -----END PGP SIGNATURE----- Sun Apr 30 23:17:10 UTC 2023 I: Checking whether the package is not for us Sun Apr 30 23:17:10 UTC 2023 I: Starting 1st build on remote node ionos1-amd64.debian.net. Sun Apr 30 23:17:10 UTC 2023 I: Preparing to do remote build '1' on ionos1-amd64.debian.net. Sun Apr 30 23:20:17 UTC 2023 I: Deleting $TMPDIR on ionos1-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Apr 30 11:17:13 -12 2023 I: pbuilder-time-stamp: 1682896633 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [4g8_1.0-3.3.dsc] I: copying [./4g8_1.0.orig.tar.gz] I: copying [./4g8_1.0-3.3.diff.gz] I: Extracting source gpgv: Signature made Mon Oct 5 13:26:41 2020 -12 gpgv: using RSA key 8A2044F84F716A85B77FF76311DF4294CCA39893 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./4g8_1.0-3.3.dsc: no acceptable signature found dpkg-source: info: extracting 4g8 in 4g8-1.0 dpkg-source: info: unpacking 4g8_1.0.orig.tar.gz dpkg-source: info: applying 4g8_1.0-3.3.diff.gz dpkg-source: info: upstream files that have been modified: 4g8-1.0/4g8.1 4g8-1.0/config.guess 4g8-1.0/config.status.lineno 4g8-1.0/config.sub 4g8-1.0/src/Makefile.in 4g8-1.0/src/error.h 4g8-1.0/src/globals.h 4g8-1.0/src/main.c 4g8-1.0/src/main.h I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/6841/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='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='9eb7df3f15314f42b6a4c7c801413fbf' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='6841' 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/r-b-build.agOhl0u1/pbuilderrc_KgpC --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.agOhl0u1/b1 --logfile b1/build.log 4g8_1.0-3.3.dsc' SUDO_GID='110' SUDO_UID='105' 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 ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash -rwxr-xr-x 1 root root 121904 Sep 20 2022 date -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd -rwxr-xr-x 1 root root 102200 Sep 20 2022 df -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 35664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/6841/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: amd64 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 (>= 9), libnet1-dev (>= 1.1.2.1), libpcap-dev, autotools-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19596 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 (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libnet1-dev (>= 1.1.2.1); however: Package libnet1-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap-dev; however: Package libpcap-dev is not installed. pbuilder-satisfydepends-dummy depends on autotools-dev; however: Package autotools-dev 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} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libnet1{a} libnet1-dev{a} libpcap-dev{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libpkgconf3{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 43 newly installed, 0 to remove and 0 not upgraded. Need to get 20.0 MB of archives. After unpacking 76.3 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 sgml-base all 1.31 [15.4 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 11 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 22 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.2 [687 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 libdbus-1-3 amd64 1.14.6-1 [200 kB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB] Get: 35 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB] Get: 36 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB] Get: 37 http://deb.debian.org/debian bookworm/main amd64 xml-core all 0.18+nmu1 [23.8 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 libdbus-1-dev amd64 1.14.6-1 [239 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 libnet1 amd64 1.1.6+dfsg-3.2 [60.3 kB] Get: 40 http://deb.debian.org/debian bookworm/main amd64 libnet1-dev amd64 1.1.6+dfsg-3.2 [119 kB] Get: 41 http://deb.debian.org/debian bookworm/main amd64 libpcap0.8 amd64 1.10.3-1 [157 kB] Get: 42 http://deb.debian.org/debian bookworm/main amd64 libpcap0.8-dev amd64 1.10.3-1 [281 kB] Get: 43 http://deb.debian.org/debian bookworm/main amd64 libpcap-dev amd64 1.10.3-1 [28.2 kB] Fetched 20.0 MB in 1s (16.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19596 files and directories currently installed.) Preparing to unpack .../00-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../03-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../06-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../09-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... 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-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../23-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../25-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.2_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... 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.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../31-libdbus-1-3_1.14.6-1_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.14.6-1) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../32-libpkgconf3_1.8.1-1_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../33-pkgconf-bin_1.8.1-1_amd64.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../34-pkgconf_1.8.1-1_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-1) ... Selecting previously unselected package pkg-config:amd64. Preparing to unpack .../35-pkg-config_1.8.1-1_amd64.deb ... Unpacking pkg-config:amd64 (1.8.1-1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../37-libdbus-1-dev_1.14.6-1_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.14.6-1) ... Selecting previously unselected package libnet1:amd64. Preparing to unpack .../38-libnet1_1.1.6+dfsg-3.2_amd64.deb ... Unpacking libnet1:amd64 (1.1.6+dfsg-3.2) ... Selecting previously unselected package libnet1-dev. Preparing to unpack .../39-libnet1-dev_1.1.6+dfsg-3.2_amd64.deb ... Unpacking libnet1-dev (1.1.6+dfsg-3.2) ... Selecting previously unselected package libpcap0.8:amd64. Preparing to unpack .../40-libpcap0.8_1.10.3-1_amd64.deb ... Unpacking libpcap0.8:amd64 (1.10.3-1) ... Selecting previously unselected package libpcap0.8-dev:amd64. Preparing to unpack .../41-libpcap0.8-dev_1.10.3-1_amd64.deb ... Unpacking libpcap0.8-dev:amd64 (1.10.3-1) ... Selecting previously unselected package libpcap-dev:amd64. Preparing to unpack .../42-libpcap-dev_1.10.3-1_amd64.deb ... Unpacking libpcap-dev:amd64 (1.10.3-1) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:amd64 (1.8.1-1) ... Setting up libdbus-1-3:amd64 (1.14.6-1) ... Setting up autopoint (0.21-12) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up sgml-base (1.31) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libnet1:amd64 (1.1.6+dfsg-3.2) ... Setting up pkgconf:amd64 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libpcap0.8:amd64 (1.10.3-1) ... Setting up pkg-config:amd64 (1.8.1-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up xml-core (0.18+nmu1) ... Setting up libnet1-dev (1.1.6+dfsg-3.2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-9) ... Processing triggers for sgml-base (1.31) ... Setting up libdbus-1-dev:amd64 (1.14.6-1) ... Setting up libpcap0.8-dev:amd64 (1.10.3-1) ... Setting up libpcap-dev:amd64 (1.10.3-1) ... 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.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/4g8-1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../4g8_1.0-3.3_source.changes dpkg-buildpackage: info: source package 4g8 dpkg-buildpackage: info: source version 1.0-3.3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Michael Hudson-Doyle dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build dh_testdir # Add here commands to compile the package. cp /usr/share/misc/config.guess /usr/share/misc/config.sub . chmod u+x ./configure ASFLAGS="" CFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security" DFLAGS="-frelease" FCFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong" FFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong" GCJFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro" OBJCFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir=/usr/share/man beginning auto-configuration process for 4g8-1.0... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking libnet.h usability... yes checking libnet.h presence... yes checking for libnet.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for printf... yes checking for fprintf... yes checking for snprintf... yes checking for sprintf... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strncasecmp... yes checking for strtol... yes checking for strncmp... yes checking for strncat... yes checking for memset... yes checking for malloc... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getuid... yes checking for select... yes checking for setitimer... yes checking for libnet_build_ipv4 in -lnet... yes checking for pcap_open_live in -lpcap... yes checking for bpf... no checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/version.h config.status: creating config.h config.status: executing depfiles commands 4g8 has been configured with the following options: ----------------------------------------------- Host type : x86_64-pc-linux-gnu Compiler : gcc Compiler flags : -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall Linker flags : -Wl,-z,relro Libraries : -lpcap -lnet Binary : /usr/bin Enable debugging : no ----------------------------------------------- /usr/bin/make make[1]: Entering directory '/build/4g8-1.0' /usr/bin/make all-recursive make[2]: Entering directory '/build/4g8-1.0' Making all in src make[3]: Entering directory '/build/4g8-1.0/src' source='init.c' object='init.o' libtool=no \ depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'init.c' || echo './'`init.c init.c: In function 'capture_loop': init.c:32:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 32 | fatal_error("Unable to inject packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c: In function 'init': init.c:61:32: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 61 | if((pkt_d = libnet_init(0, device, error_buf)) == NULL) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from globals.h:31: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ init.c:62:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 62 | fatal_error("Unable to initialize packet injection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:65:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 65 | if((device = pcap_lookupdev(error_buf)) == NULL) | ^~ In file included from globals.h:32: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ init.c:65:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 65 | if((device = pcap_lookupdev(error_buf)) == NULL) | ^ init.c:66:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 66 | fatal_error("%s: Check device permissions", error_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:68:30: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 68 | if((pkt = pcap_open_live(device, 1500, 1, 500, error_buf)) == NULL) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ init.c:69:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 69 | fatal_error("Unable to open device: %s", error_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:78:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 78 | fatal_error("Unable to initialize packet capture: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:83:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 83 | if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/pcap/pcap.h:398:32: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ init.c:87:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 87 | snprintf(filter, 255, "(ip src host %s and ether dst %0x:%0x:%0x:%0x:%0x:%0x) or (ip dst host %s and ether dst %0x:%0x:%0x:%0x:%0x:%0x)", | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:489, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62: /usr/include/x86_64-linux-gnu/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ init.c:105:32: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] 105 | if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/pcap/pcap.h:613:62: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 613 | PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, | ^~~~~~~~~~~~ init.c:106:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 106 | fatal_error("Unable to compile packet filters: %s\n", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:109:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 109 | fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:116:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 116 | fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:130:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 130 | fatal_error("Unable to initialize pcap_loop: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'error.c' || echo './'`error.c error.c: In function 'fatal_error': error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] 35 | vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:489, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from error.h:26, from error.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ source='utils.c' object='utils.o' libtool=no \ depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'utils.c' || echo './'`utils.c utils.c: In function 'print_separator': utils.c:88:15: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 88 | vsnprintf(msg, 256, msgp, va); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:489, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ utils.c:88:25: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] 88 | vsnprintf(msg, 256, msgp, va); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ utils.c:90:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 90 | msg_len = strlen(msg); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:63: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c: In function 'retrieve_icmp_code': utils.c:122:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 122 | sprintf(icmp_c, "Network"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:126:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 126 | sprintf(icmp_c, "Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:130:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 130 | sprintf(icmp_c, "Protocol"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:134:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 134 | sprintf(icmp_c, "Port"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:138:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 138 | sprintf(icmp_c, "Need Fragment"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:142:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 142 | sprintf(icmp_c, "Source Fail"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:146:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 146 | sprintf(icmp_c, "Network Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:150:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 150 | sprintf(icmp_c, "Host Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:154:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 154 | sprintf(icmp_c, "Isolated"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:158:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 158 | sprintf(icmp_c, "Network Prohibited"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:162:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 162 | sprintf(icmp_c, "Host Prohibited"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:166:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 166 | sprintf(icmp_c, "ToS Network"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:170:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 170 | sprintf(icmp_c, "ToS Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:174:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 174 | sprintf(icmp_c, "Filter Prohibited"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:178:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 178 | sprintf(icmp_c, "Host Precedence"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:182:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 182 | sprintf(icmp_c, "Precedence Cutoff"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:186:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 186 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:196:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 196 | sprintf(icmp_c, "Network"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:200:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 200 | sprintf(icmp_c, "Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:204:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 204 | sprintf(icmp_c, "ToS Net"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:208:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 208 | sprintf(icmp_c, "ToS Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:212:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 212 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:222:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 222 | sprintf(icmp_c, "In Transit"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:226:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 226 | sprintf(icmp_c, "Reassembly"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:230:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 230 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:240:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 240 | sprintf(icmp_c, "Missing Option"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:244:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 244 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:250:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 250 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: In function 'retrieve_icmp_type': utils.c:271:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 271 | sprintf(icmp_t, "Echo Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:275:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 275 | sprintf(icmp_t, "Unreachable"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:279:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 279 | sprintf(icmp_t, "Source Quench"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:283:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 283 | sprintf(icmp_t, "Redirect"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:287:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 287 | sprintf(icmp_t, "Echo Request"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:291:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 291 | sprintf(icmp_t, "Time Exceeded"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:295:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 295 | sprintf(icmp_t, "Param Problem"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:299:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 299 | sprintf(icmp_t, "Timestamp"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:303:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 303 | sprintf(icmp_t, "Timestamp Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:307:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 307 | sprintf(icmp_t, "Info Request"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:311:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 311 | sprintf(icmp_t, "Info Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:315:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 315 | sprintf(icmp_t, "Router Advertise"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:319:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 319 | sprintf(icmp_t, "Router Selection"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:323:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 323 | sprintf(icmp_t, "Address Mask Request"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:327:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 327 | sprintf(icmp_t, "Address Mask Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:331:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 331 | sprintf(icmp_t, "Traceroute"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:335:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 335 | sprintf(icmp_t, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: In function 'retrieve_arp_hw_type': utils.c:356:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 356 | sprintf(hw_t, "Net/ROM Pseudo"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:360:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 360 | sprintf(hw_t, "Ethernet 10/100"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:364:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 364 | sprintf(hw_t, "Experimental Ethernet"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:368:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 368 | sprintf(hw_t, "AX.25 Level 2"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:372:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 372 | sprintf(hw_t, "ProNet Token Ring"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:376:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 376 | sprintf(hw_t, "IEEE 802.2 Ethernet"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:380:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 380 | sprintf(hw_t, "ARCNet"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:384:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 384 | sprintf(hw_t, "AppleTalk"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:388:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 388 | sprintf(hw_t, "Lanstar"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:392:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 392 | sprintf(hw_t, "Frame Relay DLCI"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:396:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 396 | sprintf(hw_t, "ATM"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:400:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 400 | sprintf(hw_t, "Metricom STRIP"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:404:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 404 | sprintf(hw_t, "IPsec Tunnel"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: At top level: utils.c:416:49: warning: argument 2 of type 'u_int8_t[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 416 | format_ethernet_addr(u_int8_t *ethstr, u_int8_t u_eaddr[6]) | ~~~~~~~~~^~~~~~~~~~ utils.h:38:44: note: previously declared as 'u_int8_t[]' {aka 'unsigned char[]'} 38 | u_int32_t format_ethernet_addr(u_int8_t *, u_int8_t[]); | ^~~~~~~~~~ utils.c: In function 'format_ethernet_addr': utils.c:420:30: warning: pointer targets in initialization of 'u_int8_t *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 420 | u_int8_t *eptr, *delim = ":"; | ^~~ utils.c:428:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 428 | strncpy(o_ethstr, ethstr, 18); | ^~~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ utils.c:428:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 428 | strncpy(o_ethstr, ethstr, 18); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ utils.c:435:23: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^~~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ utils.c:435:33: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/string.h:356:67: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ utils.c:435:14: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^ utils.c:437:30: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] 437 | eptr = strtok(NULL, delim)) | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/string.h:356:67: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ utils.c:437:15: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 437 | eptr = strtok(NULL, delim)) | ^ utils.c:439:29: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 439 | if((base16 = strtol(eptr, 0, 16)) > 0xff) | ^~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:67: /usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ utils.c: In function 'retrieve_rand_ethernet_addr': utils.c:468:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 468 | sprintf(eaddr, "%s:%0x", eaddr, oct); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:470:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 470 | sprintf(eaddr, "%0x", oct); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdio.h:906: In function 'vsnprintf', inlined from 'print_separator' at utils.c:88:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___vsnprintf_chk' specified bound 256 exceeds destination size 255 [-Wstringop-overflow=] 68 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'format_ethernet_addr': utils.c:428:9: warning: '__builtin_strncpy' specified bound 18 equals destination size [-Wstringop-truncation] 428 | strncpy(o_ethstr, ethstr, 18); | ^ In function 'sprintf', inlined from 'retrieve_rand_ethernet_addr' at utils.c:468:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'eaddr' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'retrieve_rand_ethernet_addr': utils.c:455:39: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 455 | retrieve_rand_ethernet_addr(u_int8_t *eaddr) | ~~~~~~~~~~^~~~~ source='stats.c' object='stats.o' libtool=no \ depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'stats.c' || echo './'`stats.c stats.c: In function 'capture_stats': stats.c:46:27: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] 46 | print_separator(0, 1, "4g8 Capture Statistics"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from globals.h:44, from stats.h:26, from stats.c:23: utils.h:29:32: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 29 | void print_separator(int, int, u_int8_t *, ...); | ^~~~~~~~~~ source='usage.c' object='usage.o' libtool=no \ depfile='.deps/usage.Po' tmpdepfile='.deps/usage.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'usage.c' || echo './'`usage.c source='exit.c' object='exit.o' libtool=no \ depfile='.deps/exit.Po' tmpdepfile='.deps/exit.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'exit.c' || echo './'`exit.c source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'main.c' || echo './'`main.c main.c: In function 'main': main.c:60:28: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 60 | if(!(gw_ip = strdup(optarg))) | ^ main.c:61:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 61 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:66:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 66 | if(!(gw_mac = strdup(optarg))) | ^ main.c:67:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 67 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:77:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 77 | if(!(device = strdup(optarg))) | ^ main.c:78:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 78 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:83:30: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 83 | if(!(host_ip = strdup(optarg))) | ^ main.c:84:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 84 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:89:31: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 89 | if(!(host_mac = strdup(optarg))) | ^ main.c:90:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 90 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:100:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 100 | strncpy(w_file, optarg, OPT_MAXLEN); | ^ source='tcp_hdr.c' object='tcp_hdr.o' libtool=no \ depfile='.deps/tcp_hdr.Po' tmpdepfile='.deps/tcp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'tcp_hdr.c' || echo './'`tcp_hdr.c tcp_hdr.c: In function 'tcp_hdr': tcp_hdr.c:47:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 47 | strcat(flags, "U"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:489, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:50:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 50 | strcat(flags, "A"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:53:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 53 | strcat(flags, "P"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:56:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 56 | strcat(flags, "R"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:59:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 59 | strcat(flags, "S"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:62:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 62 | strcat(flags, "F"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:64:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 64 | if(strlen(flags) == 0) | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:63: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tcp_hdr.c:65:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 65 | strcpy(flags, "None"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:102:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 102 | fatal_error("Unable to build TCP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='udp_hdr.c' object='udp_hdr.o' libtool=no \ depfile='.deps/udp_hdr.Po' tmpdepfile='.deps/udp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'udp_hdr.c' || echo './'`udp_hdr.c udp_hdr.c: In function 'udp_hdr': udp_hdr.c:55:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 55 | fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from udp_hdr.h:26, from udp_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='icmpv4_hdr.c' object='icmpv4_hdr.o' libtool=no \ depfile='.deps/icmpv4_hdr.Po' tmpdepfile='.deps/icmpv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'icmpv4_hdr.c' || echo './'`icmpv4_hdr.c icmpv4_hdr.c: In function 'icmpv4_hdr': icmpv4_hdr.c:58:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 58 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:59:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 59 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ icmpv4_hdr.c:81:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 81 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:82:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 82 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ icmpv4_hdr.c:111:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 111 | fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:123:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 123 | fatal_error("Unable to build ICMPv4 unreach header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:131:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 131 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:132:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 132 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ icmpv4_hdr.c:179:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 179 | fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:203:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 203 | fatal_error("Unable to build ICMPv4 echo header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:226:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 226 | fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='ipv4_hdr.c' object='ipv4_hdr.o' libtool=no \ depfile='.deps/ipv4_hdr.Po' tmpdepfile='.deps/ipv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'ipv4_hdr.c' || echo './'`ipv4_hdr.c ipv4_hdr.c: In function 'ipv4_hdr': ipv4_hdr.c:37:12: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 37 | s_addr = libnet_addr2name4(iphdr->ip_src.s_addr, 0); | ^ ipv4_hdr.c:38:12: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 38 | d_addr = libnet_addr2name4(iphdr->ip_dst.s_addr, 0); | ^ ipv4_hdr.c:68:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 68 | fatal_error("Unable to build IP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from ipv4_hdr.h:26, from ipv4_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='ethernet_hdr.c' object='ethernet_hdr.o' libtool=no \ depfile='.deps/ethernet_hdr.Po' tmpdepfile='.deps/ethernet_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'ethernet_hdr.c' || echo './'`ethernet_hdr.c ethernet_hdr.c: In function 'ethernet_hdr': ethernet_hdr.c:69:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 69 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from ethernet_hdr.h:26, from ethernet_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='dump_packet.c' object='dump_packet.o' libtool=no \ depfile='.deps/dump_packet.Po' tmpdepfile='.deps/dump_packet.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'dump_packet.c' || echo './'`dump_packet.c source='arp_cache.c' object='arp_cache.o' libtool=no \ depfile='.deps/arp_cache.Po' tmpdepfile='.deps/arp_cache.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'arp_cache.c' || echo './'`arp_cache.c arp_cache.c: In function 'arp_cache_mgr': arp_cache.c:42:31: warning: argument to 'sizeof' in 'memset' call is the same pointer type 'struct libnet_ether_addr *' as the destination; expected 'struct libnet_ether_addr' or an explicit length [-Wsizeof-pointer-memaccess] 42 | memset(hw_addr, 0, sizeof(struct libnet_ether_addr *)); | ^~~~~~ arp_cache.c:45:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 45 | fatal_error("Invalid receiver protocol address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:53:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 53 | fatal_error("Invalid sender ethernet address: %s", gw_mac); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:55:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 55 | if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from globals.h:31: /usr/include/libnet/libnet-functions.h:227:38: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:56:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 56 | fatal_error("Invalid receiver protocol address: %s", gw_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:63:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 63 | if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:227:38: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:64:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 64 | fatal_error("Invalid receiver protocol address: %s", gw_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:82:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 82 | fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:86:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 86 | fatal_error("Invalid sender ethernet address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:97:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 97 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:108:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 108 | fatal_error("Invalid sender ethernet address: %s", host_mac); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:110:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 110 | if((s_paddr = libnet_name2addr4(pkt_d, host_ip, 0)) == -1) | ^~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:227:38: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:111:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 111 | fatal_error("Invalid receiver protocol address: %s", host_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:118:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 118 | if((s_paddr = libnet_name2addr4(pkt_d, host_ip, 0)) == -1) | ^~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:227:38: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:119:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 119 | fatal_error("Invalid receiver protocol address: %s", host_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:137:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 137 | fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:141:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 141 | fatal_error("Invalid sender ethernet address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:152:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 152 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='process_packets.c' object='process_packets.o' libtool=no \ depfile='.deps/process_packets.Po' tmpdepfile='.deps/process_packets.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'process_packets.c' || echo './'`process_packets.c gcc -g -O2 -ffile-prefix-map=/build/4g8-1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -o 4g8 init.o error.o utils.o stats.o usage.o exit.o main.o tcp_hdr.o udp_hdr.o icmpv4_hdr.o ipv4_hdr.o ethernet_hdr.o dump_packet.o arp_cache.o process_packets.o -lpcap -lnet #strip 4g8 cp 4g8 .. make[3]: Leaving directory '/build/4g8-1.0/src' make[3]: Entering directory '/build/4g8-1.0' make[3]: Leaving directory '/build/4g8-1.0' make[2]: Leaving directory '/build/4g8-1.0' make[1]: Leaving directory '/build/4g8-1.0' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_prep dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Add here commands to install the package into debian/tmp /usr/bin/make install prefix=$(pwd)/debian/4g8/usr \ mandir=$(pwd)/debian/4g8/usr/share/man make[1]: Entering directory '/build/4g8-1.0' Making install in src make[2]: Entering directory '/build/4g8-1.0/src' make[3]: Entering directory '/build/4g8-1.0/src' /bin/sh ../mkinstalldirs /build/4g8-1.0/debian/4g8/usr/sbin mkdir -p -- /build/4g8-1.0/debian/4g8/usr/sbin /usr/bin/install -c 4g8 /build/4g8-1.0/debian/4g8/usr/sbin/4g8 make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/4g8-1.0/src' make[2]: Leaving directory '/build/4g8-1.0/src' make[2]: Entering directory '/build/4g8-1.0' make[3]: Entering directory '/build/4g8-1.0' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/4g8-1.0' make[2]: Leaving directory '/build/4g8-1.0' make[1]: Leaving directory '/build/4g8-1.0' dh_testdir dh_testroot dh_installchangelogs dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installexamples dh_installexamples: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman 4g8.1 dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_link dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package '4g8' in '../4g8_1.0-3.3_amd64.deb'. dpkg-deb: building package '4g8-dbgsym' in '../4g8-dbgsym_1.0-3.3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../4g8_1.0-3.3_amd64.buildinfo dpkg-genchanges --build=binary -O../4g8_1.0-3.3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload 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/6841 and its subdirectories I: Current time: Sun Apr 30 11:20:17 -12 2023 I: pbuilder-time-stamp: 1682896817 Sun Apr 30 23:20:18 UTC 2023 I: 1st build successful. Starting 2nd build on remote node ionos5-amd64.debian.net. Sun Apr 30 23:20:18 UTC 2023 I: Preparing to do remote build '2' on ionos5-amd64.debian.net. Sun Apr 30 23:20:53 UTC 2023 I: Deleting $TMPDIR on ionos5-amd64.debian.net. Sun Apr 30 23:20:53 UTC 2023 I: 4g8_1.0-3.3_amd64.changes: Format: 1.8 Date: Tue, 06 Oct 2020 13:51:30 +1300 Source: 4g8 Binary: 4g8 4g8-dbgsym Architecture: amd64 Version: 1.0-3.3 Distribution: unstable Urgency: medium Maintainer: LaMont Jones Changed-By: Michael Hudson-Doyle Description: 4g8 - Packet Capture and Interception for Switched Networks Closes: 956970 Changes: 4g8 (1.0-3.3) unstable; urgency=medium . * Non-maintainer upload. * Fix FTBFS with GCC 10 by ensuring global variables only have one definition. (Closes: #956970) Checksums-Sha1: 31887fbfe71ef13b1b817ba6274dfdbb3419d4e1 38900 4g8-dbgsym_1.0-3.3_amd64.deb c4960339876c663d36c5e6d6e798690e6f39022f 5384 4g8_1.0-3.3_amd64.buildinfo ba3978c3bab131dc84af823c4bf15899485bc176 13056 4g8_1.0-3.3_amd64.deb Checksums-Sha256: fc7ec1a898698c4be56d288cefa76b28082bff0fde9605713360a477e282e958 38900 4g8-dbgsym_1.0-3.3_amd64.deb c2f8a174989cadd3bde32f4b262b1bc73db7954109db0af3cf09d5c3527269f6 5384 4g8_1.0-3.3_amd64.buildinfo 241c3aa6877223f9af0e45b4ab108fc71143248841227bd255eafce8f411d7cb 13056 4g8_1.0-3.3_amd64.deb Files: a05a1d15ac0e4c5b673fdfca31affe00 38900 debug optional 4g8-dbgsym_1.0-3.3_amd64.deb 6e54d4a7aef674c1b148556899042c27 5384 net optional 4g8_1.0-3.3_amd64.buildinfo 4df8892cc319bb834f7280082a2582dd 13056 net optional 4g8_1.0-3.3_amd64.deb Sun Apr 30 23:20:54 UTC 2023 I: diffoscope 241 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.agOhl0u1/4g8_1.0-3.3.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.agOhl0u1/4g8_1.0-3.3.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.agOhl0u1/4g8_1.0-3.3.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.agOhl0u1/b1/4g8_1.0-3.3_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.agOhl0u1/b2/4g8_1.0-3.3_amd64.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.358s) 0.358s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.018s) 0.018s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Sun Apr 30 23:20:55 UTC 2023 I: diffoscope 241 found no differences in the changes files, and a .buildinfo file also exists. Sun Apr 30 23:20:55 UTC 2023 I: 4g8 from bookworm built successfully and reproducibly on amd64. Sun Apr 30 23:20:57 UTC 2023 I: Submitting .buildinfo files to external archives: Sun Apr 30 23:20:57 UTC 2023 I: Submitting 8.0K b1/4g8_1.0-3.3_amd64.buildinfo.asc Sun Apr 30 23:20:58 UTC 2023 I: Submitting 8.0K b2/4g8_1.0-3.3_amd64.buildinfo.asc Sun Apr 30 23:20:58 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun Apr 30 23:20:58 UTC 2023 I: Done submitting .buildinfo files. Sun Apr 30 23:20:58 UTC 2023 I: Removing signed 4g8_1.0-3.3_amd64.buildinfo.asc files: removed './b1/4g8_1.0-3.3_amd64.buildinfo.asc' removed './b2/4g8_1.0-3.3_amd64.buildinfo.asc'