Raspbian Package Auto-Building

Build log for nast (0.2.0-10) on armhf

nast0.2.0-10armhf → 2022-12-03 06:31:15

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

+==============================================================================+
| nast 0.2.0-10 (armhf)                        Sat, 03 Dec 2022 06:25:44 +0000 |
+==============================================================================+

Package: nast
Version: 0.2.0-10
Source Version: 0.2.0-10
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-c0ed4a85-34c6-4643-9e3b-676f33454ae6' with '<<CHROOT>>'

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

Get:1 http://172.17.4.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private bookworm-staging/main Sources [13.5 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.3 MB]
Fetched 27.7 MB in 10s (2830 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
W: http://172.17.4.1/private/dists/bookworm-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

+------------------------------------------------------------------------------+
| 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.4.1/private bookworm-staging/main nast 0.2.0-10 (dsc) [1791 B]
Get:2 http://172.17.4.1/private bookworm-staging/main nast 0.2.0-10 (tar) [148 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main nast 0.2.0-10 (diff) [22.3 kB]
Fetched 172 kB in 0s (3921 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/nast-KRSEgQ/nast-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/nast-KRSEgQ' 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-eTKYZb/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-eTKYZb/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-eTKYZb/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Packages [432 B]
Fetched 2108 B in 0s (8693 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap libperl5.34 netbase perl-modules-5.34 sensible-utils
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 79 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-eTKYZb/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 (70.4 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 14774 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-eTKYZb/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-eTKYZb/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Sources [511 B]
Get:5 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ Packages [590 B]
Fetched 2434 B in 0s (11.6 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libpam-cap libperl5.34 netbase perl-modules-5.34
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils bsdutils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libblkid1 libdbus-1-3
  libdbus-1-dev libdebhelper-perl libelf1 libfile-stripnondeterminism-perl
  libicu72 libmagic-mgc libmagic1 libmount1 libncurses-dev libncurses5-dev
  libncurses6 libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1
  libpkgconf3 libsmartcols1 libsub-override-perl libtool libuchardet0 libuuid1
  libxml2 m4 man-db mount pkg-config pkgconf pkgconf-bin po-debconf util-linux
  util-linux-extra xml-core
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff cryptsetup-bin ncurses-doc
  libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less
  www-browser nfs-common libmail-box-perl dosfstools kbd util-linux-locales
Recommended packages:
  curl | wget | lynx dbus libarchive-cpio-perl libgpm2 libltdl-dev
  uuid-runtime 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 libicu72
  libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6 libnet1
  libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1 libpkgconf3
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db pkg-config
  pkgconf pkgconf-bin po-debconf sbuild-build-depends-nast-dummy xml-core
The following packages will be upgraded:
  bsdutils libblkid1 libmount1 libsmartcols1 libuuid1 mount util-linux
  util-linux-extra
8 upgraded, 44 newly installed, 0 to remove and 71 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 76.3 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-eTKYZb/apt_archive ./ sbuild-build-depends-nast-dummy 0.invalid.0 [876 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf bsdutils armhf 1:2.38.1-4 [83.9 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf libsmartcols1 armhf 2.38.1-4 [91.6 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf util-linux-extra armhf 2.38.1-4 [98.1 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf util-linux armhf 2.38.1-4 [1062 kB]
Get:6 http://172.17.4.1/private bookworm-staging/main armhf mount armhf 2.38.1-4 [126 kB]
Get:7 http://172.17.4.1/private bookworm-staging/main armhf libblkid1 armhf 2.38.1-4 [131 kB]
Get:8 http://172.17.4.1/private bookworm-staging/main armhf libmount1 armhf 2.38.1-4 [144 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf libuuid1 armhf 2.38.1-4 [27.1 kB]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-9 [774 kB]
Get:12 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38.1-4 [78.8 kB]
Get:13 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.7-1 [33.4 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.11.1-1 [1341 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.41-4 [295 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.41-4 [120 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.41-4 [65.8 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-10 [156 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.19-1 [260 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-2 [343 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:23 http://172.17.4.1/private bookworm-staging/main armhf autopoint all 0.21-10 [495 kB]
Get:24 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.11.1 [80.8 kB]
Get:25 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-5 [517 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:28 http://172.17.4.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-4 [9304 B]
Get:29 http://172.17.4.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.13.0-2 [19.4 kB]
Get:30 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.0-2 [8556 B]
Get:31 http://172.17.4.1/private bookworm-staging/main armhf libelf1 armhf 0.187-2+rpi2 [177 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf dwz armhf 0.14+20220924-2 [93.1 kB]
Get:33 http://172.17.4.1/private bookworm-staging/main armhf libicu72 armhf 72.1-3 [9009 kB]
Get:34 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1.1 [570 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-10 [1203 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:38 http://172.17.4.1/private bookworm-staging/main armhf debhelper all 13.11.1 [941 kB]
Get:39 http://172.17.4.1/private bookworm-staging/main armhf libdbus-1-3 armhf 1.14.4-1 [211 kB]
Get:40 http://172.17.4.1/private bookworm-staging/main armhf libpkgconf3 armhf 1.8.0-11 [30.8 kB]
Get:41 http://172.17.4.1/private bookworm-staging/main armhf pkgconf-bin armhf 1.8.0-11 [27.6 kB]
Get:42 http://172.17.4.1/private bookworm-staging/main armhf pkgconf armhf 1.8.0-11 [25.6 kB]
Get:43 http://172.17.4.1/private bookworm-staging/main armhf pkg-config armhf 1.8.0-11 [13.4 kB]
Get:44 http://172.17.4.1/private bookworm-staging/main armhf xml-core all 0.18+nmu1 [23.8 kB]
Get:45 http://172.17.4.1/private bookworm-staging/main armhf libdbus-1-dev armhf 1.14.4-1 [242 kB]
Get:46 http://172.17.4.1/private bookworm-staging/main armhf libncurses6 armhf 6.3+20220423-2 [79.6 kB]
Get:47 http://172.17.4.1/private bookworm-staging/main armhf libncurses-dev armhf 6.3+20220423-2 [289 kB]
Get:48 http://172.17.4.1/private bookworm-staging/main armhf libncurses5-dev armhf 6.3+20220423-2 [940 B]
Get:49 http://172.17.4.1/private bookworm-staging/main armhf libnet1 armhf 1.1.6+dfsg-3.2 [54.2 kB]
Get:50 http://172.17.4.1/private bookworm-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3.2 [111 kB]
Get:51 http://172.17.4.1/private bookworm-staging/main armhf libpcap0.8 armhf 1.10.1-4 [143 kB]
Get:52 http://172.17.4.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 21.2 MB in 2s (9897 kB/s)
(Reading database ... 14774 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-4_armhf.deb ...
Unpacking bsdutils (1:2.38.1-4) over (1:2.38.1-1.1) ...
Setting up bsdutils (1:2.38.1-4) ...
(Reading database ... 14774 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-4_armhf.deb ...
Unpacking libsmartcols1:armhf (2.38.1-4) over (2.38.1-1.1) ...
Setting up libsmartcols1:armhf (2.38.1-4) ...
(Reading database ... 14774 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-4_armhf.deb ...
Unpacking util-linux-extra (2.38.1-4) over (2.38.1-1.1) ...
Setting up util-linux-extra (2.38.1-4) ...
(Reading database ... 14774 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-4_armhf.deb ...
Unpacking util-linux (2.38.1-4) over (2.38.1-1.1) ...
Setting up util-linux (2.38.1-4) ...
(Reading database ... 14773 files and directories currently installed.)
Preparing to unpack .../mount_2.38.1-4_armhf.deb ...
Unpacking mount (2.38.1-4) over (2.38.1-1.1) ...
Preparing to unpack .../libblkid1_2.38.1-4_armhf.deb ...
Unpacking libblkid1:armhf (2.38.1-4) over (2.38.1-1.1) ...
Setting up libblkid1:armhf (2.38.1-4) ...
(Reading database ... 14772 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-4_armhf.deb ...
Unpacking libmount1:armhf (2.38.1-4) over (2.38.1-1.1) ...
Setting up libmount1:armhf (2.38.1-4) ...
(Reading database ... 14772 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.38.1-4_armhf.deb ...
Unpacking libuuid1:armhf (2.38.1-4) over (2.38.1-1.1) ...
Setting up libuuid1:armhf (2.38.1-4) ...
Selecting previously unselected package libuchardet0:armhf.
(Reading database ... 14771 files and directories currently installed.)
Preparing to unpack .../00-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../01-groff-base_1.22.4-9_armhf.deb ...
Unpacking groff-base (1.22.4-9) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../02-bsdextrautils_2.38.1-4_armhf.deb ...
Unpacking bsdextrautils (2.38.1-4) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.7-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.11.1-1_armhf.deb ...
Unpacking man-db (2.11.1-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.41-4_armhf.deb ...
Unpacking libmagic-mgc (1:5.41-4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../06-libmagic1_1%3a5.41-4_armhf.deb ...
Unpacking libmagic1:armhf (1:5.41-4) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.41-4_armhf.deb ...
Unpacking file (1:5.41-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.21-10_armhf.deb ...
Unpacking gettext-base (0.21-10) ...
Selecting previously unselected package m4.
Preparing to unpack .../09-m4_1.4.19-1_armhf.deb ...
Unpacking m4 (1.4.19-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../10-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../11-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../12-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../13-autopoint_0.21-10_all.deb ...
Unpacking autopoint (0.21-10) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../14-libdebhelper-perl_13.11.1_all.deb ...
Unpacking libdebhelper-perl (13.11.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../15-libtool_2.4.7-5_all.deb ...
Unpacking libtool (2.4.7-5) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../16-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../17-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 .../18-libsub-override-perl_0.09-4_all.deb ...
Unpacking libsub-override-perl (0.09-4) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.13.0-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.0-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.13.0-2_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.0-2) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../21-libelf1_0.187-2+rpi2_armhf.deb ...
Unpacking libelf1:armhf (0.187-2+rpi2) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.14+20220924-2_armhf.deb ...
Unpacking dwz (0.14+20220924-2) ...
Selecting previously unselected package libicu72:armhf.
Preparing to unpack .../23-libicu72_72.1-3_armhf.deb ...
Unpacking libicu72:armhf (72.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../24-libxml2_2.9.14+dfsg-1.1_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1.1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../25-gettext_0.21-10_armhf.deb ...
Unpacking gettext (0.21-10) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../28-debhelper_13.11.1_all.deb ...
Unpacking debhelper (13.11.1) ...
Selecting previously unselected package libdbus-1-3:armhf.
Preparing to unpack .../29-libdbus-1-3_1.14.4-1_armhf.deb ...
Unpacking libdbus-1-3:armhf (1.14.4-1) ...
Selecting previously unselected package libpkgconf3:armhf.
Preparing to unpack .../30-libpkgconf3_1.8.0-11_armhf.deb ...
Unpacking libpkgconf3:armhf (1.8.0-11) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../31-pkgconf-bin_1.8.0-11_armhf.deb ...
Unpacking pkgconf-bin (1.8.0-11) ...
Selecting previously unselected package pkgconf:armhf.
Preparing to unpack .../32-pkgconf_1.8.0-11_armhf.deb ...
Unpacking pkgconf:armhf (1.8.0-11) ...
Selecting previously unselected package pkg-config:armhf.
Preparing to unpack .../33-pkg-config_1.8.0-11_armhf.deb ...
Unpacking pkg-config:armhf (1.8.0-11) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../34-xml-core_0.18+nmu1_all.deb ...
Unpacking xml-core (0.18+nmu1) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../35-libdbus-1-dev_1.14.4-1_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.14.4-1) ...
Selecting previously unselected package libncurses6:armhf.
Preparing to unpack .../36-libncurses6_6.3+20220423-2_armhf.deb ...
Unpacking libncurses6:armhf (6.3+20220423-2) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../37-libncurses-dev_6.3+20220423-2_armhf.deb ...
Unpacking libncurses-dev:armhf (6.3+20220423-2) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../38-libncurses5-dev_6.3+20220423-2_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.3+20220423-2) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../39-libnet1_1.1.6+dfsg-3.2_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3.2) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../40-libnet1-dev_1.1.6+dfsg-3.2_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3.2) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../41-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 .../42-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 .../43-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.7-1) ...
Setting up libicu72:armhf (72.1-3) ...
Setting up bsdextrautils (2.38.1-4) ...
Setting up libmagic-mgc (1:5.41-4) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.11.1) ...
Setting up libmagic1:armhf (1:5.41-4) ...
Setting up gettext-base (0.21-10) ...
Setting up m4 (1.4.19-1) ...
Setting up file (1:5.41-4) ...
Setting up libnet1:armhf (1.1.6+dfsg-3.2) ...
Setting up autotools-dev (20220109.1) ...
Setting up libpkgconf3:armhf (1.8.0-11) ...
Setting up libncurses6:armhf (6.3+20220423-2) ...
Setting up libdbus-1-3:armhf (1.14.4-1) ...
Setting up autopoint (0.21-10) ...
Setting up pkgconf-bin (1.8.0-11) ...
Setting up autoconf (2.71-2) ...
Setting up mount (2.38.1-4) ...
Setting up xml-core (0.18+nmu1) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up libelf1:armhf (0.187-2+rpi2) ...
Setting up libxml2:armhf (2.9.14+dfsg-1.1) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.0-2) ...
Setting up libncurses-dev:armhf (6.3+20220423-2) ...
Setting up gettext (0.21-10) ...
Setting up libtool (2.4.7-5) ...
Setting up libnet1-dev (1.1.6+dfsg-3.2) ...
Setting up pkgconf:armhf (1.8.0-11) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up libpcap0.8:armhf (1.10.1-4) ...
Setting up pkg-config:armhf (1.8.0-11) ...
Setting up dh-strip-nondeterminism (1.13.0-2) ...
Setting up dwz (0.14+20220924-2) ...
Setting up groff-base (1.22.4-9) ...
Setting up libncurses5-dev:armhf (6.3+20220423-2) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.11.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (13.11.1) ...
Processing triggers for sgml-base (1.31) ...
Processing triggers for libc-bin (2.35-2+rpi1) ...
Setting up libdbus-1-dev:armhf (1.14.4-1) ...
Setting up libpcap0.8-dev:armhf (1.10.1-4) ...
Setting up sbuild-build-depends-nast-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.15.0-187-generic armhf (armv8l)
Toolchain package versions: binutils_2.39-6+rpi1 dpkg-dev_1.21.9+rpi1 g++-12_12.2.0-3+rpi1 gcc-12_12.2.0-3+rpi1 libc6-dev_2.35-2+rpi1 libstdc++-12-dev_12.2.0-3+rpi1 libstdc++6_12.2.0-3+rpi1 linux-libc-dev_5.19.6-1+rpi1
Package versions: adduser_3.129 apt_2.5.3 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-10 autotools-dev_20220109.1 base-files_12.3+rpi1 base-passwd_3.6.1 bash_5.2~rc2-2 binutils_2.39-6+rpi1 binutils-arm-linux-gnueabihf_2.39-6+rpi1 binutils-common_2.39-6+rpi1 bsdextrautils_2.38.1-4 bsdutils_1:2.38.1-4 build-essential_12.9 bzip2_1.0.8-5+b2 coreutils_9.1-1 cpp_4:12.2.0-1+rpi1 cpp-12_12.2.0-3+rpi1 dash_0.5.11+git20210903+057cd650a4ed-9 debconf_1.5.79 debhelper_13.11.1 debianutils_5.7-0.3 dh-autoreconf_20 dh-strip-nondeterminism_1.13.0-2 diffutils_1:3.8-1 dirmngr_2.2.39-1 dpkg_1.21.9+rpi1 dpkg-dev_1.21.9+rpi1 dwz_0.14+20220924-2 e2fsprogs_1.46.6~rc1-1 fakeroot_1.29-1 file_1:5.41-4 findutils_4.9.0-3 g++_4:12.2.0-1+rpi1 g++-12_12.2.0-3+rpi1 gcc_4:12.2.0-1+rpi1 gcc-12_12.2.0-3+rpi1 gcc-12-base_12.2.0-3+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-10 gettext-base_0.21-10 gnupg_2.2.39-1 gnupg-l10n_2.2.39-1 gnupg-utils_2.2.39-1 gpg_2.2.39-1 gpg-agent_2.2.39-1 gpg-wks-client_2.2.39-1 gpg-wks-server_2.2.39-1 gpgconf_2.2.39-1 gpgsm_2.2.39-1 gpgv_2.2.39-1 grep_3.7-1 groff-base_1.22.4-9 gzip_1.12-1 hostname_3.23 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.6 iputils-ping_3:20211215-1 krb5-locales_1.20-1 libacl1_2.3.1-1 libapt-pkg6.0_2.5.3 libarchive-zip-perl_1.68-1 libasan8_12.2.0-3+rpi1 libassuan0_2.5.5-4 libatomic1_12.2.0-3+rpi1 libattr1_1:2.5.1-1 libaudit-common_1:3.0.7-1.1 libaudit1_1:3.0.7-1.1 libbinutils_2.39-6+rpi1 libblkid1_2.38.1-4 libbz2-1.0_1.0.8-5+b2 libc-bin_2.35-2+rpi1 libc-dev-bin_2.35-2+rpi1 libc6_2.35-2+rpi1 libc6-dev_2.35-2+rpi1 libcap-ng0_0.8.3-1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_12.2.0-3+rpi1 libcom-err2_1.46.6~rc1-1 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libctf-nobfd0_2.39-6+rpi1 libctf0_2.39-6+rpi1 libdb5.3_5.3.28+dfsg1-0.10 libdbus-1-3_1.14.4-1 libdbus-1-dev_1.14.4-1 libdebconfclient0_0.264 libdebhelper-perl_13.11.1 libdpkg-perl_1.21.9+rpi1 libelf1_0.187-2+rpi2 libext2fs2_1.46.6~rc1-1 libfakeroot_1.29-1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-2 libgcc-12-dev_12.2.0-3+rpi1 libgcc-s1_12.2.0-3+rpi1 libgcrypt20_1.10.1-2+b2 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgmp10_2:6.2.1+dfsg1-1.1 libgnutls30_3.7.8-2 libgomp1_12.2.0-3+rpi1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.8.1-2 libicu72_72.1-3 libidn2-0_2.3.3-1 libisl23_0.25-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 libksba8_1.6.0-3 libldap-2.5-0_2.5.13+dfsg-2+rpi1 liblz4-1_1.9.4-1+rpi1 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount1_2.38.1-4 libmpc3_1.2.1-2 libmpfr6_4.1.0-3 libncurses-dev_6.3+20220423-2 libncurses5-dev_6.3+20220423-2 libncurses6_6.3+20220423-2 libncursesw6_6.3+20220423-2 libnet1_1.1.6+dfsg-3.2 libnet1-dev_1.1.6+dfsg-3.2 libnettle8_3.8.1-2 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.24.1-1 libpam-cap_1:2.44-1 libpam-modules_1.5.2-5 libpam-modules-bin_1.5.2-5 libpam-runtime_1.5.2-5 libpam0g_1.5.2-5 libpcap0.8_1.10.1-4 libpcap0.8-dev_1.10.1-4 libpcre2-8-0_10.40-1+b2 libpcre3_2:8.39-14 libperl5.34_5.34.0-5 libperl5.36_5.36.0-4 libpipeline1_1.5.7-1 libpkgconf3_1.8.0-11 libreadline8_8.2-1 libsasl2-2_2.1.28+dfsg-8 libsasl2-modules-db_2.1.28+dfsg-8 libseccomp2_2.5.4-1+rpi1 libselinux1_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol1_3.1-1 libsepol2_3.4-2 libsmartcols1_2.38.1-4 libsqlite3-0_3.39.4-1 libss2_1.46.6~rc1-1 libssl1.1_1.1.1o-1 libssl3_3.0.5-4 libstdc++-12-dev_12.2.0-3+rpi1 libstdc++6_12.2.0-3+rpi1 libsub-override-perl_0.09-4 libsystemd0_251.5-1+rpi1 libtasn1-6_4.19.0-2 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-5 libubsan1_12.2.0-3+rpi1 libuchardet0_0.0.7-1 libudev1_251.5-1+rpi1 libunistring2_1.0-2 libuuid1_2.38.1-4 libxml2_2.9.14+dfsg-1.1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.19.6-1+rpi1 login_1:4.12.3+dfsg1-1 logsave_1.46.6~rc1-1 lsb-base_11.4+rpi1 m4_1.4.19-1 make_4.3-4.1 man-db_2.11.1-1 mawk_1.3.4.20200120-3.1 mount_2.38.1-4 nano_6.4-1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 netbase_6.3 passwd_1:4.12.3+dfsg1-1 patch_2.7.6-7 perl_5.36.0-4 perl-base_5.36.0-4 perl-modules-5.34_5.34.0-5 perl-modules-5.36_5.36.0-4 pinentry-curses_1.2.0-2 pkg-config_1.8.0-11 pkgconf_1.8.0-11 pkgconf-bin_1.8.0-11 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.2-1 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 sgml-base_1.31 sysvinit-utils_3.05-6 tar_1.34+dfsg-1 tzdata_2022d-1 util-linux_2.38.1-4 util-linux-extra_2.38.1-4 xml-core_0.18+nmu1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4.1

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.rfTzu4SV/trustedkeys.kbx': General error
gpgv: Signature made Sun Nov 27 21:29:27 2022 UTC
gpgv:                using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify signature ./nast_0.2.0-10.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-10.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 disk space
----------------

Sufficient free space for build

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

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-c0ed4a85-34c6-4643-9e3b-676f33454ae6
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

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

dpkg-buildpackage: info: source package nast
dpkg-buildpackage: info: source version 0.2.0-10
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 ...... : armv8l unknown
O.S. .......... : Linux 4.15.0-187-generic (mb-lxc-02)
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
icmp.c: In function 'handle_ICMP':
icmp.c:206:13: 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);
      |             ^
tcp.c: In function 'handle_TCP':
icmp.c:211:27: 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 *}
tcp.c:101:13: 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);
      |             ^
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);
      |                   ~~~~~~^~~~
tcp.c:106:27: 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:218:31: 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 *}
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);
      |                       ~~~~~~^~~~~~~~~
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);
      |                   ~~~~~~^~~~
icmp.c:226:27: 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 *}
tcp.c:112:31: 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 *}
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);
      |                   ~~~~~~^~~~
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:27: 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 *}
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:18: note: declared here
  394 | PCAP_API char   *pcap_lookupdev(char *)
      |                  ^~~~~~~~~~~~~~
main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign]
  349 |    if (flags.banner) return mport (dev, ports, flags.l);
      |                                    ^~~
      |                                    |
      |                                    char *
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 *
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 *
include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | int flink (u_char *dev);
      |            ~~~~~~~~^~~
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:25: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized]
  223 |                  anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:77:14: note: 'L' was declared here
   77 |    libnet_t *L;
      |              ^
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
prom.c: In function 'psearch':
prom.c:171:23: 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:489,
                 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:28:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
prom.c:172:95: 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:
/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;
      |                             ~~~~~~~~~~~~^~~~
udp.c: In function 'handle_UDP':
udp.c:59:13: 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:27: 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:31: 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 *}
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:27: 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 *}
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
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
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:27: 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:32: 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:40: 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:45: 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:23: 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:489,
                 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:28:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
map.c:355:135: 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:
/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;
      |                             ~~~~~~~~~~~~^~~~
sniff.c:24:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=]
   24 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname);
      |                                                                                                                                                ~~~~~~^~~~~~
In file included from sniff.c:20:
include/nast.h:49:149: note: previously declared as an array 'char[50]'
   49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]);
      |                                                                                                                                                ~~~~~^~~~~~~~~~
sniff.c:27:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=]
   27 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname)
      |                                                                                                                                                ~~~~~~^~~~~~
include/nast.h:49:149: note: previously declared as an array 'char[50]'
   49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]);
      |                                                                                                                                                ~~~~~^~~~~~~~~~
map.c: In function 'map_lan':
map.c:150:14: 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 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':
flink.c: In function 'flink':
fgw.c:39:9: 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:9: note: (near initialization for 'extip')
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);
      |                        ~~~~~~^~~
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 *}
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:
/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);
      |                                                     ~~~~~~^~~~~~~
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 *}
/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 *}
/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 *}
/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:17: 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:489,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
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 *}
flink.c:117:130: 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 *}
/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);
      |                                ~~~~~~^~~~~~~~~
In file included from /usr/include/libnet.h:102:
/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;
      |                             ~~~~~~~~~~~~^~~~
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 *}
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:131:34: 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:
/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:64: 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 *}
/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:143:24: 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:
/usr/include/pcap/pcap.h:398:32: 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:41: 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 *}
/usr/include/pcap/pcap.h:398:76: 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:34: 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 *}
flink.c:163:36: 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 *}
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);
      |             ~~~~~~^~~
/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:64: 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 *}
/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:168:50: 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 *}
/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:29: 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 *}
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
flink.c:180:29: 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 *}
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
flink.c:182:42: 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 *}
/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;
      |                             ~~~~~~~~~~~~^~~~
fgw.c:198:117: 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:
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
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 *}
/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 *}
/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 *}
/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 *}
/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:26: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign]
  291 |         offset = (device(dev,p));
      |                          ^~~
      |                          |
      |                          u_char * {aka unsigned char *}
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:35: 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:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  407 | 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 *}
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:25: 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:
/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:17: 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:489,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'}
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
port.c:654:24: 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:
/usr/include/pcap/pcap.h:398:32: 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:38: 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 *}
/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:29: 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 *}
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:56: 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:
/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:19: 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:17: 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:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   62 |              fgets (buff, 50, stdin);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
common.c:73:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   73 |         fgets (buff, 50, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
common.c:79:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   79 |              fgets (buff, 50, stdin);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
common.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   90 |         fgets (buff, 50, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
common.c:115:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  115 |              fgets (buff, 50, stdin);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
common.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  124 |         fgets (buff, 50, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
common.c:132:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  132 |              fgets (buff, 50, stdin);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
common.c:142:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  142 |         fgets (buff, 50, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
common.c:157:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  157 |         fgets(buff ,50 ,stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~
common.c:166:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  166 |              fgets(buff ,50 ,stdin);
      |              ^~~~~~~~~~~~~~~~~~~~~~
common.c:188:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  188 |              fgets(buff ,50 ,stdin);
      |              ^~~~~~~~~~~~~~~~~~~~~~
port.c:488:29: 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:48: 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 bcount.c -o bcount.o
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:21: 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:24: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign]
  944 |                mhport (dev,plist_p,lr);
      |                        ^~~
      |                        |
      |                        char *
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:22: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign]
  961 |                flink(dev);
      |                      ^~~
      |                      |
      |                      char *
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:22: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign]
  978 |                mport(dev,ports,lr);
      |                      ^~~
      |                      |
      |                      char *
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);
      |            ~~~~~~~~^~~
ncurses/n_menu.c: In function 's_select':
ncurses/n_menu.c:1542:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress]
 1542 |              if(currfil==0)
      |                        ^~
ncurses/n_menu.c:1460:9: note: 'currfil' declared here
 1460 |    char currfil[200];
      |         ^~~~~~~
ncurses/n_menu.c: In function 'r_select':
ncurses/n_menu.c:1671:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress]
 1671 |              if(currfil==0)
      |                        ^~
ncurses/n_menu.c:1562:9: note: 'currfil' declared here
 1562 |    char currfil[200];
      |         ^~~~~~~
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
ncurses/n_nast.c: In function 'main_graph':
ncurses/n_nast.c:511:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress]
  511 |                        if(currfil==0)
      |                                  ^~
ncurses/n_nast.c:75:9: note: 'currfil' declared here
   75 |    char currfil[200];
      |         ^~~~~~~
ncurses/n_nast.c:631:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress]
  631 |                        if(currfil==0)
      |                                  ^~
ncurses/n_nast.c:75:9: note: 'currfil' declared here
   75 |    char currfil[200];
      |         ^~~~~~~
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-10_armhf.deb'.
dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-10_armhf.deb'.
 dpkg-genbuildinfo --build=any -O../nast_0.2.0-10_armhf.buildinfo
 dpkg-genchanges --build=any -mRaspbian mythic lxc autobuilder 1 <root@raspbian.org> -O../nast_0.2.0-10_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 2022-12-03T06:31:13Z

Finished
--------

I: Built successfully

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


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


nast_0.2.0-10_armhf.changes:
----------------------------

Format: 1.8
Date: Sun, 27 Nov 2022 21:28:40 +0000
Source: nast
Binary: nast nast-dbgsym
Architecture: armhf
Version: 0.2.0-10
Distribution: bookworm-staging
Urgency: medium
Maintainer: Raspbian mythic lxc autobuilder 1 <root@raspbian.org>
Changed-By: Jelmer Vernooij <jelmer@debian.org>
Description:
 nast       - packet sniffer and lan analyzer
Changes:
 nast (0.2.0-10) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Debian Janitor ]
   * Update watch file format version to 4.
   * Drop fields with obsolete URLs.
Checksums-Sha1:
 ec171a8b750a648cf29da1d567722dadb9676814 138684 nast-dbgsym_0.2.0-10_armhf.deb
 739d509809722d1db7a5b4283a771b4d15841fa3 5301 nast_0.2.0-10_armhf.buildinfo
 35c7d248702b135f0e436d67055659d55aaf6943 54024 nast_0.2.0-10_armhf.deb
Checksums-Sha256:
 65bf6c33bbbe594337642fa5aa5aa49a740b0133b771daa8d62a99820a555115 138684 nast-dbgsym_0.2.0-10_armhf.deb
 9ecac92b55194153f4812aaaf13534f94f2a9aa2be40d3f03507cad1a38a4950 5301 nast_0.2.0-10_armhf.buildinfo
 48829ba83d35c8c2d82d7b648e87c4b5b3b0cb82b0ec2dfe4695693cd02b9f38 54024 nast_0.2.0-10_armhf.deb
Files:
 3ee66f9eca465777bfd54ed124fb696f 138684 debug optional nast-dbgsym_0.2.0-10_armhf.deb
 9ddddc1e4a89445bee39551992100d55 5301 net optional nast_0.2.0-10_armhf.buildinfo
 600b03ad692e6c8e5d4e4bd26e349774 54024 net optional nast_0.2.0-10_armhf.deb

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


nast-dbgsym_0.2.0-10_armhf.deb
------------------------------

 new Debian package, version 2.0.
 size 138684 bytes: control archive=512 bytes.
     328 bytes,    12 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: nast-dbgsym
 Source: nast
 Version: 0.2.0-10
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 159
 Depends: nast (= 0.2.0-10)
 Section: debug
 Priority: optional
 Description: debug symbols for nast
 Build-Ids: 6400e700cd5422a07936db37705e626cb4e9fb8a

drwxr-xr-x root/root         0 2022-11-27 21:28 ./
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/lib/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/lib/debug/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/lib/debug/.build-id/64/
-rw-r--r-- root/root    152084 2022-11-27 21:28 ./usr/lib/debug/.build-id/64/00e700cd5422a07936db37705e626cb4e9fb8a.debug
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/share/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/share/doc/
lrwxrwxrwx root/root         0 2022-11-27 21:28 ./usr/share/doc/nast-dbgsym -> nast


nast_0.2.0-10_armhf.deb
-----------------------

 new Debian package, version 2.0.
 size 54024 bytes: control archive=1120 bytes.
    1084 bytes,    29 lines      control              
     430 bytes,     7 lines      md5sums              
 Package: nast
 Version: 0.2.0-10
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 157
 Depends: libc6 (>= 2.34), libncurses6 (>= 6), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8), libtinfo6 (>= 6)
 Section: net
 Priority: optional
 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 2022-11-27 21:28 ./
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/bin/
-rwxr-xr-x root/root    133188 2022-11-27 21:28 ./usr/bin/nast
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/share/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./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       649 2022-11-27 21:28 ./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 2022-11-27 21:28 ./usr/share/doc/nast/copyright
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/share/man/
drwxr-xr-x root/root         0 2022-11-27 21:28 ./usr/share/man/man8/
-rw-r--r-- root/root      8247 2022-11-27 21:28 ./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: 3612
Build-Time: 21
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 289
Job: nast_0.2.0-10
Machine Architecture: armhf
Package: nast
Package-Time: 329
Source-Version: 0.2.0-10
Space: 3612
Status: successful
Version: 0.2.0-10
--------------------------------------------------------------------------------
Finished at 2022-12-03T06:31:13Z
Build needed 00:05:29, 3612k disk space