Diff of the two buildlogs: -- --- b1/build.log 2021-08-12 14:09:55.405125743 +0000 +++ b2/build.log 2021-08-12 14:17:30.667952405 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 12 02:01:32 -12 2021 -I: pbuilder-time-stamp: 1628776892 +I: Current time: Fri Aug 13 04:10:08 +14 2021 +I: pbuilder-time-stamp: 1628777408 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./mdk4_4.1+git20200420-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.6yqie9GH/trustedkeys.kbx': General error -gpgv: Signature made Fri Jul 24 23:42:32 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.R0NcEOih/trustedkeys.kbx': General error +gpgv: Signature made Sun Jul 26 01:42:32 2020 +14 gpgv: using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mdk4_4.1+git20200420-2.dsc @@ -28,135 +28,169 @@ dpkg-source: info: applying gcc10_ftbfs.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5413/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25994/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4pro0. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/25994/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25994/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='bad90c0292664ccabb4459168b5d1d1c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='5413' - PS1='# ' - PS2='> ' + INVOCATION_ID=8988eab8fbfc470c9cab687a20420fc2 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=25994 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.HAyxS5OX5e/pbuilderrc_o3Qt --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.HAyxS5OX5e/b1 --logfile b1/build.log mdk4_4.1+git20200420-2.dsc' - SUDO_GID='114' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.HAyxS5OX5e/pbuilderrc_AAbd --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.HAyxS5OX5e/b2 --logfile b2/build.log --extrapackages usrmerge mdk4_4.1+git20200420-2.dsc' + SUDO_GID=115 + SUDO_UID=111 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux jtx1b 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-armmp #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 21:27 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/5413/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 13 04:12 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 12 23:28 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/25994/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -242,7 +276,7 @@ Get: 40 http://deb.debian.org/debian bullseye/main armhf libpcap0.8 armhf 1.10.0-2 [144 kB] Get: 41 http://deb.debian.org/debian bullseye/main armhf libpcap0.8-dev armhf 1.10.0-2 [265 kB] Get: 42 http://deb.debian.org/debian bullseye/main armhf libpcap-dev armhf 1.10.0-2 [31.1 kB] -Fetched 20.0 MB in 2s (8680 kB/s) +Fetched 20.0 MB in 2s (8954 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19398 files and directories currently installed.) @@ -426,8 +460,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (240 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21658 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/mdk4-4.1+git20200420/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mdk4_4.1+git20200420-2_source.changes +hostname: Name or service not known +I: Running cd /build/mdk4-4.1+git20200420/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mdk4_4.1+git20200420-2_source.changes dpkg-buildpackage: info: source package mdk4 dpkg-buildpackage: info: source version 4.1+git20200420-2 dpkg-buildpackage: info: source distribution unstable @@ -437,7 +508,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 distclean + make -j4 distclean make[1]: Entering directory '/build/mdk4-4.1+git20200420' make -C src clean make[2]: Entering directory '/build/mdk4-4.1+git20200420/src' @@ -465,7 +536,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/mdk4-4.1+git20200420' make -C src clean make[2]: Entering directory '/build/mdk4-4.1+git20200420/src' @@ -489,163 +560,230 @@ make[2]: Entering directory '/build/mdk4-4.1+git20200420/src' make -C osdep make -C osdep -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 '/build/mdk4-4.1+git20200420/src/osdep' +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 '/build/mdk4-4.1+git20200420/src/osdep' -Building for Linux +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 Building for Linux make[4]: Entering directory '/build/mdk4-4.1+git20200420/src/osdep' +Building for Linux make[4]: Entering directory '/build/mdk4-4.1+git20200420/src/osdep' +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.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) + | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from linux_tap.c:33: + from osdep.c:4: 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] + inlined from 'osdep_init_txpowers' at osdep.c:180: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o radiotap/radiotap.o radiotap/radiotap.c -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 'is_ndiswrapper': +In function 'strncpy', + inlined from 'osdep_init_txpowers' at osdep.c:219: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:166: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:266: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:283: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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux.o linux.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: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: 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: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: 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: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: 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: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: 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: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: 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: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: 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: 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: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: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: 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: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:1048:12: warning: 'linux_set_channel' defined but not used [-Wunused-function] + 1048 | static int linux_set_channel(struct wif *wi, int channel) + | ^~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +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: 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: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: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: 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; | ^~~~~~~ -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: 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:2057:13: warning: 'linux_close' defined but not used [-Wunused-function] - 2057 | static void linux_close(struct wif *wi) - | ^~~~~~~~~~~ linux.c:1048:12: warning: 'linux_set_channel' defined but not used [-Wunused-function] 1048 | static int linux_set_channel(struct wif *wi, int channel) | ^~~~~~~~~~~~~~~~~ -linux.c:1048:12: warning: 'linux_set_channel' defined but not used [-Wunused-function] - 1048 | static int linux_set_channel(struct wif *wi, int channel) - | ^~~~~~~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +make -C attacks +make[3]: Entering directory '/build/mdk4-4.1+git20200420/src/attacks' +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +make -C attacks +make[3]: Entering directory '/build/mdk4-4.1+git20200420/src/attacks' +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +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': In file included from /usr/include/string.h:495, from linux.c:36: In function 'strncpy', @@ -657,6 +795,13 @@ linux.c:1906:9: note: length computed here 1906 | strncpy(dev->main_if, iface, strlen(iface)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: In file included from /usr/include/string.h:495, from linux.c:36: In function 'strncpy', @@ -671,6 +816,10 @@ 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); | ^~ +/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': 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 @@ -678,25 +827,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -710,19 +840,14 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c -linux.c: In function 'get_battery_state': +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 linux.c: In function 'get_battery_state': linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull] 2310 | closedir(batteries); | ^~~~~~~~~~~~~~~~~~~ -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)); - | ^~~~~~~~ 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)); @@ -730,9 +855,6 @@ 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); | ^~ -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 @@ -740,46 +862,57 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 25 and 280 bytes into a destination of size 128 +/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: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); - | ^~ -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); - | ^~ +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 26 and 281 bytes into a destination of size 128 +/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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ^~~~~~~~ +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 26 and 281 bytes into a destination of size 128 +/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: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); - | ^~ -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); - | ^~ +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 29 and 284 bytes into a destination of size 128 +/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 @@ -787,9 +920,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.c -ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o In file included from /usr/include/string.h:495, from linux_tap.c:33: In function 'strncpy', @@ -799,98 +933,50 @@ /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ar: `u' modifier ignored since `D' is the default (see `U') +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o radiotap/radiotap.o radiotap/radiotap.c +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 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 -ranlib libosdep.a -touch .os.Linux -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 touch .os.Linux make[4]: Leaving directory '/build/mdk4-4.1+git20200420/src/osdep' -make[4]: Leaving directory '/build/mdk4-4.1+git20200420/src/osdep' make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/osdep' -make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/osdep' -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -In file included from /usr/include/string.h:495, - from osdep.c:4: -In function 'strncpy', - inlined from 'osdep_init_txpowers' at osdep.c:180: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:219: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:166: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 ()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -In file included from /usr/include/string.h:495, - from osdep.c:4: -In function 'strncpy', - inlined from 'osdep_random_txpower' at osdep.c:266: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:283: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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make -C attacks make[3]: Entering directory '/build/mdk4-4.1+git20200420/src/attacks' -cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -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) - | ^~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +gcc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +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 '/build/mdk4-4.1+git20200420/src/osdep' +make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/osdep' make -C attacks make[3]: Entering directory '/build/mdk4-4.1+git20200420/src/attacks' -cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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] @@ -908,8 +994,40 @@ /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: 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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 +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) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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); @@ -927,8 +1045,8 @@ 452 | extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -C attacks -make[3]: Entering directory '/build/mdk4-4.1+git20200420/src/attacks' +cc -g -O2 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 -fdebug-prefix-map=/build/mdk4-4.1+git20200420=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v1 -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 '/build/mdk4-4.1+git20200420/src/attacks' make -C attacks @@ -941,6 +1059,7 @@ make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/attacks' make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/attacks' make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/attacks' +make[3]: Leaving directory '/build/mdk4-4.1+git20200420/src/attacks' make -C attacks make[3]: Entering directory '/build/mdk4-4.1+git20200420/src/attacks' make[3]: Nothing to be done for 'all'. @@ -953,7 +1072,7 @@ make[2]: Leaving directory '/build/mdk4-4.1+git20200420/src' make[1]: Leaving directory '/build/mdk4-4.1+git20200420' dh_auto_test - make -j3 test + make -j4 test make[1]: Entering directory '/build/mdk4-4.1+git20200420' make -C src test make[2]: Entering directory '/build/mdk4-4.1+git20200420/src' @@ -999,12 +1118,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/25994/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/25994/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/5413 and its subdirectories -I: Current time: Thu Aug 12 02:09:51 -12 2021 -I: pbuilder-time-stamp: 1628777391 +I: removing directory /srv/workspace/pbuilder/25994 and its subdirectories +I: Current time: Fri Aug 13 04:17:26 +14 2021 +I: pbuilder-time-stamp: 1628777846