Build of iw with clang_glibc toolchain

The build took 00h 01m 09s and was SUCCESSFUL.

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

SLOCLanguage
10,475 ansic
99 makefile
26 sh
10,600 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...

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: iw 4.7-1 (Thu Apr 13 17:58:54 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC iw.o
# CC genl.o
# CC event.o
# CC info.o
# info.c:665:26: warning: implicit conversion from enumeration type 'enum command_identify_by' to different enumeration type 'enum id_input' [-Wenum-conversion]
# err = handle_cmd(state, CIB_NONE, 2, feat_args);
# ~~~~~~~~~~ ^~~~~~~~
# 1 warning generated.
# CC phy.o
# CC interface.o
# CC ibss.o
# In file included from ibss.c:8:
# In file included from /usr/include/libnl3/netlink/genl/genl.h:16:
# In file included from /usr/include/libnl3/netlink/msg.h:17:
# In file included from /usr/include/libnl3/netlink/attr.h:17:
# /usr/include/libnl3/netlink/addr.h:45:17: warning: declaration of 'struct addrinfo' will not be visible outside of this function [-Wvisibility]
# struct addrinfo **);
# ^
# 1 warning generated.
# CC station.o
# CC survey.o
# CC util.o
# CC ocb.o
# CC mesh.o
# CC mpath.o
# CC mpp.o
# CC scan.o
# scan.c:1036:10: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[3], data[4], data[5], data[6], data[7], data[8]);
# ^~~~~~~
# scan.c:1036:19: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[3], data[4], data[5], data[6], data[7], data[8]);
# ^~~~~~~
# scan.c:1036:28: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[3], data[4], data[5], data[6], data[7], data[8]);
# ^~~~~~~
# scan.c:1036:37: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[3], data[4], data[5], data[6], data[7], data[8]);
# ^~~~~~~
# scan.c:1036:46: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[3], data[4], data[5], data[6], data[7], data[8]);
# ^~~~~~~
# scan.c:1036:55: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[3], data[4], data[5], data[6], data[7], data[8]);
# ^~~~~~~
# scan.c:1039:10: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[1], data[2], data[3], data[4], data[5], data[6]);
# ^~~~~~~
# scan.c:1039:19: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[1], data[2], data[3], data[4], data[5], data[6]);
# ^~~~~~~
# scan.c:1039:28: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[1], data[2], data[3], data[4], data[5], data[6]);
# ^~~~~~~
# scan.c:1039:37: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[1], data[2], data[3], data[4], data[5], data[6]);
# ^~~~~~~
# scan.c:1039:46: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[1], data[2], data[3], data[4], data[5], data[6]);
# ^~~~~~~
# scan.c:1039:55: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# data[1], data[2], data[3], data[4], data[5], data[6]);
# ^~~~~~~
# scan.c:1094:21: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# printf("%02hx", data[2 + idx]);
# ~~~~~ ^~~~~~~~~~~~~
# %02hhx
# scan.c:1106:21: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# printf("%02hx", data[2 + ln0 + idx]);
# ~~~~~ ^~~~~~~~~~~~~~~~~~~
# %02hhx
# scan.c:1118:21: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
# printf("%02hx", data[2 + ln0 + ln1 + idx]);
# ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
# %02hhx
# 15 warnings generated.
# CC reg.o
# reg.c:246:26: warning: implicit conversion from enumeration type 'enum command_identify_by' to different enumeration type 'enum id_input' [-Wenum-conversion]
# err = handle_cmd(state, CIB_NONE, 2, dump_args);
# ~~~~~~~~~~ ^~~~~~~~
# 1 warning generated.
# GEN version.c
# CC version.o
# CC reason.o
# CC status.o
# CC connect.o
# CC link.o
# CC offch.o
# CC ps.o
# CC cqm.o
# CC bitrate.o
# CC wowlan.o
# CC coalesce.o
# CC roc.o
# CC p2p.o
# CC vendor.o
# CC sections.o
# CC iw
# ==> Entering fakeroot environment...
# ==> Starting package()...
# GZIP iw.8
# INST iw
# INST iw.8
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "iw"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: iw 4.7-1 (Thu Apr 13 17:58:58 UTC 2017)

CMD: pacman --query --file iw-4.7-1-x86_64.pkg.tar.xz
# iw 4.7-1

Creating hybrid package for 'iw'

Trying to find vanilla package 'iw'...

CMD: pacman --query --file /mirror/python2-iwscan-20090609-5.pkg.tar.xz
# python2-iwscan 20090609-5

CMD: pacman --query --file /mirror/iw-4.7-1.pkg.tar.xz
# iw 4.7-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/iw
# /usr/share/man/man8/iw.8.gz

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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