Build of stfl with clang_glibc toolchain

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

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

SLOCLanguage
3,833 ansic
126 perl
109 ruby
101 python
54 makefile
4,223 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: stfl 0.24-2 (Thu Apr 13 19:42:21 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) swig-3.0.10-1
#
# Total Installed Size: 4.48 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 swig...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file Makefile.cfg
# patching file stfl_internals.h
# gcc -pthread -I. -MM *.c > Makefile.deps_new
# gcc -pthread -I. -MM widgets/*.c | sed 's,^wt_[^ ]*\.o: ,widgets/&,' >> Makefile.deps_new
# mv -f Makefile.deps_new Makefile.deps
# make: 'Makefile.deps' is up to date.
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o public.o public.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o base.o base.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o parser.o parser.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o dump.o dump.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o style.o style.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o binding.o binding.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o iconv.o iconv.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_label.o widgets/wt_label.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_textview.o widgets/wt_textview.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_box.o widgets/wt_box.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_list.o widgets/wt_list.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_table.o widgets/wt_table.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_textedit.o widgets/wt_textedit.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_checkbox.o widgets/wt_checkbox.c
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o widgets/wt_input.o widgets/wt_input.c
# gcc -pthread -shared -Wl,-soname,libstfl.so.0 -o libstfl.so.0.24 -lncursesw public.o base.o parser.o dump.o style.o binding.o iconv.o widgets/wt_label.o widgets/wt_textview.o widgets/wt_box.o widgets/wt_list.o widgets/wt_table.o widgets/wt_textedit.o widgets/wt_checkbox.o widgets/wt_input.o
# rm -f libstfl.a
# ar qc libstfl.a public.o base.o parser.o dump.o style.o binding.o iconv.o widgets/wt_label.o widgets/wt_textview.o widgets/wt_box.o widgets/wt_list.o widgets/wt_table.o widgets/wt_textedit.o widgets/wt_checkbox.o widgets/wt_input.o
# ranlib libstfl.a
# gcc -pthread -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -c -o example.o example.c
# gcc -pthread example.o libstfl.a -lncursesw -o example
# ==> Entering fakeroot environment...
# ==> Starting package()...
# sed 's,@VERSION@,0.24,g' < stfl.pc.in | sed 's,@PREFIX@,/usr,g' > stfl.pc
# mkdir -p /tmp/stfl/pkg/stfl/usr/lib/pkgconfig
# mkdir -p /tmp/stfl/pkg/stfl/usr/include
# install -m 644 libstfl.a /tmp/stfl/pkg/stfl/usr/lib
# install -m 644 stfl.h /tmp/stfl/pkg/stfl/usr/include/
# install -m 644 stfl.pc /tmp/stfl/pkg/stfl/usr/lib/pkgconfig/
# install -m 644 libstfl.so.0.24 /tmp/stfl/pkg/stfl/usr/lib
# ln -fs libstfl.so.0.24 /tmp/stfl/pkg/stfl/usr/lib/libstfl.so
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "stfl"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding changelog file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: stfl 0.24-2 (Thu Apr 13 19:42:27 UTC 2017)

CMD: pacman --query --file stfl-0.24-2-x86_64.pkg.tar.xz
# stfl 0.24-2

Creating hybrid package for 'stfl'

Trying to find vanilla package 'stfl'...

CMD: pacman --query --file /mirror/stfl-0.24-2.pkg.tar.xz
# stfl 0.24-2

Package file has the following structure:
# /.PKGINFO
# /.CHANGELOG
# /.MTREE
# /usr/lib/libstfl.so
# /usr/lib/libstfl.so.0.24
# /usr/lib/pkgconfig/stfl.pc
# /usr/include/stfl.h
# /sysroot/usr/lib/libstfl.a
# /sysroot/usr/lib/libstfl.so.0.24
# /sysroot/usr/lib/libstfl.so
# /sysroot/usr/lib/pkgconfig/stfl.pc
# /sysroot/usr/include/stfl.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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

Attempting to access local repository, attempt 3

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