https://launchpad.net/ubuntu/+source/4g8/1.0-3.3/+build/20265656 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux riscv64-qemu-lcy01-082 5.4.0-36-generic #41-Ubuntu SMP Thu Oct 1 14:51:42 UTC 2020 riscv64 Buildd toolchain package versions: launchpad-buildd_193~468~ubuntu18.04.1 python3-lpbuildd_193~468~ubuntu18.04.1 sbuild_0.79.0-1ubuntu1 git_1:2.25.1-1ubuntu3 dpkg-dev_1.19.7ubuntu3 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 9 Nov 04:10:27 ntpdate[1911534]: adjust time server 10.211.37.1 offset -0.000866 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 --image-type chroot /home/buildd/filecache-default/455112eaccac6437d04b3f98755ef0ead6caaf02 Creating target for build PACKAGEBUILD-20265656 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 Starting target for build PACKAGEBUILD-20265656 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 'deb http://ftpmaster.internal/ubuntu hirsute main universe' 'deb http://ftpmaster.internal/ubuntu hirsute-security main universe' 'deb http://ftpmaster.internal/ubuntu hirsute-updates main universe' 'deb http://ftpmaster.internal/ubuntu hirsute-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-20265656 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 Updating target for build PACKAGEBUILD-20265656 Get:1 http://ftpmaster.internal/ubuntu hirsute InRelease [267 kB] Get:2 http://ftpmaster.internal/ubuntu hirsute-security InRelease [88.4 kB] Get:3 http://ftpmaster.internal/ubuntu hirsute-updates InRelease [88.4 kB] Get:4 http://ftpmaster.internal/ubuntu hirsute-proposed InRelease [117 kB] Get:5 http://ftpmaster.internal/ubuntu hirsute/main riscv64 Packages [1272 kB] Get:6 http://ftpmaster.internal/ubuntu hirsute/main Translation-en [508 kB] Get:7 http://ftpmaster.internal/ubuntu hirsute/universe riscv64 Packages [12.3 MB] Get:8 http://ftpmaster.internal/ubuntu hirsute/universe Translation-en [5331 kB] Get:9 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 Packages [122 kB] Get:10 http://ftpmaster.internal/ubuntu hirsute-proposed/main Translation-en [56.9 kB] Get:11 http://ftpmaster.internal/ubuntu hirsute-proposed/universe riscv64 Packages [1508 kB] Get:12 http://ftpmaster.internal/ubuntu hirsute-proposed/universe Translation-en [523 kB] Fetched 22.2 MB in 32s (684 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt base-files base-passwd binutils binutils-common binutils-riscv64-linux-gnu cpp-10 fakeroot g++-10 gcc-10 gcc-10-base libapparmor1 libapt-pkg6.0 libatomic1 libaudit-common libaudit1 libbinutils libcap2 libcc1-0 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdebconfclient0 libfakeroot libgcc-10-dev libgcc-s1 libgomp1 libidn2-0 libip4tc2 libmpc3 libncursesw6 libnpth0 libseccomp2 libselinux1 libsemanage-common libsemanage1 libstdc++-10-dev libstdc++6 libsystemd0 libtinfo6 libtirpc-common libtirpc-dev libtirpc3 libudev1 linux-libc-dev ncurses-base ncurses-bin systemd systemd-sysv systemd-timesyncd sysvinit-utils 52 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 42.0 MB of archives. After this operation, 131 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libcrypt-dev riscv64 1:4.4.17-1ubuntu1 [199 kB] Get:2 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libcrypt1 riscv64 1:4.4.17-1ubuntu1 [89.8 kB] Get:3 http://ftpmaster.internal/ubuntu hirsute/main riscv64 base-files riscv64 11ubuntu16 [60.1 kB] Get:4 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libncursesw6 riscv64 6.2+20200918-1 [115 kB] Get:5 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libtinfo6 riscv64 6.2+20200918-1 [79.1 kB] Get:6 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 ncurses-bin riscv64 6.2+20200918-1 [167 kB] Get:7 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libdebconfclient0 riscv64 0.255ubuntu1 [5648 B] Get:8 http://ftpmaster.internal/ubuntu hirsute/main riscv64 base-passwd riscv64 3.5.48 [45.9 kB] Get:9 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 ncurses-base all 6.2+20200918-1 [18.7 kB] Get:10 http://ftpmaster.internal/ubuntu hirsute/main riscv64 sysvinit-utils riscv64 2.96-5ubuntu1 [19.5 kB] Get:11 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libcc1-0 riscv64 10.2.0-16ubuntu1 [38.2 kB] Get:12 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 gcc-10-base riscv64 10.2.0-16ubuntu1 [19.7 kB] Get:13 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libgcc-s1 riscv64 10.2.0-16ubuntu1 [40.4 kB] Get:14 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libgomp1 riscv64 10.2.0-16ubuntu1 [83.9 kB] Get:15 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libatomic1 riscv64 10.2.0-16ubuntu1 [7476 B] Get:16 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 g++-10 riscv64 10.2.0-16ubuntu1 [7491 kB] Get:17 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libstdc++-10-dev riscv64 10.2.0-16ubuntu1 [3618 kB] Get:18 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libgcc-10-dev riscv64 10.2.0-16ubuntu1 [472 kB] Get:19 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 gcc-10 riscv64 10.2.0-16ubuntu1 [13.1 MB] Get:20 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 cpp-10 riscv64 10.2.0-16ubuntu1 [6521 kB] Get:21 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libstdc++6 riscv64 10.2.0-16ubuntu1 [508 kB] Get:22 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libmpc3 riscv64 1.2.0-1 [41.6 kB] Get:23 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libctf-nobfd0 riscv64 2.35.1-2ubuntu1 [41.5 kB] Get:24 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libctf0 riscv64 2.35.1-2ubuntu1 [40.4 kB] Get:25 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libbinutils riscv64 2.35.1-2ubuntu1 [289 kB] Get:26 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 binutils-common riscv64 2.35.1-2ubuntu1 [205 kB] Get:27 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 binutils riscv64 2.35.1-2ubuntu1 [3292 B] Get:28 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 binutils-riscv64-linux-gnu riscv64 2.35.1-2ubuntu1 [676 kB] Get:29 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 systemd-timesyncd riscv64 246.6-2ubuntu1 [25.7 kB] Get:30 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 systemd-sysv riscv64 246.6-2ubuntu1 [10.3 kB] Get:31 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libapparmor1 riscv64 3.0.0-0ubuntu2 [32.5 kB] Get:32 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libaudit-common all 1:2.8.5-3ubuntu2 [4092 B] Get:33 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libaudit1 riscv64 1:2.8.5-3ubuntu2 [37.6 kB] Get:34 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libcap2 riscv64 1:2.44-1 [15.5 kB] Get:35 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libidn2-0 riscv64 2.3.0-2 [50.2 kB] Get:36 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libip4tc2 riscv64 1.8.5-3ubuntu3 [17.2 kB] Get:37 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libseccomp2 riscv64 2.4.3-1ubuntu5 [37.9 kB] Get:38 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 systemd riscv64 246.6-2ubuntu1 [3724 kB] Get:39 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libsystemd0 riscv64 246.6-2ubuntu1 [246 kB] Get:40 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libudev1 riscv64 246.6-2ubuntu1 [60.5 kB] Get:41 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libapt-pkg6.0 riscv64 2.1.11 [805 kB] Get:42 http://ftpmaster.internal/ubuntu hirsute/main riscv64 apt riscv64 2.1.11 [1239 kB] Get:43 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libselinux1 riscv64 3.1-2build1 [64.9 kB] Get:44 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libsemanage-common all 3.1-1build1 [10.1 kB] Get:45 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libsemanage1 riscv64 3.1-1build1 [75.6 kB] Get:46 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libtirpc-common all 1.2.6-3 [7444 B] Get:47 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libtirpc-dev riscv64 1.2.6-3 [270 kB] Get:48 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libtirpc3 riscv64 1.2.6-3 [68.4 kB] Get:49 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libfakeroot riscv64 1.25.3-1 [24.3 kB] Get:50 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 fakeroot riscv64 1.25.3-1 [66.6 kB] Get:51 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libnpth0 riscv64 1.6-3 [7052 B] Get:52 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 linux-libc-dev riscv64 5.8.0-26.27 [1130 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 42.0 MB in 8s (5203 kB/s) (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.17-1ubuntu1_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.17-1ubuntu1) over (1:4.4.16-1ubuntu1) ... Preparing to unpack .../libcrypt1_1%3a4.4.17-1ubuntu1_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.17-1ubuntu1) over (1:4.4.16-1ubuntu1) ... Setting up libcrypt1:riscv64 (1:4.4.17-1ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu16_riscv64.deb ... Unpacking base-files (11ubuntu16) over (11ubuntu14) ... Setting up base-files (11ubuntu16) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.2+20200918-1_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.2+20200918-1) over (6.2-1) ... Preparing to unpack .../libtinfo6_6.2+20200918-1_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.2+20200918-1) over (6.2-1) ... Setting up libtinfo6:riscv64 (6.2+20200918-1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.2+20200918-1_riscv64.deb ... Unpacking ncurses-bin (6.2+20200918-1) over (6.2-1) ... Setting up ncurses-bin (6.2+20200918-1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.255ubuntu1_riscv64.deb ... Unpacking libdebconfclient0:riscv64 (0.255ubuntu1) over (0.252ubuntu1) ... Setting up libdebconfclient0:riscv64 (0.255ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.48_riscv64.deb ... Unpacking base-passwd (3.5.48) over (3.5.47) ... Setting up base-passwd (3.5.48) ... Changing home-directory of irc from /var/run/ircd to /run/ircd 1 changes have been made, rewriting files Writing passwd-file to /etc/passwd Writing shadow-file to /etc/shadow Writing group-file to /etc/group (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.2+20200918-1_all.deb ... Unpacking ncurses-base (6.2+20200918-1) over (6.2-1) ... Setting up ncurses-base (6.2+20200918-1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-5ubuntu1_riscv64.deb ... Unpacking sysvinit-utils (2.96-5ubuntu1) over (2.96-3ubuntu1) ... Setting up sysvinit-utils (2.96-5ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libcc1-0_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libcc1-0:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../gcc-10-base_10.2.0-16ubuntu1_riscv64.deb ... Unpacking gcc-10-base:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Setting up gcc-10-base:riscv64 (10.2.0-16ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libgcc-s1_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libgcc-s1:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Setting up libgcc-s1:riscv64 (10.2.0-16ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../0-libgomp1_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libgomp1:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../1-libatomic1_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libatomic1:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../2-g++-10_10.2.0-16ubuntu1_riscv64.deb ... Unpacking g++-10 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../3-libstdc++-10-dev_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libstdc++-10-dev:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../4-libgcc-10-dev_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libgcc-10-dev:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../5-gcc-10_10.2.0-16ubuntu1_riscv64.deb ... Unpacking gcc-10 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../6-cpp-10_10.2.0-16ubuntu1_riscv64.deb ... Unpacking cpp-10 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Preparing to unpack .../7-libstdc++6_10.2.0-16ubuntu1_riscv64.deb ... Unpacking libstdc++6:riscv64 (10.2.0-16ubuntu1) over (10.2.0-13ubuntu1) ... Setting up libstdc++6:riscv64 (10.2.0-16ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../00-libmpc3_1.2.0-1_riscv64.deb ... Unpacking libmpc3:riscv64 (1.2.0-1) over (1.2.0~rc1-1) ... Preparing to unpack .../01-libctf-nobfd0_2.35.1-2ubuntu1_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.35.1-2ubuntu1) over (2.35.1-1ubuntu1) ... Preparing to unpack .../02-libctf0_2.35.1-2ubuntu1_riscv64.deb ... Unpacking libctf0:riscv64 (2.35.1-2ubuntu1) over (2.35.1-1ubuntu1) ... Preparing to unpack .../03-libbinutils_2.35.1-2ubuntu1_riscv64.deb ... Unpacking libbinutils:riscv64 (2.35.1-2ubuntu1) over (2.35.1-1ubuntu1) ... Preparing to unpack .../04-binutils-common_2.35.1-2ubuntu1_riscv64.deb ... Unpacking binutils-common:riscv64 (2.35.1-2ubuntu1) over (2.35.1-1ubuntu1) ... Preparing to unpack .../05-binutils_2.35.1-2ubuntu1_riscv64.deb ... Unpacking binutils (2.35.1-2ubuntu1) over (2.35.1-1ubuntu1) ... Preparing to unpack .../06-binutils-riscv64-linux-gnu_2.35.1-2ubuntu1_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.35.1-2ubuntu1) over (2.35.1-1ubuntu1) ... Preparing to unpack .../07-systemd-timesyncd_246.6-2ubuntu1_riscv64.deb ... Unpacking systemd-timesyncd (246.6-2ubuntu1) over (246.6-1ubuntu1) ... Preparing to unpack .../08-systemd-sysv_246.6-2ubuntu1_riscv64.deb ... Unpacking systemd-sysv (246.6-2ubuntu1) over (246.6-1ubuntu1) ... Preparing to unpack .../09-libapparmor1_3.0.0-0ubuntu2_riscv64.deb ... Unpacking libapparmor1:riscv64 (3.0.0-0ubuntu2) over (3.0.0-0ubuntu1) ... Preparing to unpack .../10-libaudit-common_1%3a2.8.5-3ubuntu2_all.deb ... Unpacking libaudit-common (1:2.8.5-3ubuntu2) over (1:2.8.5-3ubuntu1) ... Setting up libaudit-common (1:2.8.5-3ubuntu2) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.5-3ubuntu2_riscv64.deb ... Unpacking libaudit1:riscv64 (1:2.8.5-3ubuntu2) over (1:2.8.5-3ubuntu1) ... Setting up libaudit1:riscv64 (1:2.8.5-3ubuntu2) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.44-1_riscv64.deb ... Unpacking libcap2:riscv64 (1:2.44-1) over (1:2.43-1) ... Preparing to unpack .../libidn2-0_2.3.0-2_riscv64.deb ... Unpacking libidn2-0:riscv64 (2.3.0-2) over (2.3.0-1) ... Setting up libidn2-0:riscv64 (2.3.0-2) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libip4tc2_1.8.5-3ubuntu3_riscv64.deb ... Unpacking libip4tc2:riscv64 (1.8.5-3ubuntu3) over (1.8.5-3ubuntu1) ... Preparing to unpack .../libseccomp2_2.4.3-1ubuntu5_riscv64.deb ... Unpacking libseccomp2:riscv64 (2.4.3-1ubuntu5) over (2.4.3-1ubuntu4) ... Preparing to unpack .../systemd_246.6-2ubuntu1_riscv64.deb ... Unpacking systemd (246.6-2ubuntu1) over (246.6-1ubuntu1) ... Preparing to unpack .../libsystemd0_246.6-2ubuntu1_riscv64.deb ... Unpacking libsystemd0:riscv64 (246.6-2ubuntu1) over (246.6-1ubuntu1) ... Setting up libsystemd0:riscv64 (246.6-2ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libudev1_246.6-2ubuntu1_riscv64.deb ... Unpacking libudev1:riscv64 (246.6-2ubuntu1) over (246.6-1ubuntu1) ... Setting up libudev1:riscv64 (246.6-2ubuntu1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.1.11_riscv64.deb ... Unpacking libapt-pkg6.0:riscv64 (2.1.11) over (2.1.10) ... Setting up libapt-pkg6.0:riscv64 (2.1.11) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../apt_2.1.11_riscv64.deb ... Unpacking apt (2.1.11) over (2.1.10) ... Setting up apt (2.1.11) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libselinux1_3.1-2build1_riscv64.deb ... Unpacking libselinux1:riscv64 (3.1-2build1) over (3.1-2) ... Setting up libselinux1:riscv64 (3.1-2build1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.1-1build1_all.deb ... Unpacking libsemanage-common (3.1-1build1) over (3.1-1) ... Setting up libsemanage-common (3.1-1build1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libsemanage1_3.1-1build1_riscv64.deb ... Unpacking libsemanage1:riscv64 (3.1-1build1) over (3.1-1) ... Setting up libsemanage1:riscv64 (3.1-1build1) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libtirpc-common_1.2.6-3_all.deb ... Unpacking libtirpc-common (1.2.6-3) over (1.2.6-1build1) ... Setting up libtirpc-common (1.2.6-3) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libtirpc-dev_1.2.6-3_riscv64.deb ... Unpacking libtirpc-dev:riscv64 (1.2.6-3) over (1.2.6-1build1) ... Preparing to unpack .../libtirpc3_1.2.6-3_riscv64.deb ... Unpacking libtirpc3:riscv64 (1.2.6-3) over (1.2.6-1build1) ... Setting up libtirpc3:riscv64 (1.2.6-3) ... (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_riscv64.deb ... Unpacking libfakeroot:riscv64 (1.25.3-1) over (1.25.2-1) ... Preparing to unpack .../fakeroot_1.25.3-1_riscv64.deb ... Unpacking fakeroot (1.25.3-1) over (1.25.2-1) ... Preparing to unpack .../libnpth0_1.6-3_riscv64.deb ... Unpacking libnpth0:riscv64 (1.6-3) over (1.6-2) ... Preparing to unpack .../linux-libc-dev_5.8.0-26.27_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (5.8.0-26.27) over (5.8.0-25.26) ... Setting up libip4tc2:riscv64 (1.8.5-3ubuntu3) ... Setting up libapparmor1:riscv64 (3.0.0-0ubuntu2) ... Setting up binutils-common:riscv64 (2.35.1-2ubuntu1) ... Setting up linux-libc-dev:riscv64 (5.8.0-26.27) ... Setting up libctf-nobfd0:riscv64 (2.35.1-2ubuntu1) ... Setting up libnpth0:riscv64 (1.6-3) ... Setting up libgomp1:riscv64 (10.2.0-16ubuntu1) ... Setting up libseccomp2:riscv64 (2.4.3-1ubuntu5) ... Setting up libcap2:riscv64 (1:2.44-1) ... Setting up libfakeroot:riscv64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... Setting up libtirpc-dev:riscv64 (1.2.6-3) ... Setting up libmpc3:riscv64 (1.2.0-1) ... Setting up libatomic1:riscv64 (10.2.0-16ubuntu1) ... Setting up libncursesw6:riscv64 (6.2+20200918-1) ... Setting up libcrypt-dev:riscv64 (1:4.4.17-1ubuntu1) ... Setting up libbinutils:riscv64 (2.35.1-2ubuntu1) ... Setting up libcc1-0:riscv64 (10.2.0-16ubuntu1) ... Setting up cpp-10 (10.2.0-16ubuntu1) ... Setting up libctf0:riscv64 (2.35.1-2ubuntu1) ... Setting up libgcc-10-dev:riscv64 (10.2.0-16ubuntu1) ... Setting up binutils-riscv64-linux-gnu (2.35.1-2ubuntu1) ... Setting up binutils (2.35.1-2ubuntu1) ... Setting up gcc-10 (10.2.0-16ubuntu1) ... Setting up libstdc++-10-dev:riscv64 (10.2.0-16ubuntu1) ... Setting up g++-10 (10.2.0-16ubuntu1) ... Setting up systemd-timesyncd (246.6-2ubuntu1) ... Setting up systemd (246.6-2ubuntu1) ... Setting up systemd-sysv (246.6-2ubuntu1) ... Processing triggers for libc-bin (2.32-0ubuntu3) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-20265656 riscv64 hirsute-proposed -c chroot:build-PACKAGEBUILD-20265656 --arch=riscv64 --dist=hirsute-proposed --nolog 4g8_1.0-3.3.dsc Initiating build PACKAGEBUILD-20265656 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 5.4.0-36-generic #41-Ubuntu SMP Thu Oct 1 14:51:42 UTC 2020 riscv64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on riscv64-qemu-lcy01-082.buildd +==============================================================================+ | 4g8 1.0-3.3 (riscv64) Mon, 09 Nov 2020 04:14:59 +0000 | +==============================================================================+ Package: 4g8 Version: 1.0-3.3 Source Version: 1.0-3.3 Distribution: hirsute-proposed Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-20265656/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/4g8-YwjdOm/resolver-jfKi78' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- 4g8_1.0-3.3.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/4g8-YwjdOm/4g8-1.0' with '<>' I: NOTICE: Log filtering will replace 'build/4g8-YwjdOm' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9), libnet1-dev (>= 1.1.2.1), libpcap-dev, autotools-dev, build-essential, fakeroot Filtered Build-Depends: debhelper (>= 9), libnet1-dev (>= 1.1.2.1), libpcap-dev, autotools-dev, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [391 B] Get:5 copy:/<>/apt_archive ./ Packages [474 B] Fetched 1822 B in 1s (2847 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: krb5-locales libgpm2 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libdbus-1-3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu67 libmagic-mgc libmagic1 libnet1 libnet1-dev libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx dbus libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libcroco3 libdbus-1-3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu67 libmagic-mgc libmagic1 libnet1 libnet1-dev libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-main-dummy 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. Need to get 17.5 MB of archives. After this operation, 67.8 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [904 B] Get:2 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libuchardet0 riscv64 0.0.7-1 [67.7 kB] Get:3 http://ftpmaster.internal/ubuntu hirsute/main riscv64 groff-base riscv64 1.22.4-5 [815 kB] Get:4 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libpipeline1 riscv64 1.5.3-1 [23.9 kB] Get:5 http://ftpmaster.internal/ubuntu hirsute/main riscv64 man-db riscv64 2.9.3-2 [1081 kB] Get:6 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libmagic-mgc riscv64 1:5.38-5 [218 kB] Get:7 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libmagic1 riscv64 1:5.38-5 [70.6 kB] Get:8 http://ftpmaster.internal/ubuntu hirsute/main riscv64 file riscv64 1:5.38-5 [22.5 kB] Get:9 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libdbus-1-3 riscv64 1.12.20-1ubuntu1 [165 kB] Get:10 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libelf1 riscv64 0.182-1 [42.0 kB] Get:11 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libglib2.0-0 riscv64 2.66.2-1 [1143 kB] Get:12 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libicu67 riscv64 67.1-4 [8503 kB] Get:13 http://ftpmaster.internal/ubuntu hirsute-proposed/main riscv64 libxml2 riscv64 2.9.10+dfsg-6.2 [543 kB] Get:14 http://ftpmaster.internal/ubuntu hirsute/main riscv64 gettext-base riscv64 0.19.8.1-10build1 [47.4 kB] Get:15 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libpcap0.8 riscv64 1.9.1-4 [119 kB] Get:16 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libsigsegv2 riscv64 2.12-2build1 [12.9 kB] Get:17 http://ftpmaster.internal/ubuntu hirsute/main riscv64 m4 riscv64 1.4.18-4 [188 kB] Get:18 http://ftpmaster.internal/ubuntu hirsute/main riscv64 autoconf all 2.69-11.1 [321 kB] Get:19 http://ftpmaster.internal/ubuntu hirsute/main riscv64 autotools-dev all 20180224.1 [39.6 kB] Get:20 http://ftpmaster.internal/ubuntu hirsute/main riscv64 automake all 1:1.16.2-4ubuntu1 [548 kB] Get:21 http://ftpmaster.internal/ubuntu hirsute/main riscv64 autopoint all 0.19.8.1-10build1 [412 kB] Get:22 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libtool all 2.4.6-14 [161 kB] Get:23 http://ftpmaster.internal/ubuntu hirsute/main riscv64 dh-autoreconf all 19 [16.1 kB] Get:24 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libdebhelper-perl all 13.2.1ubuntu1 [63.6 kB] Get:25 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:26 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libsub-override-perl all 0.09-2 [9532 B] Get:27 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libfile-stripnondeterminism-perl all 1.9.0-1 [17.2 kB] Get:28 http://ftpmaster.internal/ubuntu hirsute/main riscv64 dh-strip-nondeterminism all 1.9.0-1 [5192 B] Get:29 http://ftpmaster.internal/ubuntu hirsute/main riscv64 dwz riscv64 0.13-5 [147 kB] Get:30 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libcroco3 riscv64 0.6.13-1 [71.1 kB] Get:31 http://ftpmaster.internal/ubuntu hirsute/main riscv64 gettext riscv64 0.19.8.1-10build1 [844 kB] Get:32 http://ftpmaster.internal/ubuntu hirsute/main riscv64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:33 http://ftpmaster.internal/ubuntu hirsute/main riscv64 po-debconf all 1.0.21 [233 kB] Get:34 http://ftpmaster.internal/ubuntu hirsute/main riscv64 debhelper all 13.2.1ubuntu1 [879 kB] Get:35 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libnet1 riscv64 1.1.6+dfsg-3.1build1 [40.4 kB] Get:36 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libnet1-dev riscv64 1.1.6+dfsg-3.1build1 [148 kB] Get:37 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libpcap0.8-dev riscv64 1.9.1-4 [356 kB] Get:38 http://ftpmaster.internal/ubuntu hirsute/main riscv64 libpcap-dev riscv64 1.9.1-4 [3484 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 17.5 MB in 4s (4059 kB/s) Selecting previously unselected package libuchardet0:riscv64. (Reading database ... 10910 files and directories currently installed.) Preparing to unpack .../00-libuchardet0_0.0.7-1_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../01-groff-base_1.22.4-5_riscv64.deb ... Unpacking groff-base (1.22.4-5) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../02-libpipeline1_1.5.3-1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.9.3-2_riscv64.deb ... Unpacking man-db (2.9.3-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.38-5_riscv64.deb ... Unpacking libmagic-mgc (1:5.38-5) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../05-libmagic1_1%3a5.38-5_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.38-5) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.38-5_riscv64.deb ... Unpacking file (1:5.38-5) ... Selecting previously unselected package libdbus-1-3:riscv64. Preparing to unpack .../07-libdbus-1-3_1.12.20-1ubuntu1_riscv64.deb ... Unpacking libdbus-1-3:riscv64 (1.12.20-1ubuntu1) ... Selecting previously unselected package libelf1:riscv64. Preparing to unpack .../08-libelf1_0.182-1_riscv64.deb ... Unpacking libelf1:riscv64 (0.182-1) ... Selecting previously unselected package libglib2.0-0:riscv64. Preparing to unpack .../09-libglib2.0-0_2.66.2-1_riscv64.deb ... Unpacking libglib2.0-0:riscv64 (2.66.2-1) ... Selecting previously unselected package libicu67:riscv64. Preparing to unpack .../10-libicu67_67.1-4_riscv64.deb ... Unpacking libicu67:riscv64 (67.1-4) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../11-libxml2_2.9.10+dfsg-6.2_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.10+dfsg-6.2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../12-gettext-base_0.19.8.1-10build1_riscv64.deb ... Unpacking gettext-base (0.19.8.1-10build1) ... Selecting previously unselected package libpcap0.8:riscv64. Preparing to unpack .../13-libpcap0.8_1.9.1-4_riscv64.deb ... Unpacking libpcap0.8:riscv64 (1.9.1-4) ... Selecting previously unselected package libsigsegv2:riscv64. Preparing to unpack .../14-libsigsegv2_2.12-2build1_riscv64.deb ... Unpacking libsigsegv2:riscv64 (2.12-2build1) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.18-4_riscv64.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../16-autoconf_2.69-11.1_all.deb ... Unpacking autoconf (2.69-11.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../17-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../18-automake_1%3a1.16.2-4ubuntu1_all.deb ... Unpacking automake (1:1.16.2-4ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../19-autopoint_0.19.8.1-10build1_all.deb ... Unpacking autopoint (0.19.8.1-10build1) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.6-14_all.deb ... Unpacking libtool (2.4.6-14) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../21-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../22-libdebhelper-perl_13.2.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.2.1ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../23-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../24-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_1.9.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.9.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../26-dh-strip-nondeterminism_1.9.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.9.0-1) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.13-5_riscv64.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:riscv64. Preparing to unpack .../28-libcroco3_0.6.13-1_riscv64.deb ... Unpacking libcroco3:riscv64 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-10build1_riscv64.deb ... Unpacking gettext (0.19.8.1-10build1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.2.1ubuntu1_all.deb ... Unpacking debhelper (13.2.1ubuntu1) ... Selecting previously unselected package libnet1:riscv64. Preparing to unpack .../33-libnet1_1.1.6+dfsg-3.1build1_riscv64.deb ... Unpacking libnet1:riscv64 (1.1.6+dfsg-3.1build1) ... Selecting previously unselected package libnet1-dev. Preparing to unpack .../34-libnet1-dev_1.1.6+dfsg-3.1build1_riscv64.deb ... Unpacking libnet1-dev (1.1.6+dfsg-3.1build1) ... Selecting previously unselected package libpcap0.8-dev:riscv64. Preparing to unpack .../35-libpcap0.8-dev_1.9.1-4_riscv64.deb ... Unpacking libpcap0.8-dev:riscv64 (1.9.1-4) ... Selecting previously unselected package libpcap-dev:riscv64. Preparing to unpack .../36-libpcap-dev_1.9.1-4_riscv64.deb ... Unpacking libpcap-dev:riscv64 (1.9.1-4) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../37-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:riscv64 (1.5.3-1) ... Setting up libicu67:riscv64 (67.1-4) ... Setting up libmagic-mgc (1:5.38-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:riscv64 (2.66.2-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.2.1ubuntu1) ... Setting up libmagic1:riscv64 (1:5.38-5) ... Setting up gettext-base (0.19.8.1-10build1) ... Setting up file (1:5.38-5) ... Setting up libnet1:riscv64 (1.1.6+dfsg-3.1build1) ... Setting up autotools-dev (20180224.1) ... Setting up libdbus-1-3:riscv64 (1.12.20-1ubuntu1) ... Setting up libsigsegv2:riscv64 (2.12-2build1) ... Setting up autopoint (0.19.8.1-10build1) ... Setting up libuchardet0:riscv64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:riscv64 (0.182-1) ... Setting up libxml2:riscv64 (2.9.10+dfsg-6.2) ... Setting up libfile-stripnondeterminism-perl (1.9.0-1) ... Setting up libtool (2.4.6-14) ... Setting up libnet1-dev (1.1.6+dfsg-3.1build1) ... Setting up m4 (1.4.18-4) ... Setting up libpcap0.8:riscv64 (1.9.1-4) ... Setting up libcroco3:riscv64 (0.6.13-1) ... Setting up autoconf (2.69-11.1) ... Setting up dh-strip-nondeterminism (1.9.0-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-5) ... Setting up automake (1:1.16.2-4ubuntu1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-10build1) ... Setting up libpcap0.8-dev:riscv64 (1.9.1-4) ... Setting up man-db (2.9.3-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpcap-dev:riscv64 (1.9.1-4) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (13.2.1ubuntu1) ... Setting up dh-autoreconf (19) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.32-0ubuntu3) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-36-generic #41-Ubuntu SMP Thu Oct 1 14:51:42 UTC 2020 riscv64 (riscv64) Toolchain package versions: binutils_2.35.1-2ubuntu1 dpkg-dev_1.20.5ubuntu2 g++-10_10.2.0-16ubuntu1 gcc-10_10.2.0-16ubuntu1 libc6-dev_2.32-0ubuntu3 libstdc++-10-dev_10.2.0-16ubuntu1 libstdc++6_10.2.0-16ubuntu1 linux-libc-dev_5.8.0-26.27 Package versions: adduser_3.118ubuntu2 advancecomp_2.1-2.1build1 apt_2.1.11 autoconf_2.69-11.1 automake_1:1.16.2-4ubuntu1 autopoint_0.19.8.1-10build1 autotools-dev_20180224.1 base-files_11ubuntu16 base-passwd_3.5.48 bash_5.0-6ubuntu2 binutils_2.35.1-2ubuntu1 binutils-common_2.35.1-2ubuntu1 binutils-riscv64-linux-gnu_2.35.1-2ubuntu1 bsdextrautils_2.36-3ubuntu1 bsdutils_1:2.36-3ubuntu1 build-essential_12.8ubuntu3 bzip2_1.0.8-4ubuntu2 ca-certificates_20200601 coreutils_8.32-3ubuntu1 cpp_4:10.2.0-1ubuntu1 cpp-10_10.2.0-16ubuntu1 cpp-9_9.3.0-18ubuntu1 dash_0.5.10.2-7 debconf_1.5.74 debhelper_13.2.1ubuntu1 debianutils_4.11.2 dh-autoreconf_19 dh-strip-nondeterminism_1.9.0-1 diffutils_1:3.7-3ubuntu1 dpkg_1.20.5ubuntu2 dpkg-dev_1.20.5ubuntu2 dwz_0.13-5 e2fsprogs_1.45.6-1ubuntu1 fakeroot_1.25.3-1 file_1:5.38-5 findutils_4.7.0-1ubuntu2 g++_4:10.2.0-1ubuntu1 g++-10_10.2.0-16ubuntu1 gcc_4:10.2.0-1ubuntu1 gcc-10_10.2.0-16ubuntu1 gcc-10-base_10.2.0-16ubuntu1 gcc-8-base_8.4.0-4ubuntu1 gcc-9-base_9.3.0-18ubuntu1 gettext_0.19.8.1-10build1 gettext-base_0.19.8.1-10build1 gpg_2.2.20-1ubuntu1 gpg-agent_2.2.20-1ubuntu1 gpgconf_2.2.20-1ubuntu1 gpgv_2.2.20-1ubuntu1 grep_3.4-1 groff-base_1.22.4-5 gzip_1.10-2ubuntu1 hostname_3.23 init_1.58 init-system-helpers_1.58 intltool-debian_0.35.0+20060710.5 krb5-locales_1.17-10 libacl1_2.2.53-8 libapparmor1_3.0.0-0ubuntu2 libapt-pkg6.0_2.1.11 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.2build20.10.0 libassuan0_2.5.3-7.1 libatomic1_10.2.0-16ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-3ubuntu2 libaudit1_1:2.8.5-3ubuntu2 libbinutils_2.35.1-2ubuntu1 libblkid1_2.36-3ubuntu1 libbz2-1.0_1.0.8-4ubuntu2 libc-bin_2.32-0ubuntu3 libc-dev-bin_2.32-0ubuntu3 libc6_2.32-0ubuntu3 libc6-dev_2.32-0ubuntu3 libcap-ng0_0.7.9-2.2 libcap2_1:2.44-1 libcc1-0_10.2.0-16ubuntu1 libcom-err2_1.45.6-1ubuntu1 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.17-1ubuntu1 libcrypt1_1:4.4.17-1ubuntu1 libcryptsetup12_2:2.3.3-1ubuntu6 libctf-nobfd0_2.35.1-2ubuntu1 libctf0_2.35.1-2ubuntu1 libdb5.3_5.3.28+dfsg1-0.6ubuntu3 libdbus-1-3_1.12.20-1ubuntu1 libdebconfclient0_0.255ubuntu1 libdebhelper-perl_13.2.1ubuntu1 libdevmapper1.02.1_2:1.02.167-1ubuntu3 libdpkg-perl_1.20.5ubuntu2 libelf1_0.182-1 libext2fs2_1.45.6-1ubuntu1 libfakeroot_1.25.3-1 libffi7_3.3-4 libffi8ubuntu1_3.4~20200819gead65ca871-0ubuntu3 libfile-stripnondeterminism-perl_1.9.0-1 libgcc-10-dev_10.2.0-16ubuntu1 libgcc-s1_10.2.0-16ubuntu1 libgcrypt20_1.8.5-5ubuntu2 libgdbm-compat4_1.18.1-5.1 libgdbm6_1.18.1-5.1 libglib2.0-0_2.66.2-1 libgmp10_2:6.2.0+dfsg-6ubuntu1 libgnutls30_3.6.15-4ubuntu2 libgomp1_10.2.0-16ubuntu1 libgpg-error0_1.38-2 libgpm2_1.20.7-6 libgssapi-krb5-2_1.17-10 libhogweed5_3.5.1+really3.5.1-2 libhogweed6_3.6-2 libicu67_67.1-4 libidn2-0_2.3.0-2 libip4tc2_1.8.5-3ubuntu3 libisl22_0.22.1-1 libjson-c5_0.15-1 libk5crypto3_1.17-10 libkeyutils1_1.6.1-2ubuntu1 libkmod2_27+20200310-2ubuntu1 libkrb5-3_1.17-10 libkrb5support0_1.17-10 liblocale-gettext-perl_1.07-4 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1ubuntu1 libmagic-mgc_1:5.38-5 libmagic1_1:5.38-5 libmount1_2.36-3ubuntu1 libmpc3_1.2.0-1 libmpfr6_4.1.0-3 libncursesw6_6.2+20200918-1 libnet1_1.1.6+dfsg-3.1build1 libnet1-dev_1.1.6+dfsg-3.1build1 libnettle7_3.5.1+really3.5.1-2 libnettle8_3.6-2 libnpth0_1.6-3 libnsl-dev_1.3.0-0ubuntu3 libnsl2_1.3.0-0ubuntu3 libnss-nis_3.1-0ubuntu4 libnss-nisplus_1.3-0ubuntu4 libp11-kit0_0.23.21-2build1 libpam-modules_1.3.1-5ubuntu6 libpam-modules-bin_1.3.1-5ubuntu6 libpam-runtime_1.3.1-5ubuntu6 libpam0g_1.3.1-5ubuntu6 libpcap-dev_1.9.1-4 libpcap0.8_1.9.1-4 libpcap0.8-dev_1.9.1-4 libpcre2-8-0_10.34-7 libpcre3_2:8.39-13 libperl5.30_5.30.3-4 libpipeline1_1.5.3-1 libpng16-16_1.6.37-3 libreadline8_8.0-4 libseccomp2_2.4.3-1ubuntu5 libselinux1_3.1-2build1 libsemanage-common_3.1-1build1 libsemanage1_3.1-1build1 libsepol1_3.1-1 libsigsegv2_2.12-2build1 libsmartcols1_2.36-3ubuntu1 libsqlite3-0_3.33.0-1 libss2_1.45.6-1ubuntu1 libssl1.1_1.1.1f-1ubuntu4 libstdc++-10-dev_10.2.0-16ubuntu1 libstdc++6_10.2.0-16ubuntu1 libsub-override-perl_0.09-2 libsystemd0_246.6-2ubuntu1 libtasn1-6_4.16.0-2 libtext-charwidth-perl_0.04-10 libtext-iconv-perl_1.7-7 libtinfo6_6.2+20200918-1 libtirpc-common_1.2.6-3 libtirpc-dev_1.2.6-3 libtirpc3_1.2.6-3 libtool_2.4.6-14 libuchardet0_0.0.7-1 libudev1_246.6-2ubuntu1 libunistring2_0.9.10-4 libuuid1_2.36-3ubuntu1 libxml2_2.9.10+dfsg-6.2 libzstd1_1.4.5+dfsg-4 linux-libc-dev_5.8.0-26.27 lockfile-progs_0.1.18 login_1:4.8.1-1ubuntu6 logsave_1.45.6-1ubuntu1 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.3-4ubuntu1 man-db_2.9.3-2 mawk_1.3.4.20200120-2 mount_2.36-3ubuntu1 ncurses-base_6.2+20200918-1 ncurses-bin_6.2+20200918-1 openssl_1.1.1f-1ubuntu4 optipng_0.7.7-1 passwd_1:4.8.1-1ubuntu6 patch_2.7.6-6 perl_5.30.3-4 perl-base_5.30.3-4 perl-modules-5.30_5.30.3-4 pinentry-curses_1.1.0-4build1 pkgbinarymangler_146 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 readline-common_8.0-4 rpcsvc-proto_1.4.2-0ubuntu4 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1ubuntu1 sensible-utils_0.0.13 systemd_246.6-2ubuntu1 systemd-sysv_246.6-2ubuntu1 systemd-timesyncd_246.6-2ubuntu1 sysvinit-utils_2.96-5ubuntu1 tar_1.30+dfsg-7 ubuntu-keyring_2020.06.17.1 util-linux_2.36-3ubuntu1 xz-utils_5.2.4-1ubuntu1 zlib1g_1:1.2.11.dfsg-2ubuntu4 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.0 Source: 4g8 Binary: 4g8 Architecture: any Version: 1.0-3.3 Maintainer: LaMont Jones Standards-Version: 3.9.8 Vcs-Browser: http://git.debian.org/?p=users/lamont/4g8.git Vcs-Git: git://git.debian.org/~lamont/4g8.git Build-Depends: debhelper (>= 9), libnet1-dev (>= 1.1.2.1), libpcap-dev, autotools-dev Package-List: 4g8 deb net optional arch=any Checksums-Sha1: 205669a15a9726063d550b8e2946a733d126fc73 111458 4g8_1.0.orig.tar.gz 095bcd5ecd8280173ccffccc76207d5aae2efdee 35003 4g8_1.0-3.3.diff.gz Checksums-Sha256: 877cbe08e8eff44692995fefe45a48d09cee3a9d883b0c15a3c125376dc6ca98 111458 4g8_1.0.orig.tar.gz 6daa81d50ae570f9c55e72db77620e2ef0a340146da95f875f042f2f9a60b08f 35003 4g8_1.0-3.3.diff.gz Files: 337a52fb46dc3197d579b0db113e24e5 111458 4g8_1.0.orig.tar.gz 453365881a7732c944c596c18988ad04 35003 4g8_1.0-3.3.diff.gz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEiiBE+E9xaoW3f/djEd9ClMyjmJMFAl97x9EACgkQEd9ClMyj mJPIZA//Tp6gHHPLJYtvpxWHfoBhQz2Yv5ltOp0J3KHKtFkIo1UZAEEnheGD5vnu Wq90Y/uE3mStmaeMJ6ZfILkf9Y9R8wRsYW9jQkrlYYU9Yi2F/+kthWmy0SFFyMqh mPca/zu6pcNtlaLniRsxLslgYjpcMPI5ai12ebNY5Pg2FEcsQYRima6EP9YkE5Ny 2ZoPKrSOmRBUNAKdOO8Cbs+kmsUIHUax2rUsPOaNMu+lD8cWNCgo/H/aZ1WQcbPp BzvD4pNZFYV1kOjkOr2mYBinzsf3kxW4L6hUvhjhmA6wKmTnILsuAGBa5v55JAzU 9/CXa8ZjiytIi24rFja5pmvHovFY1fK6qe0G+dX+B5gfV8t8tuL35wc3CMX6bGeu YFIOWjLB693bLsdBlh35TBqk5Di9XL2bjrodSv458bLnItvJ8pv7HNKc53zwmF55 zvfVAhj7p3l+jP0z4uF1whRQ3Hj7RTK7NHz6Gv5PA4TEBqRz4tb02ThQvPhrBxXO fXORn12giH7Q2xDB49zCkiyrcE9MsFviyl5H1HeSE9IsVF/Vs4JQaBW+qvoKYwwv e2xoe74Pn/i9lSBR10+yKzEw6qwbIP8OonrMIa10LjnoA2RLYhDJMGvYrT0Wvm39 +DsoZz4hYrvsjyOo750w+X+fLYQkfirzOGPH2/NdI10VWxCreNo= =6RlC -----END PGP SIGNATURE----- gpgv: Signature made Tue Oct 6 01:26:41 2020 UTC gpgv: using RSA key 8A2044F84F716A85B77FF76311DF4294CCA39893 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./4g8_1.0-3.3.dsc dpkg-source: info: extracting 4g8 in /<> dpkg-source: info: unpacking 4g8_1.0.orig.tar.gz dpkg-source: info: applying 4g8_1.0-3.3.diff.gz dpkg-source: info: upstream files that have been modified: /<>/4g8.1 /<>/config.guess /<>/config.status.lineno /<>/config.sub /<>/src/Makefile.in /<>/src/error.h /<>/src/globals.h /<>/src/main.c /<>/src/main.h Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=8 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-20265656 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-20265656 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-20265656 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package 4g8 dpkg-buildpackage: info: source version 1.0-3.3 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh_testdir # Add here commands to compile the package. cp /usr/share/misc/config.guess /usr/share/misc/config.sub . chmod u+x ./configure CFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" FCFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir=/usr/share/man beginning auto-configuration process for 4g8-1.0... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc... yes checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking libnet.h usability... yes checking libnet.h presence... yes checking for libnet.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for printf... yes checking for fprintf... yes checking for snprintf... yes checking for sprintf... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strncasecmp... yes checking for strtol... yes checking for strncmp... yes checking for strncat... yes checking for memset... yes checking for malloc... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getuid... yes checking for select... yes checking for setitimer... yes checking for libnet_build_ipv4 in -lnet... yes checking for pcap_open_live in -lpcap... yes checking for bpf... no checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/version.h config.status: creating config.h config.status: executing depfiles commands 4g8 has been configured with the following options: ----------------------------------------------- Host type : riscv64-unknown-linux-gnu Compiler : gcc Compiler flags : -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall Linker flags : -Wl,-Bsymbolic-functions -Wl,-z,relro Libraries : -lpcap -lnet Binary : /usr/bin Enable debugging : no ----------------------------------------------- /usr/bin/make make[1]: Entering directory '/<>' /usr/bin/make all-recursive make[2]: Entering directory '/<>' Making all in src make[3]: Entering directory '/<>/src' source='init.c' object='init.o' libtool=no \ depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'init.c' || echo './'`init.c init.c: In function ‘capture_loop’: init.c:32:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 32 | fatal_error("Unable to inject packet"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from init.h:26, from init.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ init.c: In function ‘init’: init.c:61:32: warning: pointer targets in passing argument 2 of ‘libnet_init’ differ in signedness [-Wpointer-sign] 61 | if((pkt_d = libnet_init(0, device, error_buf)) == NULL) | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from globals.h:31, from init.h:26, from init.c:23: /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 * 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: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, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | 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 * 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: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 *} In file included from globals.h:32, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:409:33: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 409 | 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 * 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: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 * 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: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 *} In file included from globals.h:32, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:331:29: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 331 | 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:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from init.h:26, from init.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:67:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 67 | __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 *} In file included from globals.h:32, from init.h:26, from init.c:23: /usr/include/pcap/pcap.h:458:59: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 458 | 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 * 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: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 * 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: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 * 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: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 * 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 *,...); | ^~~~~~~~~~ source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'error.c' || echo './'`error.c error.c: In function ‘fatal_error’: error.c:35:41: warning: pointer targets in passing argument 3 of ‘vsnprintf’ differ in signedness [-Wpointer-sign] 35 | vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from error.h:26, from error.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:80:1: note: expected ‘const char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 80 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ source='utils.c' object='utils.o' libtool=no \ depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'utils.c' || echo './'`utils.c utils.c: In function ‘print_separator’: utils.c:88:15: warning: pointer targets in passing argument 1 of ‘vsnprintf’ differ in signedness [-Wpointer-sign] 88 | vsnprintf(msg, 256, msgp, va); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:80:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 80 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ utils.c:88:25: warning: pointer targets in passing argument 3 of ‘vsnprintf’ differ in signedness [-Wpointer-sign] 88 | vsnprintf(msg, 256, msgp, va); | ^~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:80:1: note: expected ‘const char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 80 | __NTH (vsnprintf (char *__restrict __s, size_t __n, | ^~~~~ utils.c:90:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 90 | msg_len = strlen(msg); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 391 | 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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c:331:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 331 | sprintf(icmp_t, "Traceroute"); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: In function ‘retrieve_arp_hw_type’: utils.c:356:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 356 | sprintf(hw_t, "Net/ROM Pseudo"); | ^~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ utils.c: In function ‘format_ethernet_addr’: utils.c:420:30: warning: pointer targets in initialization of ‘u_int8_t *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ utils.c:428:27: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 428 | strncpy(o_ethstr, ethstr, 18); | ^~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ utils.c:435:23: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] 435 | for(eptr = strtok(o_ethstr, delim); | ^~~~~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:340:39: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 340 | 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 *} In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:340:67: note: expected ‘const char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 340 | 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 *} In file included from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:340:67: note: expected ‘const char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ utils.c:437:15: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 437 | eptr = strtok(NULL, delim)) | ^ utils.c:439:29: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 439 | if((base16 = strtol(eptr, 0, 16)) > 0xff) | ^~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:67, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 176 | 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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/riscv64-linux-gnu/bits/stdio2.h:36:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: In function ‘vsnprintf’, inlined from ‘print_separator’ at utils.c:88:5: /usr/include/riscv64-linux-gnu/bits/stdio2.h:83:10: warning: ‘__builtin___vsnprintf_chk’ specified bound 256 exceeds destination size 255 [-Wstringop-overflow=] 83 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | __bos (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: In function ‘strncpy’, inlined from ‘format_ethernet_addr’ at utils.c:428:9: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 18 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source='stats.c' object='stats.o' libtool=no \ depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'stats.c' || echo './'`stats.c stats.c: In function ‘capture_stats’: stats.c:46:27: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness [-Wpointer-sign] 46 | print_separator(0, 1, "4g8 Capture Statistics"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from globals.h:44, from stats.h:26, from stats.c:23: utils.h:29:32: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 29 | void print_separator(int, int, u_int8_t *, ...); | ^~~~~~~~~~ source='usage.c' object='usage.o' libtool=no \ depfile='.deps/usage.Po' tmpdepfile='.deps/usage.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'usage.c' || echo './'`usage.c source='exit.c' object='exit.o' libtool=no \ depfile='.deps/exit.Po' tmpdepfile='.deps/exit.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'exit.c' || echo './'`exit.c source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'main.c' || echo './'`main.c main.c: In function ‘main’: main.c:60:28: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 60 | if(!(gw_ip = strdup(optarg))) | ^ main.c:61:33: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 61 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from main.h:44, from main.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ main.c:66:29: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 66 | if(!(gw_mac = strdup(optarg))) | ^ main.c:67:33: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 67 | fatal_error("Memory unavailable for: %s", optarg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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: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 * 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: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 * 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: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 * 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 *,...); | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/libnet.h:63, from main.h:31, from main.c:23: In function ‘strncpy’, inlined from ‘main’ at main.c:100:17: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source='tcp_hdr.c' object='tcp_hdr.o' libtool=no \ depfile='.deps/tcp_hdr.Po' tmpdepfile='.deps/tcp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'tcp_hdr.c' || echo './'`tcp_hdr.c tcp_hdr.c: In function ‘tcp_hdr’: tcp_hdr.c:47:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 47 | strcat(flags, "U"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:127:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:50:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 50 | strcat(flags, "A"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:127:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:53:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 53 | strcat(flags, "P"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:127:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:56:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 56 | strcat(flags, "R"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:127:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:59:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 59 | strcat(flags, "S"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:127:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:62:16: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 62 | strcat(flags, "F"); | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:127:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:64:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 64 | if(strlen(flags) == 0) | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 391 | 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 *} In file included from /usr/include/features.h:461, from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from globals.h:31, from tcp_hdr.h:26, from tcp_hdr.c:23: /usr/include/riscv64-linux-gnu/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ tcp_hdr.c:102:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 102 | fatal_error("Unable to build TCP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from tcp_hdr.h:26, from tcp_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='udp_hdr.c' object='udp_hdr.o' libtool=no \ depfile='.deps/udp_hdr.Po' tmpdepfile='.deps/udp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'udp_hdr.c' || echo './'`udp_hdr.c udp_hdr.c: In function ‘udp_hdr’: udp_hdr.c:55:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 55 | fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from udp_hdr.h:26, from udp_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='icmpv4_hdr.c' object='icmpv4_hdr.o' libtool=no \ depfile='.deps/icmpv4_hdr.Po' tmpdepfile='.deps/icmpv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'icmpv4_hdr.c' || echo './'`icmpv4_hdr.c icmpv4_hdr.c: In function ‘icmpv4_hdr’: icmpv4_hdr.c:58:20: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 58 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:59:20: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 59 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ icmpv4_hdr.c:81:20: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 81 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:82:20: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 82 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ icmpv4_hdr.c:111:29: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 111 | fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:123:29: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 123 | fatal_error("Unable to build ICMPv4 unreach header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c:131:20: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 131 | s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); | ^ icmpv4_hdr.c:132:20: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 132 | d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); | ^ icmpv4_hdr.c:179:29: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 179 | fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c: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 * In file included from usage.h:29, from globals.h:45, from icmpv4_hdr.h:26, from icmpv4_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ icmpv4_hdr.c: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 * 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 *,...); | ^~~~~~~~~~ source='ipv4_hdr.c' object='ipv4_hdr.o' libtool=no \ depfile='.deps/ipv4_hdr.Po' tmpdepfile='.deps/ipv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'ipv4_hdr.c' || echo './'`ipv4_hdr.c ipv4_hdr.c: In function ‘ipv4_hdr’: ipv4_hdr.c:37:12: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 37 | s_addr = libnet_addr2name4(iphdr->ip_src.s_addr, 0); | ^ ipv4_hdr.c:38:12: warning: pointer targets in assignment from ‘char *’ to ‘u_int8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 38 | d_addr = libnet_addr2name4(iphdr->ip_dst.s_addr, 0); | ^ ipv4_hdr.c:68:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 68 | fatal_error("Unable to build IP header: %s", libnet_geterror(pkt_d)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from ipv4_hdr.h:26, from ipv4_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='ethernet_hdr.c' object='ethernet_hdr.o' libtool=no \ depfile='.deps/ethernet_hdr.Po' tmpdepfile='.deps/ethernet_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'ethernet_hdr.c' || echo './'`ethernet_hdr.c ethernet_hdr.c: In function ‘ethernet_hdr’: ethernet_hdr.c:69:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 69 | fatal_error("Unable to build ethernet header"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from ethernet_hdr.h:26, from ethernet_hdr.c:23: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ source='dump_packet.c' object='dump_packet.o' libtool=no \ depfile='.deps/dump_packet.Po' tmpdepfile='.deps/dump_packet.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'dump_packet.c' || echo './'`dump_packet.c source='arp_cache.c' object='arp_cache.o' libtool=no \ depfile='.deps/arp_cache.Po' tmpdepfile='.deps/arp_cache.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'arp_cache.c' || echo './'`arp_cache.c arp_cache.c: In function ‘arp_cache_mgr’: arp_cache.c:42:31: warning: argument to ‘sizeof’ in ‘memset’ call is the same pointer type ‘struct libnet_ether_addr *’ as the destination; expected ‘struct libnet_ether_addr’ or an explicit length [-Wsizeof-pointer-memaccess] 42 | memset(hw_addr, 0, sizeof(struct libnet_ether_addr *)); | ^~~~~~ arp_cache.c:45:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 45 | fatal_error("Invalid receiver protocol address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from usage.h:29, from globals.h:45, from arp_cache.h:26, from arp_cache.c:24: error.h:34:18: note: expected ‘u_int8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | void fatal_error(u_int8_t *,...); | ^~~~~~~~~~ arp_cache.c:53:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 53 | fatal_error("Invalid sender ethernet address: %s", gw_mac); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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:55:48: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness [-Wpointer-sign] 55 | if((s_paddr = libnet_name2addr4(pkt_d, gw_ip, 0)) == -1) | ^~~~~ | | | u_int8_t * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:38: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:56:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 56 | fatal_error("Invalid receiver protocol address: %s", gw_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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: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 *} In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:38: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:64:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 64 | fatal_error("Invalid receiver protocol address: %s", gw_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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: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 * 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: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 * 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: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 * 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: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 * 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: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 *} In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:38: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:111:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 111 | fatal_error("Invalid receiver protocol address: %s", host_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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: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 *} In file included from /usr/include/libnet.h:119, from globals.h:31, from arp_cache.h:26, from arp_cache.c:24: /usr/include/libnet/libnet-functions.h:227:38: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ arp_cache.c:119:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness [-Wpointer-sign] 119 | fatal_error("Invalid receiver protocol address: %s", host_ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 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: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 * 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: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 * 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: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 * 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 *,...); | ^~~~~~~~~~ source='process_packets.c' object='process_packets.o' libtool=no \ depfile='.deps/process_packets.Po' tmpdepfile='.deps/process_packets.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c `test -f 'process_packets.c' || echo './'`process_packets.c gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-Bsymbolic-functions -Wl,-z,relro -o 4g8 init.o error.o utils.o stats.o usage.o exit.o main.o tcp_hdr.o udp_hdr.o icmpv4_hdr.o ipv4_hdr.o ethernet_hdr.o dump_packet.o arp_cache.o process_packets.o -lpcap -lnet #strip 4g8 cp 4g8 .. make[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_prep dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Add here commands to install the package into debian/tmp /usr/bin/make install prefix=$(pwd)/debian/4g8/usr \ mandir=$(pwd)/debian/4g8/usr/share/man make[1]: Entering directory '/<>' Making install in src make[2]: Entering directory '/<>/src' make[3]: Entering directory '/<>/src' /bin/sh ../mkinstalldirs /<>/debian/4g8/usr/sbin mkdir -p -- /<>/debian/4g8/usr/sbin /usr/bin/install -c 4g8 /<>/debian/4g8/usr/sbin/4g8 make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<>/src' make[2]: Leaving directory '/<>/src' make[2]: Entering directory '/<>' make[3]: Entering directory '/<>' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installexamples dh_installexamples: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman 4g8.1 dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_link dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb INFO: pkgstriptranslations version 146 INFO: pkgstriptranslations version 146 pkgstriptranslations: processing 4g8-dbgsym (in debian/.debhelper/4g8/dbgsym-root); do_strip: , oemstrip: pkgstriptranslations: processing 4g8 (in debian/4g8); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for address lamont@debian.org pkgmaintainermangler: Not overriding Maintainer for address lamont@debian.org pkgstripfiles: processing control file: debian/.debhelper/4g8/dbgsym-root/DEBIAN/control, package 4g8-dbgsym, directory debian/.debhelper/4g8/dbgsym-root dpkg-deb: building package '4g8-dbgsym' in 'debian/.debhelper/scratch-space/build-4g8/4g8-dbgsym_1.0-3.3_riscv64.deb'. pkgstripfiles: processing control file: debian/4g8/DEBIAN/control, package 4g8, directory debian/4g8 Renaming 4g8-dbgsym_1.0-3.3_riscv64.deb to 4g8-dbgsym_1.0-3.3_riscv64.ddeb pkgstripfiles: Running PNG optimization (using 8 cpus) for package 4g8 ... pkgstripfiles: No PNG files. dpkg-deb: building package '4g8' in '../4g8_1.0-3.3_riscv64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../4g8_1.0-3.3_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2020-11-09T04:21:14Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ 4g8_1.0-3.3_riscv64.changes: ---------------------------- Format: 1.8 Date: Tue, 06 Oct 2020 13:51:30 +1300 Source: 4g8 Binary: 4g8 Architecture: riscv64 Version: 1.0-3.3 Distribution: hirsute-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Michael Hudson-Doyle Description: 4g8 - Packet Capture and Interception for Switched Networks Closes: 956970 Changes: 4g8 (1.0-3.3) unstable; urgency=medium . * Non-maintainer upload. * Fix FTBFS with GCC 10 by ensuring global variables only have one definition. (Closes: #956970) Checksums-Sha1: 1dbaf45b5f23bbca80c07c6012bf739150c56dd5 36016 4g8-dbgsym_1.0-3.3_riscv64.ddeb 8e45a940ede4277eca564d1a26d877defc4eb421 5488 4g8_1.0-3.3_riscv64.buildinfo 713e7c7ef1bec04d3a33bc4e0ff93f2566f33256 12392 4g8_1.0-3.3_riscv64.deb Checksums-Sha256: 2aa115dad85f7d50abc977d835bfbad839b8f0f9e29a90912046aa5b877f3bd3 36016 4g8-dbgsym_1.0-3.3_riscv64.ddeb 577bf9c8d0996aca626c2eff7f8d661399be1a353575189b0a093fda3d4062ab 5488 4g8_1.0-3.3_riscv64.buildinfo 36e3bac703b2e92037b60dd85ef32be8768fb8c1f1af769f507188bbeb1abbcf 12392 4g8_1.0-3.3_riscv64.deb Files: 8302f38b29376195c743bcf0dbddf2da 36016 debug optional 4g8-dbgsym_1.0-3.3_riscv64.ddeb 2927e7a315ff75bac8360665e5bb062f 5488 net optional 4g8_1.0-3.3_riscv64.buildinfo 89b5cbf51fbfd75d25722fb37a77fa0b 12392 net optional 4g8_1.0-3.3_riscv64.deb /<>/4g8_1.0-3.3_riscv64.changes.new could not be renamed to /<>/4g8_1.0-3.3_riscv64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: 4g8 Binary: 4g8 4g8-dbgsym Architecture: riscv64 Version: 1.0-3.3 Checksums-Md5: 8302f38b29376195c743bcf0dbddf2da 36016 4g8-dbgsym_1.0-3.3_riscv64.ddeb 89b5cbf51fbfd75d25722fb37a77fa0b 12392 4g8_1.0-3.3_riscv64.deb Checksums-Sha1: 1dbaf45b5f23bbca80c07c6012bf739150c56dd5 36016 4g8-dbgsym_1.0-3.3_riscv64.ddeb 713e7c7ef1bec04d3a33bc4e0ff93f2566f33256 12392 4g8_1.0-3.3_riscv64.deb Checksums-Sha256: 2aa115dad85f7d50abc977d835bfbad839b8f0f9e29a90912046aa5b877f3bd3 36016 4g8-dbgsym_1.0-3.3_riscv64.ddeb 36e3bac703b2e92037b60dd85ef32be8768fb8c1f1af769f507188bbeb1abbcf 12392 4g8_1.0-3.3_riscv64.deb Build-Origin: Ubuntu Build-Architecture: riscv64 Build-Date: Mon, 09 Nov 2020 04:21:10 +0000 Build-Path: /<> Build-Tainted-By: usr-local-has-programs Installed-Build-Depends: autoconf (= 2.69-11.1), automake (= 1:1.16.2-4ubuntu1), autopoint (= 0.19.8.1-10build1), autotools-dev (= 20180224.1), base-files (= 11ubuntu16), base-passwd (= 3.5.48), bash (= 5.0-6ubuntu2), binutils (= 2.35.1-2ubuntu1), binutils-common (= 2.35.1-2ubuntu1), binutils-riscv64-linux-gnu (= 2.35.1-2ubuntu1), bsdextrautils (= 2.36-3ubuntu1), bsdutils (= 1:2.36-3ubuntu1), build-essential (= 12.8ubuntu3), bzip2 (= 1.0.8-4ubuntu2), coreutils (= 8.32-3ubuntu1), cpp (= 4:10.2.0-1ubuntu1), cpp-10 (= 10.2.0-16ubuntu1), dash (= 0.5.10.2-7), debconf (= 1.5.74), debhelper (= 13.2.1ubuntu1), debianutils (= 4.11.2), dh-autoreconf (= 19), dh-strip-nondeterminism (= 1.9.0-1), diffutils (= 1:3.7-3ubuntu1), dpkg (= 1.20.5ubuntu2), dpkg-dev (= 1.20.5ubuntu2), dwz (= 0.13-5), file (= 1:5.38-5), findutils (= 4.7.0-1ubuntu2), g++ (= 4:10.2.0-1ubuntu1), g++-10 (= 10.2.0-16ubuntu1), gcc (= 4:10.2.0-1ubuntu1), gcc-10 (= 10.2.0-16ubuntu1), gcc-10-base (= 10.2.0-16ubuntu1), gettext (= 0.19.8.1-10build1), gettext-base (= 0.19.8.1-10build1), grep (= 3.4-1), groff-base (= 1.22.4-5), gzip (= 1.10-2ubuntu1), hostname (= 3.23), init-system-helpers (= 1.58), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.2.53-8), libarchive-zip-perl (= 1.68-1), libatomic1 (= 10.2.0-16ubuntu1), libattr1 (= 1:2.4.48-5), libaudit-common (= 1:2.8.5-3ubuntu2), libaudit1 (= 1:2.8.5-3ubuntu2), libbinutils (= 2.35.1-2ubuntu1), libblkid1 (= 2.36-3ubuntu1), libbz2-1.0 (= 1.0.8-4ubuntu2), libc-bin (= 2.32-0ubuntu3), libc-dev-bin (= 2.32-0ubuntu3), libc6 (= 2.32-0ubuntu3), libc6-dev (= 2.32-0ubuntu3), libcap-ng0 (= 0.7.9-2.2), libcc1-0 (= 10.2.0-16ubuntu1), libcom-err2 (= 1.45.6-1ubuntu1), libcroco3 (= 0.6.13-1), libcrypt-dev (= 1:4.4.17-1ubuntu1), libcrypt1 (= 1:4.4.17-1ubuntu1), libctf-nobfd0 (= 2.35.1-2ubuntu1), libctf0 (= 2.35.1-2ubuntu1), libdb5.3 (= 5.3.28+dfsg1-0.6ubuntu3), libdbus-1-3 (= 1.12.20-1ubuntu1), libdebconfclient0 (= 0.255ubuntu1), libdebhelper-perl (= 13.2.1ubuntu1), libdpkg-perl (= 1.20.5ubuntu2), libelf1 (= 0.182-1), libffi8ubuntu1 (= 3.4~20200819gead65ca871-0ubuntu3), libfile-stripnondeterminism-perl (= 1.9.0-1), libgcc-10-dev (= 10.2.0-16ubuntu1), libgcc-s1 (= 10.2.0-16ubuntu1), libgcrypt20 (= 1.8.5-5ubuntu2), libgdbm-compat4 (= 1.18.1-5.1), libgdbm6 (= 1.18.1-5.1), libglib2.0-0 (= 2.66.2-1), libgmp10 (= 2:6.2.0+dfsg-6ubuntu1), libgomp1 (= 10.2.0-16ubuntu1), libgpg-error0 (= 1.38-2), libgssapi-krb5-2 (= 1.17-10), libicu67 (= 67.1-4), libisl22 (= 0.22.1-1), libk5crypto3 (= 1.17-10), libkeyutils1 (= 1.6.1-2ubuntu1), libkrb5-3 (= 1.17-10), libkrb5support0 (= 1.17-10), liblz4-1 (= 1.9.2-2), liblzma5 (= 5.2.4-1ubuntu1), libmagic-mgc (= 1:5.38-5), libmagic1 (= 1:5.38-5), libmount1 (= 2.36-3ubuntu1), libmpc3 (= 1.2.0-1), libmpfr6 (= 4.1.0-3), libnet1 (= 1.1.6+dfsg-3.1build1), libnet1-dev (= 1.1.6+dfsg-3.1build1), libnsl-dev (= 1.3.0-0ubuntu3), libnsl2 (= 1.3.0-0ubuntu3), libnss-nis (= 3.1-0ubuntu4), libnss-nisplus (= 1.3-0ubuntu4), libpam-modules (= 1.3.1-5ubuntu6), libpam-modules-bin (= 1.3.1-5ubuntu6), libpam-runtime (= 1.3.1-5ubuntu6), libpam0g (= 1.3.1-5ubuntu6), libpcap-dev (= 1.9.1-4), libpcap0.8 (= 1.9.1-4), libpcap0.8-dev (= 1.9.1-4), libpcre2-8-0 (= 10.34-7), libpcre3 (= 2:8.39-13), libperl5.30 (= 5.30.3-4), libpipeline1 (= 1.5.3-1), libselinux1 (= 3.1-2build1), libsigsegv2 (= 2.12-2build1), libsmartcols1 (= 2.36-3ubuntu1), libssl1.1 (= 1.1.1f-1ubuntu4), libstdc++-10-dev (= 10.2.0-16ubuntu1), libstdc++6 (= 10.2.0-16ubuntu1), libsub-override-perl (= 0.09-2), libsystemd0 (= 246.6-2ubuntu1), libtinfo6 (= 6.2+20200918-1), libtirpc-common (= 1.2.6-3), libtirpc-dev (= 1.2.6-3), libtirpc3 (= 1.2.6-3), libtool (= 2.4.6-14), libuchardet0 (= 0.0.7-1), libudev1 (= 246.6-2ubuntu1), libunistring2 (= 0.9.10-4), libuuid1 (= 2.36-3ubuntu1), libxml2 (= 2.9.10+dfsg-6.2), libzstd1 (= 1.4.5+dfsg-4), linux-libc-dev (= 5.8.0-26.27), login (= 1:4.8.1-1ubuntu6), lsb-base (= 11.1.0ubuntu2), m4 (= 1.4.18-4), make (= 4.3-4ubuntu1), man-db (= 2.9.3-2), mawk (= 1.3.4.20200120-2), ncurses-base (= 6.2+20200918-1), ncurses-bin (= 6.2+20200918-1), patch (= 2.7.6-6), perl (= 5.30.3-4), perl-base (= 5.30.3-4), perl-modules-5.30 (= 5.30.3-4), po-debconf (= 1.0.21), rpcsvc-proto (= 1.4.2-0ubuntu4), sed (= 4.7-1ubuntu1), sensible-utils (= 0.0.13), sysvinit-utils (= 2.96-5ubuntu1), tar (= 1.30+dfsg-7), util-linux (= 2.36-3ubuntu1), xz-utils (= 5.2.4-1ubuntu1), zlib1g (= 1:1.2.11.dfsg-2ubuntu4) Environment: DEB_BUILD_OPTIONS="parallel=8" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1601945490" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ 4g8_1.0-3.3_riscv64.deb ----------------------- new Debian package, version 2.0. size 12392 bytes: control archive=792 bytes. 590 bytes, 14 lines control 243 bytes, 4 lines md5sums Package: 4g8 Version: 1.0-3.3 Architecture: riscv64 Maintainer: LaMont Jones Installed-Size: 39 Depends: libc6 (>= 2.27), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8) Section: net Priority: optional Description: Packet Capture and Interception for Switched Networks 4G8 allows you to capture traffic from a third party in a switched environment at the expense of a slight increase in latency to that third party host. Utilizing ARP cache poisoning, packet capture and packet reconstruction techniques, 4G8 works with nearly all TCP, ICMP and UDP IPv4 traffic flows. drwxr-xr-x root/root 0 2020-10-06 00:51 ./ drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/ drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/sbin/ -rwxr-xr-x root/root 27128 2020-10-06 00:51 ./usr/sbin/4g8 drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/share/ drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/share/doc/4g8/ -rw-r--r-- root/root 711 2020-10-06 00:51 ./usr/share/doc/4g8/changelog.Debian.gz -rw-r--r-- root/root 331 2020-10-06 00:51 ./usr/share/doc/4g8/copyright drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/share/man/ drwxr-xr-x root/root 0 2020-10-06 00:51 ./usr/share/man/man1/ -rw-r--r-- root/root 639 2020-10-06 00:51 ./usr/share/man/man1/4g8.1.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 2240 Build-Time: 242 Distribution: hirsute-proposed Host Architecture: riscv64 Install-Time: 102 Job: 4g8_1.0-3.3.dsc Machine Architecture: riscv64 Package: 4g8 Package-Time: 375 Source-Version: 1.0-3.3 Space: 2240 Status: successful Version: 1.0-3.3 -------------------------------------------------------------------------------- Finished at 2020-11-09T04:21:14Z Build needed 00:06:15, 2240k disk space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 Scanning for processes to kill in build PACKAGEBUILD-20265656 RUN: /usr/share/launchpad-buildd/bin/in-target umount-chroot --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 Stopping target for build PACKAGEBUILD-20265656 RUN: /usr/share/launchpad-buildd/bin/in-target remove-build --backend=chroot --series=hirsute --arch=riscv64 PACKAGEBUILD-20265656 Removing build PACKAGEBUILD-20265656