Build of etckeeper with musl toolchain

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

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

SLOCLanguage
1,370 sh
87 makefile
86 python
81 ansic
1,624 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: etckeeper 1.18.4-1 (Wed Apr 5 01:07:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) bzr-2.7.0-1
#
# Total Installed Size: 41.98 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 bzr...
# Optional dependencies for bzr
# python2-paramiko: SFTP support
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# ==> Entering fakeroot environment...
# ==> Starting package()...
# sed -i~ "s/Version:.*/Version: $(perl -e '$_=<>;m/\((.*?)(-.*)?\)/;print $1;'
# rm -f etckeeper~
# mkdir -p /tmp/etckeeper/pkg/etckeeper/etc/etckeeper/ /tmp/etckeeper/pkg/etckeeper/var/cache/etckeeper/
# cp -R *.d /tmp/etckeeper/pkg/etckeeper/etc/etckeeper/
# install daily /tmp/etckeeper/pkg/etckeeper/etc/etckeeper/daily
# install -m 0644 etckeeper.conf /tmp/etckeeper/pkg/etckeeper/etc/etckeeper/etckeeper.conf
# mkdir -p /tmp/etckeeper/pkg/etckeeper/usr/bin
# install etckeeper /tmp/etckeeper/pkg/etckeeper/usr/bin/etckeeper
# mkdir -p /tmp/etckeeper/pkg/etckeeper/usr/share/man/man8
# install -m 0644 etckeeper.8 /tmp/etckeeper/pkg/etckeeper/usr/share/man/man8/etckeeper.8
# mkdir -p /tmp/etckeeper/pkg/etckeeper/usr/share/bash-completion/completions
# install -m 0644 bash_completion /tmp/etckeeper/pkg/etckeeper/usr/share/bash-completion/completions/etckeeper
# mkdir -p /tmp/etckeeper/pkg/etckeeper/usr/lib/systemd/system/
# install -m 0644 systemd/etckeeper.service /tmp/etckeeper/pkg/etckeeper/usr/lib/systemd/system/etckeeper.service
# install -m 0644 systemd/etckeeper.timer /tmp/etckeeper/pkg/etckeeper/usr/lib/systemd/system/etckeeper.timer
# mkdir -p /tmp/etckeeper/pkg/etckeeper/usr/share/libalpm/hooks
# install -m 0644 ./pacman-pre-install.hook /tmp/etckeeper/pkg/etckeeper/usr/share/libalpm/hooks/05-etckeeper-pre-install.hook
# install -m 0644 ./pacman-post-install.hook /tmp/etckeeper/pkg/etckeeper/usr/share/libalpm/hooks/zz-etckeeper-post-install.hook
# python2 ./etckeeper-bzr/__init__.py install --root=/tmp/etckeeper/pkg/etckeeper || echo "** bzr support not installed"
# running install
# running build
# running build_py
# creating build
# creating build/lib
# creating build/lib/bzrlib
# creating build/lib/bzrlib/plugins
# creating build/lib/bzrlib/plugins/etckeeper
# copying etckeeper-bzr/__init__.py -> build/lib/bzrlib/plugins/etckeeper
# running install_lib
# creating /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7
# creating /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages
# creating /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages/bzrlib
# creating /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages/bzrlib/plugins
# creating /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper
# copying build/lib/bzrlib/plugins/etckeeper/__init__.py -> /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper
# byte-compiling /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper/__init__.py to __init__.pyc
# running install_egg_info
# Writing /tmp/etckeeper/pkg/etckeeper/usr/lib/python2.7/site-packages/bzr_etckeeper-0.0.0-py2.7.egg-info
# echo "** installation successful"
# ** installation successful
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "etckeeper"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: etckeeper 1.18.4-1 (Wed Apr 5 01:07:50 UTC 2017)

CMD: pacman --query --file etckeeper-1.18.4-1-any.pkg.tar.xz
# etckeeper 1.18.4-1

Creating hybrid package for 'etckeeper'

Trying to find vanilla package 'etckeeper'...

CMD: pacman --query --file /mirror/etckeeper-1.18.4-1.pkg.tar.xz
# etckeeper 1.18.4-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /etc/etckeeper/daily
# /etc/etckeeper/etckeeper.conf
# /etc/etckeeper/commit.d/10vcs-test
# /etc/etckeeper/commit.d/30bzr-add
# /etc/etckeeper/commit.d/30darcs-add
# /etc/etckeeper/commit.d/30git-add
# /etc/etckeeper/commit.d/30hg-addremove
# /etc/etckeeper/commit.d/50vcs-commit
# /etc/etckeeper/commit.d/99push
# /etc/etckeeper/commit.d/README
# /etc/etckeeper/init.d/10restore-metadata
# /etc/etckeeper/init.d/20restore-etckeeper
# /etc/etckeeper/init.d/40vcs-init
# /etc/etckeeper/init.d/50vcs-ignore
# /etc/etckeeper/init.d/50vcs-perm
# /etc/etckeeper/init.d/50vcs-pre-commit-hook
# /etc/etckeeper/init.d/60darcs-deleted-symlinks
# /etc/etckeeper/init.d/70vcs-add
# /etc/etckeeper/init.d/README
# /etc/etckeeper/list-installed.d/50list-installed
# /etc/etckeeper/post-install.d/50vcs-commit
# /etc/etckeeper/post-install.d/README
# /etc/etckeeper/pre-commit.d/20warn-problem-files
# /etc/etckeeper/pre-commit.d/30store-metadata
# /etc/etckeeper/pre-commit.d/README
# /etc/etckeeper/pre-install.d/10packagelist
# /etc/etckeeper/pre-install.d/50uncommitted-changes
# /etc/etckeeper/pre-install.d/README
# /etc/etckeeper/unclean.d/50test
# /etc/etckeeper/unclean.d/README
# /etc/etckeeper/uninit.d/01prompt
# /etc/etckeeper/uninit.d/50remove-metadata
# /etc/etckeeper/uninit.d/50vcs-uninit
# /etc/etckeeper/uninit.d/README
# /etc/etckeeper/update-ignore.d/01update-ignore
# /etc/etckeeper/update-ignore.d/README
# /etc/etckeeper/vcs.d/50vcs-cmd
# /usr/bin/etckeeper
# /usr/share/man/man8/etckeeper.8.gz
# /usr/share/bash-completion/completions/etckeeper
# /usr/share/libalpm/hooks/05-etckeeper-pre-install.hook
# /usr/share/libalpm/hooks/zz-etckeeper-post-install.hook
# /usr/lib/systemd/system/etckeeper.service
# /usr/lib/systemd/system/etckeeper.timer
# /usr/lib/python2.7/site-packages/bzr_etckeeper-0.0.0-py2.7.egg-info
# /usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper/__init__.py
# /usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper/__init__.pyc
# /sysroot/usr/lib/systemd/system/etckeeper.service
# /sysroot/usr/lib/systemd/system/etckeeper.timer
# /sysroot/usr/lib/python2.7/site-packages/bzr_etckeeper-0.0.0-py2.7.egg-info
# /sysroot/usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper/__init__.py
# /sysroot/usr/lib/python2.7/site-packages/bzrlib/plugins/etckeeper/__init__.pyc

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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