Build of openbsd-netcat with clang_glibc toolchain

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

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

SLOCLanguage
1,431 ansic
429 sh
26 makefile
1,886 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: openbsd-netcat 1.105_7-7 (Thu Apr 13 19:18:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) libbsd-0.8.3-1
#
# Total Installed Size: 0.33 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing libbsd...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# ** patch 0001-port-to-linux-with-libsd.patch
# ** patch 0002-connect-timeout.patch
# ** patch 0003-get-sev-by-name.patch
# ** patch 0004-poll-hup.patch
# ** patch 0005-send-crlf.patch
# ** patch 0006-quit-timer.patch
# ** patch 0007-udp-scan-timeout.patch
# ** patch 0008-verbose-numeric-port.patch
# ** patch 0009-dccp-support.patch
# ** patch 0010-serialized-handling-multiple-clients.patch
# ** patch 0011-misc-failures-and-features.patch
# patching file Makefile
# patching file nc.1
# patching file netcat.c
# patching file socks.c
# patching file netcat.c
# patching file netcat.c
# patching file netcat.c
# patching file nc.1
# patching file netcat.c
# patching file nc.1
# patching file netcat.c
# patching file netcat.c
# patching file netcat.c
# patching file nc.1
# patching file netcat.c
# patching file netcat.c
# patching file nc.1
# patching file netcat.c
# clang -DDEBIAN_VERSION="\"7\"" -I/usr/include/libbsd -c netcat.c -o netcat.o
# clang -DDEBIAN_VERSION="\"7\"" -I/usr/include/libbsd -c atomicio.c -o atomicio.o
# clang -DDEBIAN_VERSION="\"7\"" -I/usr/include/libbsd -c socks.c -o socks.o
# clang -DDEBIAN_VERSION="\"7\"" -I/usr/include/libbsd -lbsd netcat.o atomicio.o socks.o `pkg-config --libs libbsd` -lresolv -o nc
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "openbsd-netcat"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: openbsd-netcat 1.105_7-7 (Thu Apr 13 19:18:56 UTC 2017)

CMD: pacman --query --file openbsd-netcat-1.105_7-7-x86_64.pkg.tar.xz
# openbsd-netcat 1.105_7-7

Creating hybrid package for 'openbsd-netcat'

Trying to find vanilla package 'openbsd-netcat'...

CMD: pacman --query --file /mirror/openbsd-netcat-1.105_7-7.pkg.tar.xz
# openbsd-netcat 1.105_7-7

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/nc
# /usr/bin/netcat
# /usr/share/man/man1/nc.1.gz
# /usr/share/licenses/openbsd-netcat/LICENSE

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

CMD: bsdtar -tqf openbsd-netcat.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/openbsd-netcat.pkg.tar.xz

Attempting to access local repository, attempt 1

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