Raspbian Package Auto-Building

Build log for nast (0.2.0-9) on armhf

nast0.2.0-9armhf → 2021-11-04 07:11:04

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on testwandboard

+==============================================================================+
| nast 0.2.0-9 (armhf)                         Thu, 04 Nov 2021 07:03:56 +0000 |
+==============================================================================+

Package: nast
Version: 0.2.0-9
Source Version: 0.2.0-9
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bookworm-staging-armhf-sbuild-17be7672-0b98-4815-aea2-f5454ff70abe' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private bookworm-staging/main Sources [12.5 MB]
Get:3 http://172.17.0.1/private bookworm-staging/main armhf Packages [13.4 MB]
Fetched 25.9 MB in 32s (820 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://salsa.debian.org/debian/nast.git
Please use:
git clone https://salsa.debian.org/debian/nast.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 172 kB of source archives.
Get:1 http://172.17.0.1/private bookworm-staging/main nast 0.2.0-9 (dsc) [1846 B]
Get:2 http://172.17.0.1/private bookworm-staging/main nast 0.2.0-9 (tar) [148 kB]
Get:3 http://172.17.0.1/private bookworm-staging/main nast 0.2.0-9 (diff) [22.3 kB]
Fetched 172 kB in 0s (488 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/nast-09F5KU/nast-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/nast-09F5KU' 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-cSqyjJ/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-cSqyjJ/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-cSqyjJ/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: 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 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: 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-cSqyjJ/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Packages [432 B]
Fetched 2108 B in 1s (2846 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 package was automatically installed and is no longer required:
  netbase
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (22.3 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12500 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-compat (= 10), libnet1-dev, libpcap0.8-dev, libncurses5-dev
Filtered Build-Depends: debhelper-compat (= 10), libnet1-dev, libpcap0.8-dev, libncurses5-dev
dpkg-deb: building package 'sbuild-build-depends-nast-dummy' in '/<<BUILDDIR>>/resolver-cSqyjJ/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-cSqyjJ/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Sources [511 B]
Get:5 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ Packages [592 B]
Fetched 2436 B in 1s (3118 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 package was automatically installed and is no longer required:
  netbase
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdbus-1-3 libdbus-1-dev
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0
  libicu67 libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6
  libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db pkg-config
  po-debconf sensible-utils
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx dbus libarchive-cpio-perl libglib2.0-data
  shared-mime-info xdg-user-dirs libgpm2 libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdbus-1-3 libdbus-1-dev
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0
  libicu67 libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6
  libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db pkg-config
  po-debconf sbuild-build-depends-nast-dummy sensible-utils
0 upgraded, 43 newly installed, 0 to remove and 1 not upgraded.
Need to get 20.1 MB of archives.
After this operation, 73.4 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-cSqyjJ/apt_archive ./ sbuild-build-depends-nast-dummy 0.invalid.0 [876 B]
Get:2 http://172.17.0.1/private bookworm-staging/main armhf bsdextrautils armhf 2.37.2-4 [135 kB]
Get:3 http://172.17.0.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:4 http://172.17.0.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-7 [793 kB]
Get:5 http://172.17.0.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.3-1 [29.9 kB]
Get:6 http://172.17.0.1/private bookworm-staging/main armhf man-db armhf 2.9.4-2 [1307 kB]
Get:7 http://172.17.0.1/private bookworm-staging/main armhf sensible-utils all 0.0.17 [21.5 kB]
Get:8 http://172.17.0.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB]
Get:9 http://172.17.0.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.39-3 [117 kB]
Get:10 http://172.17.0.1/private bookworm-staging/main armhf file armhf 1:5.39-3 [68.0 kB]
Get:11 http://172.17.0.1/private bookworm-staging/main armhf gettext-base armhf 0.21-4 [171 kB]
Get:12 http://172.17.0.1/private bookworm-staging/main armhf libsigsegv2 armhf 2.13-1 [34.3 kB]
Get:13 http://172.17.0.1/private bookworm-staging/main armhf m4 armhf 1.4.18-5 [186 kB]
Get:14 http://172.17.0.1/private bookworm-staging/main armhf autoconf all 2.71-2 [343 kB]
Get:15 http://172.17.0.1/private bookworm-staging/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB]
Get:16 http://172.17.0.1/private bookworm-staging/main armhf automake all 1:1.16.5-1 [823 kB]
Get:17 http://172.17.0.1/private bookworm-staging/main armhf autopoint all 0.21-4 [510 kB]
Get:18 http://172.17.0.1/private bookworm-staging/main armhf libdebhelper-perl all 13.5.2 [192 kB]
Get:19 http://172.17.0.1/private bookworm-staging/main armhf libtool all 2.4.6-15 [513 kB]
Get:20 http://172.17.0.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:21 http://172.17.0.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:22 http://172.17.0.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:23 http://172.17.0.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.12.0-2 [26.3 kB]
Get:24 http://172.17.0.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.12.0-2 [15.5 kB]
Get:25 http://172.17.0.1/private bookworm-staging/main armhf libelf1 armhf 0.185-2 [168 kB]
Get:26 http://172.17.0.1/private bookworm-staging/main armhf dwz armhf 0.14-1 [83.0 kB]
Get:27 http://172.17.0.1/private bookworm-staging/main armhf libicu67 armhf 67.1-7 [8291 kB]
Get:28 http://172.17.0.1/private bookworm-staging/main armhf libxml2 armhf 2.9.12+dfsg-5 [584 kB]
Get:29 http://172.17.0.1/private bookworm-staging/main armhf gettext armhf 0.21-4 [1215 kB]
Get:30 http://172.17.0.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:31 http://172.17.0.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:32 http://172.17.0.1/private bookworm-staging/main armhf debhelper all 13.5.2 [1056 kB]
Get:33 http://172.17.0.1/private bookworm-staging/main armhf libdbus-1-3 armhf 1.12.20-3 [195 kB]
Get:34 http://172.17.0.1/private bookworm-staging/main armhf libglib2.0-0 armhf 2.70.0-3 [1209 kB]
Get:35 http://172.17.0.1/private bookworm-staging/main armhf pkg-config armhf 0.29.2-1 [61.5 kB]
Get:36 http://172.17.0.1/private bookworm-staging/main armhf libdbus-1-dev armhf 1.12.20-3 [225 kB]
Get:37 http://172.17.0.1/private bookworm-staging/main armhf libncurses6 armhf 6.2+20201114-4 [79.7 kB]
Get:38 http://172.17.0.1/private bookworm-staging/main armhf libncurses-dev armhf 6.2+20201114-4 [288 kB]
Get:39 http://172.17.0.1/private bookworm-staging/main armhf libncurses5-dev armhf 6.2+20201114-4 [940 B]
Get:40 http://172.17.0.1/private bookworm-staging/main armhf libnet1 armhf 1.1.6+dfsg-3.1 [53.9 kB]
Get:41 http://172.17.0.1/private bookworm-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3.1 [111 kB]
Get:42 http://172.17.0.1/private bookworm-staging/main armhf libpcap0.8 armhf 1.10.1-4 [143 kB]
Get:43 http://172.17.0.1/private bookworm-staging/main armhf libpcap0.8-dev armhf 1.10.1-4 [258 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 20.1 MB in 8s (2415 kB/s)
Selecting previously unselected package bsdextrautils.
(Reading database ... 12500 files and directories currently installed.)
Preparing to unpack .../00-bsdextrautils_2.37.2-4_armhf.deb ...
Unpacking bsdextrautils (2.37.2-4) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-7_armhf.deb ...
Unpacking groff-base (1.22.4-7) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.3-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.9.4-2_armhf.deb ...
Unpacking man-db (2.9.4-2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../05-sensible-utils_0.0.17_all.deb ...
Unpacking sensible-utils (0.0.17) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.39-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.39-3_armhf.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-4_armhf.deb ...
Unpacking gettext-base (0.21-4) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../10-libsigsegv2_2.13-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.13-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.18-5_armhf.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.5-1_all.deb ...
Unpacking automake (1:1.16.5-1) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.21-4_all.deb ...
Unpacking autopoint (0.21-4) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../16-libdebhelper-perl_13.5.2_all.deb ...
Unpacking libdebhelper-perl (13.5.2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.6-15_all.deb ...
Unpacking libtool (2.4.6-15) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.12.0-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-2_all.deb ...
Unpacking dh-strip-nondeterminism (1.12.0-2) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../23-libelf1_0.185-2_armhf.deb ...
Unpacking libelf1:armhf (0.185-2) ...
Selecting previously unselected package dwz.
Preparing to unpack .../24-dwz_0.14-1_armhf.deb ...
Unpacking dwz (0.14-1) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../25-libicu67_67.1-7_armhf.deb ...
Unpacking libicu67:armhf (67.1-7) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../26-libxml2_2.9.12+dfsg-5_armhf.deb ...
Unpacking libxml2:armhf (2.9.12+dfsg-5) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.21-4_armhf.deb ...
Unpacking gettext (0.21-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_13.5.2_all.deb ...
Unpacking debhelper (13.5.2) ...
Selecting previously unselected package libdbus-1-3:armhf.
Preparing to unpack .../31-libdbus-1-3_1.12.20-3_armhf.deb ...
Unpacking libdbus-1-3:armhf (1.12.20-3) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../32-libglib2.0-0_2.70.0-3_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.70.0-3) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../33-pkg-config_0.29.2-1_armhf.deb ...
Unpacking pkg-config (0.29.2-1) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../34-libdbus-1-dev_1.12.20-3_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.12.20-3) ...
Selecting previously unselected package libncurses6:armhf.
Preparing to unpack .../35-libncurses6_6.2+20201114-4_armhf.deb ...
Unpacking libncurses6:armhf (6.2+20201114-4) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../36-libncurses-dev_6.2+20201114-4_armhf.deb ...
Unpacking libncurses-dev:armhf (6.2+20201114-4) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../37-libncurses5-dev_6.2+20201114-4_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.2+20201114-4) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../38-libnet1_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../39-libnet1-dev_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3.1) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../40-libpcap0.8_1.10.1-4_armhf.deb ...
Unpacking libpcap0.8:armhf (1.10.1-4) ...
Selecting previously unselected package libpcap0.8-dev:armhf.
Preparing to unpack .../41-libpcap0.8-dev_1.10.1-4_armhf.deb ...
Unpacking libpcap0.8-dev:armhf (1.10.1-4) ...
Selecting previously unselected package sbuild-build-depends-nast-dummy.
Preparing to unpack .../42-sbuild-build-depends-nast-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-nast-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.5.3-1) ...
Setting up bsdextrautils (2.37.2-4) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up libicu67:armhf (67.1-7) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:armhf (2.70.0-3) ...
No schema files found: doing nothing.
Setting up libdebhelper-perl (13.5.2) ...
Setting up libmagic1:armhf (1:5.39-3) ...
Setting up gettext-base (0.21-4) ...
Setting up file (1:5.39-3) ...
Setting up libnet1:armhf (1.1.6+dfsg-3.1) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libncurses6:armhf (6.2+20201114-4) ...
Setting up libdbus-1-3:armhf (1.12.20-3) ...
Setting up libsigsegv2:armhf (2.13-1) ...
Setting up autopoint (0.21-4) ...
Setting up pkg-config (0.29.2-1) ...
Setting up sensible-utils (0.0.17) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libelf1:armhf (0.185-2) ...
Setting up libxml2:armhf (2.9.12+dfsg-5) ...
Setting up libfile-stripnondeterminism-perl (1.12.0-2) ...
Setting up libncurses-dev:armhf (6.2+20201114-4) ...
Setting up gettext (0.21-4) ...
Setting up libtool (2.4.6-15) ...
Setting up libnet1-dev (1.1.6+dfsg-3.1) ...
Setting up m4 (1.4.18-5) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libpcap0.8:armhf (1.10.1-4) ...
Setting up libdbus-1-dev:armhf (1.12.20-3) ...
Setting up autoconf (2.71-2) ...
Setting up dh-strip-nondeterminism (1.12.0-2) ...
Setting up dwz (0.14-1) ...
Setting up groff-base (1.22.4-7) ...
Setting up libncurses5-dev:armhf (6.2+20201114-4) ...
Setting up automake (1:1.16.5-1) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpcap0.8-dev:armhf (1.10.1-4) ...
Setting up man-db (2.9.4-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up dh-autoreconf (20) ...
Setting up debhelper (13.5.2) ...
Setting up sbuild-build-depends-nast-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.32-4+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.9.0-0.bpo.6-armmp armhf (armv7l)
Toolchain package versions: binutils_2.37-5+rpi1 dpkg-dev_1.20.9+rpi1 g++-10_10.3.0-11+rpi1 gcc-10_10.3.0-11+rpi1 libc6-dev_2.32-4+rpi1 libstdc++-10-dev_10.3.0-11+rpi1 libstdc++6_11.2.0-10+rpi1 linux-libc-dev_5.14.9-2+rpi1
Package versions: adduser_3.118 apt_2.3.11 autoconf_2.71-2 automake_1:1.16.5-1 autopoint_0.21-4 autotools-dev_20180224.1+nmu1 base-files_12+rpi1 base-passwd_3.5.52 bash_5.1-3 binutils_2.37-5+rpi1 binutils-arm-linux-gnueabihf_2.37-5+rpi1 binutils-common_2.37-5+rpi1 bsdextrautils_2.37.2-4 bsdutils_1:2.37.2-4 build-essential_12.9 bzip2_1.0.8-4 coreutils_8.32-4 cpp_4:10.2.1-1+rpi1 cpp-10_10.3.0-11+rpi1 dash_0.5.11+git20210903+057cd650a4ed-1 debconf_1.5.78 debhelper_13.5.2 debianutils_4.11.2 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-2 diffutils_1:3.7-5 dirmngr_2.2.27-2 dpkg_1.20.9+rpi1 dpkg-dev_1.20.9+rpi1 dwz_0.14-1 e2fsprogs_1.46.4-1 fakeroot_1.25.3-1.1 file_1:5.39-3 findutils_4.8.0-1 g++_4:10.2.1-1+rpi1 g++-10_10.3.0-11+rpi1 gcc_4:10.2.1-1+rpi1 gcc-10_10.3.0-11+rpi1 gcc-10-base_10.3.0-11+rpi1 gcc-11-base_11.2.0-10+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-4 gettext-base_0.21-4 gnupg_2.2.27-2 gnupg-l10n_2.2.27-2 gnupg-utils_2.2.27-2 gpg_2.2.27-2 gpg-agent_2.2.27-2 gpg-wks-client_2.2.27-2 gpg-wks-server_2.2.27-2 gpgconf_2.2.27-2 gpgsm_2.2.27-2 gpgv_2.2.27-2 grep_3.7-1 groff-base_1.22.4-7 gzip_1.10-4 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapt-pkg6.0_2.3.11 libarchive-zip-perl_1.68-1 libasan6_11.2.0-10+rpi1 libassuan0_2.5.5-1 libatomic1_11.2.0-10+rpi1 libattr1_1:2.5.1-1 libaudit-common_1:3.0.6-1 libaudit1_1:3.0.6-1 libbinutils_2.37-5+rpi1 libblkid1_2.37.2-4 libbz2-1.0_1.0.8-4 libc-bin_2.32-4+rpi1 libc-dev-bin_2.32-4+rpi1 libc6_2.32-4+rpi1 libc6-dev_2.32-4+rpi1 libcap-ng0_0.7.9-2.2+b1 libcap2_1:2.44-1 libcc1-0_11.2.0-10+rpi1 libcom-err2_1.46.4-1 libcrypt-dev_1:4.4.25-2 libcrypt1_1:4.4.25-2 libctf-nobfd0_2.37-5+rpi1 libctf0_2.37-5+rpi1 libdb5.3_5.3.28+dfsg1-0.8 libdbus-1-3_1.12.20-3 libdbus-1-dev_1.12.20-3 libdebconfclient0_0.260 libdebhelper-perl_13.5.2 libdpkg-perl_1.20.9+rpi1 libelf1_0.185-2 libext2fs2_1.46.4-1 libfakeroot_1.25.3-1.1 libffi8_3.4.2-3 libfile-stripnondeterminism-perl_1.12.0-2 libgcc-10-dev_10.3.0-11+rpi1 libgcc-s1_11.2.0-10+rpi1 libgcrypt20_1.9.4-3 libgdbm-compat4_1.22-1 libgdbm6_1.22-1 libglib2.0-0_2.70.0-3 libgmp10_2:6.2.1+dfsg-2 libgnutls30_3.7.2-2 libgomp1_11.2.0-10+rpi1 libgpg-error0_1.42-3 libgssapi-krb5-2_1.18.3-7 libhogweed6_3.7.3-1 libicu67_67.1-7 libidn2-0_2.3.2-2 libisl23_0.24-2 libk5crypto3_1.18.3-7 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-7 libkrb5support0_1.18.3-7 libksba8_1.6.0-2 libldap-2.4-2_2.4.59+dfsg-1 liblocale-gettext-perl_1.07-4+b1 liblz4-1_1.9.3-2 liblzma5_5.2.5-2 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmount1_2.37.2-4 libmpc3_1.2.1-1 libmpfr6_4.1.0-3 libncurses-dev_6.2+20201114-4 libncurses5-dev_6.2+20201114-4 libncurses6_6.2+20201114-4 libncursesw6_6.2+20201114-4 libnet1_1.1.6+dfsg-3.1 libnet1-dev_1.1.6+dfsg-3.1 libnettle8_3.7.3-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.24.0-5 libpam-modules_1.4.0-10 libpam-modules-bin_1.4.0-10 libpam-runtime_1.4.0-10 libpam0g_1.4.0-10 libpcap0.8_1.10.1-4 libpcap0.8-dev_1.10.1-4 libpcre2-8-0_10.36-2 libpcre3_2:8.39-13 libperl5.32_5.32.1-6 libpipeline1_1.5.3-1 libreadline8_8.1-2 libsasl2-2_2.1.27+dfsg-2.1 libsasl2-modules-db_2.1.27+dfsg-2.1 libseccomp2_2.5.2-2+rpi1 libselinux1_3.1-3 libsemanage-common_3.1-1 libsemanage1_3.1-1+b1 libsepol1_3.1-1 libsigsegv2_2.13-1 libsmartcols1_2.37.2-4 libsqlite3-0_3.36.0-2 libss2_1.46.4-1 libssl1.1_1.1.1l-1 libstdc++-10-dev_10.3.0-11+rpi1 libstdc++6_11.2.0-10+rpi1 libsub-override-perl_0.09-2 libsystemd0_249.5-1+rpi1 libtasn1-6_4.17.0-2 libtext-charwidth-perl_0.04-10+b1 libtext-iconv-perl_1.7-7+b1 libtinfo6_6.2+20201114-4 libtirpc-common_1.3.2-2 libtirpc-dev_1.3.2-2 libtirpc3_1.3.2-2 libtool_2.4.6-15 libubsan1_11.2.0-10+rpi1 libuchardet0_0.0.7-1 libudev1_249.5-1+rpi1 libunistring2_0.9.10-6 libuuid1_2.37.2-4 libxml2_2.9.12+dfsg-5 libxxhash0_0.8.0-2+rpi1 libzstd1_1.4.8+dfsg-3+rpi1 linux-libc-dev_5.14.9-2+rpi1 login_1:4.8.1-1 logsave_1.46.4-1 lsb-base_11.1.0+rpi1 m4_1.4.18-5 make_4.3-4.1 man-db_2.9.4-2 mawk_1.3.4.20200120-2 mount_2.37.2-4 ncurses-base_6.2+20201114-4 ncurses-bin_6.2+20201114-4 netbase_6.3 passwd_1:4.8.1-1 patch_2.7.6-7 perl_5.32.1-6 perl-base_5.32.1-6 perl-modules-5.32_5.32.1-6 pinentry-curses_1.1.0-4 pkg-config_0.29.2-1 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.1-2 rpcsvc-proto_1.4.2-4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-nast-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sysvinit-utils_3.00-1 tar_1.34+dfsg-1 tzdata_2021e-1 util-linux_2.37.2-4 xz-utils_5.2.5-2 zlib1g_1:1.2.11.dfsg-2

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.tfETd5kD/trustedkeys.kbx': General error
gpgv: Signature made Sat Oct 30 08:49:14 2021 UTC
gpgv:                using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08
gpgv:                issuer "anbe@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./nast_0.2.0-9.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-9.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying fix-on-some-laptops
dpkg-source: info: applying fix-manpage
dpkg-source: info: applying fix-buffer-overflows
dpkg-source: info: applying fix-minuses-in-manpage
dpkg-source: info: applying printf-literal-format
dpkg-source: info: applying configure_updates_version_0.2.0-5.2
dpkg-source: info: applying fix-hurd-build
dpkg-source: info: applying fix-array-bounds-error
dpkg-source: info: applying fix-spelling-errors
dpkg-source: info: applying gcc-10
dpkg-source: info: applying hardening
dpkg-source: info: applying mvwprintw-literal-format

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=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-17be7672-0b98-4815-aea2-f5454ff70abe
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-9
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_clean
 debian/rules build-arch
dh build-arch
   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-option-checking --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 4.9.0-0.bpo.6-armmp (testwandboard)
COMPILER ...... : gcc
CFLAGS ........ : -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2
CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2
LDFLAGS ....... : -Wl,-z,relro -Wl,-z,now
LIBS .......... : -lpthread -lmenu -lncurses -lpcap -lnet 
PREFIX ........ : /usr

NCURSES SUPPORT : yes

Type 'make' to compile or 'make help' to show accepted options.

   dh_auto_build -a
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c tcp.c -o tcp.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp.c -o icmp.o
tcp.c: In function 'handle_TCP':
tcp.c:101:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  101 |  buf = (char *) (packet + offset + size_ip + size_tcp);
      |      ^
tcp.c:106:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign]
  106 |       data_sniffo (buf, size_buf, output);
      |                    ^~~
      |                    |
      |                    u_char * {aka unsigned char *}
icmp.c: In function 'handle_ICMP':
icmp.c:206:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
  206 |  buf = (char *) (packet + size_ip + size_icmp + offset);
      |      ^
icmp.c:211:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign]
  211 |       data_sniffo (buf, size_buf, output);
      |                    ^~~
      |                    |
      |                    u_char * {aka unsigned char *}
In file included from icmp.c:20:
include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   59 | void data_sniffo (char *data, u_int l, FILE *log);
      |                   ~~~~~~^~~~
icmp.c:218:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign]
  218 |       print_ascii_hex (buf, size_buf, output);
      |                        ^~~
      |                        |
      |                        u_char * {aka unsigned char *}
In file included from icmp.c:20:
include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   60 | void print_ascii_hex (char *data_info, u_int len, FILE *log);
      |                       ~~~~~~^~~~~~~~~
icmp.c:226:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign]
  226 |       data_sniffo (buf, size_buf, ldd);
      |                    ^~~
      |                    |
      |                    u_char * {aka unsigned char *}
In file included from icmp.c:20:
include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   59 | void data_sniffo (char *data, u_int l, FILE *log);
      |                   ~~~~~~^~~~
main.c: In function 'main':
main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  309 |    if(dev == NULL) dev = pcap_lookupdev(errbuf);
      |    ^~
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from main.c:20:
/usr/include/pcap/pcap.h:394:16: note: declared here
  394 | PCAP_API char *pcap_lookupdev(char *)
      |                ^~~~~~~~~~~~~~
In file included from tcp.c:20:
include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   59 | void data_sniffo (char *data, u_int l, FILE *log);
      |                   ~~~~~~^~~~
tcp.c:112:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign]
  112 |       print_ascii_hex (buf, size_buf, output);
      |                        ^~~
      |                        |
      |                        u_char * {aka unsigned char *}
In file included from tcp.c:20:
include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   60 | void print_ascii_hex (char *data_info, u_int len, FILE *log);
      |                       ~~~~~~^~~~~~~~~
tcp.c:124:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign]
  124 |       data_sniffo (buf, size_buf, ldd);
      |                    ^~~
      |                    |
      |                    u_char * {aka unsigned char *}
main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign]
  349 |    if (flags.banner) return mport (dev, ports, flags.l);
      |                                    ^~~
      |                                    |
      |                                    char *
In file included from main.c:20:
include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   69 | int mport (u_char *dev, u_short ports[], int lg);
      |            ~~~~~~~~^~~
main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign]
  356 |    if (flags.gw) return fgw (dev);
      |                              ^~~
      |                              |
      |                              char *
In file included from main.c:20:
include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   65 | int fgw (u_char *dev);
      |          ~~~~~~~~^~~
main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign]
  357 |    if (flags.lk) return flink (dev);
      |                                ^~~
      |                                |
      |                                char *
In file included from main.c:20:
include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | int flink (u_char *dev);
      |            ~~~~~~~~^~~
In file included from tcp.c:20:
include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   59 | void data_sniffo (char *data, u_int l, FILE *log);
      |                   ~~~~~~^~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o
main.c:223:11: warning: 'L' may be used uninitialized in this function [-Wmaybe-uninitialized]
  223 |    anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c udp.c -o udp.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c prom.c -o prom.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o
udp.c: In function 'handle_UDP':
udp.c:59:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
   59 |  buf = (char *) (packet + size_ip + size_udp + offset);
      |      ^
udp.c:64:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign]
   64 |       data_sniffo (buf, size_buf, output);
      |                    ^~~
      |                    |
      |                    u_char * {aka unsigned char *}
In file included from udp.c:22:
include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   59 | void data_sniffo (char *data, u_int l, FILE *log);
      |                   ~~~~~~^~~~
udp.c:70:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign]
   70 |       print_ascii_hex (buf, size_buf, output);
      |                        ^~~
      |                        |
      |                        u_char * {aka unsigned char *}
In file included from udp.c:22:
include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   60 | void print_ascii_hex (char *data_info, u_int len, FILE *log);
      |                       ~~~~~~^~~~~~~~~
udp.c:81:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign]
   81 |       data_sniffo (buf, size_buf, ldd);
      |                    ^~~
      |                    |
      |                    u_char * {aka unsigned char *}
prom.c: In function 'psearch':
prom.c:171:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  171 |       sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]);
      |                ^~
      |                |
      |                u_char * {aka unsigned char *}
In file included from /usr/include/features.h:461,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from include/nast.h:23,
                 from prom.c:20:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
prom.c:172:88: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign]
  172 |       n_print ("princ",ln,1,lg,"%s (%s)   --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE));
      |                                                                                        ^~
      |                                                                                        |
      |                                                                                        u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from prom.c:20:
/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   34 | extern in_addr_t inet_addr (const char *__cp) __THROW;
      |                             ~~~~~~~~~~~~^~~~
In file included from udp.c:22:
include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   59 | void data_sniffo (char *data, u_int l, FILE *log);
      |                   ~~~~~~^~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c map.c -o map.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o
map.c: In function 'map_lan':
map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  117 |    if (*net != '.') return NULL; ++net;
      |    ^~
map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  117 |    if (*net != '.') return NULL; ++net;
      |                                  ^~
map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  119 |    if (*net != '.') return NULL; ++net;
      |    ^~
map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  119 |    if (*net != '.') return NULL; ++net;
      |                                  ^~
map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  121 |    if (*net != '.') return NULL; ++net;
      |    ^~
map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  121 |    if (*net != '.') return NULL; ++net;
      |                                  ^~
map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  134 |    if (*mask != '.') return NULL; ++mask;
      |    ^~
map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  134 |    if (*mask != '.') return NULL; ++mask;
      |                                   ^~
map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  136 |    if (*mask != '.') return NULL; ++mask;
      |    ^~
map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  136 |    if (*mask != '.') return NULL; ++mask;
      |                                   ^~
map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  138 |    if (*mask != '.') return NULL; ++mask;
      |    ^~
map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  138 |    if (*mask != '.') return NULL; ++mask;
      |                                   ^~
map.c:199:20: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign]
  199 |    if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
      |                    ^~~
      |                    |
      |                    char *
map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src);
      |                           ~~~~~~~~^~~~~~
map.c:209:25: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign]
  209 |         if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
      |                         ^~~
      |                         |
      |                         char *
map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src);
      |                           ~~~~~~~~^~~~~~
map.c:225:26: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign]
  225 |          if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
      |                          ^~~
      |                          |
      |                          char *
map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src);
      |                           ~~~~~~~~^~~~~~
map.c:247:24: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign]
  247 |        if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error;
      |                        ^~~
      |                        |
      |                        char *
map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src);
      |                           ~~~~~~~~^~~~~~
map.c: In function 'arpreply':
map.c:346:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  346 |       sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]);
      |                ^~
      |                |
      |                u_char * {aka unsigned char *}
In file included from /usr/include/features.h:461,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from include/nast.h:23,
                 from map.c:36:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
map.c:355:121: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign]
  355 |          n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE));
      |                                                                                                                         ^~
      |                                                                                                                         |
      |                                                                                                                         u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from map.c:36:
/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   34 | extern in_addr_t inet_addr (const char *__cp) __THROW;
      |                             ~~~~~~~~~~~~^~~~
map.c: In function 'map_lan':
map.c:150:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  150 |       fgets(r, 3, stdin);
      |       ^~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c fgw.c -o fgw.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c flink.c -o flink.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c port.c -o port.o
fgw.c: In function 'fgw':
fgw.c:39:2: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
   39 |  "66.102.11.99"
      |  ^~~~~~~~~~~~~~
fgw.c:39:2: note: (near initialization for 'extip')
fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign]
   86 |    l = libnet_init (LIBNET_LINK, dev, ebuf);
      |                                  ^~~
      |                                  |
      |                                  u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                 ~~~~~~~~~~~~^~~~~~
fgw.c:86:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign]
   86 |    l = libnet_init (LIBNET_LINK, dev, ebuf);
      |                                       ^~~~
      |                                       |
      |                                       u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                                     ~~~~~~^~~~~~~
fgw.c:92:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign]
   92 |    l = libnet_init (LIBNET_LINK, dev, ebuf);
      |                                  ^~~
      |                                  |
      |                                  u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                 ~~~~~~~~~~~~^~~~~~
fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign]
   92 |    l = libnet_init (LIBNET_LINK, dev, ebuf);
      |                                       ^~~~
      |                                       |
      |                                       u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                                     ~~~~~~^~~~~~~
fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
  101 |    if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1)
      |                                                                                                                        ^~~~~
      |                                                                                                                        |
      |                                                                                                                        u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/libnet/libnet-functions.h:227:38: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  227 | libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
      |                                ~~~~~~^~~~~~~~~
fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign]
  111 |    if ((uphost = map_lan(dev, 0, &n))==NULL)
      |                          ^~~
      |                          |
      |                          u_char * {aka unsigned char *}
In file included from fgw.c:32:
include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   63 | struct host * map_lan (char *dev, u_short mode, u_short *n);
      |                        ~~~~~~^~~
fgw.c:143:17: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign]
  143 |  pcap_lookupnet(dev,&netp,&maskp,ebuf);
      |                 ^~~
      |                 |
      |                 u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:398:29: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
      |                             ^~~~~~~~~~~~
fgw.c:143:34: warning: pointer targets in passing argument 4 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign]
  143 |  pcap_lookupnet(dev,&netp,&maskp,ebuf);
      |                                  ^~~~
      |                                  |
      |                                  u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:398:73: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
      |                                                                         ^~~~~~
fgw.c:145:27: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  145 |  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL)
      |                           ^~~
      |                           |
      |                           u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                 ^~~~~~~~~~~~
fgw.c:145:57: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  145 |  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL)
      |                                                         ^~~~
      |                                                         |
      |                                                         u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from fgw.c:32:
/usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                                              ^~~~~~
fgw.c:198:103: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  198 |     if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip)))
      |                                                                                                       ^~~~~
      |                                                                                                       |
      |                                                                                                       u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:63,
                 from include/nast.h:23,
                 from fgw.c:32:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
flink.c: In function 'flink':
flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign]
   73 |    if ((uphost = map_lan(dev, 0, &n))==NULL)
      |                          ^~~
      |                          |
      |                          u_char * {aka unsigned char *}
In file included from flink.c:22:
include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   63 | struct host * map_lan (char *dev, u_short mode, u_short *n);
      |                        ~~~~~~^~~
flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign]
   88 |    if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL)
      |                                             ^~~~~~
      |                                             |
      |                                             u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                                     ~~~~~~^~~~~~~
flink.c:116:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  116 |  sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]);
      |          ^~~~~~
      |          |
      |          u_char * {aka unsigned char *}
In file included from /usr/include/features.h:461,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
flink.c:117:123: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign]
  117 |  if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1)
      |                                                                                                                           ^~~~~~
      |                                                                                                                           |
      |                                                                                                                           u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   34 | extern in_addr_t inet_addr (const char *__cp) __THROW;
      |                             ~~~~~~~~~~~~^~~~
flink.c:131:27: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  131 |  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL)
      |                           ^~~
      |                           |
      |                           u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                 ^~~~~~~~~~~~
flink.c:131:57: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  131 |  if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL)
      |                                                         ^~~~~~
      |                                                         |
      |                                                         u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                                              ^~~~~~
flink.c:163:29: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign]
  163 |       if ((offset = (device(dev,p)))==-1) return -1;
      |                             ^~~
      |                             |
      |                             u_char * {aka unsigned char *}
In file included from flink.c:22:
include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   58 | int device (char *dev, pcap_t* descr);
      |             ~~~~~~^~~
flink.c:168:43: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign]
  168 |       if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000)
      |                                           ^~~~~~
      |                                           |
      |                                           u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   34 | extern in_addr_t inet_addr (const char *__cp) __THROW;
      |                             ~~~~~~~~~~~~^~~~
flink.c:178:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  178 |       sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]);
      |               ^~~~~~
      |               |
      |               u_char * {aka unsigned char *}
In file included from /usr/include/features.h:461,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
flink.c:180:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  180 |       sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]);
      |               ^~~~~~
      |               |
      |               u_char * {aka unsigned char *}
In file included from /usr/include/features.h:461,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
flink.c:182:28: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign]
  182 |     if ( (ip_src=inet_addr(testip)) == -1)
      |                            ^~~~~~
      |                            |
      |                            u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   34 | extern in_addr_t inet_addr (const char *__cp) __THROW;
      |                             ~~~~~~~~~~~~^~~~
flink.c:215:39: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign]
  215 |    if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL)
      |                                       ^~~
      |                                       |
      |                                       u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                 ~~~~~~~~~~~~^~~~~~
flink.c:215:44: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign]
  215 |    if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL)
      |                                            ^~~~~~
      |                                            |
      |                                            u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from flink.c:22:
/usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                                     ~~~~~~^~~~~~~
flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  247 |    if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL)
      |                             ^~~
      |                             |
      |                             u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                 ^~~~~~~~~~~~
flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  247 |    if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL)
      |                                                       ^~~~~~
      |                                                       |
      |                                                       u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from flink.c:22:
/usr/include/pcap/pcap.h:515:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                                              ^~~~~~
flink.c:291:19: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign]
  291 |  offset = (device(dev,p));
      |                   ^~~
      |                   |
      |                   u_char * {aka unsigned char *}
In file included from flink.c:22:
include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   58 | int device (char *dev, pcap_t* descr);
      |             ~~~~~~^~~
port.c: In function 'mport':
port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign]
  347 |   if ((uphost = map_lan(dev, 0, &n))==NULL)
      |                         ^~~
      |                         |
      |                         u_char * {aka unsigned char *}
In file included from port.c:20:
include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   63 | struct host * map_lan (char *dev, u_short mode, u_short *n);
      |                        ~~~~~~^~~
port.c:466:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  466 |          x = strlen(tmpbuf);
      |                     ^~~~~~
      |                     |
      |                     u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:63,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable]
  309 |    int sd, r, size, bsent,z,k,x,y;
      |                     ^~~~~
port.c: In function 'mhport':
port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign]
  615 |    if ((uphost = map_lan(dev, 0, &n))==NULL)
      |                          ^~~
      |                          |
      |                          u_char * {aka unsigned char *}
In file included from port.c:20:
include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   63 | struct host * map_lan (char *dev, u_short mode, u_short *n);
      |                        ~~~~~~^~~
port.c:635:4: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign]
  635 |    dev,                                   /* network interface */
      |    ^~~
      |    |
      |    u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:119,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   64 | libnet_init(int injection_type, const char *device, char *err_buf);
      |                                 ~~~~~~~~~~~~^~~~~~
port.c:647:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  647 |  sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]);
      |          ^~~~~~
      |          |
      |          u_char * {aka unsigned char *}
In file included from /usr/include/features.h:461,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
port.c:654:17: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign]
  654 |  pcap_lookupnet(dev,&netp,&maskp,errbuf);
      |                 ^~~
      |                 |
      |                 u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from port.c:20:
/usr/include/pcap/pcap.h:398:29: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  398 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
      |                             ^~~~~~~~~~~~
port.c:658:31: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
  658 |  if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL)
      |                               ^~~
      |                               |
      |                               u_char * {aka unsigned char *}
In file included from /usr/include/pcap.h:43,
                 from include/nast.h:24,
                 from port.c:20:
/usr/include/pcap/pcap.h:515:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  515 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
      |                                 ^~~~~~~~~~~~
port.c:665:22: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign]
  665 |  if ((offset=(device(dev,descr)))==-1) return -1;
      |                      ^~~
      |                      |
      |                      u_char * {aka unsigned char *}
In file included from port.c:20:
include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   58 | int device (char *dev, pcap_t* descr);
      |             ~~~~~~^~~
port.c:707:21: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign]
  707 |           inet_addr(testip),                                     /* destination IP */
      |                     ^~~~~~
      |                     |
      |                     u_char * {aka unsigned char *}
In file included from /usr/include/libnet.h:102,
                 from include/nast.h:23,
                 from port.c:20:
/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
   34 | extern in_addr_t inet_addr (const char *__cp) __THROW;
      |                             ~~~~~~~~~~~~^~~~
port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable]
  584 |    int linep;
      |        ^~~~~
port.c: In function 'mport':
port.c:517:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  517 |     write (sd, "\n\n", 2);
      |     ^~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c common.c -o common.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o
common.c: In function 'runcplx':
common.c:202:10: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign]
  202 |  mhport (dev,plist_p,l);
      |          ^~~
      |          |
      |          char *
In file included from common.c:24:
include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg);
      |             ~~~~~~~~^~~
common.c: In function 'n_print':
common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  295 |    int n;
      |        ^
common.c: In function 'runcplx':
common.c:62:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   62 |       fgets (buff, 50, stdin);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:73:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   73 |  fgets (buff, 50, stdin);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:79:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   79 |       fgets (buff, 50, stdin);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:90:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   90 |  fgets (buff, 50, stdin);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:115:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  115 |       fgets (buff, 50, stdin);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:124:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  124 |  fgets (buff, 50, stdin);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:132:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  132 |       fgets (buff, 50, stdin);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
common.c:142:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  142 |  fgets (buff, 50, stdin);
      |  ^~~~~~~~~~~~~~~~~~~~~~~
common.c:157:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  157 |  fgets(buff ,50 ,stdin);
      |  ^~~~~~~~~~~~~~~~~~~~~~
common.c:166:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  166 |       fgets(buff ,50 ,stdin);
      |       ^~~~~~~~~~~~~~~~~~~~~~
common.c:188:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  188 |       fgets(buff ,50 ,stdin);
      |       ^~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o
port.c:488:15: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds]
  488 |     if (banner[r-1]=='\n') banner[r-1]='\0';
      |         ~~~~~~^~~~~
port.c:305:9: note: while referencing 'banner'
  305 |    char banner[1024];
      |         ^~~~~~
port.c:488:34: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds]
  488 |     if (banner[r-1]=='\n') banner[r-1]='\0';
      |                            ~~~~~~^~~~~
port.c:305:9: note: while referencing 'banner'
  305 |    char banner[1024];
      |         ^~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o
bcount.c: In function 'bytecounting':
bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable]
  123 |    int line;
      |        ^~~~
bcount.c: In function 'n_bytecounting':
bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable]
  224 |    int line, l;
      |              ^
bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable]
  224 |    int line, l;
      |        ^~~~
error.c: In function 'w_error':
error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable]
   32 |    int n,ris;
      |          ^~~
error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable]
   32 |    int n,ris;
      |        ^
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o
ncurses/n_menu.c: In function 'nmenu':
ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable]
   97 |    int ris;
      |        ^~~
ncurses/n_menu.c: In function 'analyzer_menu':
ncurses/n_menu.c:783:14: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign]
  783 |         fgw (dev);
      |              ^~~
      |              |
      |              char *
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   65 | int fgw (u_char *dev);
      |          ~~~~~~~~^~~
ncurses/n_menu.c:944:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign]
  944 |         mhport (dev,plist_p,lr);
      |                 ^~~
      |                 |
      |                 char *
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg);
      |             ~~~~~~~~^~~
ncurses/n_menu.c:961:15: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign]
  961 |         flink(dev);
      |               ^~~
      |               |
      |               char *
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | int flink (u_char *dev);
      |            ~~~~~~~~^~~
ncurses/n_menu.c:978:15: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign]
  978 |         mport(dev,ports,lr);
      |               ^~~
      |               |
      |               char *
In file included from ncurses/n_nast.h:20,
                 from ncurses/n_menu.c:20:
ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   69 | int mport (u_char *dev, u_short ports[], int lg);
      |            ~~~~~~~~^~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o
ncurses/n_comm.c: In function 'shutdown_thread':
ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable]
  209 |    int ris,i,ret;
      |        ^~~
ncurses/n_stream.c: In function 'read_packet':
ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  120 |    data = packet = NULL;
      |         ^
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -Wl,-z,relro -Wl,-z,now -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o ncurses/n_nast.o  -lpthread -lmenu -lncurses -lpcap -lnet  

Done! Type make install from root

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -a
   create-stamp debian/debhelper-build-stamp
 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_missing -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/nast/usr/bin/nast was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'nast' in '../nast_0.2.0-9_armhf.deb'.
dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-9_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../nast_0.2.0-9_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2021-11-04T07:10:59Z

Finished
--------

I: Built successfully

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


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


nast_0.2.0-9_armhf.changes:
---------------------------

Format: 1.8
Date: Sat, 30 Oct 2021 10:47:58 +0200
Source: nast
Binary: nast nast-dbgsym
Architecture: armhf
Version: 0.2.0-9
Distribution: bookworm-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 nast       - packet sniffer and lan analyzer
Closes: 997186
Changes:
 nast (0.2.0-9) unstable; urgency=medium
 .
   * QA upload.
   * Use string literals for the format argument of mvwprintw calls.
     (Closes: #997186)
   * Switch to debhelper-compat (= 10).
   * Set Rules-Requires-Root: binary-targets.
Checksums-Sha1:
 fe2b6c75f25533bf2538d2b95dfed853a8d43740 132396 nast-dbgsym_0.2.0-9_armhf.deb
 0405b6dd22ffad26366694cee26323926b0ca9ed 5240 nast_0.2.0-9_armhf.buildinfo
 b9dc28e8e03608b95a97eb251effd6d02719bf10 55608 nast_0.2.0-9_armhf.deb
Checksums-Sha256:
 dd25f87019e4f7e03418378474e93171166dab07cd258cec9d9f6e0148c8a289 132396 nast-dbgsym_0.2.0-9_armhf.deb
 9bcbb7704831f0886306d0e9f4ebbbeba3161dbaff43514ea50cb8de611475ba 5240 nast_0.2.0-9_armhf.buildinfo
 28e62b9b90cc6fb53b0c58de84e766a8b939c3603435342e700ada5d38a8f98b 55608 nast_0.2.0-9_armhf.deb
Files:
 8b29f7e147bd41105f4c0541f703b7cf 132396 debug optional nast-dbgsym_0.2.0-9_armhf.deb
 c34d2f539f0c241ceec0507026277857 5240 net optional nast_0.2.0-9_armhf.buildinfo
 82892ca81711911faa5ad3b98cd9d663 55608 net optional nast_0.2.0-9_armhf.deb

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


nast-dbgsym_0.2.0-9_armhf.deb
-----------------------------

 new Debian package, version 2.0.
 size 132396 bytes: control archive=516 bytes.
     326 bytes,    12 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: nast-dbgsym
 Source: nast
 Version: 0.2.0-9
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 153
 Depends: nast (= 0.2.0-9)
 Section: debug
 Priority: optional
 Description: debug symbols for nast
 Build-Ids: 84890be324c7615b28d5d1fd0d30e5ec0f4f81ab

drwxr-xr-x root/root         0 2021-10-30 08:47 ./
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/lib/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/lib/debug/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/lib/debug/.build-id/84/
-rw-r--r-- root/root    146236 2021-10-30 08:47 ./usr/lib/debug/.build-id/84/890be324c7615b28d5d1fd0d30e5ec0f4f81ab.debug
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/share/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/share/doc/
lrwxrwxrwx root/root         0 2021-10-30 08:47 ./usr/share/doc/nast-dbgsym -> nast


nast_0.2.0-9_armhf.deb
----------------------

 new Debian package, version 2.0.
 size 55608 bytes: control archive=1144 bytes.
    1117 bytes,    30 lines      control              
     430 bytes,     7 lines      md5sums              
 Package: nast
 Version: 0.2.0-9
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 138
 Depends: libc6 (>= 2.28), libncurses6 (>= 6), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8), libtinfo6 (>= 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 2021-10-30 08:47 ./
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/bin/
-rwxr-xr-x root/root    112708 2021-10-30 08:47 ./usr/bin/nast
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/share/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/share/doc/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./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      1921 2021-10-30 08:47 ./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 2021-10-30 08:47 ./usr/share/doc/nast/copyright
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/share/man/
drwxr-xr-x root/root         0 2021-10-30 08:47 ./usr/share/man/man8/
-rw-r--r-- root/root      8247 2021-10-30 08:47 ./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: 3596
Build-Time: 67
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 300
Job: nast_0.2.0-9
Machine Architecture: armhf
Package: nast
Package-Time: 423
Source-Version: 0.2.0-9
Space: 3596
Status: successful
Version: 0.2.0-9
--------------------------------------------------------------------------------
Finished at 2021-11-04T07:10:59Z
Build needed 00:07:03, 3596k disc space