Sat Jul 11 05:53:08 UTC 2020  I: starting to build nast/buster/armhf on jenkins on '2020-07-11 05:52'
Sat Jul 11 05:53:08 UTC 2020  I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_47/1501/console.log
Sat Jul 11 05:53:08 UTC 2020  I: Downloading source for buster/nast=0.2.0-7
--2020-07-11 05:53:09--  http://deb.debian.org/debian/pool/main/n/nast/nast_0.2.0-7.dsc
Connecting to 78.137.99.97:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1857 (1.8K)
Saving to: ‘nast_0.2.0-7.dsc’

     0K .                                                     100%  123M=0s

2020-07-11 05:53:09 (123 MB/s) - ‘nast_0.2.0-7.dsc’ saved [1857/1857]

Sat Jul 11 05:53:09 UTC 2020  I: nast_0.2.0-7.dsc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: nast
Binary: nast
Architecture: any
Version: 0.2.0-7
Maintainer: Debian QA Group <packages@qa.debian.org>
Homepage: http://nast.berlios.de/
Standards-Version: 3.9.3
Vcs-Browser: https://anonscm.debian.org/git/collab-maint/nast.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/nast.git
Build-Depends: debhelper (>= 9), libnet1-dev, libpcap0.8-dev, libncurses5-dev, autotools-dev
Package-List:
 nast deb net optional arch=any
Checksums-Sha1:
 cf7d1961e9de6a4258871b0b451815fa8751567c 147568 nast_0.2.0.orig.tar.gz
 b66f4f4fb4189c5239ca81e5d44dae465cacd40c 19712 nast_0.2.0-7.debian.tar.xz
Checksums-Sha256:
 b59adf7980563bca1f44fd6e9a6e1b3c0cfadb53df0d929b6869de53062615c1 147568 nast_0.2.0.orig.tar.gz
 575c5da40e22c5a05e04c5ebe5ed727aebb82667ff222088b652ad5e5859fe11 19712 nast_0.2.0-7.debian.tar.xz
Files:
 77cbab45f5850d6cdb7ecb10e291bfa7 147568 nast_0.2.0.orig.tar.gz
 481a20356f978a17235f6f51913c3ff8 19712 nast_0.2.0-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAllMrksACgkQiNJCh6LY
mLECtQ//U+RDxbGvuOsANZmWyHTc9oU87IT/lDUi/stwKGuO7eFE4W07Cx03NJ1m
2OQQRSG/vTyV6jfbRjGDHE2bwetwTwt1Y7G4T4H0npOgDkj15v4KYh1eVO6FKKbt
6F36f6C4siEnk3t9HQH+g3tlnLlo/7OZ8/Ph3GKMnfkKmEuG3Ud/yBc5WaqZejQn
6InZuQGPpVC+bTripLuFyOZH5EzPPu16V/91sw0v38CcGqLgWtxcB+PNsDejG3wh
irLgzEI4y535CMxxIRdq2CHdL7xivQSpBIQylKA1TG78QmfifOAV78+aoL3GTqBM
heO3dzU8o1xg+764jG5CWQvYrFv86g9d+ksMizDxfSETmfbMxs4wtnklkwREMYw1
haxhC+/ia65+k1oW/FizxIPJ6hnIvqr8AyUmSE6tXkMYyuxKhU56kvRkbmYqTH3A
AUkmznNywDNdTDi/r5BL3mYKaa1FMLNJtcdXQPSzLJsCQSU0g4ZpBMgXnq1Ue8fz
23KJmEAmZfVGx6U6CVhSpghEaHJAA94+QkYXBU90OZBtd3PySZXwH1zQVktsbkJV
DM1Yxs4CxqWLeMLU3Cbte8szDueHTvxM5XblOe65xADt49CacSJ4aUOZKME3x5sH
bJofc2sRzXJOsxwGwo6gSH9l1wuC77gNTyzZdG9iP1kuXf3tGOM=
=1gfe
-----END PGP SIGNATURE-----
Sat Jul 11 05:53:09 UTC 2020  I: Checking whether the package is not for us
Sat Jul 11 05:53:09 UTC 2020  I: Starting 1st build on remote node jtx1a-armhf-rb.debian.net.
Sat Jul 11 05:53:09 UTC 2020  I: Preparing to do remote build '1' on jtx1a-armhf-rb.debian.net.
Sat Jul 11 05:56:24 UTC 2020  I: Deleting $TMPDIR on jtx1a-armhf-rb.debian.net.
I: pbuilder: network access will be disabled during build
I: Current time: Fri Jul 10 17:53:22 -12 2020
I: pbuilder-time-stamp: 1594446802
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz]
I: copying local configuration
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: Copying source file
I: copying [nast_0.2.0-7.dsc]
I: copying [./nast_0.2.0.orig.tar.gz]
I: copying [./nast_0.2.0-7.debian.tar.xz]
I: Extracting source
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Thu Jun 22 17:59:39 2017 -12
gpgv:                using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./nast_0.2.0-7.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-7.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
I: using fakeroot in build.
I: Installing the build-deps
I: user script /srv/workspace/pbuilder/4133/tmp/hooks/D02_print_environment starting
I: set
  BUILDDIR='/build'
  BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other'
  BUILDUSERNAME='pbuilder1'
  BUILD_ARCH='armhf'
  DEBIAN_FRONTEND='noninteractive'
  DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3'
  DISTRIBUTION=''
  HOME='/root'
  HOST_ARCH='armhf'
  IFS=' 	
  '
  INVOCATION_ID='4b4168b5006141729f87d7a2cc4bb567'
  LANG='C'
  LANGUAGE='en_US:en'
  LC_ALL='C'
  MAIL='/var/mail/root'
  OPTIND='1'
  PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
  PBCURRENTCOMMANDLINEOPERATION='build'
  PBUILDER_OPERATION='build'
  PBUILDER_PKGDATADIR='/usr/share/pbuilder'
  PBUILDER_PKGLIBDIR='/usr/lib/pbuilder'
  PBUILDER_SYSCONFDIR='/etc'
  PPID='4133'
  PS1='# '
  PS2='> '
  PS4='+ '
  PWD='/'
  SHELL='/bin/bash'
  SHLVL='2'
  SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/pbuilderrc_X9qz --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/b1 --logfile b1/build.log nast_0.2.0-7.dsc'
  SUDO_GID='114'
  SUDO_UID='109'
  SUDO_USER='jenkins'
  TERM='unknown'
  TZ='/usr/share/zoneinfo/Etc/GMT+12'
  USER='root'
  _='/usr/bin/systemd-run'
  http_proxy='http://10.0.0.15:8000/'
I: uname -a
  Linux jtx1a 4.19.0-9-arm64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) aarch64 GNU/Linux
I: ls -l /bin
  total 3328
  -rwxr-xr-x 1 root root 767656 Apr 17  2019 bash
  -rwxr-xr-x 3 root root  26052 Jul 10  2019 bunzip2
  -rwxr-xr-x 3 root root  26052 Jul 10  2019 bzcat
  lrwxrwxrwx 1 root root      6 Jul 10  2019 bzcmp -> bzdiff
  -rwxr-xr-x 1 root root   2227 Jul 10  2019 bzdiff
  lrwxrwxrwx 1 root root      6 Jul 10  2019 bzegrep -> bzgrep
  -rwxr-xr-x 1 root root   4877 Jun 24  2019 bzexe
  lrwxrwxrwx 1 root root      6 Jul 10  2019 bzfgrep -> bzgrep
  -rwxr-xr-x 1 root root   3641 Jul 10  2019 bzgrep
  -rwxr-xr-x 3 root root  26052 Jul 10  2019 bzip2
  -rwxr-xr-x 1 root root   9636 Jul 10  2019 bzip2recover
  lrwxrwxrwx 1 root root      6 Jul 10  2019 bzless -> bzmore
  -rwxr-xr-x 1 root root   1297 Jul 10  2019 bzmore
  -rwxr-xr-x 1 root root  22432 Feb 28  2019 cat
  -rwxr-xr-x 1 root root  38868 Feb 28  2019 chgrp
  -rwxr-xr-x 1 root root  38836 Feb 28  2019 chmod
  -rwxr-xr-x 1 root root  42972 Feb 28  2019 chown
  -rwxr-xr-x 1 root root  88376 Feb 28  2019 cp
  -rwxr-xr-x 1 root root  75516 Jan 17  2019 dash
  -rwxr-xr-x 1 root root  71648 Feb 28  2019 date
  -rwxr-xr-x 1 root root  51212 Feb 28  2019 dd
  -rwxr-xr-x 1 root root  55672 Feb 28  2019 df
  -rwxr-xr-x 1 root root  88444 Feb 28  2019 dir
  -rwxr-xr-x 1 root root  54872 Jan  9  2019 dmesg
  lrwxrwxrwx 1 root root      8 Sep 26  2018 dnsdomainname -> hostname
  lrwxrwxrwx 1 root root      8 Sep 26  2018 domainname -> hostname
  -rwxr-xr-x 1 root root  22364 Feb 28  2019 echo
  -rwxr-xr-x 1 root root     28 Jan  7  2019 egrep
  -rwxr-xr-x 1 root root  18260 Feb 28  2019 false
  -rwxr-xr-x 1 root root     28 Jan  7  2019 fgrep
  -rwxr-xr-x 1 root root  47356 Jan  9  2019 findmnt
  -rwsr-xr-x 1 root root  21980 Apr 22 07:38 fusermount
  -rwxr-xr-x 1 root root 124508 Jan  7  2019 grep
  -rwxr-xr-x 2 root root   2345 Jan  5  2019 gunzip
  -rwxr-xr-x 1 root root   6375 Jan  5  2019 gzexe
  -rwxr-xr-x 1 root root  64232 Jan  5  2019 gzip
  -rwxr-xr-x 1 root root  13784 Sep 26  2018 hostname
  -rwxr-xr-x 1 root root  43044 Feb 28  2019 ln
  -rwxr-xr-x 1 root root  34932 Jul 26  2018 login
  -rwxr-xr-x 1 root root  88444 Feb 28  2019 ls
  -rwxr-xr-x 1 root root  67036 Jan  9  2019 lsblk
  -rwxr-xr-x 1 root root  47168 Feb 28  2019 mkdir
  -rwxr-xr-x 1 root root  43040 Feb 28  2019 mknod
  -rwxr-xr-x 1 root root  26552 Feb 28  2019 mktemp
  -rwxr-xr-x 1 root root  26024 Jan  9  2019 more
  -rwsr-xr-x 1 root root  34268 Jan  9  2019 mount
  -rwxr-xr-x 1 root root   9688 Jan  9  2019 mountpoint
  -rwxr-xr-x 1 root root  84284 Feb 28  2019 mv
  lrwxrwxrwx 1 root root      8 Sep 26  2018 nisdomainname -> hostname
  lrwxrwxrwx 1 root root     14 Feb 14  2019 pidof -> /sbin/killall5
  -rwxr-xr-x 1 root root  22416 Feb 28  2019 pwd
  lrwxrwxrwx 1 root root      4 Apr 17  2019 rbash -> bash
  -rwxr-xr-x 1 root root  26504 Feb 28  2019 readlink
  -rwxr-xr-x 1 root root  42968 Feb 28  2019 rm
  -rwxr-xr-x 1 root root  26496 Feb 28  2019 rmdir
  -rwxr-xr-x 1 root root  14136 Jan 21  2019 run-parts
  -rwxr-xr-x 1 root root  76012 Dec 22  2018 sed
  lrwxrwxrwx 1 root root      4 Jul  9 20:25 sh -> dash
  -rwxr-xr-x 1 root root  22384 Feb 28  2019 sleep
  -rwxr-xr-x 1 root root  51124 Feb 28  2019 stty
  -rwsr-xr-x 1 root root  42472 Jan  9  2019 su
  -rwxr-xr-x 1 root root  22392 Feb 28  2019 sync
  -rwxr-xr-x 1 root root 283324 Apr 23  2019 tar
  -rwxr-xr-x 1 root root   9808 Jan 21  2019 tempfile
  -rwxr-xr-x 1 root root  63464 Feb 28  2019 touch
  -rwxr-xr-x 1 root root  18260 Feb 28  2019 true
  -rwxr-xr-x 1 root root   9636 Apr 22 07:38 ulockmgr_server
  -rwsr-xr-x 1 root root  21976 Jan  9  2019 umount
  -rwxr-xr-x 1 root root  22380 Feb 28  2019 uname
  -rwxr-xr-x 2 root root   2345 Jan  5  2019 uncompress
  -rwxr-xr-x 1 root root  88444 Feb 28  2019 vdir
  -rwxr-xr-x 1 root root  21980 Jan  9  2019 wdctl
  -rwxr-xr-x 1 root root    946 Jan 21  2019 which
  lrwxrwxrwx 1 root root      8 Sep 26  2018 ypdomainname -> hostname
  -rwxr-xr-x 1 root root   1983 Jan  5  2019 zcat
  -rwxr-xr-x 1 root root   1677 Jan  5  2019 zcmp
  -rwxr-xr-x 1 root root   5879 Jan  5  2019 zdiff
  -rwxr-xr-x 1 root root     29 Jan  5  2019 zegrep
  -rwxr-xr-x 1 root root     29 Jan  5  2019 zfgrep
  -rwxr-xr-x 1 root root   2080 Jan  5  2019 zforce
  -rwxr-xr-x 1 root root   7584 Jan  5  2019 zgrep
  -rwxr-xr-x 1 root root   2205 Jan  5  2019 zless
  -rwxr-xr-x 1 root root   1841 Jan  5  2019 zmore
  -rwxr-xr-x 1 root root   4552 Jan  5  2019 znew
I: user script /srv/workspace/pbuilder/4133/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: armhf
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
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 ... 18932 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} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses5-dev{a} libncurses6{a} libnet1{a} libnet1-dev{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} 
The following packages are RECOMMENDED but will NOT be installed:
  curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 
0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.0 MB of archives. After unpacking 66.4 MB will be used.
Writing extended state information...
Get: 1 http://deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB]
Get: 2 http://deb.debian.org/debian buster/main armhf bsdmainutils armhf 11.1.2+b1 [186 kB]
Get: 3 http://deb.debian.org/debian buster/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB]
Get: 4 http://deb.debian.org/debian buster/main armhf groff-base armhf 1.22.4-3 [828 kB]
Get: 5 http://deb.debian.org/debian buster/main armhf libpipeline1 armhf 1.5.1-2 [26.8 kB]
Get: 6 http://deb.debian.org/debian buster/main armhf man-db armhf 2.8.5-2 [1240 kB]
Get: 7 http://deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB]
Get: 8 http://deb.debian.org/debian buster/main armhf libmagic-mgc armhf 1:5.35-4+deb10u1 [242 kB]
Get: 9 http://deb.debian.org/debian buster/main armhf libmagic1 armhf 1:5.35-4+deb10u1 [110 kB]
Get: 10 http://deb.debian.org/debian buster/main armhf file armhf 1:5.35-4+deb10u1 [65.5 kB]
Get: 11 http://deb.debian.org/debian buster/main armhf gettext-base armhf 0.19.8.1-9 [118 kB]
Get: 12 http://deb.debian.org/debian buster/main armhf libsigsegv2 armhf 2.12-2 [32.1 kB]
Get: 13 http://deb.debian.org/debian buster/main armhf m4 armhf 1.4.18-2 [190 kB]
Get: 14 http://deb.debian.org/debian buster/main armhf autoconf all 2.69-11 [341 kB]
Get: 15 http://deb.debian.org/debian buster/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get: 16 http://deb.debian.org/debian buster/main armhf automake all 1:1.16.1-4 [771 kB]
Get: 17 http://deb.debian.org/debian buster/main armhf autopoint all 0.19.8.1-9 [434 kB]
Get: 18 http://deb.debian.org/debian buster/main armhf libtool all 2.4.6-9 [547 kB]
Get: 19 http://deb.debian.org/debian buster/main armhf dh-autoreconf all 19 [16.9 kB]
Get: 20 http://deb.debian.org/debian buster/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB]
Get: 21 http://deb.debian.org/debian buster/main armhf libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB]
Get: 22 http://deb.debian.org/debian buster/main armhf dh-strip-nondeterminism all 1.1.2-1 [13.0 kB]
Get: 23 http://deb.debian.org/debian buster/main armhf libelf1 armhf 0.176-1.1 [158 kB]
Get: 24 http://deb.debian.org/debian buster/main armhf dwz armhf 0.12-3 [72.0 kB]
Get: 25 http://deb.debian.org/debian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1101 kB]
Get: 26 http://deb.debian.org/debian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [8005 kB]
Get: 27 http://deb.debian.org/debian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [595 kB]
Get: 28 http://deb.debian.org/debian buster/main armhf libcroco3 armhf 0.6.12-3 [133 kB]
Get: 29 http://deb.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u2 [79.8 kB]
Get: 30 http://deb.debian.org/debian buster/main armhf gettext armhf 0.19.8.1-9 [1242 kB]
Get: 31 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get: 32 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB]
Get: 33 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB]
Get: 34 http://deb.debian.org/debian buster/main armhf libncurses-dev armhf 6.1+20181013-2+deb10u2 [295 kB]
Get: 35 http://deb.debian.org/debian buster/main armhf libncurses5-dev armhf 6.1+20181013-2+deb10u2 [948 B]
Get: 36 http://deb.debian.org/debian buster/main armhf libnet1 armhf 1.1.6+dfsg-3.1 [54.6 kB]
Get: 37 http://deb.debian.org/debian buster/main armhf libnet1-dev armhf 1.1.6+dfsg-3.1 [114 kB]
Get: 38 http://deb.debian.org/debian buster/main armhf libpcap0.8 armhf 1.8.1-6 [125 kB]
Get: 39 http://deb.debian.org/debian buster/main armhf libpcap0.8-dev armhf 1.8.1-6 [226 kB]
Fetched 19.0 MB in 2s (9263 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libbsd0:armhf.
(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 ... 18932 files and directories currently installed.)
Preparing to unpack .../00-libbsd0_0.9.1-2_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-2) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armhf.deb ...
Unpacking bsdmainutils (11.1.2+b1) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../02-libuchardet0_0.0.6-3_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.6-3) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../03-groff-base_1.22.4-3_armhf.deb ...
Unpacking groff-base (1.22.4-3) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../04-libpipeline1_1.5.1-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.8.5-2_armhf.deb ...
Unpacking man-db (2.8.5-2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ...
Unpacking sensible-utils (0.0.12) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_armhf.deb ...
Unpacking libmagic-mgc (1:5.35-4+deb10u1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.35-4+deb10u1) ...
Selecting previously unselected package file.
Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_armhf.deb ...
Unpacking file (1:5.35-4+deb10u1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../10-gettext-base_0.19.8.1-9_armhf.deb ...
Unpacking gettext-base (0.19.8.1-9) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../11-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../12-m4_1.4.18-2_armhf.deb ...
Unpacking m4 (1.4.18-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../13-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ...
Unpacking autopoint (0.19.8.1-9) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.6-9_all.deb ...
Unpacking libtool (2.4.6-9) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ...
Unpacking libarchive-zip-perl (1.64-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.1.2-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../22-libelf1_0.176-1.1_armhf.deb ...
Unpacking libelf1:armhf (0.176-1.1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../23-dwz_0.12-3_armhf.deb ...
Unpacking dwz (0.12-3) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.58.3-2+deb10u2) ...
Selecting previously unselected package libicu63:armhf.
Preparing to unpack .../25-libicu63_63.1-6+deb10u1_armhf.deb ...
Unpacking libicu63:armhf (63.1-6+deb10u1) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-7+b3) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../27-libcroco3_0.6.12-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-3) ...
Selecting previously unselected package libncurses6:armhf.
Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_armhf.deb ...
Unpacking libncurses6:armhf (6.1+20181013-2+deb10u2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../29-gettext_0.19.8.1-9_armhf.deb ...
Unpacking gettext (0.19.8.1-9) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../31-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../32-debhelper_12.1.1_all.deb ...
Unpacking debhelper (12.1.1) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../33-libncurses-dev_6.1+20181013-2+deb10u2_armhf.deb ...
Unpacking libncurses-dev:armhf (6.1+20181013-2+deb10u2) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../34-libncurses5-dev_6.1+20181013-2+deb10u2_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.1+20181013-2+deb10u2) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../35-libnet1_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../36-libnet1-dev_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3.1) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../37-libpcap0.8_1.8.1-6_armhf.deb ...
Unpacking libpcap0.8:armhf (1.8.1-6) ...
Selecting previously unselected package libpcap0.8-dev:armhf.
Preparing to unpack .../38-libpcap0.8-dev_1.8.1-6_armhf.deb ...
Unpacking libpcap0.8-dev:armhf (1.8.1-6) ...
Setting up libpipeline1:armhf (1.5.1-2) ...
Setting up libmagic-mgc (1:5.35-4+deb10u1) ...
Setting up libarchive-zip-perl (1.64-1) ...
Setting up libglib2.0-0:armhf (2.58.3-2+deb10u2) ...
No schema files found: doing nothing.
Setting up libmagic1:armhf (1:5.35-4+deb10u1) ...
Setting up gettext-base (0.19.8.1-9) ...
Setting up file (1:5.35-4+deb10u1) ...
Setting up libnet1:armhf (1.1.6+dfsg-3.1) ...
Setting up libicu63:armhf (63.1-6+deb10u1) ...
Setting up autotools-dev (20180224.1) ...
Setting up libpcap0.8:armhf (1.8.1-6) ...
Setting up libncurses6:armhf (6.1+20181013-2+deb10u2) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up autopoint (0.19.8.1-9) ...
Setting up sensible-utils (0.0.12) ...
Setting up libuchardet0:armhf (0.0.6-3) ...
Setting up libbsd0:armhf (0.9.1-2) ...
Setting up libelf1:armhf (0.176-1.1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-7+b3) ...
Setting up libfile-stripnondeterminism-perl (1.1.2-1) ...
Setting up libncurses-dev:armhf (6.1+20181013-2+deb10u2) ...
Setting up libtool (2.4.6-9) ...
Setting up libnet1-dev (1.1.6+dfsg-3.1) ...
Setting up libpcap0.8-dev:armhf (1.8.1-6) ...
Setting up m4 (1.4.18-2) ...
Setting up bsdmainutils (11.1.2+b1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libcroco3:armhf (0.6.12-3) ...
Setting up autoconf (2.69-11) ...
Setting up dwz (0.12-3) ...
Setting up groff-base (1.22.4-3) ...
Setting up libncurses5-dev:armhf (6.1+20181013-2+deb10u2) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up gettext (0.19.8.1-9) ...
Setting up man-db (2.8.5-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up po-debconf (1.0.21) ...
Setting up debhelper (12.1.1) ...
Setting up dh-autoreconf (19) ...
Setting up dh-strip-nondeterminism (1.1.2-1) ...
Processing triggers for libc-bin (2.28-10) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version (1.23-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Building the package
I: Running cd /build/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b
dpkg-buildpackage: info: source package nast
dpkg-buildpackage: info: source version 0.2.0-7
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Adrian Bunk <bunk@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_auto_configure
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking

Please wait, I'm going to configure Nast 0.2.0

checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
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 ...... : aarch64 unknown
O.S. .......... : Linux 4.19.0-9-arm64 (jtx1a)
COMPILER ...... : gcc
CFLAGS ........ : -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
	make -j1
make[1]: Entering directory '/build/nast-0.2.0'
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o
main.c: In function 'main':
main.c:312:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign]
    if (flags.banner) return mport (dev, ports, flags.l);
                                    ^~~
In file included from main.c:20:
include/nast.h:69:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 int mport (u_char *dev, u_short ports[], int lg);
     ^~~~~
main.c:319:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign]
    if (flags.gw) return fgw (dev);
                              ^~~
In file included from main.c:20:
include/nast.h:65:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 int fgw (u_char *dev);
     ^~~
main.c:320:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign]
    if (flags.lk) return flink (dev);
                                ^~~
In file included from main.c:20:
include/nast.h:67:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 int flink (u_char *dev);
     ^~~~~
main.c:186:11: warning: 'L' may be used uninitialized in this function [-Wmaybe-uninitialized]
    anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o
gcc -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]
  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]
       data_sniffo (buf, size_buf, output);
                    ^~~
In file included from tcp.c:20:
include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       print_ascii_hex (buf, size_buf, output);
                        ^~~
In file included from tcp.c:20:
include/nast.h:60:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       data_sniffo (buf, size_buf, ldd);
                    ^~~
In file included from tcp.c:20:
include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 void data_sniffo (char *data, u_int l, FILE *log);
      ^~~~~~~~~~~
gcc -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]
  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]
       data_sniffo (buf, size_buf, output);
                    ^~~
In file included from icmp.c:20:
include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       print_ascii_hex (buf, size_buf, output);
                        ^~~
In file included from icmp.c:20:
include/nast.h:60:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       data_sniffo (buf, size_buf, ldd);
                    ^~~
In file included from icmp.c:20:
include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 void data_sniffo (char *data, u_int l, FILE *log);
      ^~~~~~~~~~~
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o
gcc -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]
  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]
       data_sniffo (buf, size_buf, output);
                    ^~~
In file included from udp.c:22:
include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       print_ascii_hex (buf, size_buf, output);
                        ^~~
In file included from udp.c:22:
include/nast.h:60:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       data_sniffo (buf, size_buf, ldd);
                    ^~~
In file included from udp.c:22:
include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 void data_sniffo (char *data, u_int l, FILE *log);
      ^~~~~~~~~~~
gcc -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]
       sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]);
                ^~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
 __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]
       n_print ("princ",ln,1,lg,"%s (%s)   --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE));
                                                                                        ^~
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from prom.c:20:
/usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern in_addr_t inet_addr (const char *__cp) __THROW;
                  ^~~~~~~~~
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o
gcc -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]
    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'
    if (*net != '.') return NULL; ++net;
                                  ^~
map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (*net != '.') return NULL; ++net;
                                  ^~
map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (*net != '.') return NULL; ++net;
                                  ^~
map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (*mask != '.') return NULL; ++mask;
                                   ^~
map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (*mask != '.') return NULL; ++mask;
                                   ^~
map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (*mask != '.') return NULL; ++mask;
                                   ^~
map.c:199:20: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign]
    if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
                    ^~~
map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
         if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
                         ^~~
map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
          if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
                          ^~~
map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
        if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
                        ^~~
map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
       sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]);
                ^~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
 __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]
          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));
                                                                                                                         ^~
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from map.c:36:
/usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       fgets(r, 3, stdin);
       ^~~~~~~~~~~~~~~~~~
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o
gcc -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]
  "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]
    l = libnet_init (LIBNET_LINK, dev, ebuf);
                                  ^~~
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:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    l = libnet_init (LIBNET_LINK, dev, ebuf);
                                       ^~~~
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:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    l = libnet_init (LIBNET_LINK, dev, ebuf);
                                  ^~~
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:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    l = libnet_init (LIBNET_LINK, dev, ebuf);
                                       ^~~~
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:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    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)
                                                                                                                        ^~~~~
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:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    if ((uphost = map_lan(dev, 0, &n))==NULL)
                          ^~~
In file included from fgw.c:32:
include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  pcap_lookupnet(dev,&netp,&maskp,ebuf);
                 ^~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  pcap_lookupnet(dev,&netp,&maskp,ebuf);
                                  ^~~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:279:14: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL)
                           ^~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL)
                                                         ^~~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:353:18: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^~~~~
In file included from /usr/include/libnet.h:63,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
gcc -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]
    if ((uphost = map_lan(dev, 0, &n))==NULL)
                          ^~~
In file included from flink.c:22:
include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL)
                                             ^~~~~~
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:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]);
          ^~~~~~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
 __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]
  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)
                                                                                                                           ^~~~~~
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL)
                           ^~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL)
                                                         ^~~~~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:353:18: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       if ((offset = (device(dev,p)))==-1) return -1;
                             ^~~
In file included from flink.c:22:
include/nast.h:58:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000)
                                           ^~~~~~
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
       sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]);
               ^~~~~~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
 __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]
       sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]);
               ^~~~~~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
 __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]
     if ( (ip_src=inet_addr(testip)) == -1)
                            ^~~~~~
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL)
                                       ^~~
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:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL)
                                            ^~~~~~
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:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL)
                             ^~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL)
                                                       ^~~~~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:353:18: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  offset = (device(dev,p));
                   ^~~
In file included from flink.c:22:
include/nast.h:58:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 int device (char *dev, pcap_t* descr);
     ^~~~~~
gcc -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]
   if ((uphost = map_lan(dev, 0, &n))==NULL)
                         ^~~
In file included from port.c:20:
include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
          x = strlen(tmpbuf);
                     ^~~~~~
In file included from /usr/include/libnet.h:63,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern size_t strlen (const char *__s)
               ^~~~~~
port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable]
    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]
    if ((uphost = map_lan(dev, 0, &n))==NULL)
                          ^~~
In file included from port.c:20:
include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    dev,                                   /* network interface */
    ^~~
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:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]);
          ^~~~~~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/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/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
 __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]
  pcap_lookupnet(dev,&netp,&maskp,errbuf);
                 ^~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from port.c:20:
/usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL)
                               ^~~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from port.c:20:
/usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
  if ((offset=(device(dev,descr)))==-1) return -1;
                      ^~~
In file included from port.c:20:
include/nast.h:58:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
           inet_addr(testip),                                     /* destination IP */
                     ^~~~~~
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 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]
    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]
     write (sd, "\n\n", 2);
     ^~~~~~~~~~~~~~~~~~~~~
gcc -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]
  mhport (dev,plist_p,l);
          ^~~
In file included from common.c:24:
include/nast.h:70:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
    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]
       fgets (buff, 50, stdin);
       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:73:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  fgets (buff, 50, stdin);
  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:79:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets (buff, 50, stdin);
       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:90:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  fgets (buff, 50, stdin);
  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:115:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets (buff, 50, stdin);
       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:124:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  fgets (buff, 50, stdin);
  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:132:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets (buff, 50, stdin);
       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:142:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  fgets (buff, 50, stdin);
  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:157:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  fgets(buff ,50 ,stdin);
  ^~~~~~~~~~~~~~~~~~~~~~
common.c:166:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets(buff ,50 ,stdin);
       ^~~~~~~~~~~~~~~~~~~~~~
common.c:188:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
       fgets(buff ,50 ,stdin);
       ^~~~~~~~~~~~~~~~~~~~~~
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o
gcc -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]
    int line;
        ^~~~
bcount.c: In function 'n_bytecounting':
bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable]
    int line, l;
              ^
bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable]
    int line, l;
        ^~~~
gcc -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]
    int n,ris;
          ^~~
error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable]
    int n,ris;
        ^
gcc -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]
    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]
         fgw (dev);
              ^~~
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:65:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
         mhport (dev,plist_p,lr);
                 ^~~
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:70:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
         flink(dev);
               ^~~
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:67:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 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]
         mport(dev,ports,lr);
               ^~~
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:69:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
 int mport (u_char *dev, u_short ports[], int lg);
     ^~~~~
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o
gcc -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]
    int ris,i,ret;
        ^~~
gcc -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]
    data = packet = NULL;
         ^
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o
gcc -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o
gcc -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
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_installdirs
   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_installchangelogs
   dh_installman
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'nast' in '../nast_0.2.0-7_armhf.deb'.
dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-7_armhf.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../nast_0.2.0-7_armhf.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: 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/4133 and its subdirectories
I: Current time: Fri Jul 10 17:56:19 -12 2020
I: pbuilder-time-stamp: 1594446979
Sat Jul 11 05:56:26 UTC 2020  I: 1st build successful. Starting 2nd build on remote node cbxi4b-armhf-rb.debian.net.
Sat Jul 11 05:56:26 UTC 2020  I: Preparing to do remote build '2' on cbxi4b-armhf-rb.debian.net.
Sat Jul 11 06:04:35 UTC 2020  I: Deleting $TMPDIR on cbxi4b-armhf-rb.debian.net.
Sat Jul 11 06:04:38 UTC 2020  I: nast_0.2.0-7_armhf.changes:
Format: 1.8
Date: Fri, 23 Jun 2017 08:56:43 +0300
Source: nast
Binary: nast nast-dbgsym
Architecture: armhf
Version: 0.2.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Description:
 nast       - packet sniffer and lan analyzer
Changes:
 nast (0.2.0-7) unstable; urgency=medium
 .
   * QA upload.
   * Set maintainer to Debian QA Group. (see #856297)
   * Enable PIE.
Checksums-Sha1:
 037e25c1d6223b8f05511eeeda559c2b3e64cc87 6384 nast-dbgsym_0.2.0-7_armhf.deb
 0dca50217e47fe834ed63f31476e896c5ab6d183 4646 nast_0.2.0-7_armhf.buildinfo
 f717918bd800d513b61736268422ed232efcbbe3 60832 nast_0.2.0-7_armhf.deb
Checksums-Sha256:
 24fce401f0e52c6c0600acb214da99d44045329d4841811e85268b261dd65806 6384 nast-dbgsym_0.2.0-7_armhf.deb
 80e97ac1b472127d30c265a265d18543672ff37ba5746af16797ec63af478f5f 4646 nast_0.2.0-7_armhf.buildinfo
 18b348e1952279fccfb0a2a47451949aca6ccf8d2d578c9b517d06877fe88229 60832 nast_0.2.0-7_armhf.deb
Files:
 eea19aa62ed7597da4e26fca5b7886a6 6384 debug optional nast-dbgsym_0.2.0-7_armhf.deb
 f3c75880b0191cbac2ba48ed87771be9 4646 net optional nast_0.2.0-7_armhf.buildinfo
 7938096644f7e3f2fc62f920aa3e1114 60832 net optional nast_0.2.0-7_armhf.deb
Sat Jul 11 06:04:48 UTC 2020  I: diffoscope 151 will be used to compare the two builds:
# Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/nast_0.2.0-7.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/nast_0.2.0-7.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/nast_0.2.0-7.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/b1/nast_0.2.0-7_armhf.changes /srv/reproducible-results/rbuild-debian/tmp.QAG0fB5SUy/b2/nast_0.2.0-7_armhf.changes

## command (total time: 0.000s)
       0.000s      1 call     cmp (internal)

## has_same_content_as (total time: 0.000s)
       0.000s      1 call     abc.DotChangesFile

## main (total time: 0.251s)
       0.250s      2 calls    outputs
       0.000s      1 call     cleanup

## recognizes (total time: 0.025s)
       0.025s     10 calls    diffoscope.comparators.binary.FilesystemFile
       0.000s      8 calls    abc.DotChangesFile
Sat Jul 11 06:05:12 UTC 2020  I: diffoscope 151 found no differences in the changes files, and a .buildinfo file also exists.
Sat Jul 11 06:05:12 UTC 2020  I: nast from buster built successfully and reproducibly on armhf.
Sat Jul 11 06:05:17 UTC 2020  I: Submitting .buildinfo files to external archives:
Sat Jul 11 06:05:17 UTC 2020  I: Submitting 8.0K	b1/nast_0.2.0-7_armhf.buildinfo.asc
Sat Jul 11 06:05:19 UTC 2020  I: Submitting 8.0K	b2/nast_0.2.0-7_armhf.buildinfo.asc
Sat Jul 11 06:05:20 UTC 2020  I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit.
Sat Jul 11 06:05:20 UTC 2020  I: Done submitting .buildinfo files.
Sat Jul 11 06:05:20 UTC 2020  I: Removing signed nast_0.2.0-7_armhf.buildinfo.asc files:
removed './b1/nast_0.2.0-7_armhf.buildinfo.asc'
removed './b2/nast_0.2.0-7_armhf.buildinfo.asc'