Build of miniupnpc with clang_glibc toolchain

The build took 00h 03m 48s and was SUCCESSFUL.

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

SLOCLanguage
7,174 ansic
276 makefile
153 python
115 sh
88 java
7,806 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: miniupnpc 1.9.20151026-1 (Thu Apr 13 13:25:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# /bin/sh updateminiupnpcstrings.sh
# which: no lsb_release in (/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
# Detected OS [Linux] version [4.10.6-1-ARCH]
# MiniUPnPc version [1.9]
# setting OS_STRING macro value to Linux/4.10.6-1-ARCH in miniupnpcstrings.h.
# setting MINIUPNPC_VERSION_STRING macro value to 1.9 in miniupnpcstrings.h.
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o miniwget.o miniwget.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o minixml.o minixml.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o igd_desc_parse.o igd_desc_parse.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o minisoap.o minisoap.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o miniupnpc.o miniupnpc.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpreplyparse.o upnpreplyparse.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpcommands.o upnpcommands.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnperrors.o upnperrors.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o connecthostport.o connecthostport.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o portlistingparse.o portlistingparse.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o receivedata.o receivedata.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpdev.o upnpdev.c
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o minissdpc.o minissdpc.c
# ar crs libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o minissdpc.o
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o upnpc.o upnpc.c
# clang -o upnpc-static upnpc.o libminiupnpc.a
# clang -fPIC -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o listdevices.o listdevices.c
# clang listdevices.o libminiupnpc.a -o listdevices
# clang -shared -Wl,-soname,libminiupnpc.so.15 -o libminiupnpc.so miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o minissdpc.o
# clang -o upnpc-shared upnpc.o libminiupnpc.so
# ==> Entering fakeroot environment...
# ==> Starting package()...
# cp miniupnpc.h miniupnpc.h.bak
# sed 's/\(.*MINIUPNPC_API_VERSION\s\+\)[0-9]\+/\115/' < miniupnpc.h.bak > miniupnpc.h
# install -d /tmp/miniupnpc/pkg/miniupnpc//usr/include/miniupnpc
# install -m 644 miniupnpc.h miniwget.h upnpcommands.h igd_desc_parse.h upnpreplyparse.h upnperrors.h miniupnpctypes.h portlistingparse.h upnpdev.h miniupnpc_declspec.h /tmp/miniupnpc/pkg/miniupnpc//usr/include/miniupnpc
# install -d /tmp/miniupnpc/pkg/miniupnpc//usr/lib
# install -m 644 libminiupnpc.a /tmp/miniupnpc/pkg/miniupnpc//usr/lib
# install -m 644 libminiupnpc.so /tmp/miniupnpc/pkg/miniupnpc//usr/lib/libminiupnpc.so.15
# ln -fs libminiupnpc.so.15 /tmp/miniupnpc/pkg/miniupnpc//usr/lib/libminiupnpc.so
# install -d /tmp/miniupnpc/pkg/miniupnpc//usr/bin
# install -m 755 upnpc-shared /tmp/miniupnpc/pkg/miniupnpc//usr/bin/upnpc
# install -m 755 external-ip.sh /tmp/miniupnpc/pkg/miniupnpc//usr/bin/external-ip
# install -d /tmp/miniupnpc/pkg/miniupnpc//usr/share/man/man3
# install -m 644 man3/miniupnpc.3 /tmp/miniupnpc/pkg/miniupnpc//usr/share/man/man3/miniupnpc.3
# gzip -f /tmp/miniupnpc/pkg/miniupnpc//usr/share/man/man3/miniupnpc.3
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "miniupnpc"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: miniupnpc 1.9.20151026-1 (Thu Apr 13 13:25:19 UTC 2017)

CMD: pacman --query --file miniupnpc-1.9.20151026-1-x86_64.pkg.tar.xz
# miniupnpc 1.9.20151026-1

Creating hybrid package for 'miniupnpc'

Trying to find vanilla package 'miniupnpc'...

CMD: pacman --query --file /mirror/miniupnpc-1.9.20151026-1.pkg.tar.xz
# miniupnpc 1.9.20151026-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/miniupnpc/miniupnpc.h
# /usr/include/miniupnpc/miniwget.h
# /usr/include/miniupnpc/upnpcommands.h
# /usr/include/miniupnpc/igd_desc_parse.h
# /usr/include/miniupnpc/upnpreplyparse.h
# /usr/include/miniupnpc/upnperrors.h
# /usr/include/miniupnpc/miniupnpctypes.h
# /usr/include/miniupnpc/portlistingparse.h
# /usr/include/miniupnpc/upnpdev.h
# /usr/include/miniupnpc/miniupnpc_declspec.h
# /usr/lib/libminiupnpc.so
# /usr/lib/libminiupnpc.so.15
# /usr/bin/external-ip
# /usr/bin/upnpc
# /usr/share/man/man3/miniupnpc.3.gz
# /usr/share/licenses/miniupnpc/LICENSE
# /sysroot/usr/lib/libminiupnpc.a
# /sysroot/usr/lib/libminiupnpc.so.15
# /sysroot/usr/lib/libminiupnpc.so
# /sysroot/usr/include/miniupnpc/miniupnpc.h
# /sysroot/usr/include/miniupnpc/miniwget.h
# /sysroot/usr/include/miniupnpc/upnpcommands.h
# /sysroot/usr/include/miniupnpc/igd_desc_parse.h
# /sysroot/usr/include/miniupnpc/upnpreplyparse.h
# /sysroot/usr/include/miniupnpc/upnperrors.h
# /sysroot/usr/include/miniupnpc/miniupnpctypes.h
# /sysroot/usr/include/miniupnpc/portlistingparse.h
# /sysroot/usr/include/miniupnpc/upnpdev.h
# /sysroot/usr/include/miniupnpc/miniupnpc_declspec.h

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 miniupnpc.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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