Raspbian Package Auto-Building

Build log for nast (0.2.0-7) on armhf

nast0.2.0-7armhf → 2017-06-28 12:34:09

sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on mb-lxc-01

+==============================================================================+
| nast 0.2.0-7 (armhf)                         Wed, 28 Jun 2017 12:30:06 +0000 |
+==============================================================================+

Package: nast
Version: 0.2.0-7
Source Version: 0.2.0-7
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-1a7bac05-caf7-4416-819a-8c567613af43' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [9989 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [11.9 MB]
Fetched 21.9 MB in 7s (2784 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'nast' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/git/collab-maint/nast.git
Please use:
git clone https://anonscm.debian.org/git/collab-maint/nast.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 169 kB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main nast 0.2.0-7 (dsc) [1857 B]
Get:2 http://172.17.0.1/private buster-staging/main nast 0.2.0-7 (tar) [148 kB]
Get:3 http://172.17.0.1/private buster-staging/main nast 0.2.0-7 (diff) [19.7 kB]
Fetched 169 kB in 0s (738 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/nast-zmnWYL/nast-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/nast-zmnWYL' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-yIje8j/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-yIje8j/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-yIje8j/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Packages [432 B]
Fetched 2108 B in 0s (5809 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 776 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [776 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 776 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12681 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 9), libnet1-dev, libpcap0.8-dev, libncurses5-dev, autotools-dev
Filtered Build-Depends: debhelper (>= 9), libnet1-dev, libpcap0.8-dev, libncurses5-dev, autotools-dev
dpkg-deb: building package 'sbuild-build-depends-nast-dummy' in '/<<BUILDDIR>>/resolver-yIje8j/apt_archive/sbuild-build-depends-nast-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-nast-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Sources [513 B]
Get:5 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ Packages [592 B]
Fetched 2438 B in 0s (6400 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install nast build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libbsd0 libcroco3 libffi6
  libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc
  libmagic1 libncurses5-dev libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev
  libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libunistring0
  libxml2 m4 man-db po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less
  www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libbsd0 libcroco3 libffi6
  libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc
  libmagic1 libncurses5-dev libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev
  libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libunistring0
  libxml2 m4 man-db po-debconf sbuild-build-depends-nast-dummy
0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.0 MB of archives.
After this operation, 67.8 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-yIje8j/apt_archive ./ sbuild-build-depends-nast-dummy 0.invalid.0 [804 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.3-9 [1005 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.8.3-1 [89.0 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 9.0.12+nmu1 [178 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.4.1-2 [23.7 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.7.6.1-2 [1014 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf libnet1 armhf 1.1.6+dfsg-3 [53.8 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf libmagic-mgc armhf 1:5.30-1 [222 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf libmagic1 armhf 1:5.30-1 [105 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf file armhf 1:5.30-1 [63.4 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-2 [116 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf libicu57 armhf 57.1-6 [7427 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-2.2 [806 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.10-5 [28.4 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-1 [185 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-10 [338 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20161112.1 [73.4 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.15-6 [733 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-2 [433 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-2 [545 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 14 [15.9 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 0.035-2 [17.0 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 0.035-2 [10.7 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf libffi6 armhf 3.2.1-6 [18.7 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.50.3-2 [2527 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf libcroco3 armhf 0.6.11-3 [131 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf libunistring0 armhf 0.9.6+really0.9.3-0.1 [252 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-2 [1434 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf debhelper all 10.2.5 [961 kB]
Get:34 http://172.17.0.1/private buster-staging/main armhf libtinfo-dev armhf 6.0+20161126-1 [65.3 kB]
Get:35 http://172.17.0.1/private buster-staging/main armhf libncurses5-dev armhf 6.0+20161126-1 [245 kB]
Get:36 http://172.17.0.1/private buster-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3 [111 kB]
Get:37 http://172.17.0.1/private buster-staging/main armhf libpcap0.8 armhf 1.8.1-3 [123 kB]
Get:38 http://172.17.0.1/private buster-staging/main armhf libpcap0.8-dev armhf 1.8.1-3 [220 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 20.0 MB in 2s (7144 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 12681 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-9_armhf.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../01-libbsd0_0.8.3-1_armhf.deb ...
Unpacking libbsd0:armhf (0.8.3-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_9.0.12+nmu1_armhf.deb ...
Unpacking bsdmainutils (9.0.12+nmu1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.4.1-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.7.6.1-2_armhf.deb ...
Unpacking man-db (2.7.6.1-2) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../05-libnet1_1.1.6+dfsg-3_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.30-1_armhf.deb ...
Unpacking libmagic-mgc (1:5.30-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.30-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.30-1) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.30-1_armhf.deb ...
Unpacking file (1:5.30-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.19.8.1-2_armhf.deb ...
Unpacking gettext-base (0.19.8.1-2) ...
Selecting previously unselected package libicu57:armhf.
Preparing to unpack .../10-libicu57_57.1-6_armhf.deb ...
Unpacking libicu57:armhf (57.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../11-libxml2_2.9.4+dfsg1-2.2_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-2.2) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../12-libsigsegv2_2.10-5_armhf.deb ...
Unpacking libsigsegv2:armhf (2.10-5) ...
Selecting previously unselected package m4.
Preparing to unpack .../13-m4_1.4.18-1_armhf.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../14-autoconf_2.69-10_all.deb ...
Unpacking autoconf (2.69-10) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../15-autotools-dev_20161112.1_all.deb ...
Unpacking autotools-dev (20161112.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../16-automake_1%3a1.15-6_all.deb ...
Unpacking automake (1:1.15-6) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../17-autopoint_0.19.8.1-2_all.deb ...
Unpacking autopoint (0.19.8.1-2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../18-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../19-dh-autoreconf_14_all.deb ...
Unpacking dh-autoreconf (14) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../20-libarchive-zip-perl_1.59-1_all.deb ...
Unpacking libarchive-zip-perl (1.59-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../21-libfile-stripnondeterminism-perl_0.035-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.035-2) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../22-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../23-dh-strip-nondeterminism_0.035-2_all.deb ...
Unpacking dh-strip-nondeterminism (0.035-2) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../24-libffi6_3.2.1-6_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-6) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../25-libglib2.0-0_2.50.3-2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.50.3-2) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../26-libcroco3_0.6.11-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.11-3) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../27-libunistring0_0.9.6+really0.9.3-0.1_armhf.deb ...
Unpacking libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../28-gettext_0.19.8.1-2_armhf.deb ...
Unpacking gettext (0.19.8.1-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../29-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../30-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../31-debhelper_10.2.5_all.deb ...
Unpacking debhelper (10.2.5) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../32-libtinfo-dev_6.0+20161126-1_armhf.deb ...
Unpacking libtinfo-dev:armhf (6.0+20161126-1) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../33-libncurses5-dev_6.0+20161126-1_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.0+20161126-1) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../34-libnet1-dev_1.1.6+dfsg-3_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../35-libpcap0.8_1.8.1-3_armhf.deb ...
Unpacking libpcap0.8:armhf (1.8.1-3) ...
Selecting previously unselected package libpcap0.8-dev.
Preparing to unpack .../36-libpcap0.8-dev_1.8.1-3_armhf.deb ...
Unpacking libpcap0.8-dev (1.8.1-3) ...
Selecting previously unselected package sbuild-build-depends-nast-dummy.
Preparing to unpack .../37-sbuild-build-depends-nast-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-nast-dummy (0.invalid.0) ...
Setting up libnet1:armhf (1.1.6+dfsg-3) ...
Setting up libarchive-zip-perl (1.59-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libsigsegv2:armhf (2.10-5) ...
Setting up groff-base (1.22.3-9) ...
Setting up libtinfo-dev:armhf (6.0+20161126-1) ...
Setting up gettext-base (0.19.8.1-2) ...
Setting up libpipeline1:armhf (1.4.1-2) ...
Setting up m4 (1.4.18-1) ...
Setting up libicu57:armhf (57.1-6) ...
Setting up libbsd0:armhf (0.8.3-1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-2.2) ...
Setting up libmagic-mgc (1:5.30-1) ...
Setting up libnet1-dev (1.1.6+dfsg-3) ...
Setting up libmagic1:armhf (1:5.30-1) ...
Setting up libncurses5-dev:armhf (6.0+20161126-1) ...
Processing triggers for libc-bin (2.24-12) ...
Setting up autotools-dev (20161112.1) ...
Setting up libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Setting up libffi6:armhf (3.2.1-6) ...
Setting up bsdmainutils (9.0.12+nmu1) ...
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 autopoint (0.19.8.1-2) ...
Setting up libpcap0.8:armhf (1.8.1-3) ...
Setting up libfile-stripnondeterminism-perl (0.035-2) ...
Setting up libglib2.0-0:armhf (2.50.3-2) ...
No schema files found: doing nothing.
Setting up libpcap0.8-dev (1.8.1-3) ...
Setting up autoconf (2.69-10) ...
Setting up file (1:5.30-1) ...
Setting up libcroco3:armhf (0.6.11-3) ...
Setting up automake (1:1.15-6) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.7.6.1-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-2) ...
Setting up gettext (0.19.8.1-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.20) ...
Setting up dh-autoreconf (14) ...
Setting up dh-strip-nondeterminism (0.035-2) ...
Setting up debhelper (10.2.5) ...
Setting up sbuild-build-depends-nast-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-12) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.4.0-79-generic armhf (armv8l)
Toolchain package versions: binutils_2.28-6 dpkg-dev_1.18.24 g++-6_6.3.0-18+rpi1 gcc-6_6.3.0-18+rpi1 libc6-dev_2.24-12 libstdc++-6-dev_6.3.0-18+rpi1 libstdc++6_6.3.0-18+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: adduser_3.115 apt_1.4.6 autoconf_2.69-10 automake_1:1.15-6 autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_9.9+rpi1 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-6 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 coreutils_8.26-3 cpio_2.11+dfsg-6 cpp_4:6.3.0-4 cpp-6_6.3.0-18+rpi1 dash_0.5.8-2.4 debconf_1.5.61 debhelper_10.2.5 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.035-2 diffutils_1:3.5-3 dmsetup_2:1.02.137-2 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 fakeroot_1.21-3.1 file_1:5.30-1 findutils_4.6.0+git+20161106-2 g++_4:6.3.0-4 g++-6_6.3.0-18+rpi1 gcc_4:6.3.0-4 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.3-14 gcc-5-base_5.4.1-4 gcc-6_6.3.0-18+rpi1 gcc-6-base_6.3.0-18+rpi1 gettext_0.19.8.1-2 gettext-base_0.19.8.1-2 gnupg_2.1.18-8 gnupg-agent_2.1.18-8 gpgv_2.1.18-8 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5 hostname_3.18 init-system-helpers_1.48 initramfs-tools_0.130 initramfs-tools-core_0.130 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-9+rpi1 kmod_24-1 libacl1_2.2.52-3 libapparmor1_2.11.0-3 libapt-pkg5.0_1.4.6 libarchive-zip-perl_1.59-1 libasan3_6.3.0-18+rpi1 libassuan0_2.4.3-2 libatomic1_6.3.0-18+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1 libblkid1_2.29.2-1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-12 libc-dev-bin_2.24-12 libc6_2.24-12 libc6-dev_2.24-12 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcc1-0_6.3.0-18+rpi1 libcomerr2_1.43.4-2 libcroco3_0.6.11-3 libcryptsetup4_2:1.7.3-4 libdb5.3_5.3.28-12 libdbus-1-3_1.10.18-1 libdebconfclient0_0.228 libdevmapper1.02.1_2:1.02.137-2 libdpkg-perl_1.18.24 libdrm2_2.4.74-1 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.035-2 libgcc-6-dev_6.3.0-18+rpi1 libgcc1_1:6.3.0-18+rpi1 libgcrypt20_1.7.7-2 libgdbm3_1.8.3-14 libglib2.0-0_2.50.3-2 libgmp10_2:6.1.2+dfsg-1 libgomp1_6.3.0-18+rpi1 libgpg-error0_1.26-2 libicu57_57.1-6 libidn11_1.33-1 libip4tc0_1.6.0+snapshot20161117-6 libisl15_0.18-1 libklibc_2.0.4-9+rpi1 libkmod2_24-1 libksba8_1.3.5-2 liblocale-gettext-perl_1.07-3+b1 liblz4-1_0.0~r131-2 liblzma5_5.2.2-1.2 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29.2-1 libmpc3_1.0.3-1 libmpfr4_3.1.5-1 libncurses5_6.0+20161126-1 libncurses5-dev_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnet1_1.1.6+dfsg-3 libnet1-dev_1.1.6+dfsg-3 libnih-dbus1_1.0.3-8 libnih1_1.0.3-8 libnpth0_1.3-1 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcap0.8_1.8.1-3 libpcap0.8-dev_1.8.1-3 libpcre3_2:8.39-3 libperl5.24_5.24.1-4 libpipeline1_1.4.1-2 libplymouth4_0.9.2-4 libpng16-16_1.6.29-3 libprocps6_2:3.3.12-3 libreadline7_7.0-3 libseccomp2_2.3.1-2.1 libselinux1_2.6-3 libsemanage-common_2.6-2 libsemanage1_2.6-2 libsepol1_2.6-2 libsigsegv2_2.10-5 libsmartcols1_2.29.2-1 libsqlite3-0_3.16.2-5 libss2_1.43.4-2 libstdc++-6-dev_6.3.0-18+rpi1 libstdc++6_6.3.0-18+rpi1 libsystemd0_233-9 libtext-charwidth-perl_0.04-7+b7 libtext-iconv-perl_1.7-5+b8 libtext-wrapi18n-perl_0.06-7.1 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20161126-1 libtinfo5_6.0+20161126-1 libtool_2.4.6-2 libubsan0_6.3.0-18+rpi1 libudev1_233-9 libunistring0_0.9.6+really0.9.3-0.1 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-2.2 linux-base_4.5 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.4-4.1 lsb-base_9.20161125+rpi1 m4_1.4.18-1 make_4.1-9.1 makedev_2.3.1-93 man-db_2.7.6.1-2 mawk_1.3.3-17 mount_2.29.2-1 mountall_2.54 multiarch-support_2.24-12 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 passwd_1:4.4-4.1 patch_2.7.5-1 perl_5.24.1-4 perl-base_5.24.1-4 perl-modules-5.24_5.24.1-4 pinentry-curses_1.0.0-2 plymouth_0.9.2-4 po-debconf_1.0.20 procps_2:3.3.12-3 raspbian-archive-keyring_20120528.2 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-nast-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 systemd_233-9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 tzdata_2017b-2 udev_233-9 util-linux_2.29.2-1 xz-utils_5.2.2-1.2 zlib1g_1:1.2.8.dfsg-5

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Fri Jun 23 05:59:39 2017 UTC
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 /<<PKGBUILDDIR>>
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: 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

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-1a7bac05-caf7-4416-819a-8c567613af43
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package nast
dpkg-buildpackage: info: source version 0.2.0-7
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build nast-0.2.0
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_update_autotools_config -a
   dh_auto_configure -a
	./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 ...... : armv8l unknown
O.S. .......... : Linux 4.4.0-79-generic (mb-lxc-01)
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 -a
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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:0:
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:0:
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:0:
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:9: 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 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:0:
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:0:
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:0:
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 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:0:
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:0:
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:0:
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 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:0:
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:0:
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:0:
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:364:0,
                 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:31: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:0,
                 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 is 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 is 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 is 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 is 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 is 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 is 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:364:0,
                 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:31: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:0,
                 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 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:0,
                 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:0,
                 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:0,
                 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:0,
                 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:0,
                 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:0:
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:0,
                 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:0,
                 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:0,
                 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:0,
                 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 *);
                  ^~~~~~~~~~~~~~
In file included from /usr/include/string.h:630:0,
                 from /usr/include/libnet.h:63,
                 from include/nast.h:23,
                 from fgw.c:32:
fgw.c:198:103: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^
fgw.c:198:103: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
fgw.c:198:103: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^
fgw.c:198:103: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
fgw.c:198:103: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^
fgw.c:198:103: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
fgw.c:198:103: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^
fgw.c:198:103: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
fgw.c:198:103: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^
fgw.c:198:103: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
fgw.c:198:103: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
                                                                                                       ^
fgw.c:198:103: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
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:0:
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:0,
                 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:364:0,
                 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:31: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:0,
                 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:0,
                 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:0,
                 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:0:
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:0,
                 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:364:0,
                 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:31: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:364:0,
                 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:31: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:0,
                 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:0,
                 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:0,
                 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:0,
                 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:0,
                 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:0:
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:0:
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:0,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/string.h:394: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:0:
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:0,
                 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:364:0,
                 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:31: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:0,
                 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:0,
                 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:0:
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:0,
                 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:0:
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:0,
                 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:0,
                 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:0,
                 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:0,
                 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 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 '/<<PKGBUILDDIR>>'
   dh_auto_test -a
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-arch
dh binary-arch
   create-stamp debian/debhelper-build-stamp
   dh_testroot -a
   dh_prep -a
   dh_installdirs -a
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make install prefix=/<<PKGBUILDDIR>>/debian/nast/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
chown root nast nast.8
cp -fR nast /<<PKGBUILDDIR>>/debian/nast/usr/bin
cp -fR nast.8 /<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-7_armhf.deb'.
dpkg-deb: building package 'nast' in '../nast_0.2.0-7_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian mythic lxc autobuilder 1 <root@raspbian.org> >../nast_0.2.0-7_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build nast-0.2.0
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2017-06-28T12:34:07Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


nast_0.2.0-7_armhf.changes:
---------------------------

Format: 1.8
Date: Fri, 23 Jun 2017 08:56:43 +0300
Source: nast
Binary: nast
Architecture: armhf
Version: 0.2.0-7
Distribution: buster-staging
Urgency: medium
Maintainer: Raspbian mythic lxc autobuilder 1 <root@raspbian.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:
 5c8aabfb2f146a848e272f9a993b272c461f2af2 6344 nast-dbgsym_0.2.0-7_armhf.deb
 8e376245f0d93317b1d3960ebcbccf7588cd9580 4541 nast_0.2.0-7_armhf.buildinfo
 763944a104ddb1ca564fc784e055861a73d0ef0f 55470 nast_0.2.0-7_armhf.deb
Checksums-Sha256:
 994865062b0319fc4cc6ee9608ca498951c687d2992719672781fd8262933d53 6344 nast-dbgsym_0.2.0-7_armhf.deb
 f3647a7788bbcd4793c7454287872e8acdce8e90455430fe805477298eb35a1c 4541 nast_0.2.0-7_armhf.buildinfo
 44e42b941c7b20db8f0d30a38b942356c31eaaf02f6a8ede28437eb62a5d5c4c 55470 nast_0.2.0-7_armhf.deb
Files:
 c5a56936010a0d39851895f33a79c907 6344 debug extra nast-dbgsym_0.2.0-7_armhf.deb
 e455079417d17f3eeede0ffcdff66213 4541 net optional nast_0.2.0-7_armhf.buildinfo
 29377555678312a7a60b5c30d679d763 55470 net optional nast_0.2.0-7_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


nast-dbgsym_0.2.0-7_armhf.deb
-----------------------------

 new debian package, version 2.0.
 size 6344 bytes: control archive=459 bytes.
     356 bytes,    13 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: nast-dbgsym
 Source: nast
 Version: 0.2.0-7
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 29
 Depends: nast (= 0.2.0-7)
 Section: debug
 Priority: extra
 Homepage: http://nast.berlios.de/
 Description: Debug symbols for nast
 Build-Ids: 913b3d16538fa2a03fba65e6a1e8f92296d84aec

drwxr-xr-x root/root         0 2017-06-23 05:56 ./
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/lib/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/lib/debug/.build-id/91/
-rw-r--r-- root/root     18944 2017-06-23 05:56 ./usr/lib/debug/.build-id/91/3b3d16538fa2a03fba65e6a1e8f92296d84aec.debug
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-06-23 05:56 ./usr/share/doc/nast-dbgsym -> nast


nast_0.2.0-7_armhf.deb
----------------------

 new debian package, version 2.0.
 size 55470 bytes: control archive=1061 bytes.
    1117 bytes,    30 lines      control              
     430 bytes,     7 lines      md5sums              
 Package: nast
 Version: 0.2.0-7
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 138
 Depends: libc6 (>= 2.15), libncurses5 (>= 6), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8), libtinfo5 (>= 6)
 Section: net
 Priority: optional
 Homepage: http://nast.berlios.de/
 Description: packet sniffer and lan analyzer
  Can sniff in normal mode or in promiscuous mode the packets on a network
  interface and log it. It dumps the headers of packets and the payload in
  ascii or ascii-hex format. You can apply a filter. The sniffed data can
  be saved in a separated file.
  .
  As analyzer tool, it has many features like:
   * Build LAN hosts list
   * Follow a TCP-DATA stream
   * Find LAN internet gateways
   * Discover promiscuous nodes
   * Reset an established connection
   * Perform a single half-open portscanner
   * Perform a multi half-open portscanner
   * Find link type (hub or switch)
   * Catch daemon banner of LAN nodes
   * Control arp answers to discover possible arp-spoofings
   * Byte counting with an optional filter
   * Write reports logging
  .
  It also provides a ncurses menu.

drwxr-xr-x root/root         0 2017-06-23 05:56 ./
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/bin/
-rwxr-xr-x root/root    112700 2017-06-23 05:56 ./usr/bin/nast
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/doc/nast/
-rw-r--r-- root/root      1778 2004-02-15 20:10 ./usr/share/doc/nast/README
-rw-r--r-- root/root       553 2004-02-16 13:41 ./usr/share/doc/nast/TODO
-rw-r--r-- root/root      1684 2017-06-23 05:56 ./usr/share/doc/nast/changelog.Debian.gz
-rw-r--r-- root/root      1739 2004-01-20 18:55 ./usr/share/doc/nast/changelog.gz
-rw-r--r-- root/root      1374 2016-09-27 12:07 ./usr/share/doc/nast/copyright
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/man/
drwxr-xr-x root/root         0 2017-06-23 05:56 ./usr/share/man/man8/
-rw-r--r-- root/root      8249 2017-06-23 05:56 ./usr/share/man/man8/nast.8.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 2412
Build-Time: 32
Distribution: buster-staging
Host Architecture: armhf
Install-Time: 193
Job: nast_0.2.0-7
Machine Architecture: armhf
Package: nast
Package-Time: 241
Source-Version: 0.2.0-7
Space: 2412
Status: successful
Version: 0.2.0-7
--------------------------------------------------------------------------------
Finished at 2017-06-28T12:34:07Z
Build needed 00:04:01, 2412k disk space