Raspbian Package Auto-Building

Build log for mdk4 (4.2-2) on armhf

mdk44.2-2armhf → 2021-09-03 05:53:19

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

+==============================================================================+
| mdk4 4.2-2 (armhf)                           Fri, 03 Sep 2021 05:45:56 +0000 |
+==============================================================================+

Package: mdk4
Version: 4.2-2
Source Version: 4.2-2
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/bookworm-staging-armhf-sbuild-0fde35df-ed1c-4704-abd8-379cb5db00b5' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private bookworm-staging/main Sources [12.3 MB]
Get:3 http://172.17.0.1/private bookworm-staging/main armhf Packages [13.4 MB]
Fetched 25.7 MB in 25s (1020 kB/s)
Reading package lists...

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


Check APT
---------

Checking available source versions...

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

Reading package lists...
NOTICE: 'mdk4' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/pkg-security-team/mdk4.git
Please use:
git clone https://salsa.debian.org/pkg-security-team/mdk4.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 182 kB of source archives.
Get:1 http://172.17.0.1/private bookworm-staging/main mdk4 4.2-2 (dsc) [1918 B]
Get:2 http://172.17.0.1/private bookworm-staging/main mdk4 4.2-2 (tar) [176 kB]
Get:3 http://172.17.0.1/private bookworm-staging/main mdk4 4.2-2 (diff) [4052 B]
Fetched 182 kB in 0s (663 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/mdk4-L6Ofm2/mdk4-4.2' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/mdk4-L6Ofm2' 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-QKzQIT/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-QKzQIT/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-QKzQIT/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-QKzQIT/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release.gpg [370 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Packages [433 B]
Fetched 2109 B in 1s (2969 B/s)
Reading package lists...
W: copy:///<<BUILDDIR>>/resolver-QKzQIT/apt_archive/./Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35506D9A48F77B2E
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  netbase
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 58 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-QKzQIT/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 (23.0 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12488 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) ...

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

Arch check ok (armhf included in any)

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


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

Merged Build-Depends: debhelper-compat (= 13), libnl-3-dev, libnl-genl-3-dev, libpcap-dev, pkg-config
Filtered Build-Depends: debhelper-compat (= 13), libnl-3-dev, libnl-genl-3-dev, libpcap-dev, pkg-config
dpkg-deb: building package 'sbuild-build-depends-mdk4-dummy' in '/<<BUILDDIR>>/resolver-QKzQIT/apt_archive/sbuild-build-depends-mdk4-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-mdk4-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-QKzQIT/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release.gpg [370 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Sources [514 B]
Get:5 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Packages [598 B]
Fetched 2445 B in 1s (3444 B/s)
Reading package lists...
W: copy:///<<BUILDDIR>>/resolver-QKzQIT/apt_archive/./Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35506D9A48F77B2E
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  netbase
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdbus-1-3 libdbus-1-dev
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0
  libicu67 libmagic-mgc libmagic1 libnl-3-200 libnl-3-dev libnl-genl-3-200
  libnl-genl-3-dev libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1
  libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db
  pkg-config po-debconf sensible-utils
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff 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 libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdbus-1-3 libdbus-1-dev
  libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0
  libicu67 libmagic-mgc libmagic1 libnl-3-200 libnl-3-dev libnl-genl-3-200
  libnl-genl-3-dev libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1
  libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db
  pkg-config po-debconf sbuild-build-depends-mdk4-dummy sensible-utils
0 upgraded, 43 newly installed, 0 to remove and 58 not upgraded.
Need to get 19.8 MB of archives.
After this operation, 71.4 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-QKzQIT/apt_archive ./ sbuild-build-depends-mdk4-dummy 0.invalid.0 [880 B]
Get:2 http://172.17.0.1/private bookworm-staging/main armhf bsdextrautils armhf 2.37.2-1 [135 kB]
Get:3 http://172.17.0.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:4 http://172.17.0.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-6 [793 kB]
Get:5 http://172.17.0.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.3-1 [29.9 kB]
Get:6 http://172.17.0.1/private bookworm-staging/main armhf man-db armhf 2.9.4-2 [1307 kB]
Get:7 http://172.17.0.1/private bookworm-staging/main armhf sensible-utils all 0.0.17 [21.5 kB]
Get:8 http://172.17.0.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB]
Get:9 http://172.17.0.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.39-3 [117 kB]
Get:10 http://172.17.0.1/private bookworm-staging/main armhf file armhf 1:5.39-3 [68.0 kB]
Get:11 http://172.17.0.1/private bookworm-staging/main armhf gettext-base armhf 0.21-4 [171 kB]
Get:12 http://172.17.0.1/private bookworm-staging/main armhf libsigsegv2 armhf 2.13-1 [34.3 kB]
Get:13 http://172.17.0.1/private bookworm-staging/main armhf m4 armhf 1.4.18-5 [186 kB]
Get:14 http://172.17.0.1/private bookworm-staging/main armhf autoconf all 2.69-14 [313 kB]
Get:15 http://172.17.0.1/private bookworm-staging/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB]
Get:16 http://172.17.0.1/private bookworm-staging/main armhf automake all 1:1.16.3-2 [814 kB]
Get:17 http://172.17.0.1/private bookworm-staging/main armhf autopoint all 0.21-4 [510 kB]
Get:18 http://172.17.0.1/private bookworm-staging/main armhf libdebhelper-perl all 13.5.1 [192 kB]
Get:19 http://172.17.0.1/private bookworm-staging/main armhf libtool all 2.4.6-15 [513 kB]
Get:20 http://172.17.0.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:21 http://172.17.0.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:22 http://172.17.0.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:23 http://172.17.0.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB]
Get:24 http://172.17.0.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.12.0-1 [15.4 kB]
Get:25 http://172.17.0.1/private bookworm-staging/main armhf libelf1 armhf 0.185-2 [168 kB]
Get:26 http://172.17.0.1/private bookworm-staging/main armhf dwz armhf 0.14-1 [83.0 kB]
Get:27 http://172.17.0.1/private bookworm-staging/main armhf libicu67 armhf 67.1-7 [8291 kB]
Get:28 http://172.17.0.1/private bookworm-staging/main armhf libxml2 armhf 2.9.10+dfsg-6.7 [580 kB]
Get:29 http://172.17.0.1/private bookworm-staging/main armhf gettext armhf 0.21-4 [1215 kB]
Get:30 http://172.17.0.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:31 http://172.17.0.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:32 http://172.17.0.1/private bookworm-staging/main armhf debhelper all 13.5.1 [1056 kB]
Get:33 http://172.17.0.1/private bookworm-staging/main armhf libdbus-1-3 armhf 1.12.20-2 [193 kB]
Get:34 http://172.17.0.1/private bookworm-staging/main armhf libglib2.0-0 armhf 2.68.4-1 [1197 kB]
Get:35 http://172.17.0.1/private bookworm-staging/main armhf pkg-config armhf 0.29.2-1 [61.5 kB]
Get:36 http://172.17.0.1/private bookworm-staging/main armhf libdbus-1-dev armhf 1.12.20-2 [224 kB]
Get:37 http://172.17.0.1/private bookworm-staging/main armhf libnl-3-200 armhf 3.4.0-1 [55.0 kB]
Get:38 http://172.17.0.1/private bookworm-staging/main armhf libnl-3-dev armhf 3.4.0-1 [92.4 kB]
Get:39 http://172.17.0.1/private bookworm-staging/main armhf libnl-genl-3-200 armhf 3.4.0-1 [19.4 kB]
Get:40 http://172.17.0.1/private bookworm-staging/main armhf libnl-genl-3-dev armhf 3.4.0-1 [18.9 kB]
Get:41 http://172.17.0.1/private bookworm-staging/main armhf libpcap0.8 armhf 1.10.1-3 [143 kB]
Get:42 http://172.17.0.1/private bookworm-staging/main armhf libpcap0.8-dev armhf 1.10.1-3 [258 kB]
Get:43 http://172.17.0.1/private bookworm-staging/main armhf libpcap-dev armhf 1.10.1-3 [32.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.8 MB in 2s (10.8 MB/s)
Selecting previously unselected package bsdextrautils.
(Reading database ... 12488 files and directories currently installed.)
Preparing to unpack .../00-bsdextrautils_2.37.2-1_armhf.deb ...
Unpacking bsdextrautils (2.37.2-1) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-6_armhf.deb ...
Unpacking groff-base (1.22.4-6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.3-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.9.4-2_armhf.deb ...
Unpacking man-db (2.9.4-2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../05-sensible-utils_0.0.17_all.deb ...
Unpacking sensible-utils (0.0.17) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.39-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.39-3_armhf.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-4_armhf.deb ...
Unpacking gettext-base (0.21-4) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../10-libsigsegv2_2.13-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.13-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.18-5_armhf.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.69-14_all.deb ...
Unpacking autoconf (2.69-14) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ...
Unpacking automake (1:1.16.3-2) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.21-4_all.deb ...
Unpacking autopoint (0.21-4) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../16-libdebhelper-perl_13.5.1_all.deb ...
Unpacking libdebhelper-perl (13.5.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.6-15_all.deb ...
Unpacking libtool (2.4.6-15) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.12.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../23-libelf1_0.185-2_armhf.deb ...
Unpacking libelf1:armhf (0.185-2) ...
Selecting previously unselected package dwz.
Preparing to unpack .../24-dwz_0.14-1_armhf.deb ...
Unpacking dwz (0.14-1) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../25-libicu67_67.1-7_armhf.deb ...
Unpacking libicu67:armhf (67.1-7) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_armhf.deb ...
Unpacking libxml2:armhf (2.9.10+dfsg-6.7) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.21-4_armhf.deb ...
Unpacking gettext (0.21-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_13.5.1_all.deb ...
Unpacking debhelper (13.5.1) ...
Selecting previously unselected package libdbus-1-3:armhf.
Preparing to unpack .../31-libdbus-1-3_1.12.20-2_armhf.deb ...
Unpacking libdbus-1-3:armhf (1.12.20-2) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../32-libglib2.0-0_2.68.4-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.68.4-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../33-pkg-config_0.29.2-1_armhf.deb ...
Unpacking pkg-config (0.29.2-1) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../34-libdbus-1-dev_1.12.20-2_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.12.20-2) ...
Selecting previously unselected package libnl-3-200:armhf.
Preparing to unpack .../35-libnl-3-200_3.4.0-1_armhf.deb ...
Unpacking libnl-3-200:armhf (3.4.0-1) ...
Selecting previously unselected package libnl-3-dev:armhf.
Preparing to unpack .../36-libnl-3-dev_3.4.0-1_armhf.deb ...
Unpacking libnl-3-dev:armhf (3.4.0-1) ...
Selecting previously unselected package libnl-genl-3-200:armhf.
Preparing to unpack .../37-libnl-genl-3-200_3.4.0-1_armhf.deb ...
Unpacking libnl-genl-3-200:armhf (3.4.0-1) ...
Selecting previously unselected package libnl-genl-3-dev:armhf.
Preparing to unpack .../38-libnl-genl-3-dev_3.4.0-1_armhf.deb ...
Unpacking libnl-genl-3-dev:armhf (3.4.0-1) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../39-libpcap0.8_1.10.1-3_armhf.deb ...
Unpacking libpcap0.8:armhf (1.10.1-3) ...
Selecting previously unselected package libpcap0.8-dev:armhf.
Preparing to unpack .../40-libpcap0.8-dev_1.10.1-3_armhf.deb ...
Unpacking libpcap0.8-dev:armhf (1.10.1-3) ...
Selecting previously unselected package libpcap-dev:armhf.
Preparing to unpack .../41-libpcap-dev_1.10.1-3_armhf.deb ...
Unpacking libpcap-dev:armhf (1.10.1-3) ...
Selecting previously unselected package sbuild-build-depends-mdk4-dummy.
Preparing to unpack .../42-sbuild-build-depends-mdk4-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-mdk4-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.5.3-1) ...
Setting up bsdextrautils (2.37.2-1) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up libicu67:armhf (67.1-7) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libglib2.0-0:armhf (2.68.4-1) ...
No schema files found: doing nothing.
Setting up libdebhelper-perl (13.5.1) ...
Setting up libmagic1:armhf (1:5.39-3) ...
Setting up gettext-base (0.21-4) ...
Setting up file (1:5.39-3) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libdbus-1-3:armhf (1.12.20-2) ...
Setting up libsigsegv2:armhf (2.13-1) ...
Setting up autopoint (0.21-4) ...
Setting up pkg-config (0.29.2-1) ...
Setting up sensible-utils (0.0.17) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libnl-3-200:armhf (3.4.0-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libelf1:armhf (0.185-2) ...
Setting up libxml2:armhf (2.9.10+dfsg-6.7) ...
Setting up libfile-stripnondeterminism-perl (1.12.0-1) ...
Setting up gettext (0.21-4) ...
Setting up libtool (2.4.6-15) ...
Setting up m4 (1.4.18-5) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libpcap0.8:armhf (1.10.1-3) ...
Setting up libdbus-1-dev:armhf (1.12.20-2) ...
Setting up autoconf (2.69-14) ...
Setting up dh-strip-nondeterminism (1.12.0-1) ...
Setting up dwz (0.14-1) ...
Setting up libnl-3-dev:armhf (3.4.0-1) ...
Setting up groff-base (1.22.4-6) ...
Setting up libnl-genl-3-200:armhf (3.4.0-1) ...
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.1-3) ...
Setting up man-db (2.9.4-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libnl-genl-3-dev:armhf (3.4.0-1) ...
Setting up dh-autoreconf (20) ...
Setting up libpcap-dev:armhf (1.10.1-3) ...
Setting up debhelper (13.5.1) ...
Setting up sbuild-build-depends-mdk4-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.31-13+rpi1) ...

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

Kernel: Linux 4.9.0-0.bpo.1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.35.2-2+rpi1 dpkg-dev_1.20.9+rpi1 g++-10_10.2.1-6+rpi1 gcc-10_10.2.1-6+rpi1 libc6-dev_2.31-13+rpi1 libstdc++-10-dev_10.2.1-6+rpi1 libstdc++6_10.2.1-6+rpi1 linux-libc-dev_5.10.46-4+rpi1
Package versions: adduser_3.118 apt_2.2.4 autoconf_2.69-14 automake_1:1.16.3-2 autopoint_0.21-4 autotools-dev_20180224.1+nmu1 base-files_11.1+rpi1 base-passwd_3.5.51 bash_5.1-2 binutils_2.35.2-2+rpi1 binutils-arm-linux-gnueabihf_2.35.2-2+rpi1 binutils-common_2.35.2-2+rpi1 bsdextrautils_2.37.2-1 bsdutils_1:2.36.1-8 build-essential_12.9 bzip2_1.0.8-4 coreutils_8.32-4 cpp_4:10.2.1-1+rpi1 cpp-10_10.2.1-6+rpi1 dash_0.5.11+git20200708+dd9ef66-5 debconf_1.5.77 debhelper_13.5.1 debianutils_4.11.2 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-1 diffutils_1:3.7-5 dirmngr_2.2.27-2 dpkg_1.20.9+rpi1 dpkg-dev_1.20.9+rpi1 dwz_0.14-1 e2fsprogs_1.46.2-2 fakeroot_1.25.3-1.1 file_1:5.39-3 findutils_4.8.0-1 g++_4:10.2.1-1+rpi1 g++-10_10.2.1-6+rpi1 gcc_4:10.2.1-1+rpi1 gcc-10_10.2.1-6+rpi1 gcc-10-base_10.2.1-6+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.3.0-22+rpi1 gettext_0.21-4 gettext-base_0.21-4 gnupg_2.2.27-2 gnupg-l10n_2.2.27-2 gnupg-utils_2.2.27-2 gpg_2.2.27-2 gpg-agent_2.2.27-2 gpg-wks-client_2.2.27-2 gpg-wks-server_2.2.27-2 gpgconf_2.2.27-2 gpgsm_2.2.27-2 gpgv_2.2.27-2 grep_3.6-1 groff-base_1.22.4-6 gzip_1.10-4 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-10 libapt-pkg6.0_2.2.4 libarchive-zip-perl_1.68-1 libasan6_10.2.1-6+rpi1 libassuan0_2.5.3-7.1 libatomic1_10.2.1-6+rpi1 libattr1_1:2.4.48-6 libaudit-common_1:3.0-2 libaudit1_1:3.0-2 libbinutils_2.35.2-2+rpi1 libblkid1_2.36.1-8 libbz2-1.0_1.0.8-4 libc-bin_2.31-13+rpi1 libc-dev-bin_2.31-13+rpi1 libc6_2.31-13+rpi1 libc6-dev_2.31-13+rpi1 libcap-ng0_0.7.9-2.2+b1 libcc1-0_10.2.1-6+rpi1 libcom-err2_1.46.2-2 libcrypt-dev_1:4.4.18-4 libcrypt1_1:4.4.18-4 libctf-nobfd0_2.35.2-2+rpi1 libctf0_2.35.2-2+rpi1 libdb5.3_5.3.28+dfsg1-0.8 libdbus-1-3_1.12.20-2 libdbus-1-dev_1.12.20-2 libdebconfclient0_0.260 libdebhelper-perl_13.5.1 libdpkg-perl_1.20.9+rpi1 libelf1_0.185-2 libext2fs2_1.46.2-2 libfakeroot_1.25.3-1.1 libffi7_3.3-6 libfile-stripnondeterminism-perl_1.12.0-1 libgcc-10-dev_10.2.1-6+rpi1 libgcc-s1_10.2.1-6+rpi1 libgcrypt20_1.8.7-6 libgdbm-compat4_1.19-2 libgdbm6_1.19-2 libglib2.0-0_2.68.4-1 libgmp10_2:6.2.1+dfsg-1 libgnutls30_3.7.1-5 libgomp1_10.2.1-6+rpi1 libgpg-error0_1.38-2 libgssapi-krb5-2_1.18.3-6 libhogweed6_3.7.3-1 libicu67_67.1-7 libidn2-0_2.3.0-5 libisl23_0.23-1 libk5crypto3_1.18.3-6 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-6 libkrb5support0_1.18.3-6 libksba8_1.5.0-3 libldap-2.4-2_2.4.57+dfsg-3 liblocale-gettext-perl_1.07-4+b1 liblz4-1_1.9.3-2 liblzma5_5.2.5-2 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmount1_2.36.1-8 libmpc3_1.2.0-1 libmpfr6_4.1.0-3 libncursesw6_6.2+20201114-2 libnettle8_3.7.3-1 libnl-3-200_3.4.0-1 libnl-3-dev_3.4.0-1 libnl-genl-3-200_3.4.0-1 libnl-genl-3-dev_3.4.0-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.23.22-1 libpam-modules_1.4.0-9 libpam-modules-bin_1.4.0-9 libpam-runtime_1.4.0-9 libpam0g_1.4.0-9 libpcap-dev_1.10.1-3 libpcap0.8_1.10.1-3 libpcap0.8-dev_1.10.1-3 libpcre2-8-0_10.36-2 libpcre3_2:8.39-13 libperl5.32_5.32.1-4+deb11u1 libpipeline1_1.5.3-1 libreadline8_8.1-1 libsasl2-2_2.1.27+dfsg-2.1 libsasl2-modules-db_2.1.27+dfsg-2.1 libseccomp2_2.5.1-1+rpi1 libselinux1_3.1-3 libsemanage-common_3.1-1 libsemanage1_3.1-1+b1 libsepol1_3.1-1 libsigsegv2_2.13-1 libsmartcols1_2.36.1-8 libsqlite3-0_3.34.1-3 libss2_1.46.2-2 libssl1.1_1.1.1k-1 libstdc++-10-dev_10.2.1-6+rpi1 libstdc++6_10.2.1-6+rpi1 libsub-override-perl_0.09-2 libsystemd0_247.3-6+rpi1 libtasn1-6_4.16.0-2 libtext-charwidth-perl_0.04-10+b1 libtext-iconv-perl_1.7-7+b1 libtinfo6_6.2+20201114-2 libtirpc-common_1.3.1-1 libtirpc-dev_1.3.1-1 libtirpc3_1.3.1-1 libtool_2.4.6-15 libubsan1_10.2.1-6+rpi1 libuchardet0_0.0.7-1 libudev1_247.3-6+rpi1 libunistring2_0.9.10-4 libuuid1_2.36.1-8 libxml2_2.9.10+dfsg-6.7 libxxhash0_0.8.0-2+rpi1 libzstd1_1.4.8+dfsg-2.1+rpi1 linux-libc-dev_5.10.46-4+rpi1 login_1:4.8.1-1 logsave_1.46.2-2 lsb-base_11.1.0+rpi1 m4_1.4.18-5 make_4.3-4.1 man-db_2.9.4-2 mawk_1.3.4.20200120-2 mount_2.36.1-8 ncurses-base_6.2+20201114-2 ncurses-bin_6.2+20201114-2 netbase_6.3 passwd_1:4.8.1-1 patch_2.7.6-7 perl_5.32.1-4+deb11u1 perl-base_5.32.1-4+deb11u1 perl-modules-5.32_5.32.1-5 pinentry-curses_1.1.0-4 pkg-config_0.29.2-1 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.1-2 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-mdk4-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.17 sysvinit-utils_2.96-7 tar_1.34+dfsg-1 tzdata_2021a-1 util-linux_2.36.1-8 xz-utils_5.2.5-2 zlib1g_1:1.2.11.dfsg-2

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


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

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.h5WTP8PZ/trustedkeys.kbx': General error
gpgv: Signature made Sat Aug 28 13:50:58 2021 UTC
gpgv:                using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./mdk4_4.2-2.dsc
dpkg-source: info: extracting mdk4 in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking mdk4_4.2.orig.tar.gz
dpkg-source: info: unpacking mdk4_4.2-2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying manpage_example.patch

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

Sufficient free space for build

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

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-0fde35df-ed1c-4704-abd8-379cb5db00b5
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

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

dpkg-buildpackage: info: source package mdk4
dpkg-buildpackage: info: source version 4.2-2
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 debian/rules clean
dh clean
   dh_auto_clean
	make -j4 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C src clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f mdk4
rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o
rm -f ../test *.o
make -C osdep clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
make -C radiotap clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/osdep/radiotap'
rm -f *.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep/radiotap'
rm -f libosdep.a  *.o .os.*
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make -C attacks clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o poc.o probing.o wids.o *.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary-arch
dh binary-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
   dh_auto_configure -a
   dh_auto_build -a
	make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C src clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f mdk4
rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o
rm -f ../test *.o
make -C osdep clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
make -C radiotap clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/osdep/radiotap'
rm -f *.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep/radiotap'
rm -f libosdep.a  *.o .os.*
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make -C attacks clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o eapol.o fuzzer.o ieee80211s.o poc.o probing.o wids.o *.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make -C src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make -C osdep
make -C osdep
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o debug.o debug.c
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o helpers.o helpers.c
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
Building for Linux
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
Building for Linux
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mac_addr.o mac_addr.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linkedlist.o linkedlist.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o network.o network.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o file.o file.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linux.o linux.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o network.o network.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o file.o file.c
linux.c: In function 'is_ndiswrapper':
linux.c:183:17: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
  183 |     int n, pid, unused;
      |                 ^~~~~~
linux.c: In function 'linux_set_rate':
linux.c:457:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
  457 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'linux_set_channel_nl80211':
linux.c:950:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
  950 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'linux_set_channel':
linux.c:1052:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1052 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'linux_set_freq':
linux.c:1143:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1143 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'set_monitor':
linux.c:1273:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1273 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'openraw':
linux.c:1513:63: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare]
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                               ^~
linux.c:1513:63: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1513:46: note: add parentheses around left hand side expression to silence this warning
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                              ^~~~~~~~~~~~~~~~
      |                                              (               )
linux.c:1523:67: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare]
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                                   ^~
linux.c:1523:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1523:50: note: add parentheses around left hand side expression to silence this warning
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                  ^~~~~~~~~~~~~~~~
      |                                                  (               )
linux.c: In function 'do_linux_open':
linux.c:1620:12: warning: variable 'unused_str' set but not used [-Wunused-but-set-variable]
 1620 |     char * unused_str;
      |            ^~~~~~~~~~
linux.c:1606:15: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1606 |     int kver, unused;
      |               ^~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o greylist.o greylist.c
linux.c: In function 'get_battery_state':
linux.c:2273:35: warning: variable 'current' set but not used [-Wunused-but-set-variable]
 2273 |         int rate = 1, remain = 0, current = 0;
      |                                   ^~~~~~~
At top level:
linux.c:2057:13: warning: 'linux_close' defined but not used [-Wunused-function]
 2057 | static void linux_close(struct wif *wi)
      |             ^~~~~~~~~~~
linux.c:946:12: warning: 'linux_set_channel_nl80211' defined but not used [-Wunused-function]
  946 | static int linux_set_channel_nl80211(struct wif *wi, int channel)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:314:12: warning: 'linux_nl80211_init' defined but not used [-Wunused-function]
  314 | static int linux_nl80211_init(struct nl80211_state *state)
      |            ^~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dumpfile.o dumpfile.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linux_tap.o linux_tap.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linux.o linux.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o radiotap/radiotap.o radiotap/radiotap.c
In file included from /usr/include/string.h:495,
                 from linux_tap.c:33:
In function 'strncpy',
    inlined from 'ti_do_open_linux' at linux_tap.c:72:5,
    inlined from 'ti_open_linux' at linux_tap.c:192:7,
    inlined from 'ti_open' at linux_tap.c:207:9:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 15 bytes from a string of length 63 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function 'is_ndiswrapper':
linux.c:183:17: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
  183 |     int n, pid, unused;
      |                 ^~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o packet.o packet.c
linux.c: In function 'linux_set_rate':
linux.c:457:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
  457 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'linux_set_channel_nl80211':
linux.c:950:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
  950 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'linux_set_channel':
linux.c:1052:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1052 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'linux_set_freq':
linux.c:1143:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1143 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'set_monitor':
linux.c:1273:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1273 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function 'openraw':
linux.c:1513:63: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare]
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                               ^~
linux.c:1513:63: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1513:46: note: add parentheses around left hand side expression to silence this warning
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                              ^~~~~~~~~~~~~~~~
      |                                              (               )
linux.c:1523:67: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare]
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                                   ^~
linux.c:1523:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
linux.c:1523:50: note: add parentheses around left hand side expression to silence this warning
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
      |                                                  ^~~~~~~~~~~~~~~~
      |                                                  (               )
linux.c: In function 'do_linux_open':
linux.c:1620:12: warning: variable 'unused_str' set but not used [-Wunused-but-set-variable]
 1620 |     char * unused_str;
      |            ^~~~~~~~~~
linux.c:1606:15: warning: variable 'unused' set but not used [-Wunused-but-set-variable]
 1606 |     int kver, unused;
      |               ^~~~~~
linux.c: In function 'get_battery_state':
linux.c:2273:35: warning: variable 'current' set but not used [-Wunused-but-set-variable]
 2273 |         int rate = 1, remain = 0, current = 0;
      |                                   ^~~~~~~
At top level:
linux.c:2057:13: warning: 'linux_close' defined but not used [-Wunused-function]
 2057 | static void linux_close(struct wif *wi)
      |             ^~~~~~~~~~~
linux.c:946:12: warning: 'linux_set_channel_nl80211' defined but not used [-Wunused-function]
  946 | static int linux_set_channel_nl80211(struct wif *wi, int channel)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:314:12: warning: 'linux_nl80211_init' defined but not used [-Wunused-function]
  314 | static int linux_nl80211_init(struct nl80211_state *state)
      |            ^~~~~~~~~~~~~~~~~~
packet.c: In function 'create_ieee_hdr':
packet.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |   ^~
packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |                           ^~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o brute.o brute.c
In file included from /usr/include/string.h:495,
                 from linux.c:36:
In function 'strncpy',
    inlined from 'do_linux_open.constprop' at linux.c:1906:9:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function 'do_linux_open.constprop':
linux.c:1906:9: note: length computed here
 1906 |         strncpy(dev->main_if, iface, strlen(iface));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from linux.c:36:
In function 'strncpy',
    inlined from 'do_linux_open.constprop' at linux.c:1911:9:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function 'do_linux_open.constprop':
linux.c:1911:9: note: length computed here
 1911 |         strncpy(iface, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:1937:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=]
 1937 |                     "/sys/class/net/%s/device/rtap_iface", this_iface->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o common.o common.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linux_tap.o linux_tap.c
In file included from /usr/include/string.h:495,
                 from linux_tap.c:33:
In function 'strncpy',
    inlined from 'ti_do_open_linux' at linux_tap.c:72:5,
    inlined from 'ti_open_linux' at linux_tap.c:192:7,
    inlined from 'ti_open' at linux_tap.c:207:9:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 15 bytes from a string of length 63 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o channelhopper.o channelhopper.c
In file included from /usr/include/string.h:495,
                 from osdep.c:4:
In function 'strncpy',
    inlined from 'osdep_init_txpowers' at osdep.c:179:5:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'osdep_init_txpowers' at osdep.c:218:3:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from osdep.c:1:
In function 'printf',
    inlined from 'osdep_init_txpowers' at osdep.c:165:7:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=]
  107 |   return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from osdep.c:4:
In function 'strncpy',
    inlined from 'osdep_random_txpower' at osdep.c:265:5:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'osdep_random_txpower' at osdep.c:282:3:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from linux.c:36:
In function 'strncpy',
    inlined from 'do_linux_open.constprop' at linux.c:1906:9:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function 'do_linux_open.constprop':
linux.c:1906:9: note: length computed here
 1906 |         strncpy(dev->main_if, iface, strlen(iface));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from linux.c:36:
In function 'strncpy',
    inlined from 'do_linux_open.constprop' at linux.c:1911:9:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c: In function 'do_linux_open.constprop':
linux.c: In function 'get_battery_state':
linux.c:1911:9: note: length computed here
 1911 |         strncpy(iface, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]
 2310 |             closedir(batteries);
      |             ^~~~~~~~~~~~~~~~~~~
In file included from linux.c:40:
/usr/include/dirent.h:149:12: note: in a call to function 'closedir' declared here
  149 | extern int closedir (DIR *__dirp) __nonnull ((1));
      |            ^~~~~~~~
linux.c:1937:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=]
 1937 |                     "/sys/class/net/%s/device/rtap_iface", this_iface->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2318:78: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2318 |             snprintf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name);
      |                                                                              ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2330:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2330 |                 "/proc/acpi/battery/%s/state", this_battery->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2289:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=]
 2289 |                 "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name);
      |                                        ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ghosting.o ghosting.c
channelhopper.c:48:26: warning: initialization of 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
   48 | pthread_t chan_sniffer = NULL;
      |                          ^~~~
channelhopper.c: In function 'error_handler':
channelhopper.c:155:46: warning: unused parameter 'nla' [-Wunused-parameter]
  155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err,
      |                          ~~~~~~~~~~~~~~~~~~~~^~~
channelhopper.c: In function 'finish_handler':
channelhopper.c:163:42: warning: unused parameter 'msg' [-Wunused-parameter]
  163 | static int finish_handler(struct nl_msg *msg, void *arg)
      |                           ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function 'ack_handler':
channelhopper.c:170:39: warning: unused parameter 'msg' [-Wunused-parameter]
  170 | static int ack_handler(struct nl_msg *msg, void *arg)
      |                        ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function 'valid_handler':
channelhopper.c:186:45: warning: unused parameter 'arg' [-Wunused-parameter]
  186 | int valid_handler(struct nl_msg *msg, void *arg)
      |                                       ~~~~~~^~~
channelhopper.c: In function 'handle_channels':
channelhopper.c:328:50: warning: unused parameter 'state' [-Wunused-parameter]
  328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg)
      |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~
At top level:
channelhopper.c:240:14: warning: 'dfs_state_name' defined but not used [-Wunused-function]
  240 | static char *dfs_state_name(enum nl80211_dfs_state state)
      |              ^~~~~~~~~~~~~~
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fragmenting.o fragmenting.c
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libosdep.a 
touch .os.Linux
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make -C attacks
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o attacks.o attacks.c
linux.c: In function 'get_battery_state':
linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]
 2310 |             closedir(batteries);
      |             ^~~~~~~~~~~~~~~~~~~
In file included from linux.c:40:
/usr/include/dirent.h:149:12: note: in a call to function 'closedir' declared here
  149 | extern int closedir (DIR *__dirp) __nonnull ((1));
      |            ^~~~~~~~
make -C attacks
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
linux.c:2318:78: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2318 |             snprintf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name);
      |                                                                              ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2330:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=]
 2330 |                 "/proc/acpi/battery/%s/state", this_battery->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:2289:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=]
 2289 |                 "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name);
      |                                        ^~
In file included from /usr/include/stdio.h:867,
                 from linux.c:34:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o attacks.o attacks.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libosdep.a 
touch .os.Linux
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o countermeasures.o countermeasures.c
make -C attacks
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o auth_dos.o auth_dos.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o beacon_flood.o beacon_flood.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c
make -C attacks
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o deauth.o deauth.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o dummy.o dummy.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o eapol.o eapol.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o fuzzer.o fuzzer.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ieee80211s.o ieee80211s.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o poc.o poc.c
poc.c: In function 'poc_parse':
poc.c:102:8: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |        ^
poc.c:102:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |     ^~~
poc.c:148:30: warning: implicit declaration of function 'get_file_lines' [-Wimplicit-function-declaration]
  148 |                 file_lines = get_file_lines(file_name);
      |                              ^~~~~~~~~~~~~~
poc.c:160:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  160 |                             if(fgets(buf, sizeof(buf), fp1))
      |                                      ^~~
      |                                      |
      |                                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c:165:59: warning: implicit declaration of function 'str_to_hex' [-Wimplicit-function-declaration]
  165 |                                 poc_pkts[i].pkts[j].len = str_to_hex(buf, poc_pkts[i].pkts[j].data, sizeof(poc_pkts[i].pkts[j].data));
      |                                                           ^~~~~~~~~~
poc.c: In function 'get_target':
poc.c:199:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
  199 |     uint16_t recv_seq_ctrl;
      |              ^~~~~~~~~~~~~
poc.c: In function 'get_file_lines':
poc.c:481:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  481 |     if(fp = fopen(filename, "r"))
      |        ^~
poc.c:486:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  486 |             if(fgets(buf, sizeof(buf), fp))
      |                      ^~~
      |                      |
      |                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:508:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  508 |   return;
      |   ^~~~~~
poc.c:500:5: note: declared here
  500 | int str_to_hex(unsigned char *pascii, unsigned char *phex, unsigned int len)
      |     ^~~~~~~~~~
poc.c:510:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  510 |  str_len = strlen(pascii)/4;
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
In file included from poc.c:2:
/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  385 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
poc.c:518:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  518 |    s1 = toupper(h1) - 0x30;
      |         ^~~~~~~
poc.c:526:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  526 |    if(i < len)
      |         ^
In file included from /usr/include/string.h:495,
                 from poc.c:2:
In function 'strncpy',
    inlined from 'poc_parse' at poc.c:146:17:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o poc.o poc.c
poc.c: In function 'get_target':
poc.c:224:9: warning: 'dsflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
  224 |         switch (dsflags) {
      |         ^~~~~~
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o poc.o poc.c
poc.c: In function 'poc_parse':
poc.c:102:8: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |        ^
poc.c:102:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |     ^~~
poc.c:148:30: warning: implicit declaration of function 'get_file_lines' [-Wimplicit-function-declaration]
  148 |                 file_lines = get_file_lines(file_name);
      |                              ^~~~~~~~~~~~~~
poc.c:160:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  160 |                             if(fgets(buf, sizeof(buf), fp1))
      |                                      ^~~
      |                                      |
      |                                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c:165:59: warning: implicit declaration of function 'str_to_hex' [-Wimplicit-function-declaration]
  165 |                                 poc_pkts[i].pkts[j].len = str_to_hex(buf, poc_pkts[i].pkts[j].data, sizeof(poc_pkts[i].pkts[j].data));
      |                                                           ^~~~~~~~~~
poc.c: In function 'get_target':
poc.c:199:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
  199 |     uint16_t recv_seq_ctrl;
      |              ^~~~~~~~~~~~~
poc.c: In function 'get_file_lines':
poc.c:481:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  481 |     if(fp = fopen(filename, "r"))
      |        ^~
poc.c:486:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  486 |             if(fgets(buf, sizeof(buf), fp))
      |                      ^~~
      |                      |
      |                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:508:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  508 |   return;
      |   ^~~~~~
poc.c:500:5: note: declared here
  500 | int str_to_hex(unsigned char *pascii, unsigned char *phex, unsigned int len)
      |     ^~~~~~~~~~
poc.c:510:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  510 |  str_len = strlen(pascii)/4;
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
In file included from poc.c:2:
/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  385 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
poc.c:518:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  518 |    s1 = toupper(h1) - 0x30;
      |         ^~~~~~~
poc.c:526:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  526 |    if(i < len)
      |         ^
poc.c: In function 'poc_parse':
poc.c:102:8: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |        ^
poc.c:102:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |     ^~~
poc.c:148:30: warning: implicit declaration of function 'get_file_lines' [-Wimplicit-function-declaration]
  148 |                 file_lines = get_file_lines(file_name);
      |                              ^~~~~~~~~~~~~~
poc.c:160:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  160 |                             if(fgets(buf, sizeof(buf), fp1))
      |                                      ^~~
      |                                      |
      |                                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c:165:59: warning: implicit declaration of function 'str_to_hex' [-Wimplicit-function-declaration]
  165 |                                 poc_pkts[i].pkts[j].len = str_to_hex(buf, poc_pkts[i].pkts[j].data, sizeof(poc_pkts[i].pkts[j].data));
      |                                                           ^~~~~~~~~~
poc.c: In function 'get_target':
poc.c:199:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
  199 |     uint16_t recv_seq_ctrl;
      |              ^~~~~~~~~~~~~
poc.c: In function 'get_file_lines':
poc.c:481:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  481 |     if(fp = fopen(filename, "r"))
      |        ^~
poc.c:486:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  486 |             if(fgets(buf, sizeof(buf), fp))
      |                      ^~~
      |                      |
      |                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:508:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  508 |   return;
      |   ^~~~~~
poc.c:500:5: note: declared here
  500 | int str_to_hex(unsigned char *pascii, unsigned char *phex, unsigned int len)
      |     ^~~~~~~~~~
poc.c:510:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  510 |  str_len = strlen(pascii)/4;
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
In file included from poc.c:2:
/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  385 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
poc.c:518:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  518 |    s1 = toupper(h1) - 0x30;
      |         ^~~~~~~
poc.c:526:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  526 |    if(i < len)
      |         ^
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o poc.o poc.c
In file included from /usr/include/string.h:495,
                 from poc.c:2:
In function 'strncpy',
    inlined from 'poc_parse' at poc.c:146:17:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poc.c: In function 'poc_parse':
poc.c:102:8: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |        ^
poc.c:102:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  102 |  if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){
      |     ^~~
poc.c:148:30: warning: implicit declaration of function 'get_file_lines' [-Wimplicit-function-declaration]
  148 |                 file_lines = get_file_lines(file_name);
      |                              ^~~~~~~~~~~~~~
poc.c:160:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  160 |                             if(fgets(buf, sizeof(buf), fp1))
      |                                      ^~~
      |                                      |
      |                                      unsigned char *
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c:165:59: warning: implicit declaration of function 'str_to_hex' [-Wimplicit-function-declaration]
  165 |                                 poc_pkts[i].pkts[j].len = str_to_hex(buf, poc_pkts[i].pkts[j].data, sizeof(poc_pkts[i].pkts[j].data));
      |                                                           ^~~~~~~~~~
poc.c: In function 'get_target':
poc.c:199:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable]
  199 |     uint16_t recv_seq_ctrl;
      |              ^~~~~~~~~~~~~
poc.c: In function 'get_file_lines':
poc.c:481:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  481 |     if(fp = fopen(filename, "r"))
      |        ^~
In file included from /usr/include/string.h:495,
                 from poc.c:2:
In function 'strncpy',
    inlined from 'poc_parse' at poc.c:146:17:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poc.c:486:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
  486 |             if(fgets(buf, sizeof(buf), fp))
      |                      ^~~
      |                      |
      |                      unsigned char *
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c
In file included from /usr/include/stdio.h:867,
                 from poc.c:1:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |        ~~~~~~~~~~~~~~~~~^~~
poc.c: In function 'str_to_hex':
poc.c:508:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  508 |   return;
      |   ^~~~~~
poc.c:500:5: note: declared here
  500 | int str_to_hex(unsigned char *pascii, unsigned char *phex, unsigned int len)
      |     ^~~~~~~~~~
poc.c:510:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  510 |  str_len = strlen(pascii)/4;
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
In file included from poc.c:2:
/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  385 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
poc.c:518:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  518 |    s1 = toupper(h1) - 0x30;
      |         ^~~~~~~
poc.c:526:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  526 |    if(i < len)
      |         ^
poc.c: In function 'get_target':
poc.c:224:9: warning: 'dsflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
  224 |         switch (dsflags) {
      |         ^~~~~~
probing.c: In function 'create_probe_req':
probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration]
  236 |   add_ssid_set(&probe, ssid);
      |   ^~~~~~~~~~~~
probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration]
  237 |   add_rate_sets(&probe, 1, 1);
      |   ^~~~~~~~~~~~~
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
  240 |   stpcpy(popt->proceed, ssid);
      |                         ^~~~
      |                         |
      |                         unsigned char *
In file included from probing.c:4:
/usr/include/string.h:452:70: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/string.h:495,
                 from poc.c:2:
In function 'strncpy',
    inlined from 'poc_parse' at poc.c:146:17:
/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poc.c: In function 'get_target':
poc.c:224:9: warning: 'dsflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
  224 |         switch (dsflags) {
      |         ^~~~~~
poc.c: In function 'get_target':
poc.c:224:9: warning: 'dsflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
  224 |         switch (dsflags) {
      |         ^~~~~~
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c
probing.c: In function 'create_probe_req':
probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration]
  236 |   add_ssid_set(&probe, ssid);
      |   ^~~~~~~~~~~~
probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration]
  237 |   add_rate_sets(&probe, 1, 1);
      |   ^~~~~~~~~~~~~
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
  240 |   stpcpy(popt->proceed, ssid);
      |                         ^~~~
      |                         |
      |                         unsigned char *
probing.c: In function 'create_probe_req':
probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration]
  236 |   add_ssid_set(&probe, ssid);
      |   ^~~~~~~~~~~~
In file included from probing.c:4:
/usr/include/string.h:452:70: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration]
  237 |   add_rate_sets(&probe, 1, 1);
      |   ^~~~~~~~~~~~~
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
  240 |   stpcpy(popt->proceed, ssid);
      |                         ^~~~
      |                         |
      |                         unsigned char *
In file included from probing.c:4:
/usr/include/string.h:452:70: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o probing.o probing.c
probing.c: In function 'create_probe_req':
probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration]
  236 |   add_ssid_set(&probe, ssid);
      |   ^~~~~~~~~~~~
probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration]
  237 |   add_rate_sets(&probe, 1, 1);
      |   ^~~~~~~~~~~~~
probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign]
  240 |   stpcpy(popt->proceed, ssid);
      |                         ^~~~
      |                         |
      |                         unsigned char *
In file included from probing.c:4:
/usr/include/string.h:452:70: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make -C attacks
cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2  -c -o wids.o wids.c
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make -C attacks
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make -C attacks
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 mdk4.c osdep/libosdep.a debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o osdep.o channelhopper.o ghosting.o fragmenting.o attacks/attacks.o attacks/auth_dos.o attacks/beacon_flood.o attacks/countermeasures.o attacks/deauth.o attacks/dummy.o attacks/eapol.o attacks/fuzzer.o attacks/ieee80211s.o attacks/poc.o attacks/probing.o attacks/wids.o -o mdk4 -lnl-genl-3 -lnl-3 -lm -Losdep -losdep -lpthread -lpcap -Wl,-z,relro -Wl,-z,now
mdk4.c: In function 'main':
mdk4.c:164:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  164 |   setuid(getuid());
      |   ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -a
	make -j4 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C src test
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 test.c debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o brute.o -o test -lpthread -lpcap -Wl,-z,relro -Wl,-z,now
test.c: In function 'test_greylist':
test.c:164:3: warning: implicit declaration of function 'load_greylist'; did you mean 'test_greylist'? [-Wimplicit-function-declaration]
  164 |   load_greylist(1, "./useful_files/fakeap-example.txt");
      |   ^~~~~~~~~~~~~
      |   test_greylist
mv test ..
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep -a
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# override this: it installs in /usr/local
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -a
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_missing -a
   dh_dwz -a -a
   dh_strip -a -a
   dh_makeshlibs -a -a
   dh_shlibdeps -a -a
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mdk4/usr/sbin/mdk4 was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'mdk4' in '../mdk4_4.2-2_armhf.deb'.
dpkg-deb: building package 'mdk4-dbgsym' in '../mdk4-dbgsym_4.2-2_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../mdk4_4.2-2_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-09-03T05:53:14Z

Finished
--------

I: Built successfully

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


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


mdk4_4.2-2_armhf.changes:
-------------------------

Format: 1.8
Date: Sat, 28 Aug 2021 14:28:22 +0100
Source: mdk4
Binary: mdk4 mdk4-dbgsym
Architecture: armhf
Version: 4.2-2
Distribution: bookworm-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Samuel Henrique <samueloph@debian.org>
Description:
 mdk4       - Wireless attack tool for IEEE 802.11 networks
Closes: 993165
Changes:
 mdk4 (4.2-2) unstable; urgency=medium
 .
   * d/docs: Ship example files and README.md (closes: #993165)
Checksums-Sha1:
 068a4aacd273c3cf93d7eb89d50b511cfcb7c009 179128 mdk4-dbgsym_4.2-2_armhf.deb
 a118fb5c5418245a534718b1ccaa493be617341e 5103 mdk4_4.2-2_armhf.buildinfo
 ea889f02a89d26d9f1bda312b3a240d64eb2b71b 95128 mdk4_4.2-2_armhf.deb
Checksums-Sha256:
 42fd0c083984fa6be505073ae787d9452442e21482181566f4cc05bc8406c704 179128 mdk4-dbgsym_4.2-2_armhf.deb
 6177d0349a30c367fe0156b7ed3823e0be443eac84a689ff299017e6e9efdeb5 5103 mdk4_4.2-2_armhf.buildinfo
 1738c92ad4d07a5ac9b6fbb57f198ba2d94b7ade10943b01a6eb4e807978c53d 95128 mdk4_4.2-2_armhf.deb
Files:
 3805391c35b9efeddae2f782c09f470f 179128 debug optional mdk4-dbgsym_4.2-2_armhf.deb
 594306ad590b9e31177d0259f5dee640 5103 net optional mdk4_4.2-2_armhf.buildinfo
 3a863a939cc6b560e7f1fa63619312c6 95128 net optional mdk4_4.2-2_armhf.deb

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


mdk4-dbgsym_4.2-2_armhf.deb
---------------------------

 new Debian package, version 2.0.
 size 179128 bytes: control archive=524 bytes.
     342 bytes,    12 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: mdk4-dbgsym
 Source: mdk4
 Version: 4.2-2
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
 Installed-Size: 209
 Depends: mdk4 (= 4.2-2)
 Section: debug
 Priority: optional
 Description: debug symbols for mdk4
 Build-Ids: 93f0e7226b642f91278f5056e8c8b4c5de080359

drwxr-xr-x root/root         0 2021-08-28 13:28 ./
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/lib/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/lib/debug/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/lib/debug/.build-id/93/
-rw-r--r-- root/root    203036 2021-08-28 13:28 ./usr/lib/debug/.build-id/93/f0e7226b642f91278f5056e8c8b4c5de080359.debug
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/doc/
lrwxrwxrwx root/root         0 2021-08-28 13:28 ./usr/share/doc/mdk4-dbgsym -> mdk4


mdk4_4.2-2_armhf.deb
--------------------

 new Debian package, version 2.0.
 size 95128 bytes: control archive=1100 bytes.
     834 bytes,    19 lines      control              
     673 bytes,    10 lines      md5sums              
 Package: mdk4
 Version: 4.2-2
 Architecture: armhf
 Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
 Installed-Size: 198
 Depends: aircrack-ng, libc6 (>= 2.7), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7), libpcap0.8 (>= 0.9.8)
 Section: net
 Priority: optional
 Homepage: https://github.com/aircrack-ng/mdk4
 Description: Wireless attack tool for IEEE 802.11 networks
  This package contains a proof-of-concept tool to exploit common IEEE 802.11
  protocol weaknesses.
  .
  MDK4 is a new version of MDK3. MDK4 is a Wi-Fi testing tool from E7mer of
  360PegasusTeam, ASPj of k2wrlz, it uses the osdep library from the aircrack-ng
  project to inject frames on several operating systems.
  .
  IMPORTANT: It is your responsibility to make sure you have permission from the
  network owner before running MDK against it.

drwxr-xr-x root/root         0 2021-08-28 13:28 ./
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/sbin/
-rwxr-xr-x root/root    142300 2021-08-28 13:28 ./usr/sbin/mdk4
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/doc/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/doc/mdk4/
-rw-r--r-- root/root      4069 2021-07-07 06:57 ./usr/share/doc/mdk4/README.md.gz
-rw-r--r-- root/root      1176 2021-08-28 13:28 ./usr/share/doc/mdk4/changelog.Debian.gz
-rw-r--r-- root/root       275 2021-07-07 06:57 ./usr/share/doc/mdk4/changelog.gz
-rw-r--r-- root/root      4476 2021-07-07 06:57 ./usr/share/doc/mdk4/common-ssids.txt.gz
-rw-r--r-- root/root      3452 2021-08-28 13:28 ./usr/share/doc/mdk4/copyright
-rw-r--r-- root/root       295 2021-07-07 06:57 ./usr/share/doc/mdk4/fakeap-example.txt
-rw-r--r-- root/root     26075 2021-07-07 06:57 ./usr/share/doc/mdk4/less-common-ssids.txt.gz
-rw-r--r-- root/root      2647 2021-07-07 06:57 ./usr/share/doc/mdk4/more-ssids.txt.gz
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/man/
drwxr-xr-x root/root         0 2021-08-28 13:28 ./usr/share/man/man2/
-rw-r--r-- root/root      3639 2021-08-28 13:28 ./usr/share/man/man2/mdk4.2.gz


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


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

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

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

Build Architecture: armhf
Build-Space: 3740
Build-Time: 78
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 312
Job: mdk4_4.2-2
Machine Architecture: armhf
Package: mdk4
Package-Time: 438
Source-Version: 4.2-2
Space: 3740
Status: successful
Version: 4.2-2
--------------------------------------------------------------------------------
Finished at 2021-09-03T05:53:14Z
Build needed 00:07:18, 3740k disc space