I: pbuilder: network access will be disabled during build I: Current time: Sun Oct 27 05:21:56 +14 2024 I: pbuilder-time-stamp: 1729956116 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [4g8_1.0-6.dsc] I: copying [./4g8_1.0.orig.tar.gz] I: copying [./4g8_1.0-6.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Jul 2 00:00:18 2024 gpgv: using RSA key B522F39159DA07DD39DC0B11F4BAAA80DB28BA4C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./4g8_1.0-6.dsc: no acceptable signature found dpkg-source: info: extracting 4g8 in 4g8-1.0 dpkg-source: info: unpacking 4g8_1.0.orig.tar.gz dpkg-source: info: unpacking 4g8_1.0-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying debian.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1340203/tmp/hooks/D01_modify_environment starting debug: Running on ionos11-amd64. 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 '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Oct 26 15:22 /bin/sh -> /bin/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/1340203/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/1340203/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=baf2dd00c6024c259929d8b30b63d216 LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-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=1340203 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/r-b-build.QFmzuUVj/pbuilderrc_BaOd --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QFmzuUVj/b2 --logfile b2/build.log 4g8_1.0-6.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://46.16.76.132:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/1340203/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libnet1-dev (>= 1.1.2.1), libpcap-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 ... 19947 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-compat (= 13); however: Package debhelper-compat 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. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libnet1{a} libnet1-dev{a} libpcap-dev{a} libpcap0.8-dev{a} libpcap0.8t64{a} libpipeline1{a} libpkgconf3{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 41 newly installed, 0 to remove and 0 not upgraded. Need to get 21.0 MB of archives. After unpacking 79.4 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sgml-base all 1.31 [15.4 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-9 [97.2 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 22 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 23 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5 [9396 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.1 [699 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libdbus-1-3 amd64 1.14.10-4+b1 [203 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get: 34 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 xml-core all 0.19 [20.1 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 libdbus-1-dev amd64 1.14.10-4+b1 [242 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 libnet1 amd64 1.3+dfsg-0.1 [58.1 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 libnet1-dev amd64 1.3+dfsg-0.1 [118 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 libpcap0.8t64 amd64 1.10.5-1 [169 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 libpcap0.8-dev amd64 1.10.5-1 [284 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 libpcap-dev amd64 1.10.5-1 [31.7 kB] Fetched 21.0 MB in 2s (9939 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19947 files and directories currently installed.) Preparing to unpack .../00-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../03-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../06-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.40.2-9_amd64.deb ... Unpacking bsdextrautils (2.40.2-9) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../09-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../22-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-5_amd64.deb ... Unpacking libicu72:amd64 (72.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.12.7+dfsg+really2.9.14-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../30-libdbus-1-3_1.14.10-4+b1_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.14.10-4+b1) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../31-libpkgconf3_1.8.1-4_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-4) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../32-pkgconf-bin_1.8.1-4_amd64.deb ... Unpacking pkgconf-bin (1.8.1-4) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../33-pkgconf_1.8.1-4_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-4) ... Selecting previously unselected package xml-core. Preparing to unpack .../34-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../35-libdbus-1-dev_1.14.10-4+b1_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.14.10-4+b1) ... Selecting previously unselected package libnet1:amd64. Preparing to unpack .../36-libnet1_1.3+dfsg-0.1_amd64.deb ... Unpacking libnet1:amd64 (1.3+dfsg-0.1) ... Selecting previously unselected package libnet1-dev:amd64. Preparing to unpack .../37-libnet1-dev_1.3+dfsg-0.1_amd64.deb ... Unpacking libnet1-dev:amd64 (1.3+dfsg-0.1) ... Selecting previously unselected package libpcap0.8t64:amd64. Preparing to unpack .../38-libpcap0.8t64_1.10.5-1_amd64.deb ... Unpacking libpcap0.8t64:amd64 (1.10.5-1) ... Selecting previously unselected package libpcap0.8-dev:amd64. Preparing to unpack .../39-libpcap0.8-dev_1.10.5-1_amd64.deb ... Unpacking libpcap0.8-dev:amd64 (1.10.5-1) ... Selecting previously unselected package libpcap-dev:amd64. Preparing to unpack .../40-libpcap-dev_1.10.5-1_amd64.deb ... Unpacking libpcap-dev:amd64 (1.10.5-1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5) ... Setting up bsdextrautils (2.40.2-9) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libnet1:amd64 (1.3+dfsg-0.1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:amd64 (1.8.1-4) ... Setting up libdbus-1-3:amd64 (1.14.10-4+b1) ... Setting up autopoint (0.22.5-2) ... Setting up pkgconf-bin (1.8.1-4) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libpcap0.8t64:amd64 (1.10.5-1) ... Setting up sgml-base (1.31) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up libnet1-dev:amd64 (1.3+dfsg-0.1) ... Setting up pkgconf:amd64 (1.8.1-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up xml-core (0.19) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for sgml-base (1.31) ... Setting up libdbus-1-dev:amd64 (1.14.10-4+b1) ... Setting up libpcap0.8-dev:amd64 (1.10.5-1) ... Setting up libpcap-dev:amd64 (1.10.5-1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/1340203/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/1340203/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../4g8_1.0-6_source.changes dpkg-buildpackage: info: source package 4g8 dpkg-buildpackage: info: source version 1.0-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Luca Nozzoli dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf configure.ac:29: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:29: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.ac:29: the top level configure.ac:105: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:46: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') dh_auto_configure ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking 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 a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for gcc... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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 for signal.h... yes checking for net/bpf.h... no checking for sys/time.h... yes checking for libnet.h... 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/version.h config.status: creating config.h config.status: executing depfiles commands 4g8 has been configured with the following options: ----------------------------------------------- Host type : x86_64-pc-linux-gnu Compiler : gcc Compiler flags : -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall Linker flags : -Wl,-z,relro -Wl,-z,now Libraries : -lpcap -lnet Binary : /usr/bin Enable debugging : no ----------------------------------------------- dh_auto_build make -j20 make[1]: Entering directory '/build/reproducible-path/4g8-1.0' make all-recursive make[2]: Entering directory '/build/reproducible-path/4g8-1.0' Making all in src make[3]: Entering directory '/build/reproducible-path/4g8-1.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o init.o init.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o utils.o utils.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o stats.o stats.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o usage.o usage.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o exit.o exit.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o tcp_hdr.o tcp_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o udp_hdr.o udp_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o icmpv4_hdr.o icmpv4_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o ipv4_hdr.o ipv4_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o ethernet_hdr.o ethernet_hdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o dump_packet.o dump_packet.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o arp_cache.o arp_cache.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o process_packets.o process_packets.c init.c: In function 'capture_loop': init.c:32:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 32 | fatal_error("Unable to inject packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c: In function 'init': init.c:61:32: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 61 | if((pkt_d = libnet_init(0, device, error_buf)) == NULL) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from globals.h:31: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ init.c:62:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 62 | fatal_error("Unable to initialize packet injection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:65:9: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 65 | if((device = pcap_lookupdev(error_buf)) == NULL) | ^~ In file included from globals.h:32: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ init.c:65:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 65 | if((device = pcap_lookupdev(error_buf)) == NULL) | ^ init.c:66:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 66 | fatal_error("%s: Check device permissions", error_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:68:30: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 68 | if((pkt = pcap_open_live(device, 1500, 1, 500, error_buf)) == NULL) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ init.c:69:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 69 | fatal_error("Unable to open device: %s", error_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:78:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 78 | fatal_error("Unable to initialize packet capture: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:83:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 83 | if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ init.c:87:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 87 | snprintf(filter, 255, "(ip src host %s and ether dst %0x:%0x:%0x:%0x:%0x:%0x) or (ip dst host %s and ether dst %0x:%0x:%0x:%0x:%0x:%0x)", | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:510, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ init.c:105:32: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] 105 | if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/pcap/pcap.h:662:62: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 662 | PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, | ^~~~~~~~~~~~ init.c:106:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 106 | fatal_error("Unable to compile packet filters: %s\n", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:109:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 109 | fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c:116:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 116 | fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ ipv4_hdr.c: In function 'ipv4_hdr': ipv4_hdr.c:37:12: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 37 | s_addr = libnet_addr2name4(iphdr->ip_src.s_addr, 0); | ^ ipv4_hdr.c:38:12: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 38 | d_addr = libnet_addr2name4(iphdr->ip_dst.s_addr, 0); | ^ init.c:130:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 130 | fatal_error("Unable to initialize pcap_loop: %s", pcap_geterr(pkt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ipv4_hdr.c:68:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 68 | fatal_error("Unable to build IP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from ipv4_hdr.h:26, from ipv4_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ udp_hdr.c: In function 'udp_hdr': udp_hdr.c:55:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 55 | fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from udp_hdr.h:26, from udp_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ error.c: In function 'fatal_error': error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] 35 | vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:510, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from globals.h:31, from error.h:26, from error.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:93:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~ tcp_hdr.c: In function 'tcp_hdr': tcp_hdr.c:47:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 47 | strcat(flags, "U"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:510, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:50:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 50 | strcat(flags, "A"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:53:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 53 | strcat(flags, "P"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:56:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 56 | strcat(flags, "R"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:59:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 59 | strcat(flags, "S"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:62:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 62 | strcat(flags, "F"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:64:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 64 | if(strlen(flags) == 0) | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:54: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tcp_hdr.c:65:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 65 | strcpy(flags, "None"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp_hdr.c:102:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 102 | fatal_error("Unable to build TCP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ utils.c: In function 'print_separator': utils.c:88:15: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 88 | vsnprintf(msg, 256, msgp, va); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:510, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:93:19: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:88:25: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] 88 | vsnprintf(msg, 256, msgp, va); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:93:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 93 | __NTH (vsnprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~ utils.c:90:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 90 | msg_len = strlen(msg); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:54: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c: In function 'retrieve_icmp_code': utils.c:122:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 122 | sprintf(icmp_c, "Network"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:126:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 126 | sprintf(icmp_c, "Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:130:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 130 | sprintf(icmp_c, "Protocol"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:134:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 134 | sprintf(icmp_c, "Port"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:138:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 138 | sprintf(icmp_c, "Need Fragment"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:142:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 142 | sprintf(icmp_c, "Source Fail"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:146:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 146 | sprintf(icmp_c, "Network Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:150:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 150 | sprintf(icmp_c, "Host Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:154:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 154 | sprintf(icmp_c, "Isolated"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:158:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 158 | sprintf(icmp_c, "Network Prohibited"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:162:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 162 | sprintf(icmp_c, "Host Prohibited"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:166:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 166 | sprintf(icmp_c, "ToS Network"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:170:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 170 | sprintf(icmp_c, "ToS Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:174:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 174 | sprintf(icmp_c, "Filter Prohibited"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:178:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 178 | sprintf(icmp_c, "Host Precedence"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:182:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 182 | sprintf(icmp_c, "Precedence Cutoff"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:186:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 186 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:196:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 196 | sprintf(icmp_c, "Network"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:200:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 200 | sprintf(icmp_c, "Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:204:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 204 | sprintf(icmp_c, "ToS Net"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:208:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 208 | sprintf(icmp_c, "ToS Host"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:212:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 212 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:222:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 222 | sprintf(icmp_c, "In Transit"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:226:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 226 | sprintf(icmp_c, "Reassembly"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:230:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 230 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:240:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 240 | sprintf(icmp_c, "Missing Option"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:244:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 244 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:250:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 250 | sprintf(icmp_c, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: In function 'retrieve_icmp_type': utils.c:271:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 271 | sprintf(icmp_t, "Echo Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:275:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 275 | sprintf(icmp_t, "Unreachable"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:279:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 279 | sprintf(icmp_t, "Source Quench"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:283:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 283 | sprintf(icmp_t, "Redirect"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:287:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 287 | sprintf(icmp_t, "Echo Request"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:291:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 291 | sprintf(icmp_t, "Time Exceeded"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:295:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 295 | sprintf(icmp_t, "Param Problem"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:299:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 299 | sprintf(icmp_t, "Timestamp"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:303:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 303 | sprintf(icmp_t, "Timestamp Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:307:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 307 | sprintf(icmp_t, "Info Request"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:311:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 311 | sprintf(icmp_t, "Info Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:315:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 315 | sprintf(icmp_t, "Router Advertise"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:319:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 319 | sprintf(icmp_t, "Router Selection"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:323:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 323 | sprintf(icmp_t, "Address Mask Request"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:327:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 327 | sprintf(icmp_t, "Address Mask Reply"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ stats.c: In function 'capture_stats': utils.c:331:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 331 | sprintf(icmp_t, "Traceroute"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:335:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 335 | sprintf(icmp_t, "Unknown"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} stats.c:46:27: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] 46 | print_separator(0, 1, "4g8 Capture Statistics"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from globals.h:44, from stats.h:26, from stats.c:23: utils.h:29:32: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 29 | void print_separator(int, int, u_int8_t *, ...); | ^~~~~~~~~~ utils.c: In function 'retrieve_arp_hw_type': utils.c:356:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 356 | sprintf(hw_t, "Net/ROM Pseudo"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:360:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 360 | sprintf(hw_t, "Ethernet 10/100"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:364:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 364 | sprintf(hw_t, "Experimental Ethernet"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:368:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 368 | sprintf(hw_t, "AX.25 Level 2"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:372:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 372 | sprintf(hw_t, "ProNet Token Ring"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:376:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 376 | sprintf(hw_t, "IEEE 802.2 Ethernet"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:380:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 380 | sprintf(hw_t, "ARCNet"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:384:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 384 | sprintf(hw_t, "AppleTalk"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:388:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 388 | sprintf(hw_t, "Lanstar"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:392:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 392 | sprintf(hw_t, "Frame Relay DLCI"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:396:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 396 | sprintf(hw_t, "ATM"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:400:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 400 | sprintf(hw_t, "Metricom STRIP"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:404:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 404 | sprintf(hw_t, "IPsec Tunnel"); | ^~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: At top level: utils.c:416:49: warning: argument 2 of type 'u_int8_t[6]' {aka 'unsigned char[6]'} with mismatched bound [-Warray-parameter=] 416 | format_ethernet_addr(u_int8_t *ethstr, u_int8_t u_eaddr[6]) | ~~~~~~~~~^~~~~~~~~~ utils.h:38:44: note: previously declared as 'u_int8_t[]' {aka 'unsigned char[]'} 38 | u_int32_t format_ethernet_addr(u_int8_t *, u_int8_t[]); | ^~~~~~~~~~ utils.c: In function 'format_ethernet_addr': utils.c:420:30: warning: pointer targets in initialization of 'u_int8_t *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 420 | u_int8_t *eptr, *delim = ":"; | ^~~ utils.c:428:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 428 | strncpy(o_ethstr, ethstr, 18); | ^~~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:428:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 428 | strncpy(o_ethstr, ethstr, 18); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ utils.c:435:23: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^~~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ utils.c:435:33: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/string.h:356:67: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ utils.c:435:14: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^ utils.c:437:30: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] 437 | eptr = strtok(NULL, delim)) | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/string.h:356:67: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ utils.c:437:15: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 437 | eptr = strtok(NULL, delim)) | ^ utils.c:439:29: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 439 | if((base16 = strtol(eptr, 0, 16)) > 0xff) | ^~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:58: /usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ utils.c: In function 'retrieve_rand_ethernet_addr': utils.c:468:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 468 | sprintf(eaddr, "%s:%0x", eaddr, oct); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:470:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 470 | sprintf(eaddr, "%0x", oct); | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c: In function 'main': main.c:60:28: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 60 | if(!(gw_ip = strdup(optarg))) | ^ main.c:61:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 61 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:66:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 66 | if(!(gw_mac = strdup(optarg))) | ^ main.c:67:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 67 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:77:29: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 77 | if(!(device = strdup(optarg))) | ^ main.c:78:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 78 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:83:30: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 83 | if(!(host_ip = strdup(optarg))) | ^ main.c:84:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 84 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:89:31: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 89 | if(!(host_mac = strdup(optarg))) | ^ main.c:90:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 90 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c: In function 'arp_cache_mgr': icmpv4_hdr.c: In function 'icmpv4_hdr': arp_cache.c:42:31: warning: argument to 'sizeof' in 'memset' call is the same pointer type 'struct libnet_ether_addr *' as the destination; expected 'struct libnet_ether_addr' or an explicit length [-Wsizeof-pointer-memaccess] 42 | memset(hw_addr, 0, sizeof(struct libnet_ether_addr *)); | ^~~~~~ arp_cache.c:45:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 45 | fatal_error("Invalid receiver protocol address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:53:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 53 | fatal_error("Invalid sender ethernet address: %s", gw_mac); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:55:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 55 | if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from globals.h:31: /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/stdio.h:970: In function 'vsnprintf', inlined from 'print_separator' at utils.c:88:5: arp_cache.c:56:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 56 | fatal_error("Invalid receiver protocol address: %s", gw_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/x86_64-linux-gnu/bits/stdio2.h:100:10: warning: '__builtin___vsnprintf_chk' specified bound 256 exceeds destination size 255 [-Wstringop-overflow=] 100 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:63:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 63 | if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) | ^~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ arp_cache.c:64:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 64 | fatal_error("Invalid receiver protocol address: %s", gw_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:58:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 58 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ arp_cache.c:82:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 82 | fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icmpv4_hdr.c:59:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 59 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:86:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 86 | fatal_error("Invalid sender ethernet address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:97:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 97 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:81:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 81 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ arp_cache.c:108:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 108 | fatal_error("Invalid sender ethernet address: %s", host_mac); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icmpv4_hdr.c:82:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 82 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:110:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 110 | if((s_paddr = libnet_name2addr4(pkt_d, host_ip, 0)) == -1) | ^~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ arp_cache.c:111:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 111 | fatal_error("Invalid receiver protocol address: %s", host_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icmpv4_hdr.c:111:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 111 | fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:118:48: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 118 | if((s_paddr = libnet_name2addr4(pkt_d, host_ip, 0)) == -1) | ^~~~~~~ | | | u_int8_t * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ arp_cache.c:119:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 119 | fatal_error("Invalid receiver protocol address: %s", host_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:137:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 137 | fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icmpv4_hdr.c:123:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 123 | fatal_error("Unable to build ICMPv4 unreach header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:141:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 141 | fatal_error("Invalid sender ethernet address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icmpv4_hdr.c:131:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 131 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:132:20: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 132 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:152:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 152 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:179:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 179 | fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:203:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 203 | fatal_error("Unable to build ICMPv4 echo header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:226:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 226 | fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:100:17: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 100 | strncpy(w_file, optarg, OPT_MAXLEN); | ^ ethernet_hdr.c: In function 'ethernet_hdr': ethernet_hdr.c:69:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] 69 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from ethernet_hdr.h:26, from ethernet_hdr.c:23: error.h:34:18: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ utils.c: In function 'format_ethernet_addr': utils.c:428:9: warning: '__builtin_strncpy' specified bound 18 equals destination size [-Wstringop-truncation] 428 | strncpy(o_ethstr, ethstr, 18); | ^ In function 'sprintf', inlined from 'retrieve_rand_ethernet_addr' at utils.c:468:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'eaddr' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'retrieve_rand_ethernet_addr': utils.c:455:39: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 455 | retrieve_rand_ethernet_addr(u_int8_t *eaddr) | ~~~~~~~~~~^~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/4g8-1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wl,-z,relro -Wl,-z,now -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 cp 4g8 .. make[3]: Leaving directory '/build/reproducible-path/4g8-1.0/src' make[3]: Entering directory '/build/reproducible-path/4g8-1.0' make[3]: Leaving directory '/build/reproducible-path/4g8-1.0' make[2]: Leaving directory '/build/reproducible-path/4g8-1.0' make[1]: Leaving directory '/build/reproducible-path/4g8-1.0' dh_auto_test make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/4g8-1.0' Making check in src make[2]: Entering directory '/build/reproducible-path/4g8-1.0/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/reproducible-path/4g8-1.0/src' make[2]: Entering directory '/build/reproducible-path/4g8-1.0' make[2]: Leaving directory '/build/reproducible-path/4g8-1.0' make[1]: Leaving directory '/build/reproducible-path/4g8-1.0' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/4g8/ make -j20 install DESTDIR=/build/reproducible-path/4g8-1.0/debian/4g8 AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/4g8-1.0' Making install in src make[2]: Entering directory '/build/reproducible-path/4g8-1.0/src' make[3]: Entering directory '/build/reproducible-path/4g8-1.0/src' /usr/bin/mkdir -p '/build/reproducible-path/4g8-1.0/debian/4g8/usr/sbin' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/install -c 4g8 '/build/reproducible-path/4g8-1.0/debian/4g8/usr/sbin' make[3]: Leaving directory '/build/reproducible-path/4g8-1.0/src' make[2]: Leaving directory '/build/reproducible-path/4g8-1.0/src' make[2]: Entering directory '/build/reproducible-path/4g8-1.0' make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/4g8-1.0' make[2]: Leaving directory '/build/reproducible-path/4g8-1.0' make[1]: Leaving directory '/build/reproducible-path/4g8-1.0' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package '4g8' in '../4g8_1.0-6_amd64.deb'. dpkg-deb: building package '4g8-dbgsym' in '../4g8-dbgsym_1.0-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../4g8_1.0-6_amd64.buildinfo dpkg-genchanges --build=binary -O../4g8_1.0-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/1340203/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/1340203/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/1340203 and its subdirectories I: Current time: Sun Oct 27 05:25:53 +14 2024 I: pbuilder-time-stamp: 1729956353