W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build I: Current time: Fri Jul 24 22:46:49 +14 2020 I: pbuilder-time-stamp: 1595580409 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [4g8_1.0-3.2.dsc] I: copying [./4g8_1.0.orig.tar.gz] I: copying [./4g8_1.0-3.2.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sat Jul 8 02:22:25 2017 +14 gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 gpgv: issuer "doko@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./4g8_1.0-3.2.dsc 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.2.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/globals.h 4g8-1.0/src/main.h I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1322/tmp/hooks/D01_modify_environment starting debug: Running on profitbricks-build12-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/1322/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/1322/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=1322 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.pndxDFRKmH/pbuilderrc_ePOD --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.pndxDFRKmH/b2 --logfile b2/build.log 4g8_1.0-3.2.dsc' SUDO_GID=112 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://78.137.99.97:3128 I: uname -a Linux i-capture-the-hostname 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) i686 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash -rwxr-xr-x 1 root root 120676 Mar 1 2019 date -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd -rwxr-xr-x 1 root root 100620 Mar 1 2019 df -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 34532 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 30112 Apr 23 09:38 fusermount -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln -rwxr-xr-x 1 root root 55400 Jul 27 2018 login -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 42348 Jan 10 2019 more -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Jul 24 22:47 sh -> bash lrwxrwxrwx 1 root root 4 Jul 23 23:03 sh.distrib -> dash -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty -rwsr-xr-x 1 root root 71072 Jan 10 2019 su -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch -rwxr-xr-x 1 root root 34532 Mar 1 2019 true -rwxr-xr-x 1 root root 17768 Apr 23 09:38 ulockmgr_server -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/1322/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 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 ... 19234 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} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libnet1{a} libnet1-dev{a} libpcap-dev{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded. Need to get 20.0 MB of archives. After unpacking 72.0 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 10 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 11 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 12 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 13 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 14 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 24 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 25 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6+deb10u1 [8451 kB] Get: 27 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 28 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 29 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 30 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 31 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 34 http://deb.debian.org/debian buster/main i386 libnet1 i386 1.1.6+dfsg-3.1 [62.5 kB] Get: 35 http://deb.debian.org/debian buster/main i386 libnet1-dev i386 1.1.6+dfsg-3.1 [123 kB] Get: 36 http://deb.debian.org/debian buster/main i386 libpcap0.8 i386 1.8.1-6 [145 kB] Get: 37 http://deb.debian.org/debian buster/main i386 libpcap0.8-dev i386 1.8.1-6 [247 kB] Get: 38 http://deb.debian.org/debian buster/main i386 libpcap-dev i386 1.8.1-6 [25.9 kB] Fetched 20.0 MB in 6s (3327 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19234 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_i386.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../11-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../22-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_i386.deb ... Unpacking libicu63:i386 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../27-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libnet1:i386. Preparing to unpack .../33-libnet1_1.1.6+dfsg-3.1_i386.deb ... Unpacking libnet1:i386 (1.1.6+dfsg-3.1) ... Selecting previously unselected package libnet1-dev. Preparing to unpack .../34-libnet1-dev_1.1.6+dfsg-3.1_i386.deb ... Unpacking libnet1-dev (1.1.6+dfsg-3.1) ... Selecting previously unselected package libpcap0.8:i386. Preparing to unpack .../35-libpcap0.8_1.8.1-6_i386.deb ... Unpacking libpcap0.8:i386 (1.8.1-6) ... Selecting previously unselected package libpcap0.8-dev:i386. Preparing to unpack .../36-libpcap0.8-dev_1.8.1-6_i386.deb ... Unpacking libpcap0.8-dev:i386 (1.8.1-6) ... Selecting previously unselected package libpcap-dev:i386. Preparing to unpack .../37-libpcap-dev_1.8.1-6_i386.deb ... Unpacking libpcap-dev:i386 (1.8.1-6) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:i386 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libnet1:i386 (1.1.6+dfsg-3.1) ... Setting up libicu63:i386 (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libpcap0.8:i386 (1.8.1-6) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up libnet1-dev (1.1.6+dfsg-3.1) ... Setting up libpcap0.8-dev:i386 (1.8.1-6) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up libpcap-dev:i386 (1.8.1-6) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/4g8-1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package 4g8 dpkg-buildpackage: info: source version 1.0-3.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Matthias Klose dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 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 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 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" 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... i686-pc-linux-gnu checking host system type... i686-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 : i686-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] fatal_error("Unable to inject packet"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if((pkt_d = libnet_init(0, device, error_buf)) == NULL) ^~~~~~ In file included from /usr/include/libnet.h:119, from globals.h:31, from init.h:26, from init.c:23: /usr/include/libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Unable to initialize packet injection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ init.c:65:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 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] fatal_error("%s: Check device permissions", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if((pkt = pcap_open_live(device, 1500, 1, 500, error_buf)) == NULL) ^~~~~~ In file included from globals.h:32, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Unable to open device: %s", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to initialize packet capture: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0) ^~~~~~ In file included from globals.h:32, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] 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)", ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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 init.h:26, from init.c:23: /usr/include/i386-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0) ^~~~~~ In file included from globals.h:32, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:393:14: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Unable to compile packet filters: %s\n", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to initialize pcap_loop: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); ^~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:77:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] vsnprintf(msg, 256, msgp, va); ^~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:77:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] vsnprintf(msg, 256, msgp, va); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:77:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] msg_len = strlen(msg); ^~~ In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] sprintf(icmp_c, "Network"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Host"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Protocol"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Port"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Need Fragment"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Source Fail"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Network Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Host Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Isolated"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Network Prohibited"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Host Prohibited"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "ToS Network"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "ToS Host"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Filter Prohibited"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Host Precedence"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Precedence Cutoff"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Network"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Host"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "ToS Net"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "ToS Host"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "In Transit"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Reassembly"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Missing Option"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Echo Reply"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Unreachable"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Source Quench"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Redirect"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Echo Request"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Time Exceeded"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Param Problem"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Timestamp"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Timestamp Reply"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Info Request"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Info Reply"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Router Advertise"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Router Selection"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Address Mask Request"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Address Mask Reply"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Traceroute"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(icmp_t, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "Net/ROM Pseudo"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "Ethernet 10/100"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "Experimental Ethernet"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "AX.25 Level 2"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "ProNet Token Ring"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "IEEE 802.2 Ethernet"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "ARCNet"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "AppleTalk"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "Lanstar"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "Frame Relay DLCI"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "ATM"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "Metricom STRIP"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] sprintf(hw_t, "IPsec Tunnel"); ^~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ 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] u_int8_t *eptr, *delim = ":"; ^~~ utils.c:428:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(o_ethstr, ethstr, 18); ^~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] strncpy(o_ethstr, ethstr, 18); ^~~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] for(eptr = strtok(o_ethstr, delim); ^~~~~~~~ In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] for(eptr = strtok(o_ethstr, delim); ^~~~~ In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:335:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] for(eptr = strtok(o_ethstr, delim); ^ utils.c:437:30: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] eptr = strtok(NULL, delim)) ^~~~~ In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:335:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] eptr = strtok(NULL, delim)) ^ utils.c:439:29: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] if((base16 = strtol(eptr, 0, 16)) > 0xff) ^~~~ In file included from /usr/include/libnet.h:67, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] sprintf(eaddr, "%s:%0x", eaddr, oct); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ utils.c:468:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(eaddr, "%s:%0x", eaddr, oct); ^~~~~~~ utils.c:470:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(eaddr, "%0x", oct); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: In function 'vsnprintf', inlined from 'print_separator' at utils.c:88:5: /usr/include/i386-linux-gnu/bits/stdio2.h:80:10: warning: '__builtin___vsnprintf_chk' specified bound 256 exceeds destination size 255 [-Wstringop-overflow=] return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __ap); ~~~~~~~~~~~~~~~~~~~~~~~~~ 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] print_separator(0, 1, "4g8 Capture Statistics"); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from globals.h:44, from stats.h:26, from stats.c:23: utils.h:29:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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:41:28: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(!(gw_ip = strdup(optarg))) ^ main.c:42:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:47:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(!(gw_mac = strdup(optarg))) ^ main.c:48:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:58:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(!(device = strdup(optarg))) ^ main.c:59:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:64:30: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(!(host_ip = strdup(optarg))) ^ main.c:65:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:70:31: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(!(host_mac = strdup(optarg))) ^ main.c:71:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ 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] strcat(flags, "U"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] strcat(flags, "A"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] strcat(flags, "P"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] strcat(flags, "R"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] strcat(flags, "S"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] strcat(flags, "F"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] if(strlen(flags) == 0) ^~~~~ In file included from /usr/include/libnet.h:63, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] strcpy(flags, "None"); ^~~~~ In file included from /usr/include/features.h:424, from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} __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] fatal_error("Unable to build TCP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from tcp_hdr.h:26, from tcp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from udp_hdr.h:26, from udp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] 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] 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] 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] 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] fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ICMPv4 unreach header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] 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] 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] fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ICMPv4 echo header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] 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] 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] fatal_error("Unable to build IP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from ipv4_hdr.h:26, from ipv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ethernet header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from ethernet_hdr.h:26, from ethernet_hdr.c:23: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] 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] fatal_error("Invalid receiver protocol address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Invalid sender ethernet address: %s", gw_mac); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) ^~~~~ In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Invalid receiver protocol address: %s", gw_ip); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) ^~~~~ In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Invalid receiver protocol address: %s", gw_ip); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Invalid sender ethernet address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ethernet header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Invalid sender ethernet address: %s", host_mac); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if((s_paddr = libnet_name2addr4(pkt_d, host_ip, 0)) == -1) ^~~~~~~ In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Invalid receiver protocol address: %s", host_ip); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] if((s_paddr = libnet_name2addr4(pkt_d, host_ip, 0)) == -1) ^~~~~~~ In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 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] fatal_error("Invalid receiver protocol address: %s", host_ip); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Invalid sender ethernet address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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] fatal_error("Unable to build ethernet header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:6: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 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 # 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_installdocs dh_installexamples dh_installman 4g8.1 dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package '4g8-dbgsym' in '../4g8-dbgsym_1.0-3.2_i386.deb'. dpkg-deb: building package '4g8' in '../4g8_1.0-3.2_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../4g8_1.0-3.2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/1322/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/1322/tmp/hooks/B01_cleanup finished 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/1322 and its subdirectories I: Current time: Fri Jul 24 22:48:57 +14 2020 I: pbuilder-time-stamp: 1595580537