Build of mdk3 with vanilla toolchain

The build took 00h 00m 49s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
9,477 ansic
81 makefile
12 sh
9,570 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: mdk3 v6-6 (Wed Aug 24 12:48:50 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/mdk3/src/mdk3-v6/osdep'
# Building for Linux
# make[1]: Entering directory '/tmp/mdk3/src/mdk3-v6/osdep'
# gcc -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o osdep.o osdep.c
# gcc -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o common.o common.c
# gcc -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o network.o network.c
# gcc -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux.o linux.c
# gcc -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux_tap.o linux_tap.c
# gcc -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c
# ar cru libosdep.a osdep.o common.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# ranlib libosdep.a
# touch .os.Linux
# make[1]: Leaving directory '/tmp/mdk3/src/mdk3-v6/osdep'
# make: Leaving directory '/tmp/mdk3/src/mdk3-v6/osdep'
# make -C osdep
# cc -g -O3 -Wall -Wextra -lpthread mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep
# make[1]: Entering directory '/tmp/mdk3/src/mdk3-v6/osdep'
# Building for Linux
# make[2]: Entering directory '/tmp/mdk3/src/mdk3-v6/osdep'
# make[2]: '.os.Linux' is up to date.
# make[2]: Leaving directory '/tmp/mdk3/src/mdk3-v6/osdep'
# make[1]: Leaving directory '/tmp/mdk3/src/mdk3-v6/osdep'
# mdk3.c: In function 'read_line_from_file':
# mdk3.c:755:40: warning: passing argument 2 of 'getline' from incompatible pointer type [-Wincompatible-pointer-types]
# bytes_read = getline(&ssid_string, &size, ssid_file_fp);
# ^
# In file included from /usr/include/stdio.h:933:0,
# from mdk3.c:28:
# /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'unsigned int *'
# getline (char **__lineptr, size_t *__n, FILE *__stream)
# ^~~~~~~
# mdk3.c:760:37: warning: passing argument 2 of 'getline' from incompatible pointer type [-Wincompatible-pointer-types]
# bytes_read = getline(&ssid_string, &size, ssid_file_fp);
# ^
# In file included from /usr/include/stdio.h:933:0,
# from mdk3.c:28:
# /usr/include/bits/stdio.h:115:1: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'unsigned int *'
# getline (char **__lineptr, size_t *__n, FILE *__stream)
# ^~~~~~~
# mdk3.c: In function 'bruteforce_ssid':
# mdk3.c:809:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (brute_ssid[ssid_len-1] == (int) NULL) {
# ^
# mdk3.c:828:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (brute_ssid[ssid_len-1] == (int) NULL) {
# ^
# mdk3.c:847:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (brute_ssid[ssid_len-1] == (int) NULL) {
# ^
# mdk3.c:866:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (brute_ssid[ssid_len-1] == (int) NULL) {
# ^
# mdk3.c:888:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (brute_ssid[ssid_len-1] == (int) NULL) {
# ^
# mdk3.c:913:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# if (brute_ssid[ssid_len-1] == (int) NULL) {
# ^
# mdk3.c: In function 'ssid_brute_sniffer':
# mdk3.c:1512:9: warning: variable 'len' set but not used [-Wunused-but-set-variable]
# int len=0;
# ^~~
# mdk3.c: In function 'mac_bruteforce_sniffer':
# mdk3.c:1926:9: warning: variable 'plen' set but not used [-Wunused-but-set-variable]
# int plen = 0;
# ^~~~
# mdk3.c: In function 'eapol_machine':
# mdk3.c:2560:17: warning: variable 'len' set but not used [-Wunused-but-set-variable]
# int co, flag, len;
# ^~~
# mdk3.c: In function 'check_probe':
# mdk3.c:3153:9: warning: variable 'len' set but not used [-Wunused-but-set-variable]
# int len = 0;
# ^~~
# mdk3.c: In function 'mdk_parser':
# mdk3.c:3431:16: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^
# mdk3.c:3436:16: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^
# mdk3.c:3494:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
# if (! argc > t+1) { printf(use_prob); return -1; }
# ^
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make -C osdep install
# make[1]: Entering directory '/tmp/mdk3/src/mdk3-v6/osdep'
# Building for Linux
# make[2]: Entering directory '/tmp/mdk3/src/mdk3-v6/osdep'
# make[2]: '.os.Linux' is up to date.
# make[2]: Leaving directory '/tmp/mdk3/src/mdk3-v6/osdep'
# make[1]: Leaving directory '/tmp/mdk3/src/mdk3-v6/osdep'
# install -D -m 0755 mdk3 /tmp/mdk3/pkg/mdk3//usr/sbin/mdk3
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "mdk3"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: mdk3 v6-6 (Wed Aug 24 12:48:53 UTC 2016)

CMD: pacman --query --file mdk3-v6-6-x86_64.pkg.tar.xz
# mdk3 v6-6

Creating hybrid package for 'mdk3'

Trying to find vanilla package 'mdk3'...

CMD: pacman --query --file /mirror/mdk3-v6-6.pkg.tar.xz
# mdk3 v6-6

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/mdk3
# /usr/share/doc/mdk3/Documentation_incomplete.html

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf mdk3.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/mdk3.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/mdk3.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/mdk3.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'