Raspbian Package Auto-Building

Build log for nast (0.2.0-8) on armhf

nast0.2.0-8armhf → 2021-01-24 08:38:36

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-02

+==============================================================================+
| nast 0.2.0-8 (armhf)                         Sun, 24 Jan 2021 08:31:05 +0000 |
+==============================================================================+

Package: nast
Version: 0.2.0-8
Source Version: 0.2.0-8
Distribution: bullseye-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bullseye-staging-armhf-sbuild-e25d8dcd-a453-4d88-8a5c-cfa3285a796d' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1/private bullseye-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private bullseye-staging/main Sources [12.1 MB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf Packages [13.1 MB]
Fetched 25.2 MB in 25s (1012 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

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


Check APT
---------

Checking available source versions...

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

Reading package lists...
NOTICE: 'nast' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian/nast.git
Please use:
git clone https://salsa.debian.org/debian/nast.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 171 kB of source archives.
Get:1 http://172.17.0.1/private bullseye-staging/main nast 0.2.0-8 (dsc) [1854 B]
Get:2 http://172.17.0.1/private bullseye-staging/main nast 0.2.0-8 (tar) [148 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main nast 0.2.0-8 (diff) [21.9 kB]
Fetched 171 kB in 0s (1236 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/nast-hpaPzx/nast-0.2.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/nast-hpaPzx' 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-phX1iE/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-phX1iE/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-phX1iE/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Packages [429 B]
Fetched 2105 B in 1s (2660 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:
  bsdextrautils krb5-locales libnss-nis libnss-nisplus libpam-cap netbase
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 80 not upgraded.
Need to get 848 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [848 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 848 B in 0s (22.9 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12564 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Arch check ok (armhf included in any)

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


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

Merged Build-Depends: debhelper (>= 9), libnet1-dev, libpcap0.8-dev, libncurses5-dev, autotools-dev
Filtered Build-Depends: debhelper (>= 9), libnet1-dev, libpcap0.8-dev, libncurses5-dev, autotools-dev
dpkg-deb: building package 'sbuild-build-depends-nast-dummy' in '/<<BUILDDIR>>/resolver-phX1iE/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-phX1iE/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Sources [513 B]
Get:5 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ Packages [590 B]
Fetched 2436 B in 1s (3028 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  krb5-locales libnss-nis libnss-nisplus libpam-cap netbase
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf
  dh-strip-nondeterminism dwz file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libdbus-1-3 libdbus-1-dev
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0
  libicu67 libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6
  libncursesw6 libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1
  libsigsegv2 libsub-override-perl libtinfo6 libtool libuchardet0 libxml2 m4
  man-db pkg-config po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx dbus libarchive-cpio-perl libglib2.0-data
  shared-mime-info xdg-user-dirs libgpm2 libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf
  dh-strip-nondeterminism dwz file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libdbus-1-3 libdbus-1-dev
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0
  libicu67 libmagic-mgc libmagic1 libncurses-dev libncurses5-dev libncurses6
  libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db pkg-config
  po-debconf sbuild-build-depends-nast-dummy
The following packages will be upgraded:
  libncursesw6 libtinfo6
2 upgraded, 41 newly installed, 0 to remove and 78 not upgraded.
Need to get 20.3 MB of archives.
After this operation, 72.9 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-phX1iE/apt_archive ./ sbuild-build-depends-nast-dummy 0.invalid.0 [876 B]
Get:2 http://172.17.0.1/private bullseye-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:3 http://172.17.0.1/private bullseye-staging/main armhf groff-base armhf 1.22.4-5 [783 kB]
Get:4 http://172.17.0.1/private bullseye-staging/main armhf libpipeline1 armhf 1.5.3-1 [29.9 kB]
Get:5 http://172.17.0.1/private bullseye-staging/main armhf man-db armhf 2.9.3-2 [1269 kB]
Get:6 http://172.17.0.1/private bullseye-staging/main armhf libtinfo6 armhf 6.2+20201114-2 [328 kB]
Get:7 http://172.17.0.1/private bullseye-staging/main armhf libncursesw6 armhf 6.2+20201114-2 [105 kB]
Get:8 http://172.17.0.1/private bullseye-staging/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB]
Get:9 http://172.17.0.1/private bullseye-staging/main armhf libmagic1 armhf 1:5.39-3 [117 kB]
Get:10 http://172.17.0.1/private bullseye-staging/main armhf file armhf 1:5.39-3 [68.0 kB]
Get:11 http://172.17.0.1/private bullseye-staging/main armhf gettext-base armhf 0.21-3 [170 kB]
Get:12 http://172.17.0.1/private bullseye-staging/main armhf libsigsegv2 armhf 2.12-3 [32.4 kB]
Get:13 http://172.17.0.1/private bullseye-staging/main armhf m4 armhf 1.4.18-5 [186 kB]
Get:14 http://172.17.0.1/private bullseye-staging/main armhf autoconf all 2.69-14 [313 kB]
Get:15 http://172.17.0.1/private bullseye-staging/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB]
Get:16 http://172.17.0.1/private bullseye-staging/main armhf automake all 1:1.16.3-2 [814 kB]
Get:17 http://172.17.0.1/private bullseye-staging/main armhf autopoint all 0.21-3 [509 kB]
Get:18 http://172.17.0.1/private bullseye-staging/main armhf libtool all 2.4.6-15 [513 kB]
Get:19 http://172.17.0.1/private bullseye-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:20 http://172.17.0.1/private bullseye-staging/main armhf libdebhelper-perl all 13.3.1 [188 kB]
Get:21 http://172.17.0.1/private bullseye-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:22 http://172.17.0.1/private bullseye-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:23 http://172.17.0.1/private bullseye-staging/main armhf libfile-stripnondeterminism-perl all 1.10.0-1 [25.6 kB]
Get:24 http://172.17.0.1/private bullseye-staging/main armhf dh-strip-nondeterminism all 1.10.0-1 [15.3 kB]
Get:25 http://172.17.0.1/private bullseye-staging/main armhf libelf1 armhf 0.182-3 [162 kB]
Get:26 http://172.17.0.1/private bullseye-staging/main armhf dwz armhf 0.13+20201015-2 [162 kB]
Get:27 http://172.17.0.1/private bullseye-staging/main armhf libicu67 armhf 67.1-6 [8289 kB]
Get:28 http://172.17.0.1/private bullseye-staging/main armhf libxml2 armhf 2.9.10+dfsg-6.3 [580 kB]
Get:29 http://172.17.0.1/private bullseye-staging/main armhf gettext armhf 0.21-3 [1214 kB]
Get:30 http://172.17.0.1/private bullseye-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:31 http://172.17.0.1/private bullseye-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:32 http://172.17.0.1/private bullseye-staging/main armhf debhelper all 13.3.1 [1010 kB]
Get:33 http://172.17.0.1/private bullseye-staging/main armhf libdbus-1-3 armhf 1.12.20-1+b3 [192 kB]
Get:34 http://172.17.0.1/private bullseye-staging/main armhf libglib2.0-0 armhf 2.66.4-1 [1182 kB]
Get:35 http://172.17.0.1/private bullseye-staging/main armhf pkg-config armhf 0.29.2-1 [61.5 kB]
Get:36 http://172.17.0.1/private bullseye-staging/main armhf libdbus-1-dev armhf 1.12.20-1+b3 [223 kB]
Get:37 http://172.17.0.1/private bullseye-staging/main armhf libncurses6 armhf 6.2+20201114-2 [79.9 kB]
Get:38 http://172.17.0.1/private bullseye-staging/main armhf libncurses-dev armhf 6.2+20201114-2 [288 kB]
Get:39 http://172.17.0.1/private bullseye-staging/main armhf libncurses5-dev armhf 6.2+20201114-2 [936 B]
Get:40 http://172.17.0.1/private bullseye-staging/main armhf libnet1 armhf 1.1.6+dfsg-3.1 [53.9 kB]
Get:41 http://172.17.0.1/private bullseye-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3.1 [111 kB]
Get:42 http://172.17.0.1/private bullseye-staging/main armhf libpcap0.8 armhf 1.10.0-2 [143 kB]
Get:43 http://172.17.0.1/private bullseye-staging/main armhf libpcap0.8-dev armhf 1.10.0-2 [258 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 20.3 MB in 2s (10.8 MB/s)
Selecting previously unselected package libuchardet0:armhf.
(Reading database ... 12564 files and directories currently installed.)
Preparing to unpack .../libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.4-5_armhf.deb ...
Unpacking groff-base (1.22.4-5) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../libpipeline1_1.5.3-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.9.3-2_armhf.deb ...
Unpacking man-db (2.9.3-2) ...
Preparing to unpack .../libtinfo6_6.2+20201114-2_armhf.deb ...
Unpacking libtinfo6:armhf (6.2+20201114-2) over (6.2+20201114-1) ...
Setting up libtinfo6:armhf (6.2+20201114-2) ...
(Reading database ... 13090 files and directories currently installed.)
Preparing to unpack .../libncursesw6_6.2+20201114-2_armhf.deb ...
Unpacking libncursesw6:armhf (6.2+20201114-2) over (6.2+20201114-1) ...
Setting up libncursesw6:armhf (6.2+20201114-2) ...
Selecting previously unselected package libmagic-mgc.
(Reading database ... 13090 files and directories currently installed.)
Preparing to unpack .../00-libmagic-mgc_1%3a5.39-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../01-libmagic1_1%3a5.39-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../02-file_1%3a5.39-3_armhf.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../03-gettext-base_0.21-3_armhf.deb ...
Unpacking gettext-base (0.21-3) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../04-libsigsegv2_2.12-3_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-3) ...
Selecting previously unselected package m4.
Preparing to unpack .../05-m4_1.4.18-5_armhf.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../06-autoconf_2.69-14_all.deb ...
Unpacking autoconf (2.69-14) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../07-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../08-automake_1%3a1.16.3-2_all.deb ...
Unpacking automake (1:1.16.3-2) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../09-autopoint_0.21-3_all.deb ...
Unpacking autopoint (0.21-3) ...
Selecting previously unselected package libtool.
Preparing to unpack .../10-libtool_2.4.6-15_all.deb ...
Unpacking libtool (2.4.6-15) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../11-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../12-libdebhelper-perl_13.3.1_all.deb ...
Unpacking libdebhelper-perl (13.3.1) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../13-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 .../14-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../15-libfile-stripnondeterminism-perl_1.10.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.10.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../16-dh-strip-nondeterminism_1.10.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.10.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../17-libelf1_0.182-3_armhf.deb ...
Unpacking libelf1:armhf (0.182-3) ...
Selecting previously unselected package dwz.
Preparing to unpack .../18-dwz_0.13+20201015-2_armhf.deb ...
Unpacking dwz (0.13+20201015-2) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../19-libicu67_67.1-6_armhf.deb ...
Unpacking libicu67:armhf (67.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../20-libxml2_2.9.10+dfsg-6.3_armhf.deb ...
Unpacking libxml2:armhf (2.9.10+dfsg-6.3) ...
Selecting previously unselected package gettext.
Preparing to unpack .../21-gettext_0.21-3_armhf.deb ...
Unpacking gettext (0.21-3) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../22-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../23-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../24-debhelper_13.3.1_all.deb ...
Unpacking debhelper (13.3.1) ...
Selecting previously unselected package libdbus-1-3:armhf.
Preparing to unpack .../25-libdbus-1-3_1.12.20-1+b3_armhf.deb ...
Unpacking libdbus-1-3:armhf (1.12.20-1+b3) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../26-libglib2.0-0_2.66.4-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.66.4-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../27-pkg-config_0.29.2-1_armhf.deb ...
Unpacking pkg-config (0.29.2-1) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../28-libdbus-1-dev_1.12.20-1+b3_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.12.20-1+b3) ...
Selecting previously unselected package libncurses6:armhf.
Preparing to unpack .../29-libncurses6_6.2+20201114-2_armhf.deb ...
Unpacking libncurses6:armhf (6.2+20201114-2) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../30-libncurses-dev_6.2+20201114-2_armhf.deb ...
Unpacking libncurses-dev:armhf (6.2+20201114-2) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../31-libncurses5-dev_6.2+20201114-2_armhf.deb ...
Unpacking libncurses5-dev:armhf (6.2+20201114-2) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../32-libnet1_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3.1) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../33-libnet1-dev_1.1.6+dfsg-3.1_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3.1) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../34-libpcap0.8_1.10.0-2_armhf.deb ...
Unpacking libpcap0.8:armhf (1.10.0-2) ...
Selecting previously unselected package libpcap0.8-dev:armhf.
Preparing to unpack .../35-libpcap0.8-dev_1.10.0-2_armhf.deb ...
Unpacking libpcap0.8-dev:armhf (1.10.0-2) ...
Selecting previously unselected package sbuild-build-depends-nast-dummy.
Preparing to unpack .../36-sbuild-build-depends-nast-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-nast-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.5.3-1) ...
Setting up libicu67:armhf (67.1-6) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:armhf (2.66.4-1) ...
No schema files found: doing nothing.
Setting up libdebhelper-perl (13.3.1) ...
Setting up libmagic1:armhf (1:5.39-3) ...
Setting up gettext-base (0.21-3) ...
Setting up file (1:5.39-3) ...
Setting up libnet1:armhf (1.1.6+dfsg-3.1) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libncurses6:armhf (6.2+20201114-2) ...
Setting up libdbus-1-3:armhf (1.12.20-1+b3) ...
Setting up libsigsegv2:armhf (2.12-3) ...
Setting up autopoint (0.21-3) ...
Setting up pkg-config (0.29.2-1) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libelf1:armhf (0.182-3) ...
Setting up libxml2:armhf (2.9.10+dfsg-6.3) ...
Setting up libfile-stripnondeterminism-perl (1.10.0-1) ...
Setting up libncurses-dev:armhf (6.2+20201114-2) ...
Setting up gettext (0.21-3) ...
Setting up libtool (2.4.6-15) ...
Setting up libnet1-dev (1.1.6+dfsg-3.1) ...
Setting up m4 (1.4.18-5) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libpcap0.8:armhf (1.10.0-2) ...
Setting up libdbus-1-dev:armhf (1.12.20-1+b3) ...
Setting up autoconf (2.69-14) ...
Setting up dh-strip-nondeterminism (1.10.0-1) ...
Setting up dwz (0.13+20201015-2) ...
Setting up groff-base (1.22.4-5) ...
Setting up libncurses5-dev:armhf (6.2+20201114-2) ...
Setting up automake (1:1.16.3-2) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpcap0.8-dev:armhf (1.10.0-2) ...
Setting up man-db (2.9.3-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up dh-autoreconf (19) ...
Setting up debhelper (13.3.1) ...
Setting up sbuild-build-depends-nast-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.31-5+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.9.0-0.bpo.6-armmp armhf (armv7l)
Toolchain package versions: binutils_2.35.1-5+rpi1 dpkg-dev_1.20.5+rpi1 g++-10_10.2.1-1+rpi1 gcc-10_10.2.1-1+rpi1 libc6-dev_2.31-5+rpi1 libstdc++-10-dev_10.2.1-1+rpi1 libstdc++6_10.2.1-1+rpi1 linux-libc-dev_5.9.6-1+rpi1+b1
Package versions: adduser_3.118 apt_2.1.12 autoconf_2.69-14 automake_1:1.16.3-2 autopoint_0.21-3 autotools-dev_20180224.1+nmu1 base-files_11+rpi1 base-passwd_3.5.48 bash_5.1-1 binutils_2.35.1-5+rpi1 binutils-arm-linux-gnueabihf_2.35.1-5+rpi1 binutils-common_2.35.1-5+rpi1 bsdextrautils_2.36.1-2 bsdutils_1:2.36.1-2 build-essential_12.8 bzip2_1.0.8-4 coreutils_8.32-4 cpp_4:10.2.0-1+rpi1 cpp-10_10.2.1-1+rpi1 dash_0.5.11+git20200708+dd9ef66-5 debconf_1.5.74 debhelper_13.3.1 debianutils_4.11.2 dh-autoreconf_19 dh-strip-nondeterminism_1.10.0-1 diffutils_1:3.7-3 dirmngr_2.2.20-1 dpkg_1.20.5+rpi1 dpkg-dev_1.20.5+rpi1 dwz_0.13+20201015-2 e2fsprogs_1.45.6-1 fakeroot_1.25.3-1.1 fdisk_2.36.1-2 file_1:5.39-3 findutils_4.7.0+git20201010-2 g++_4:10.2.0-1+rpi1 g++-10_10.2.1-1+rpi1 gcc_4:10.2.0-1+rpi1 gcc-10_10.2.1-1+rpi1 gcc-10-base_10.2.1-1+rpi1 gcc-6-base_6.5.0-1+rpi3 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-5+rpi1 gettext_0.21-3 gettext-base_0.21-3 gnupg_2.2.20-1 gnupg-l10n_2.2.20-1 gnupg-utils_2.2.20-1 gpg_2.2.20-1 gpg-agent_2.2.20-1 gpg-wks-client_2.2.20-1 gpg-wks-server_2.2.20-1 gpgconf_2.2.20-1 gpgsm_2.2.20-1 gpgv_2.2.20-1 grep_3.6-1 groff-base_1.22.4-5 gzip_1.10-2 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 iputils-ping_3:20200821-2 krb5-locales_1.18.3-4 libacl1_2.2.53-8 libapt-pkg6.0_2.1.12 libarchive-zip-perl_1.68-1 libasan6_10.2.1-1+rpi1 libassuan0_2.5.3-7.1 libatomic1_10.2.1-1+rpi1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-3.1 libaudit1_1:2.8.5-3.1+b1 libbinutils_2.35.1-5+rpi1 libblkid1_2.36.1-2 libbz2-1.0_1.0.8-4 libc-bin_2.31-5+rpi1 libc-dev-bin_2.31-5+rpi1 libc6_2.31-5+rpi1 libc6-dev_2.31-5+rpi1 libcap-ng0_0.7.9-2.2+b1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_10.2.1-1+rpi1 libcom-err2_1.45.6-1 libcrypt-dev_1:4.4.17-1 libcrypt1_1:4.4.17-1 libctf-nobfd0_2.35.1-5+rpi1 libctf0_2.35.1-5+rpi1 libdb5.3_5.3.28+dfsg1-0.6 libdbus-1-3_1.12.20-1+b3 libdbus-1-dev_1.12.20-1+b3 libdebconfclient0_0.255+b1 libdebhelper-perl_13.3.1 libdpkg-perl_1.20.5+rpi1 libelf1_0.182-3 libext2fs2_1.45.6-1 libfakeroot_1.25.3-1.1 libfdisk1_2.36.1-2 libffi7_3.3-5 libfile-stripnondeterminism-perl_1.10.0-1 libgcc-10-dev_10.2.1-1+rpi1 libgcc-s1_10.2.1-1+rpi1 libgcrypt20_1.8.7-2 libgdbm-compat4_1.18.1-5.1 libgdbm6_1.18.1-5.1 libglib2.0-0_2.66.4-1 libgmp10_2:6.2.1+dfsg-1 libgnutls30_3.6.15-4 libgomp1_10.2.1-1+rpi1 libgpg-error0_1.38-2 libgssapi-krb5-2_1.18.3-4 libhogweed6_3.6-2 libicu67_67.1-6 libidn2-0_2.3.0-4 libisl23_0.23-1 libk5crypto3_1.18.3-4 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-4 libkrb5support0_1.18.3-4 libksba8_1.5.0-2 libldap-2.4-2_2.4.56+dfsg-1+rpi1+b1 libldap-common_2.4.56+dfsg-1+rpi1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmount1_2.36.1-2 libmpc3_1.2.0-1 libmpfr6_4.1.0-3 libncurses-dev_6.2+20201114-2 libncurses5-dev_6.2+20201114-2 libncurses6_6.2+20201114-2 libncursesw6_6.2+20201114-2 libnet1_1.1.6+dfsg-3.1 libnet1-dev_1.1.6+dfsg-3.1 libnettle8_3.6-2 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libnss-nis_3.1-4 libnss-nisplus_1.3-4 libp11-kit0_0.23.21-2 libpam-cap_1:2.44-1 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcap0.8_1.10.0-2 libpcap0.8-dev_1.10.0-2 libpcre2-8-0_10.36-2 libpcre3_2:8.39-13 libperl5.32_5.32.0-5 libpipeline1_1.5.3-1 libreadline8_8.1-1 libsasl2-2_2.1.27+dfsg-2 libsasl2-modules-db_2.1.27+dfsg-2 libseccomp2_2.5.0-3+rpi1 libselinux1_3.1-2+b1 libsemanage-common_3.1-1 libsemanage1_3.1-1+b1 libsepol1_3.1-1 libsigsegv2_2.12-3 libsmartcols1_2.36.1-2 libsqlite3-0_3.34.0-1 libss2_1.45.6-1 libssl1.1_1.1.1h-1 libstdc++-10-dev_10.2.1-1+rpi1 libstdc++6_10.2.1-1+rpi1 libsub-override-perl_0.09-2 libsystemd0_246.6-4+rpi1 libtasn1-6_4.16.0-2 libtinfo6_6.2+20201114-2 libtirpc-common_1.2.6-3 libtirpc-dev_1.2.6-3 libtirpc3_1.2.6-3 libtool_2.4.6-15 libubsan1_10.2.1-1+rpi1 libuchardet0_0.0.7-1 libudev1_246.6-4+rpi1 libunistring2_0.9.10-4 libuuid1_2.36.1-2 libxml2_2.9.10+dfsg-6.3 libzstd1_1.4.5+dfsg-4+rpi1 linux-libc-dev_5.9.6-1+rpi1+b1 login_1:4.8.1-1 logsave_1.45.6-1 lsb-base_11.1.0+rpi1 m4_1.4.18-5 make_4.3-4 man-db_2.9.3-2 mawk_1.3.4.20200120-2 mount_2.36.1-2 ncurses-base_6.2+20201114-1 ncurses-bin_6.2+20201114-1 netbase_6.2 passwd_1:4.8.1-1 patch_2.7.6-6 perl_5.32.0-5 perl-base_5.32.0-5 perl-modules-5.32_5.32.0-6 pinentry-curses_1.1.0-4 pkg-config_0.29.2-1 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.1-1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-nast-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sysvinit-utils_2.96-5 tar_1.32+dfsg-1+rpi1 tzdata_2020d-1 util-linux_2.36.1-2 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-2

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.AfWoXUY0/trustedkeys.kbx': General error
gpgv: Signature made Mon Jan 18 17:42:18 2021 UTC
gpgv:                using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08
gpgv:                issuer "anbe@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./nast_0.2.0-8.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-8.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

Check disc space
----------------

Sufficient free space for build

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

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bullseye-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bullseye-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bullseye-staging-armhf-sbuild-e25d8dcd-a453-4d88-8a5c-cfa3285a796d
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

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

dpkg-buildpackage: info: source package nast
dpkg-buildpackage: info: source version 0.2.0-8
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 debian/rules build-arch
dh build-arch
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config -a
   dh_auto_configure -a
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking

Please wait, I'm going to configure Nast 0.2.0

checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
configure: Found Linux, happy day!
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for libnet_name2addr4 in -lnet... yes
checking for pcap_dispatch in -lpcap... yes
checking for initscr in -lncurses... yes
checking for menu_opts_off in -lmenu... yes
checking for pthread_create in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for getopt_long... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h

Ok. I have done with all.

Results are:

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

Finished
--------

I: Built successfully

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


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


nast_0.2.0-8_armhf.changes:
---------------------------

Format: 1.8
Date: Mon, 18 Jan 2021 18:37:17 +0100
Source: nast
Binary: nast nast-dbgsym
Architecture: armhf
Version: 0.2.0-8
Distribution: bullseye-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 nast       - packet sniffer and lan analyzer
Closes: 957577
Changes:
 nast (0.2.0-8) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * QA upload.
   * Move GIT repository to salsa.
   * Append to CFLAGS, do not override.
   * Fix more typos.
 .
   [ Logan Rosen ]
   * d/p/gcc-10: Fix FTBFS with GCC 10.  (Closes: #957577)
Checksums-Sha1:
 3e75067380ab94ef2e57707d42f33e080c9b0a73 132264 nast-dbgsym_0.2.0-8_armhf.deb
 14c917425a3093b4985b1d2925f8aa0e4f11cabe 5208 nast_0.2.0-8_armhf.buildinfo
 3ddfe22006c636ec3d8c24aefc5a689073288502 55504 nast_0.2.0-8_armhf.deb
Checksums-Sha256:
 cf4094fddbdf301d3e12aba82085a812abbe96fb62c1aef58a2a318d9cea1c22 132264 nast-dbgsym_0.2.0-8_armhf.deb
 28266ebcc9cd92da12aca4d94989db5116453ede59a52129011219d56d5c6399 5208 nast_0.2.0-8_armhf.buildinfo
 169ff0063a8ef534fd14489202a79b449d7881f098bf07a112673f69b2fef4ea 55504 nast_0.2.0-8_armhf.deb
Files:
 fcc81dd05807ac902fdabb6212c38aac 132264 debug optional nast-dbgsym_0.2.0-8_armhf.deb
 e872070407013e59d3b6cdbd93443011 5208 net optional nast_0.2.0-8_armhf.buildinfo
 a300d671228ed0674a000cc166ba90a2 55504 net optional nast_0.2.0-8_armhf.deb

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


nast-dbgsym_0.2.0-8_armhf.deb
-----------------------------

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

drwxr-xr-x root/root         0 2021-01-18 17:37 ./
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/lib/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/lib/debug/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/lib/debug/.build-id/62/
-rw-r--r-- root/root    146376 2021-01-18 17:37 ./usr/lib/debug/.build-id/62/8719ce070e2e2d0a1e3297233f25029569015e.debug
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/share/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/share/doc/
lrwxrwxrwx root/root         0 2021-01-18 17:37 ./usr/share/doc/nast-dbgsym -> nast


nast_0.2.0-8_armhf.deb
----------------------

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

drwxr-xr-x root/root         0 2021-01-18 17:37 ./
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/bin/
-rwxr-xr-x root/root    112708 2021-01-18 17:37 ./usr/bin/nast
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/share/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/share/doc/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./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      1832 2021-01-18 17:37 ./usr/share/doc/nast/changelog.Debian.gz
-rw-r--r-- root/root      1739 2004-01-20 18:55 ./usr/share/doc/nast/changelog.gz
-rw-r--r-- root/root      1374 2021-01-18 17:37 ./usr/share/doc/nast/copyright
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/share/man/
drwxr-xr-x root/root         0 2021-01-18 17:37 ./usr/share/man/man8/
-rw-r--r-- root/root      8247 2021-01-18 17:37 ./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: 3576
Build-Time: 96
Distribution: bullseye-staging
Host Architecture: armhf
Install-Time: 298
Job: nast_0.2.0-8
Machine Architecture: armhf
Package: nast
Package-Time: 443
Source-Version: 0.2.0-8
Space: 3576
Status: successful
Version: 0.2.0-8
--------------------------------------------------------------------------------
Finished at 2021-01-24T08:38:28Z
Build needed 00:07:23, 3576k disc space