Build of libparserutils with musl toolchain

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

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

SLOCLanguage
5,108 ansic
119 perl
66 makefile
5,293 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: libparserutils 0.2.3-2 (Tue Apr 4 23:43:38 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) netsurf-buildsystem-1.5-1
#
# Total Installed Size: 0.06 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 netsurf-buildsystem...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# ALIAS: src/charset/aliases.inc
# COMPILE: src/input/filter.c
# COMPILE: src/input/inputstream.c
# COMPILE: src/utils/buffer.c
# COMPILE: src/utils/errors.c
# COMPILE: src/utils/stack.c
# COMPILE: src/utils/vector.c
# COMPILE: src/charset/aliases.c
# COMPILE: src/charset/codec.c
# COMPILE: src/charset/codecs/codec_ascii.c
# COMPILE: src/charset/codecs/codec_8859.c
# COMPILE: src/charset/codecs/codec_ext8.c
# COMPILE: src/charset/codecs/codec_utf8.c
# COMPILE: src/charset/codecs/codec_utf16.c
# COMPILE: src/charset/encodings/utf8.c
# COMPILE: src/charset/encodings/utf16.c
# LINK: build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libparserutils.so.0.2.3
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 644 include/parserutils/errors.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils
# install -m 644 include/parserutils/functypes.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils
# install -m 644 include/parserutils/parserutils.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils
# install -m 644 include/parserutils/types.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils
# install -m 644 include/parserutils/charset/codec.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/charset
# install -m 644 include/parserutils/charset/mibenum.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/charset
# install -m 644 include/parserutils/charset/utf16.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/charset
# install -m 644 include/parserutils/charset/utf8.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/charset
# install -m 644 include/parserutils/input/inputstream.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/input
# install -m 644 include/parserutils/utils/buffer.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/utils
# install -m 644 include/parserutils/utils/stack.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/utils
# install -m 644 include/parserutils/utils/vector.h /tmp/libparserutils/pkg/libparserutils/usr/include/parserutils/utils
# sed -e... libparserutils.pc.in >build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libparserutils.pc
# install -m 644 build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libparserutils.pc /tmp/libparserutils/pkg/libparserutils/usr/lib/pkgconfig/libparserutils.pc
# install -m 755 build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/libparserutils.so.0.2.3 /tmp/libparserutils/pkg/libparserutils/usr/lib/libparserutils.so.0.2.3
# ln -f -s libparserutils.so.0.2.3 /tmp/libparserutils/pkg/libparserutils/usr/lib/libparserutils.so.0
# ln -f -s libparserutils.so.0.2.3 /tmp/libparserutils/pkg/libparserutils/usr/lib/libparserutils.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "libparserutils"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: libparserutils 0.2.3-2 (Tue Apr 4 23:43:41 UTC 2017)

CMD: pacman --query --file libparserutils-0.2.3-2-x86_64.pkg.tar.xz
# libparserutils 0.2.3-2

Creating hybrid package for 'libparserutils'

Trying to find vanilla package 'libparserutils'...

CMD: pacman --query --file /mirror/libparserutils-0.2.3-2.pkg.tar.xz
# libparserutils 0.2.3-2

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/include/parserutils/errors.h
# /usr/include/parserutils/functypes.h
# /usr/include/parserutils/parserutils.h
# /usr/include/parserutils/types.h
# /usr/include/parserutils/charset/codec.h
# /usr/include/parserutils/charset/mibenum.h
# /usr/include/parserutils/charset/utf16.h
# /usr/include/parserutils/charset/utf8.h
# /usr/include/parserutils/input/inputstream.h
# /usr/include/parserutils/utils/buffer.h
# /usr/include/parserutils/utils/stack.h
# /usr/include/parserutils/utils/vector.h
# /usr/lib/libparserutils.so.0.2.3
# /usr/lib/libparserutils.so.0
# /usr/lib/libparserutils.so
# /usr/lib/pkgconfig/libparserutils.pc
# /usr/share/licenses/libparserutils/COPYING
# /sysroot/usr/lib/libparserutils.so.0.2.3
# /sysroot/usr/lib/libparserutils.so.0
# /sysroot/usr/lib/libparserutils.so
# /sysroot/usr/lib/pkgconfig/libparserutils.pc
# /sysroot/usr/include/parserutils/errors.h
# /sysroot/usr/include/parserutils/functypes.h
# /sysroot/usr/include/parserutils/parserutils.h
# /sysroot/usr/include/parserutils/types.h
# /sysroot/usr/include/parserutils/charset/codec.h
# /sysroot/usr/include/parserutils/charset/mibenum.h
# /sysroot/usr/include/parserutils/charset/utf16.h
# /sysroot/usr/include/parserutils/charset/utf8.h
# /sysroot/usr/include/parserutils/input/inputstream.h
# /sysroot/usr/include/parserutils/utils/buffer.h
# /sysroot/usr/include/parserutils/utils/stack.h
# /sysroot/usr/include/parserutils/utils/vector.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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