Build of arptables with clang_glibc toolchain

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

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

SLOCLanguage
4,311 ansic
90 sh
81 perl
60 makefile
4,542 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: arptables 0.0.4-3 (Thu Apr 13 16:34:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -c -o arptables-standalone.o arptables-standalone.c
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -c -o arptables.o arptables.c
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -c -o libarptc/libarptc.o libarptc/libarptc.c
# In file included from libarptc/libarptc.c:106:
# libarptc/libarptc_incl.c:27:15: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
# [NF_ARP_IN] "INPUT",
# ^
# =
# libarptc/libarptc_incl.c:28:16: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
# [NF_ARP_OUT] "OUTPUT",
# ^
# =
# libarptc/libarptc_incl.c:29:19: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
# [NF_ARP_FORWARD] "FORWARD",
# ^
# =
# libarptc/libarptc.c:279:1: warning: unused function 'check_entry' [-Wunused-function]
# check_entry(const STRUCT_ENTRY *e, unsigned int *i, unsigned int *off,
# ^
# 4 warnings generated.
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -c -o extensions/arpt_standard.o extensions/arpt_standard.c
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -c -o extensions/arpt_mangle.o extensions/arpt_mangle.c
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -c -o extensions/arpt_CLASSIFY.o extensions/arpt_CLASSIFY.c
# clang -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.4\" -o arptables arptables-standalone.o arptables.o libarptc/libarptc.o extensions/arpt_standard.o extensions/arpt_mangle.o extensions/arpt_CLASSIFY.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /tmp/arptables/src/arptables-v0.0.4 /tmp/arptables/src
# mkdir -p /tmp/arptables/pkg/arptables/usr/share/man/man8
# install -m 0644 arptables.8 /tmp/arptables/pkg/arptables/usr/share/man/man8/arptables.8
# mkdir -p /tmp/arptables/pkg/arptables/usr/bin
# install -m 0755 arptables /tmp/arptables/pkg/arptables/usr/bin/arptables
# cat arptables-save | sed 's/__EXEC_PATH__/\/usr\/bin/g' > arptables-save_
# install -m 0755 arptables-save_ /tmp/arptables/pkg/arptables/usr/bin/arptables-save
# cat arptables-restore | sed 's/__EXEC_PATH__/\/usr\/bin/g' > arptables-restore_
# install -m 0755 arptables-restore_ /tmp/arptables/pkg/arptables/usr/bin/arptables-restore
# cat arptables.sysv | sed 's/__EXEC_PATH__/\/usr\/bin/g' | sed 's/__SYSCONFIG__/\/etc/g' > arptables.sysv_
# if [ "/tmp/arptables/pkg/arptables" != "" ]; then mkdir -p /tmp/arptables/pkg/arptables/etc/rc.d; fi
# if test -d /tmp/arptables/pkg/arptables/etc/rc.d; then install -m 0755 arptables.sysv_ /tmp/arptables/pkg/arptables/etc/rc.d/arptables; fi
# rm -f arptables-save_ arptables-restore_ arptables.sysv_
# /tmp/arptables/src
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "arptables"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: arptables 0.0.4-3 (Thu Apr 13 16:34:25 UTC 2017)

CMD: pacman --query --file arptables-0.0.4-3-x86_64.pkg.tar.xz
# arptables 0.0.4-3

Creating hybrid package for 'arptables'

Trying to find vanilla package 'arptables'...

CMD: pacman --query --file /mirror/arptables-0.0.4-3.pkg.tar.xz
# arptables 0.0.4-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /etc/arptables.conf
# /usr/share/man/man8/arptables.8.gz
# /usr/bin/arptables-save
# /usr/bin/arptables-restore
# /usr/bin/arptables
# /usr/lib/systemd/scripts/arptables
# /usr/lib/systemd/system/arptables.service
# /sysroot/usr/lib/systemd/scripts/arptables
# /sysroot/usr/lib/systemd/system/arptables.service

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/arptables.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 3168

Attempting to access local repository, attempt 2

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