Build of udpxy with clang_glibc toolchain

The build took 00h 04m 08s and was SUCCESSFUL.

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

SLOCLanguage
5,452 ansic
136 makefile
5,588 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: udpxy 1.0.23.9-1 (Thu Apr 13 12:41:56 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -O2 -DUDPXREC_MOD -MM udpxy.c sloop.c rparse.c util.c prbuf.c ifaddr.c ctx.c mkpg.c rtp.c uopt.c dpkt.c netop.c extrn.c main.c udpxrec.c > udpxy.dep
#
# Making a [release] version (use 'debug' target as an alternative)
#
# make[1]: Entering directory '/tmp/udpxy/src/udpxy-1.0.23-9'
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c udpxy.c -o udpxy.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c sloop.c -o sloop.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c rparse.c -o rparse.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c util.c -o util.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c prbuf.c -o prbuf.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c ifaddr.c -o ifaddr.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c ctx.c -o ctx.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c mkpg.c -o mkpg.o
# mkpg.c:93:29: warning: address of array 'client->tail' will always evaluate to 'true' [-Wpointer-bool-conversion]
# client->tail ? client->tail : "",
# ~~~~~~~~^~~~ ~
# mkpg.c:100:25: warning: address of array 'client->tail' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (client->tail && strlen(client->tail) > max_cli_tail)
# ~~~~~~~~^~~~ ~~
# 2 warnings generated.
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c rtp.c -o rtp.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c uopt.c -o uopt.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c dpkt.c -o dpkt.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c netop.c -o netop.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c extrn.c -o extrn.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c main.c -o main.o
# gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c udpxrec.c -o udpxrec.o
# gcc -O2 -DNDEBUG -DTRACE_MODULE -o udpxy udpxy.o sloop.o rparse.o util.o prbuf.o ifaddr.o ctx.o mkpg.o rtp.o uopt.o dpkt.o netop.o extrn.o main.o udpxrec.o
# -rwxr-xr-x 1 tuscan tuscan 85624 Apr 13 12:42 udpxy
# ln -s udpxy udpxrec
# make[1]: Leaving directory '/tmp/udpxy/src/udpxy-1.0.23-9'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# -rwxr-xr-x 1 tuscan tuscan 85624 Apr 13 12:42 /tmp/udpxy/pkg/udpxy/usr/bin/udpxy
# -rwxr-xr-x 1 tuscan tuscan 85624 Apr 13 12:42 /tmp/udpxy/pkg/udpxy/usr/bin/udpxrec
# Installation of udpxy is complete
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "udpxy"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: udpxy 1.0.23.9-1 (Thu Apr 13 12:42:13 UTC 2017)

CMD: pacman --query --file udpxy-1.0.23.9-1-x86_64.pkg.tar.xz
# udpxy 1.0.23.9-1

Creating hybrid package for 'udpxy'

Trying to find vanilla package 'udpxy'...

CMD: pacman --query --file /mirror/udpxy-1.0.23.9-1.pkg.tar.xz
# udpxy 1.0.23.9-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/udpxy
# /usr/bin/udpxrec
# /usr/share/man/man1/udpxrec.1.gz
# /usr/share/man/man1/udpxy.1.gz
# /usr/lib/systemd/system/udpxy.service
# /sysroot/usr/lib/systemd/system/udpxy.service

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/udpxy.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# cat: /var/cache/pacman/pkg/tuscan.db.tar.lck: No such file or directory
# ==> ERROR: Held by process

Attempting to access local repository, attempt 2

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