Build of lz4 with clang_glibc toolchain

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

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

SLOCLanguage
8,557 ansic
495 makefile
261 sh
118 python
9,431 total

The process tree of the build process is here.

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: lz4 131-1 (Thu Apr 13 16:05:40 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make[1]: Entering directory '/tmp/lz4/src/lz4/programs'
# clang -I../lib ../lib/lz4.c ../lib/lz4hc.c ../lib/lz4frame.c ../lib/xxhash.c bench.c lz4io.c lz4cli.c -o lz4
# make[1]: Leaving directory '/tmp/lz4/src/lz4/programs'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/lz4/src/lz4/lib'
# compiling static library
# compiling dynamic library 1.7.1
# creating versioned links
# creating pkgconfig
# lz4 static and shared library installed
# make[1]: Leaving directory '/tmp/lz4/src/lz4/lib'
# make[1]: Entering directory '/tmp/lz4/src/lz4/programs'
# clang -I../lib -DENABLE_LZ4C_LEGACY_OPTIONS ../lib/lz4.c ../lib/lz4hc.c ../lib/lz4frame.c ../lib/xxhash.c bench.c lz4io.c lz4cli.c -o lz4c
# Installing binaries
# Installing man pages
# lz4 installation completed
# make[1]: Leaving directory '/tmp/lz4/src/lz4/programs'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "lz4"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: lz4 131-1 (Thu Apr 13 16:05:42 UTC 2017)

CMD: pacman --query --file lz4-131-1-x86_64.pkg.tar.xz
# lz4 131-1

Creating hybrid package for 'lz4'

Trying to find vanilla package 'lz4'...

CMD: pacman --query --file /mirror/lz4-131-1.pkg.tar.xz
# lz4 131-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/liblz4.so.1
# /usr/lib/liblz4.so
# /usr/lib/liblz4.so.1.7.1
# /usr/lib/pkgconfig/liblz4.pc
# /usr/include/lz4.h
# /usr/include/lz4hc.h
# /usr/include/lz4frame.h
# /usr/bin/lz4cat
# /usr/bin/unlz4
# /usr/bin/lz4
# /usr/bin/lz4c
# /usr/share/man/man1/lz4c.1.gz
# /usr/share/man/man1/lz4cat.1.gz
# /usr/share/man/man1/unlz4.1.gz
# /usr/share/man/man1/lz4.1.gz
# /sysroot/usr/lib/liblz4.so.1.7.1
# /sysroot/usr/lib/liblz4.so.1
# /sysroot/usr/lib/liblz4.so
# /sysroot/usr/lib/liblz4.a
# /sysroot/usr/lib/pkgconfig/liblz4.pc
# /sysroot/usr/include/lz4.h
# /sysroot/usr/include/lz4hc.h
# /sysroot/usr/include/lz4frame.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 lz4.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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