Build of hostapd with clang_glibc toolchain

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

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

SLOCLanguage
206,044 ansic
1,279 makefile
270 python
48 perl
207,641 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: hostapd 2.5-2 (Thu Apr 13 16:46:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# CC main.c
# CC config_file.c
# CC ../src/ap/hostapd.c
# CC ../src/ap/wpa_auth_glue.c
# CC ../src/ap/drv_callbacks.c
# CC ../src/ap/ap_drv_ops.c
# CC ../src/ap/utils.c
# CC ../src/ap/authsrv.c
# CC ../src/ap/ieee802_1x.c
# CC ../src/ap/ap_config.c
# CC ../src/ap/eap_user_db.c
# CC ../src/ap/ieee802_11_auth.c
# CC ../src/ap/sta_info.c
# CC ../src/ap/wpa_auth.c
# CC ../src/ap/tkip_countermeasures.c
# CC ../src/ap/ap_mlme.c
# CC ../src/ap/wpa_auth_ie.c
# CC ../src/ap/preauth_auth.c
# CC ../src/ap/pmksa_cache_auth.c
# CC ../src/ap/ieee802_11_shared.c
# CC ../src/ap/beacon.c
# CC ../src/ap/bss_load.c
# CC ../src/drivers/drivers.c
# CC ../src/utils/eloop.c
# CC ../src/utils/common.c
# CC ../src/utils/wpa_debug.c
# CC ../src/utils/wpabuf.c
# CC ../src/utils/os_unix.c
# CC ../src/utils/ip_addr.c
# CC ../src/common/ieee802_11_common.c
# CC ../src/common/wpa_common.c
# CC ../src/common/hw_features_common.c
# CC ../src/eapol_auth/eapol_auth_sm.c
# CC ../src/eapol_auth/eapol_auth_dump.c
# CC ../src/radius/radius.c
# CC ../src/radius/radius_client.c
# CC ../src/radius/radius_das.c
# CC ../src/ap/accounting.c
# CC ../src/ap/vlan_init.c
# CC ctrl_iface.c
# CC ../src/ap/ctrl_iface_ap.c
# CC ../src/ap/iapp.c
# CC ../src/ap/peerkey_auth.c
# CC ../src/drivers/driver_hostap.c
# CC ../src/drivers/driver_wired.c
# CC ../src/drivers/driver_nl80211.c
# CC ../src/drivers/driver_nl80211_capa.c
# CC ../src/drivers/driver_nl80211_event.c
# CC ../src/drivers/driver_nl80211_monitor.c
# CC ../src/drivers/driver_nl80211_scan.c
# CC ../src/utils/radiotap.c
# CC ../src/drivers/netlink.c
# CC ../src/drivers/linux_ioctl.c
# CC ../src/drivers/rfkill.c
# CC ../src/l2_packet/l2_packet_linux.c
# CC ../src/eap_server/eap_server_md5.c
# CC ../src/eap_server/eap_server_tls.c
# CC ../src/eap_server/eap_server_peap.c
# CC ../src/eap_common/eap_peap_common.c
# CC ../src/eap_server/eap_server_ttls.c
# CC ../src/eap_server/eap_server_mschapv2.c
# CC ../src/eap_server/eap_server_gtc.c
# CC ../src/eap_server/eap_server_sim.c
# CC ../src/eap_server/eap_server_aka.c
# CC ../src/eap_common/eap_sim_common.c
# CC ../src/eap_server/eap_sim_db.c
# CC ../src/eap_server/eap_server_pax.c
# CC ../src/eap_common/eap_pax_common.c
# CC ../src/eap_server/eap_server_psk.c
# CC ../src/eap_common/eap_psk_common.c
# CC ../src/eap_server/eap_server_sake.c
# CC ../src/eap_common/eap_sake_common.c
# CC ../src/eap_server/eap_server_gpsk.c
# CC ../src/eap_common/eap_gpsk_common.c
# CC eap_register.c
# CC ../src/eap_server/eap_server.c
# CC ../src/eap_common/eap_common.c
# CC ../src/eap_server/eap_server_methods.c
# CC ../src/eap_server/eap_server_identity.c
# CC ../src/crypto/ms_funcs.c
# CC ../src/eap_common/chap.c
# CC ../src/eap_server/eap_server_tls_common.c
# CC ../src/crypto/tls_openssl.c
# CC ../src/crypto/crypto_openssl.c
# CC ../src/crypto/fips_prf_openssl.c
# CC ../src/crypto/aes-eax.c
# CC ../src/crypto/aes-ctr.c
# CC ../src/crypto/aes-encblock.c
# CC ../src/crypto/aes-omac1.c
# CC ../src/crypto/sha1-prf.c
# CC ../src/crypto/sha1-tlsprf.c
# CC ../src/crypto/sha256-prf.c
# CC ../src/crypto/sha256-tlsprf.c
# CC ../src/crypto/random.c
# CC ../src/radius/radius_server.c
# CC ../src/ap/wmm.c
# CC ../src/ap/ap_list.c
# CC ../src/ap/ieee802_11.c
# CC ../src/ap/hw_features.c
# CC ../src/ap/dfs.c
# CC ../src/ap/ieee802_11_ht.c
# CC ../src/ap/ieee802_11_vht.c
# CC ../src/drivers/driver_common.c
# CC ../src/ap/acs.c
# LD hostapd
# CC hostapd_cli.c
# CC ../src/common/wpa_ctrl.c
# CC ../src/utils/edit_simple.c
# LD hostapd_cli
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "hostapd"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding install file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: hostapd 2.5-2 (Thu Apr 13 16:46:53 UTC 2017)

CMD: pacman --query --file hostapd-2.5-2-x86_64.pkg.tar.xz
# hostapd 2.5-2

Creating hybrid package for 'hostapd'

Trying to find vanilla package 'hostapd'...

CMD: pacman --query --file /mirror/hostapd-2.5-2.pkg.tar.xz
# hostapd 2.5-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.INSTALL
# /.MTREE
# /usr/bin/hostapd
# /usr/bin/hostapd_cli
# /usr/share/licenses/hostapd/COPYING
# /usr/share/man/man1/hostapd_cli.1.gz
# /usr/share/man/man8/hostapd.8.gz
# /usr/share/doc/hostapd/hostapd.conf
# /usr/share/doc/hostapd/hlr_auc_gw.milenage_db
# /usr/share/doc/hostapd/hostapd.eap_user
# /usr/share/doc/hostapd/hostapd.deny
# /usr/share/doc/hostapd/hostapd.accept
# /usr/share/doc/hostapd/wired.conf
# /usr/share/doc/hostapd/hostapd.vlan
# /usr/share/doc/hostapd/hostapd.radius_clients
# /usr/share/doc/hostapd/hostapd.sim_db
# /usr/share/doc/hostapd/hostapd.wpa_psk
# /usr/lib/systemd/system/hostapd.service
# /sysroot/usr/lib/systemd/system/hostapd.service

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL etc usr sysroot .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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