Build of mdk3 with clang_glibc toolchain

The build took 00h 03m 45s 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.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: mdk3 v6-6 (Thu Apr 13 14:21:54 UTC 2017)
# ==> 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
# linux.c:498:29: warning: 'memset' call operates on objects of type 'unsigned char' while the size is based on a different type 'unsigned char *' [-Wsizeof-pointer-memaccess]
# memset( buf, 0, sizeof( buf ) );
# ~~~ ^~~
# linux.c:498:29: note: did you mean to provide an explicit length?
# memset( buf, 0, sizeof( buf ) );
# ^~~
# linux.c:1259:46: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ^ ~~
# linux.c:1259:46: note: add parentheses after the '!' to evaluate the comparison first
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ^
# ( )
# linux.c:1259:46: note: add parentheses around left hand side expression to silence this warning
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ^
# ( )
# linux.c:1269:50: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ^ ~~
# linux.c:1269:50: note: add parentheses after the '!' to evaluate the comparison first
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ^
# ( )
# linux.c:1269:50: note: add parentheses around left hand side expression to silence this warning
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ^
# ( )
# linux.c:1259:63: warning: comparison of constant 'DT_ORINOCO' (6) with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
# linux.c:1269:67: warning: comparison of constant 'DT_ORINOCO' (6) with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
# if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO )
# ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
# 5 warnings generated.
# 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
# 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'
# clang -g -O3 -Wall -Wextra -lpthread mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep
# mdk3.c:755:40: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# bytes_read = getline(&ssid_string, &size, ssid_file_fp);
# ^~~~~
# /usr/include/bits/stdio.h:115:36: note: passing argument to parameter '__n' here
# getline (char **__lineptr, size_t *__n, FILE *__stream)
# ^
# mdk3.c:760:37: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# bytes_read = getline(&ssid_string, &size, ssid_file_fp);
# ^~~~~
# /usr/include/bits/stdio.h:115:36: note: passing argument to parameter '__n' here
# getline (char **__lineptr, size_t *__n, FILE *__stream)
# ^
# mdk3.c:3393:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_head);
# ^~~~~~~~
# mdk3.c:3409:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# else { printf(use_beac); return -1; }
# ^~~~~~~~
# mdk3.c:3413:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# else { printf(use_beac); return -1; }
# ^~~~~~~~
# mdk3.c:3431:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^ ~
# mdk3.c:3431:9: note: add parentheses after the '!' to evaluate the comparison first
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^
# ( )
# mdk3.c:3431:9: note: add parentheses around left hand side expression to silence this warning
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^
# ( )
# mdk3.c:3431:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^~~~~~~~
# mdk3.c:3436:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^ ~
# mdk3.c:3436:9: note: add parentheses after the '!' to evaluate the comparison first
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^
# ( )
# mdk3.c:3436:9: note: add parentheses around left hand side expression to silence this warning
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^
# ( )
# mdk3.c:3436:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! argc > t+1) { printf(use_auth); return -1; }
# ^~~~~~~~
# mdk3.c:3494:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (! argc > t+1) { printf(use_prob); return -1; }
# ^ ~
# mdk3.c:3494:7: note: add parentheses after the '!' to evaluate the comparison first
# if (! argc > t+1) { printf(use_prob); return -1; }
# ^
# ( )
# mdk3.c:3494:7: note: add parentheses around left hand side expression to silence this warning
# if (! argc > t+1) { printf(use_prob); return -1; }
# ^
# ( )
# mdk3.c:3494:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! argc > t+1) { printf(use_prob); return -1; }
# ^~~~~~~~
# mdk3.c:3535:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_mich); return -1; }
# ^~~~~~~~
# mdk3.c:3555:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (argc < 4) { printf(use_eapo); return -1; }
# ^~~~~~~~
# mdk3.c:3565:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_eapo); return -1; }
# ^~~~~~~~
# mdk3.c:3569:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_eapo); return -1; }
# ^~~~~~~~
# mdk3.c:3574:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_eapo); return -1; }
# ^~~~~~~~
# mdk3.c:3602:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (wblist != 0) { printf(use_deau); return -1; }
# ^~~~~~~~
# mdk3.c:3608:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (wblist != 0) { printf(use_deau); return -1; }
# ^~~~~~~~
# mdk3.c:3630:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_macb); return -1; }
# ^~~~~~~~
# mdk3.c:3636:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_macb); return -1; }
# ^~~~~~~~
# mdk3.c:3640:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_macb); return -1; }
# ^~~~~~~~
# mdk3.c:3655:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# if (! (argc > t+1)) { printf(use_wpad); return -1; }
# ^~~~~~~~
# mdk3.c:3663:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_head);
# ^~~~~~~~
# mdk3.c:3672:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_wids);
# ^~~~~~~~
# mdk3.c:3855:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_head);
# ^~~~~~~~
# mdk3.c:3862:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_head);
# ^~~~~~~~
# mdk3.c:3868:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_beac);
# ^~~~~~~~
# mdk3.c:3871:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_auth);
# ^~~~~~~~
# mdk3.c:3874:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_prob);
# ^~~~~~~~
# mdk3.c:3877:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_deau);
# ^~~~~~~~
# mdk3.c:3880:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_mich);
# ^~~~~~~~
# mdk3.c:3883:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_eapo);
# ^~~~~~~~
# mdk3.c:3886:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_wids);
# ^~~~~~~~
# mdk3.c:3889:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_macb);
# ^~~~~~~~
# mdk3.c:3892:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_wpad);
# ^~~~~~~~
# mdk3.c:3895:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_head);
# ^~~~~~~~
# mdk3.c:3902:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_head);
# ^~~~~~~~
# mdk3.c:3904:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_beac);
# ^~~~~~~~
# mdk3.c:3905:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_auth);
# ^~~~~~~~
# mdk3.c:3906:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_prob);
# ^~~~~~~~
# mdk3.c:3907:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_deau);
# ^~~~~~~~
# mdk3.c:3908:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_mich);
# ^~~~~~~~
# mdk3.c:3909:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_eapo);
# ^~~~~~~~
# mdk3.c:3910:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_wids);
# ^~~~~~~~
# mdk3.c:3911:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_macb);
# ^~~~~~~~
# mdk3.c:3912:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(use_wpad);
# ^~~~~~~~
# 46 warnings generated.
# ==> 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 (Thu Apr 13 14:22:08 UTC 2017)

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'