Build of libnatpmp with clang_glibc toolchain

The build took 00h 02m 37s and was SUCCESSFUL.

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

SLOCLanguage
1,321 ansic
312 java
134 makefile
23 python
1,790 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: libnatpmp 20140401-2 (Thu Apr 13 13:09:41 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmp.o natpmp.c
# In file included from natpmp.c:32:
# In file included from /usr/include/string.h:25:
# /usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
# ^
# 1 warning generated.
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o getgateway.o getgateway.c
# ar crs libnatpmp.a natpmp.o getgateway.o
# gcc -shared -Wl,-soname,libnatpmp.so.1 -o libnatpmp.so natpmp.o getgateway.o
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o testgetgateway.o testgetgateway.c
# gcc -o testgetgateway testgetgateway.o getgateway.o
# gcc -fPIC -Wall -DENABLE_STRNATPMPERR -c -o natpmpc.o natpmpc.c
# gcc -o natpmpc-shared natpmpc.o libnatpmp.so
# gcc -o natpmpc-static natpmpc.o libnatpmp.a
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -p -d /tmp/libnatpmp/pkg/libnatpmp/usr/include
# install -p -m 644 natpmp.h /tmp/libnatpmp/pkg/libnatpmp/usr/include
# install -p -d /tmp/libnatpmp/pkg/libnatpmp/usr/lib
# install -p -m 644 libnatpmp.a /tmp/libnatpmp/pkg/libnatpmp/usr/lib
# install -p -m 644 libnatpmp.so /tmp/libnatpmp/pkg/libnatpmp/usr/lib/libnatpmp.so.1
# install -p -d /tmp/libnatpmp/pkg/libnatpmp/usr/bin
# install -p -m 755 natpmpc-shared /tmp/libnatpmp/pkg/libnatpmp/usr/bin/natpmpc
# ln -s -f libnatpmp.so.1 /tmp/libnatpmp/pkg/libnatpmp/usr/lib/libnatpmp.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libnatpmp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libnatpmp 20140401-2 (Thu Apr 13 13:09:50 UTC 2017)

CMD: pacman --query --file libnatpmp-20140401-2-x86_64.pkg.tar.xz
# libnatpmp 20140401-2

Creating hybrid package for 'libnatpmp'

Trying to find vanilla package 'libnatpmp'...

CMD: pacman --query --file /mirror/libnatpmp-20140401-2.pkg.tar.xz
# libnatpmp 20140401-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/natpmp.h
# /usr/lib/libnatpmp.so
# /usr/lib/libnatpmp.so.1
# /usr/bin/natpmpc
# /usr/share/licenses/libnatpmp/LICENSE
# /usr/share/man/man1/natpmpc.1.gz
# /sysroot/usr/lib/libnatpmp.a
# /sysroot/usr/lib/libnatpmp.so.1
# /sysroot/usr/lib/libnatpmp.so
# /sysroot/usr/include/natpmp.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 libnatpmp.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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