I: pbuilder: network access will be disabled during build I: Current time: Thu Sep 1 10:03:12 +14 2022 I: pbuilder-time-stamp: 1661976192 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [nast_0.2.0-8.dsc] I: copying [./nast_0.2.0.orig.tar.gz] I: copying [./nast_0.2.0-8.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.ds2qisrb/trustedkeys.kbx': General error gpgv: Signature made Tue Jan 19 07:42:18 2021 +14 gpgv: using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08 gpgv: issuer "anbe@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./nast_0.2.0-8.dsc dpkg-source: info: extracting nast in nast-0.2.0 dpkg-source: info: unpacking nast_0.2.0.orig.tar.gz dpkg-source: info: unpacking nast_0.2.0-8.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-on-some-laptops dpkg-source: info: applying fix-manpage dpkg-source: info: applying fix-buffer-overflows dpkg-source: info: applying fix-minuses-in-manpage dpkg-source: info: applying printf-literal-format dpkg-source: info: applying configure_updates_version_0.2.0-5.2 dpkg-source: info: applying fix-hurd-build dpkg-source: info: applying fix-array-bounds-error dpkg-source: info: applying fix-spelling-errors dpkg-source: info: applying gcc-10 dpkg-source: info: applying hardening I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/45701/tmp/hooks/D01_modify_environment starting debug: Running on ionos16-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/45701/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/45701/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='5.1.4(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' INVOCATION_ID=e323dc33489643cebba8dd6f812269c4 LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=45701 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.I3G4MUs4xK/pbuilderrc_ZVTO --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.I3G4MUs4xK/b2 --logfile b2/build.log --extrapackages usrmerge nast_0.2.0-8.dsc' SUDO_GID=112 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://85.184.249.68:3128 I: uname -a Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin total 5776 -rwxr-xr-x 1 root root 1367848 Jun 22 2021 bash -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash -rwxr-xr-x 1 root root 124904 Sep 23 2020 date -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd -rwxr-xr-x 1 root root 100752 Sep 23 2020 df -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep -rwxr-xr-x 1 root root 34664 Sep 23 2020 false -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln -rwxr-xr-x 1 root root 55572 Feb 8 2020 login -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp -rwxr-xr-x 1 root root 58920 Feb 8 2021 more -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Sep 1 10:03 sh -> bash lrwxrwxrwx 1 root root 4 Aug 31 05:46 sh.distrib -> dash -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty -rwsr-xr-x 1 root root 79396 Feb 8 2021 su -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch -rwxr-xr-x 1 root root 34664 Sep 23 2020 true -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew I: user script /srv/workspace/pbuilder/45701/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), libnet1-dev, libpcap0.8-dev, libncurses5-dev, autotools-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19675 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libnet1-dev; however: Package libnet1-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap0.8-dev; however: Package libpcap0.8-dev is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev; however: Package libncurses5-dev is not installed. pbuilder-satisfydepends-dummy depends on autotools-dev; however: Package autotools-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses5-dev{a} libncurses6{a} libnet1{a} libnet1-dev{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 21.7 MB of archives. After unpacking 78.5 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main i386 bsdextrautils i386 2.36.1-7 [148 kB] Get: 2 http://deb.debian.org/debian bullseye/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 3 http://deb.debian.org/debian bullseye/main i386 groff-base i386 1.22.4-6 [952 kB] Get: 4 http://deb.debian.org/debian bullseye/main i386 libpipeline1 i386 1.5.3-1 [36.8 kB] Get: 5 http://deb.debian.org/debian bullseye/main i386 man-db i386 2.9.4-2 [1367 kB] Get: 6 http://deb.debian.org/debian bullseye/main i386 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main i386 libmagic-mgc i386 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main i386 libmagic1 i386 1:5.39-3 [133 kB] Get: 9 http://deb.debian.org/debian bullseye/main i386 file i386 1:5.39-3 [69.0 kB] Get: 10 http://deb.debian.org/debian bullseye/main i386 gettext-base i386 0.21-4 [176 kB] Get: 11 http://deb.debian.org/debian bullseye/main i386 libsigsegv2 i386 2.13-1 [35.1 kB] Get: 12 http://deb.debian.org/debian bullseye/main i386 m4 i386 1.4.18-5 [206 kB] Get: 13 http://deb.debian.org/debian bullseye/main i386 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main i386 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main i386 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main i386 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main i386 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main i386 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main i386 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main i386 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main i386 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main i386 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main i386 libelf1 i386 0.183-1 [171 kB] Get: 25 http://deb.debian.org/debian bullseye/main i386 dwz i386 0.13+20210201-1 [179 kB] Get: 26 http://deb.debian.org/debian bullseye/main i386 libicu67 i386 67.1-7 [8775 kB] Get: 27 http://deb.debian.org/debian bullseye/main i386 libxml2 i386 2.9.10+dfsg-6.7 [728 kB] Get: 28 http://deb.debian.org/debian bullseye/main i386 gettext i386 0.21-4 [1322 kB] Get: 29 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main i386 libdbus-1-3 i386 1.12.20-2 [232 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 libglib2.0-0 i386 2.66.8-1 [1437 kB] Get: 34 http://deb.debian.org/debian bullseye/main i386 pkg-config i386 0.29.2-1 [66.3 kB] Get: 35 http://deb.debian.org/debian bullseye/main i386 libdbus-1-dev i386 1.12.20-2 [274 kB] Get: 36 http://deb.debian.org/debian bullseye/main i386 libncurses6 i386 6.2+20201114-2 [110 kB] Get: 37 http://deb.debian.org/debian bullseye/main i386 libncurses-dev i386 6.2+20201114-2 [373 kB] Get: 38 http://deb.debian.org/debian bullseye/main i386 libncurses5-dev i386 6.2+20201114-2 [932 B] Get: 39 http://deb.debian.org/debian bullseye/main i386 libnet1 i386 1.1.6+dfsg-3.1 [62.5 kB] Get: 40 http://deb.debian.org/debian bullseye/main i386 libnet1-dev i386 1.1.6+dfsg-3.1 [123 kB] Get: 41 http://deb.debian.org/debian bullseye/main i386 libpcap0.8 i386 1.10.0-2 [166 kB] Get: 42 http://deb.debian.org/debian bullseye/main i386 libpcap0.8-dev i386 1.10.0-2 [291 kB] Fetched 21.7 MB in 0s (92.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-7_i386.deb ... Unpacking bsdextrautils (2.36.1-7) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../01-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_i386.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../03-libpipeline1_1.5.3-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_i386.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_i386.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../07-libmagic1_1%3a5.39-3_i386.deb ... Unpacking libmagic1:i386 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_i386.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_i386.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../10-libsigsegv2_2.13-1_i386.deb ... Unpacking libsigsegv2:i386 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_i386.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../23-libelf1_0.183-1_i386.deb ... Unpacking libelf1:i386 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_i386.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:i386. Preparing to unpack .../25-libicu67_67.1-7_i386.deb ... Unpacking libicu67:i386 (67.1-7) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_i386.deb ... Unpacking libxml2:i386 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_i386.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package libdbus-1-3:i386. Preparing to unpack .../31-libdbus-1-3_1.12.20-2_i386.deb ... Unpacking libdbus-1-3:i386 (1.12.20-2) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../32-libglib2.0-0_2.66.8-1_i386.deb ... Unpacking libglib2.0-0:i386 (2.66.8-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../33-pkg-config_0.29.2-1_i386.deb ... Unpacking pkg-config (0.29.2-1) ... Selecting previously unselected package libdbus-1-dev:i386. Preparing to unpack .../34-libdbus-1-dev_1.12.20-2_i386.deb ... Unpacking libdbus-1-dev:i386 (1.12.20-2) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../35-libncurses6_6.2+20201114-2_i386.deb ... Unpacking libncurses6:i386 (6.2+20201114-2) ... Selecting previously unselected package libncurses-dev:i386. Preparing to unpack .../36-libncurses-dev_6.2+20201114-2_i386.deb ... Unpacking libncurses-dev:i386 (6.2+20201114-2) ... Selecting previously unselected package libncurses5-dev:i386. Preparing to unpack .../37-libncurses5-dev_6.2+20201114-2_i386.deb ... Unpacking libncurses5-dev:i386 (6.2+20201114-2) ... Selecting previously unselected package libnet1:i386. Preparing to unpack .../38-libnet1_1.1.6+dfsg-3.1_i386.deb ... Unpacking libnet1:i386 (1.1.6+dfsg-3.1) ... Selecting previously unselected package libnet1-dev. Preparing to unpack .../39-libnet1-dev_1.1.6+dfsg-3.1_i386.deb ... Unpacking libnet1-dev (1.1.6+dfsg-3.1) ... Selecting previously unselected package libpcap0.8:i386. Preparing to unpack .../40-libpcap0.8_1.10.0-2_i386.deb ... Unpacking libpcap0.8:i386 (1.10.0-2) ... Selecting previously unselected package libpcap0.8-dev:i386. Preparing to unpack .../41-libpcap0.8-dev_1.10.0-2_i386.deb ... Unpacking libpcap0.8-dev:i386 (1.10.0-2) ... Setting up libpipeline1:i386 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-7) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:i386 (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:i386 (2.66.8-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (13.3.4) ... Setting up libmagic1:i386 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up libnet1:i386 (1.1.6+dfsg-3.1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libncurses6:i386 (6.2+20201114-2) ... Setting up libdbus-1-3:i386 (1.12.20-2) ... Setting up libsigsegv2:i386 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up pkg-config (0.29.2-1) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:i386 (0.183-1) ... Setting up libxml2:i386 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up libncurses-dev:i386 (6.2+20201114-2) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up libnet1-dev (1.1.6+dfsg-3.1) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpcap0.8:i386 (1.10.0-2) ... Setting up libdbus-1-dev:i386 (1.12.20-2) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up libncurses5-dev:i386 (6.2+20201114-2) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up libpcap0.8-dev:i386 (1.10.0-2) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4) ... Processing triggers for libc-bin (2.31-13) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). The following additional packages will be installed: libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl The following NEW packages will be installed: libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 59.5 kB of archives. After this operation, 157 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 59.5 kB in 0s (3879 kB/s) Selecting previously unselected package libnumber-compare-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21893 files and directories currently installed.) Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... Unpacking libnumber-compare-perl (0.03-1.1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... Unpacking libtext-glob-perl (0.11-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package usrmerge. Preparing to unpack .../archives/usrmerge_25_all.deb ... Unpacking usrmerge (25) ... Setting up libtext-glob-perl (0.11-1) ... Setting up libnumber-compare-perl (0.03-1.1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up usrmerge (25) ... The system has been successfully converted. Processing triggers for man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. I: Building the package I: Running cd /build/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package nast dpkg-buildpackage: info: source version 0.2.0-8 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build dh build dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config dh_auto_configure dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking Please wait, I'm going to configure Nast 0.2.0 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu configure: Found Linux, happy day! checking for gcc... gcc checking for C compiler default output file name... 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 libnet_name2addr4 in -lnet... yes checking for pcap_dispatch in -lpcap... yes checking for initscr in -lncurses... yes checking for menu_opts_off in -lmenu... yes checking for pthread_create in -lpthread... yes 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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for getopt_long... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Ok. I have done with all. Results are: PLATFORM ...... : x86_64 unknown O.S. .......... : Linux 4.19.0-17-amd64 (i-capture-the-hostname) COMPILER ...... : gcc CFLAGS ........ : -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS ....... : -Wl,-z,relro -Wl,-z,now LIBS .......... : -lpthread -lmenu -lncurses -lpcap -lnet PREFIX ........ : /usr NCURSES SUPPORT : yes Type 'make' to compile or 'make help' to show accepted options. dh_auto_build dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/build/nast-0.2.0' gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o main.c: In function 'main': main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from main.c:20: /usr/include/pcap/pcap.h:394:16: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 349 | if (flags.banner) return mport (dev, ports, flags.l); | ^~~ | | | char * In file included from main.c:20: include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 356 | if (flags.gw) return fgw (dev); | ^~~ | | | char * In file included from main.c:20: include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 357 | if (flags.lk) return flink (dev); | ^~~ | | | char * In file included from main.c:20: include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ main.c:223:11: warning: 'L' may be used uninitialized in this function [-Wmaybe-uninitialized] 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c tcp.c -o tcp.o tcp.c: In function 'handle_TCP': tcp.c:101:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ tcp.c:106:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ tcp.c:112:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 112 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ tcp.c:124:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 124 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp.c -o icmp.o icmp.c: In function 'handle_ICMP': icmp.c:206:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 206 | buf = (char *) (packet + size_ip + size_icmp + offset); | ^ icmp.c:211:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 211 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:218:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 218 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ icmp.c:226:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 226 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c udp.c -o udp.o udp.c: In function 'handle_UDP': udp.c:59:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 59 | buf = (char *) (packet + size_ip + size_udp + offset); | ^ udp.c:64:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 64 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ udp.c:70:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 70 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ udp.c:81:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 81 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c prom.c -o prom.o prom.c: In function 'psearch': prom.c:171:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from prom.c:20: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ prom.c:172:88: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from prom.c:20: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c map.c -o map.o map.c: In function 'map_lan': map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:199:20: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:209:25: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:225:26: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:247:24: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c: In function 'arpreply': map.c:346:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from map.c:36: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ map.c:355:121: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from map.c:36: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ map.c: In function 'map_lan': map.c:150:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fgets(r, 3, stdin); | ^~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c fgw.c -o fgw.o fgw.c: In function 'fgw': fgw.c:39:2: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 39 | "66.102.11.99" | ^~~~~~~~~~~~~~ fgw.c:39:2: note: (near initialization for 'extip') fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:86:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:92:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 101 | if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:227:38: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); | ~~~~~~^~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from fgw.c:32: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ fgw.c:143:17: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:398:29: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ fgw.c:143:34: warning: pointer targets in passing argument 4 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:398:73: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~ fgw.c:145:27: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ fgw.c:145:57: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ fgw.c:198:103: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from include/nast.h:23, from fgw.c:32: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c flink.c -o flink.o flink.c: In function 'flink': flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from flink.c:22: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:116:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 116 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:117:123: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 117 | if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:131:27: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:131:57: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:163:29: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ flink.c:168:43: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 168 | if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:178:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 178 | sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:180:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 180 | sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:182:28: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:215:39: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from flink.c:22: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ flink.c:215:44: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from flink.c:22: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:291:19: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c port.c -o port.o port.c: In function 'mport': port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:466:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 466 | x = strlen(tmpbuf); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:63, from include/nast.h:23, from port.c:20: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable] 309 | int sd, r, size, bsent,z,k,x,y; | ^~~~~ port.c: In function 'mhport': port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:635:4: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 635 | dev, /* network interface */ | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:119, from include/nast.h:23, from port.c:20: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ port.c:647:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 647 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:461, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libnet.h:62, from include/nast.h:23, from port.c:20: /usr/include/i386-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ port.c:654:17: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:398:29: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ port.c:658:31: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 658 | if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ port.c:665:22: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 665 | if ((offset=(device(dev,descr)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ port.c:707:21: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 707 | inet_addr(testip), /* destination IP */ | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:102, from include/nast.h:23, from port.c:20: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] 584 | int linep; | ^~~~~ port.c: In function 'mport': port.c:517:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | write (sd, "\n\n", 2); | ^~~~~~~~~~~~~~~~~~~~~ port.c:488:15: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ port.c:488:34: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c common.c -o common.o common.c: In function 'runcplx': common.c:202:10: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 202 | mhport (dev,plist_p,l); | ^~~ | | | char * In file included from common.c:24: include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ common.c: In function 'n_print': common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 295 | int n; | ^ common.c: In function 'runcplx': common.c:62:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:73:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:79:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:90:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:115:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:124:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:132:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:142:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:157:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:166:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:188:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o bcount.c: In function 'bytecounting': bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 123 | int line; | ^~~~ bcount.c: In function 'n_bytecounting': bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^~~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o error.c: In function 'w_error': error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^~~ error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o ncurses/n_menu.c: In function 'nmenu': ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 97 | int ris; | ^~~ ncurses/n_menu.c: In function 'analyzer_menu': ncurses/n_menu.c:783:14: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 783 | fgw (dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:944:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 944 | mhport (dev,plist_p,lr); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ ncurses/n_menu.c:961:15: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 961 | flink(dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:978:15: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 978 | mport(dev,ports,lr); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o ncurses/n_comm.c: In function 'shutdown_thread': ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 209 | int ris,i,ret; | ^~~ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o ncurses/n_stream.c: In function 'read_packet': ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 120 | data = packet = NULL; | ^ gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o gcc -g -O2 -fdebug-prefix-map=/build/nast-0.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wl,-z,relro -Wl,-z,now -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o ncurses/n_nast.o -lpthread -lmenu -lncurses -lpcap -lnet Done! Type make install from root make[1]: Leaving directory '/build/nast-0.2.0' dh_auto_test dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) fakeroot debian/rules binary dh binary dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot dh_prep dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_install make[1]: Entering directory '/build/nast-0.2.0' /usr/bin/make install prefix=/build/nast-0.2.0/debian/nast/usr make[2]: Entering directory '/build/nast-0.2.0' chown root nast nast.8 cp -fR nast /build/nast-0.2.0/debian/nast/usr/bin cp -fR nast.8 /build/nast-0.2.0/debian/nast/usr/share/man/man8/ Run with nast (-h for help), enjoy! Use -G flag to run in ncurses interface make[2]: Leaving directory '/build/nast-0.2.0' make[1]: Leaving directory '/build/nast-0.2.0' dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl dh_link dh_strip_nondeterminism dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_missing dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_makeshlibs dh_makeshlibs: 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_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'nast' in '../nast_0.2.0-8_i386.deb'. dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-8_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../nast_0.2.0-8_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/45701/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/45701/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/45701 and its subdirectories I: Current time: Thu Sep 1 10:03:37 +14 2022 I: pbuilder-time-stamp: 1661976217