Raspbian Package Auto-Building

Build log for nast (0.2.0-6.1) on armhf

nast0.2.0-6.1armhf → 2016-10-08 14:21:00

sbuild (Debian sbuild) 0.70.0 (03 Aug 2016) on bm-wb-02

+==============================================================================+
| nast 0.2.0-6.1 (armhf)                       Sat, 08 Oct 2016 14:13:14 +0000 |
+==============================================================================+

Package: nast
Version: 0.2.0-6.1
Source Version: 0.2.0-6.1
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-7a5eb014-c2bd-4bec-889c-2c2051ea2688' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1/private stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private stretch-staging/main Sources [9327 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf Packages [11.3 MB]
Fetched 20.6 MB in 22s (929 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 stretch-staging/main nast 0.2.0-6.1 (dsc) [1822 B]
Get:2 http://172.17.0.1/private stretch-staging/main nast 0.2.0-6.1 (tar) [148 kB]
Get:3 http://172.17.0.1/private stretch-staging/main nast 0.2.0-6.1 (diff) [19.6 kB]
Fetched 169 kB in 0s (2928 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/nast-MfW1Dg/nast-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/nast-MfW1Dg' 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-G0zzP4/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-G0zzP4/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-G0zzP4/gpg/trustdb.gpg: trustdb created
gpg: key 8120261D46CC9652: 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 8120261D46CC9652: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 8120261D46CC9652: 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-G0zzP4/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-G0zzP4/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-G0zzP4/apt_archive ./ Release.gpg [342 B]
Get:4 copy:/<<BUILDDIR>>/resolver-G0zzP4/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-G0zzP4/apt_archive ./ Packages [433 B]
Fetched 2081 B in 0s (3433 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 packages were automatically installed and are no longer required:
  dirmngr fuse2fs gnupg-l10n libffi6 libfuse2 libgnutls30 libhogweed4
  libldap-2.4-2 libnettle6 libp11-kit0 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libssl1.0.2 libtasn1-6 manpages
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 764 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-G0zzP4/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [764 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 764 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 14070 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-jkawqv/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-nast-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-jkawqv/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-jkawqv/gpg/trustdb.gpg: trustdb created
gpg: key 8120261D46CC9652: 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 8120261D46CC9652: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 8120261D46CC9652: 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-jkawqv/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-jkawqv/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-jkawqv/apt_archive ./ Release.gpg [342 B]
Get:4 copy:/<<BUILDDIR>>/resolver-jkawqv/apt_archive ./ Sources [371 B]
Get:5 copy:/<<BUILDDIR>>/resolver-jkawqv/apt_archive ./ Packages [460 B]
Fetched 2130 B in 0s (3676 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 packages were automatically installed and are no longer required:
  dirmngr fuse2fs gnupg-l10n libfuse2 libgnutls30 libhogweed4 libldap-2.4-2
  libnettle6 libp11-kit0 libsasl2-2 libsasl2-modules libsasl2-modules-db
  libssl1.0.2 libtasn1-6 manpages
Use 'apt autoremove' to remove them.
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
  libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc
  libmagic1 libncurses5-dev libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev
  libpipeline1 libsigsegv2 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 less
  www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx-cur 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
  libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc
  libmagic1 libncurses5-dev libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev
  libpipeline1 libsigsegv2 libtinfo-dev libtool libunistring0 libxml2 m4
  man-db po-debconf sbuild-build-depends-nast-dummy
0 upgraded, 36 newly installed, 0 to remove and 10 not upgraded.
Need to get 19.8 MB of archives.
After this operation, 67.1 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-jkawqv/apt_archive ./ sbuild-build-depends-nast-dummy 0.invalid.0 [790 B]
Get:2 http://172.17.0.1/private stretch-staging/main armhf groff-base armhf 1.22.3-8 [1087 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf libbsd0 armhf 0.8.3-1 [89.0 kB]
Get:4 http://172.17.0.1/private stretch-staging/main armhf bsdmainutils armhf 9.0.11 [177 kB]
Get:5 http://172.17.0.1/private stretch-staging/main armhf libpipeline1 armhf 1.4.1-2 [23.7 kB]
Get:6 http://172.17.0.1/private stretch-staging/main armhf man-db armhf 2.7.5-1 [975 kB]
Get:7 http://172.17.0.1/private stretch-staging/main armhf libnet1 armhf 1.1.6+dfsg-3 [53.8 kB]
Get:8 http://172.17.0.1/private stretch-staging/main armhf libmagic-mgc armhf 1:5.28-4 [210 kB]
Get:9 http://172.17.0.1/private stretch-staging/main armhf libmagic1 armhf 1:5.28-4 [104 kB]
Get:10 http://172.17.0.1/private stretch-staging/main armhf file armhf 1:5.28-4 [62.7 kB]
Get:11 http://172.17.0.1/private stretch-staging/main armhf gettext-base armhf 0.19.8.1-1 [117 kB]
Get:12 http://172.17.0.1/private stretch-staging/main armhf libicu57 armhf 57.1-4 [7407 kB]
Get:13 http://172.17.0.1/private stretch-staging/main armhf libxml2 armhf 2.9.4+dfsg1-2 [805 kB]
Get:14 http://172.17.0.1/private stretch-staging/main armhf libsigsegv2 armhf 2.10-5 [28.4 kB]
Get:15 http://172.17.0.1/private stretch-staging/main armhf m4 armhf 1.4.17-5 [239 kB]
Get:16 http://172.17.0.1/private stretch-staging/main armhf autoconf all 2.69-10 [338 kB]
Get:17 http://172.17.0.1/private stretch-staging/main armhf autotools-dev all 20160430.1 [72.6 kB]
Get:18 http://172.17.0.1/private stretch-staging/main armhf automake all 1:1.15-4 [735 kB]
Get:19 http://172.17.0.1/private stretch-staging/main armhf autopoint all 0.19.8.1-1 [433 kB]
Get:20 http://172.17.0.1/private stretch-staging/main armhf libtool all 2.4.6-2 [545 kB]
Get:21 http://172.17.0.1/private stretch-staging/main armhf dh-autoreconf all 12 [15.8 kB]
Get:22 http://172.17.0.1/private stretch-staging/main armhf libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:23 http://172.17.0.1/private stretch-staging/main armhf libfile-stripnondeterminism-perl all 0.028-1 [14.6 kB]
Get:24 http://172.17.0.1/private stretch-staging/main armhf dh-strip-nondeterminism all 0.028-1 [9020 B]
Get:25 http://172.17.0.1/private stretch-staging/main armhf libglib2.0-0 armhf 2.50.0-1 [2520 kB]
Get:26 http://172.17.0.1/private stretch-staging/main armhf libcroco3 armhf 0.6.11-2 [131 kB]
Get:27 http://172.17.0.1/private stretch-staging/main armhf libunistring0 armhf 0.9.6+really0.9.3-0.1 [252 kB]
Get:28 http://172.17.0.1/private stretch-staging/main armhf gettext armhf 0.19.8.1-1 [1433 kB]
Get:29 http://172.17.0.1/private stretch-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:30 http://172.17.0.1/private stretch-staging/main armhf po-debconf all 1.0.19 [249 kB]
Get:31 http://172.17.0.1/private stretch-staging/main armhf debhelper all 10.2.1 [827 kB]
Get:32 http://172.17.0.1/private stretch-staging/main armhf libtinfo-dev armhf 6.0+20160917-1 [65.4 kB]
Get:33 http://172.17.0.1/private stretch-staging/main armhf libncurses5-dev armhf 6.0+20160917-1 [245 kB]
Get:34 http://172.17.0.1/private stretch-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3 [111 kB]
Get:35 http://172.17.0.1/private stretch-staging/main armhf libpcap0.8 armhf 1.7.4-3 [123 kB]
Get:36 http://172.17.0.1/private stretch-staging/main armhf libpcap0.8-dev armhf 1.7.4-3 [216 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.8 MB in 2s (9436 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 14070 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-8_armhf.deb ...
Unpacking groff-base (1.22.3-8) ...
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.11_armhf.deb ...
Unpacking bsdmainutils (9.0.11) ...
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.5-1_armhf.deb ...
Unpacking man-db (2.7.5-1) ...
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.28-4_armhf.deb ...
Unpacking libmagic-mgc (1:5.28-4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.28-4_armhf.deb ...
Unpacking libmagic1:armhf (1:5.28-4) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.28-4_armhf.deb ...
Unpacking file (1:5.28-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.19.8.1-1_armhf.deb ...
Unpacking gettext-base (0.19.8.1-1) ...
Selecting previously unselected package libicu57:armhf.
Preparing to unpack .../10-libicu57_57.1-4_armhf.deb ...
Unpacking libicu57:armhf (57.1-4) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../11-libxml2_2.9.4+dfsg1-2_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-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.17-5_armhf.deb ...
Unpacking m4 (1.4.17-5) ...
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_20160430.1_all.deb ...
Unpacking autotools-dev (20160430.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../16-automake_1%3a1.15-4_all.deb ...
Unpacking automake (1:1.15-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../17-autopoint_0.19.8.1-1_all.deb ...
Unpacking autopoint (0.19.8.1-1) ...
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_12_all.deb ...
Unpacking dh-autoreconf (12) ...
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.028-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.028-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../22-dh-strip-nondeterminism_0.028-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.028-1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../23-libglib2.0-0_2.50.0-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.50.0-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../24-libcroco3_0.6.11-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.11-2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../25-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 .../26-gettext_0.19.8.1-1_armhf.deb ...
Unpacking gettext (0.19.8.1-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-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 .../28-po-debconf_1.0.19_all.deb ...
Unpacking po-debconf (1.0.19) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_10.2.1_all.deb ...
Unpacking debhelper (10.2.1) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../30-libtinfo-dev_6.0+20160917-1_armhf.deb ...
Unpacking libtinfo-dev:armhf (6.0+20160917-1) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../31-libncurses5-dev_6.0+20160917-1_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.0+20160917-1) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../32-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 .../33-libpcap0.8_1.7.4-3_armhf.deb ...
Unpacking libpcap0.8:armhf (1.7.4-3) ...
Selecting previously unselected package libpcap0.8-dev.
Preparing to unpack .../34-libpcap0.8-dev_1.7.4-3_armhf.deb ...
Unpacking libpcap0.8-dev (1.7.4-3) ...
Selecting previously unselected package sbuild-build-depends-nast-dummy.
Preparing to unpack .../35-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 libsigsegv2:armhf (2.10-5) ...
Setting up groff-base (1.22.3-8) ...
Setting up libglib2.0-0:armhf (2.50.0-1) ...
No schema files found: doing nothing.
Setting up libtinfo-dev:armhf (6.0+20160917-1) ...
Setting up gettext-base (0.19.8.1-1) ...
Setting up libpipeline1:armhf (1.4.1-2) ...
Setting up m4 (1.4.17-5) ...
Setting up libicu57:armhf (57.1-4) ...
Setting up libbsd0:armhf (0.8.3-1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-2) ...
Setting up libmagic-mgc (1:5.28-4) ...
Setting up libnet1-dev (1.1.6+dfsg-3) ...
Setting up libmagic1:armhf (1:5.28-4) ...
Setting up libcroco3:armhf (0.6.11-2) ...
Setting up libncurses5-dev:armhf (6.0+20160917-1) ...
Processing triggers for libc-bin (2.24-3) ...
Setting up autotools-dev (20160430.1) ...
Setting up libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Setting up bsdmainutils (9.0.11) ...
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-1) ...
Setting up libpcap0.8:armhf (1.7.4-3) ...
Setting up libfile-stripnondeterminism-perl (0.028-1) ...
Setting up gettext (0.19.8.1-1) ...
Setting up libpcap0.8-dev (1.7.4-3) ...
Setting up autoconf (2.69-10) ...
Setting up file (1:5.28-4) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up automake (1:1.15-4) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.7.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-2) ...
Setting up po-debconf (1.0.19) ...
Setting up dh-autoreconf (12) ...
Setting up dh-strip-nondeterminism (0.028-1) ...
Setting up debhelper (10.2.1) ...
Setting up sbuild-build-depends-nast-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-3) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 3.19.0-trunk-armmp armhf (armv7l)
Toolchain package versions: binutils_2.26.1-1 dpkg-dev_1.18.10 g++-6_6.1.1-11+rpi1 gcc-6_6.1.1-11+rpi1 libc6-dev_2.24-3 libstdc++-4.9-dev_4.9.3-14 libstdc++-6-dev_6.1.1-11+rpi1 libstdc++6_6.1.1-11+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: acl_2.2.52-3 adduser_3.115 apt_1.3 autoconf_2.69-10 automake_1:1.15-4 autopoint_0.19.8.1-1 autotools-dev_20160430.1 base-files_9.6+rpi1 base-passwd_3.5.40 bash_4.4-1 binutils_2.26.1-1 bsdmainutils_9.0.11 bsdutils_1:2.28.2-1 build-essential_12.2 bzip2_1.0.6-8 coreutils_8.25-2 cpio_2.11+dfsg-5 cpp_4:6.1.1-1 cpp-6_6.1.1-11+rpi1 dash_0.5.8-2.3 debconf_1.5.59 debfoster_2.7-2.1 debhelper_10.2.1 debianutils_4.8 dh-autoreconf_12 dh-strip-nondeterminism_0.028-1 diffutils_1:3.5-1 dirmngr_2.1.15-3 dmsetup_2:1.02.133-1 dpkg_1.18.10 dpkg-dev_1.18.10 e2fslibs_1.43.3-1 e2fsprogs_1.43.3-1 fakeroot_1.21-2 file_1:5.28-4 findutils_4.6.0+git+20160703-2 fuse2fs_1.43.3-1 g++_4:6.1.1-1 g++-6_6.1.1-11+rpi1 gcc_4:6.1.1-1 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-6_6.1.1-11+rpi1 gcc-6-base_6.1.1-11+rpi1 gettext_0.19.8.1-1 gettext-base_0.19.8.1-1 gnupg_2.1.15-3 gnupg-agent_2.1.15-3 gnupg-l10n_2.1.15-3 gpgv_2.1.15-3 grep_2.25-6 groff-base_1.22.3-8 gzip_1.6-5 hostname_3.18 init_1.45 init-system-helpers_1.45 initscripts_2.88dsf-59.8 insserv_1.14.0-5.4 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-9+rpi1 kmod_22-1.1 libacl1_2.2.52-3 libapparmor1_2.10.95-4 libapt-pkg4.12_1.0.9.10 libapt-pkg5.0_1.3 libarchive-zip-perl_1.59-1 libasan1_4.9.3-14 libasan3_6.1.1-11+rpi1 libassuan0_2.4.3-1 libatomic1_6.1.1-11+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.6.6-1 libaudit1_1:2.6.6-1 libblkid1_2.28.2-1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8 libc-bin_2.24-3 libc-dev-bin_2.24-3 libc6_2.24-3 libc6-dev_2.24-3 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcap2-bin_1:2.25-1 libcc1-0_6.1.1-11+rpi1 libcomerr2_1.43.3-1 libcroco3_0.6.11-2 libcryptsetup4_2:1.7.0-2 libdb5.3_5.3.28-12 libdbus-1-3_1.10.10-1 libdebconfclient0_0.217 libdevmapper1.02.1_2:1.02.133-1 libdpkg-perl_1.18.10 libdrm2_2.4.70-1 libfakeroot_1.21-2 libfdisk1_2.28.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.028-1 libfuse2_2.9.7-1 libgc1c2_1:7.4.2-8 libgcc-4.9-dev_4.9.3-14 libgcc-6-dev_6.1.1-11+rpi1 libgcc1_1:6.1.1-11+rpi1 libgcrypt20_1.7.3-1 libgdbm3_1.8.3-14 libglib2.0-0_2.50.0-1 libgmp10_2:6.1.1+dfsg-1 libgnutls30_3.5.4-2 libgomp1_6.1.1-11+rpi1 libgpg-error0_1.24-1 libhogweed4_3.2-1 libicu57_57.1-4 libidn11_1.33-1 libisl15_0.17.1-1 libklibc_2.0.4-9+rpi1 libkmod2_22-1.1 libksba8_1.3.5-2 libldap-2.4-2_2.4.42+dfsg-2+rpi1+b2 liblz4-1_0.0~r131-2 liblzma5_5.1.1alpha+20120614-2.1 libmagic-mgc_1:5.28-4 libmagic1_1:5.28-4 libmount1_2.28.2-1 libmpc3_1.0.3-1 libmpfr4_3.1.4-2 libncurses5_6.0+20160917-1 libncurses5-dev_6.0+20160917-1 libncursesw5_6.0+20160917-1 libnet1_1.1.6+dfsg-3 libnet1-dev_1.1.6+dfsg-3 libnettle6_3.2-1 libnpth0_1.2-3 libp11-kit0_0.23.2-5 libpam-modules_1.1.8-3.3 libpam-modules-bin_1.1.8-3.3 libpam-runtime_1.1.8-3.3 libpam0g_1.1.8-3.3 libpcap0.8_1.7.4-3 libpcap0.8-dev_1.7.4-3 libpcre3_2:8.39-2 libperl5.24_5.24.1~rc3-3 libpipeline1_1.4.1-2 libpng12-0_1.2.54-6 libprocps3_2:3.3.9-9 libprocps6_2:3.3.12-2 libreadline6_6.3-8+b3 libsasl2-2_2.1.26.dfsg1-15 libsasl2-modules_2.1.26.dfsg1-15 libsasl2-modules-db_2.1.26.dfsg1-15 libseccomp2_2.3.1-2 libselinux1_2.5-3 libsemanage-common_2.5-1 libsemanage1_2.5-1 libsepol1_2.5-1 libsigsegv2_2.10-5 libslang2_2.3.0-3+b1 libsmartcols1_2.28.2-1 libsqlite3-0_3.14.2-1 libss2_1.43.3-1 libssl1.0.2_1.0.2j-1 libstdc++-4.9-dev_4.9.3-14 libstdc++-6-dev_6.1.1-11+rpi1 libstdc++6_6.1.1-11+rpi1 libsystemd0_231-4 libtasn1-6_4.9-4 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20160917-1 libtinfo5_6.0+20160917-1 libtool_2.4.6-2 libubsan0_6.1.1-11+rpi1 libudev1_231-4 libunistring0_0.9.6+really0.9.3-0.1 libusb-0.1-4_2:0.1.12-30 libustr-1.0-1_1.0.4-5 libuuid1_2.28.2-1 libxml2_2.9.4+dfsg1-2 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.2-3.2 lsb-base_9.20160629+rpi1 m4_1.4.17-5 make_4.1-9 makedev_2.3.1-93 man-db_2.7.5-1 manpages_4.07-1 mawk_1.3.3-17 mount_2.28.2-1 multiarch-support_2.24-3 nano_2.7.0-1 ncurses-base_6.0+20160917-1 ncurses-bin_6.0+20160917-1 passwd_1:4.2-3.2 patch_2.7.5-1 perl_5.24.1~rc3-3 perl-base_5.24.1~rc3-3 perl-modules-5.24_5.24.1~rc3-3 pinentry-curses_0.9.7-5 po-debconf_1.0.19 procps_2:3.3.12-2 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-nast-dummy_0.invalid.0 sed_4.2.2-8 sensible-utils_0.0.9 startpar_0.59-3.1 systemd_231-4 systemd-sysv_231-4 sysv-rc_2.88dsf-59.8 sysvinit-utils_2.88dsf-59.8 tar_1.29b-1 tzdata_2016g-1 udev_231-4 util-linux_2.28.2-1 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Tue Sep 27 22:15:47 2016 UTC
gpgv:                using RSA key 4B043FCDB9444540
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./nast_0.2.0-6.1.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-6.1.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 disc 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=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-7a5eb014-c2bd-4bec-889c-2c2051ea2688
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

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

dpkg-buildpackage: info: source package nast
dpkg-buildpackage: info: source version 0.2.0-6.1
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 ...... : armv7l unknown
O.S. .......... : Linux 3.19.0-trunk-armmp (bm-wb-02)
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:275:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:275:5: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:275:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 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:349:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 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
 fakeroot debian/rules binary-arch
dh binary-arch
   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
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-6.1_armhf.deb'.
dpkg-deb: building package 'nast' in '../nast_0.2.0-6.1_armhf.deb'.
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../nast_0.2.0-6.1_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 2016-10-08T14:19:04Z

Finished
--------

I: Built successfully

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


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


nast_0.2.0-6.1_armhf.changes:
-----------------------------

Format: 1.8
Date: Tue, 27 Sep 2016 22:15:03 +0000
Source: nast
Binary: nast
Architecture: armhf
Version: 0.2.0-6.1
Distribution: stretch-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
 nast       - packet sniffer and lan analyzer
Closes: 808169 836639
Changes:
 nast (0.2.0-6.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Use HTTPS in Vcs-Git and Vcs-Browser.
   * Stop explicitly using quilt, that's already dealt by dpkg with source
     format 3.0 (quilt).
   * Remove noise from a patch to avoid it trying to patch debian/changelog.
     Closes: #808169
   * Bump debhelper compat level to 9 (so that dh_* will export dpkg buildflags).
   * Rewrite debian/rules using the dh sequencer.
   * Stop using hardening-wrapper, make use of dpkg-buildflags with
         DEB_BUILD_MAINT_OPTIONS=hardening=+all
     instead.  Closes: #836639
Checksums-Sha1:
 63dcdeb120a4aff608b5a3bb01f5d5de45f0f05f 6326 nast-dbgsym_0.2.0-6.1_armhf.deb
 d7d35adaa5f3e16ae7c4149cfed233083c5d4b80 55372 nast_0.2.0-6.1_armhf.deb
Checksums-Sha256:
 51d0fe94a225763e39b1d35eba5fd550233317dfa8b81f5b7018b2d0bea3c736 6326 nast-dbgsym_0.2.0-6.1_armhf.deb
 e6f86dd5891be41303abd7dbb7693a7f2d2d83384c6e324cb34e9b2c93a0a9ec 55372 nast_0.2.0-6.1_armhf.deb
Files:
 82b1208ddbac7354a7d6f6a352bd5693 6326 debug extra nast-dbgsym_0.2.0-6.1_armhf.deb
 d602888fbbeecfd7fe4433cf626c49c6 55372 net optional nast_0.2.0-6.1_armhf.deb

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


nast-dbgsym_0.2.0-6.1_armhf.deb
-------------------------------

 new debian package, version 2.0.
 size 6326 bytes: control archive=454 bytes.
     349 bytes,    13 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: nast-dbgsym
 Source: nast
 Version: 0.2.0-6.1
 Architecture: armhf
 Maintainer: Ryan Niebur <ryan@debian.org>
 Installed-Size: 29
 Depends: nast (= 0.2.0-6.1)
 Section: debug
 Priority: extra
 Homepage: http://nast.berlios.de/
 Description: Debug symbols for nast
 Auto-Built-Package: debug-symbols
 Build-Ids: 7e0dec2f3fdff974dc0bc1bb503a917b1cace6e4

drwxr-xr-x root/root         0 2016-09-27 22:15 ./
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/lib/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/lib/debug/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/lib/debug/.build-id/7e/
-rw-r--r-- root/root     18944 2016-09-27 22:15 ./usr/lib/debug/.build-id/7e/0dec2f3fdff974dc0bc1bb503a917b1cace6e4.debug
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/share/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/share/doc/
lrwxrwxrwx root/root         0 2016-09-27 22:15 ./usr/share/doc/nast-dbgsym -> nast


nast_0.2.0-6.1_armhf.deb
------------------------

 new debian package, version 2.0.
 size 55372 bytes: control archive=1059 bytes.
    1108 bytes,    30 lines      control              
     430 bytes,     7 lines      md5sums              
 Package: nast
 Version: 0.2.0-6.1
 Architecture: armhf
 Maintainer: Ryan Niebur <ryan@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 2016-09-27 22:15 ./
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/bin/
-rwxr-xr-x root/root    112700 2016-09-27 22:15 ./usr/bin/nast
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/share/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/share/doc/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./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      1609 2016-09-27 22:15 ./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 2016-09-27 22:15 ./usr/share/man/
drwxr-xr-x root/root         0 2016-09-27 22:15 ./usr/share/man/man8/
-rw-r--r-- root/root      8249 2016-09-27 22:15 ./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: 2248
Build-Time: 82
Distribution: stretch-staging
Host Architecture: armhf
Install-Time: 224
Job: nast_0.2.0-6.1
Machine Architecture: armhf
Package: nast
Package-Time: 350
Source-Version: 0.2.0-6.1
Space: 2248
Status: successful
Version: 0.2.0-6.1
--------------------------------------------------------------------------------
Finished at 2016-10-08T14:19:04Z
Build needed 00:05:50, 2248k disc space