Build of zn_poly with clang_glibc toolchain

The build took 00h 00m 50s and was SUCCESSFUL.

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

SLOCLanguage
10,730 ansic
203 python
6 sh
10,939 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: zn_poly 0.9-3 (Thu Apr 13 17:34:21 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/array.o -c src/array.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/invert.o -c src/invert.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/ks_support.o -c src/ks_support.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mulmid.o -c src/mulmid.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mulmid_ks.o -c src/mulmid_ks.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/misc.o -c src/misc.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mpn_mulmid.o -c src/mpn_mulmid.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mul.o -c src/mul.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mul_fft.o -c src/mul_fft.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mul_fft_dft.o -c src/mul_fft_dft.c
# src/mul_fft_dft.c:380:1: warning: control may reach end of non-void function [-Wreturn-type]
# }
# ^
# 1 warning generated.
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/mul_ks.o -c src/mul_ks.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/nuss.o -c src/nuss.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/pack.o -c src/pack.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/pmf.o -c src/pmf.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/pmfvec_fft.o -c src/pmfvec_fft.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/tuning.o -c src/tuning.c
# gcc -fPIC -I/usr/include -I./include -DNDEBUG -o src/zn_mod.o -c src/zn_mod.c
# ar -r libzn_poly.a src/array.o src/invert.o src/ks_support.o src/mulmid.o src/mulmid_ks.o src/misc.o src/mpn_mulmid.o src/mul.o src/mul_fft.o src/mul_fft_dft.o src/mul_ks.o src/nuss.o src/pack.o src/pmf.o src/pmfvec_fft.o src/tuning.o src/zn_mod.o
# ar: creating libzn_poly.a
# ranlib libzn_poly.a
# gcc -shared -o libzn_poly.so src/array.o src/invert.o src/ks_support.o src/mulmid.o src/mulmid_ks.o src/misc.o src/mpn_mulmid.o src/mul.o src/mul_fft.o src/mul_fft_dft.o src/mul_ks.o src/nuss.o src/pack.o src/pmf.o src/pmfvec_fft.o src/tuning.o src/zn_mod.o -L/usr/lib -lgmp -lm
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "zn_poly"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: zn_poly 0.9-3 (Thu Apr 13 17:34:24 UTC 2017)

CMD: pacman --query --file zn_poly-0.9-3-x86_64.pkg.tar.xz
# zn_poly 0.9-3

Creating hybrid package for 'zn_poly'

Trying to find vanilla package 'zn_poly'...

CMD: pacman --query --file /mirror/zn_poly-0.9-3.pkg.tar.xz
# zn_poly 0.9-3

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/include/zn_poly/wide_arith.h
# /usr/include/zn_poly/profiler.h
# /usr/include/zn_poly/zn_poly_internal.h
# /usr/include/zn_poly/support.h
# /usr/include/zn_poly/zn_poly.h
# /usr/lib/libzn_poly.so
# /sysroot/usr/lib/libzn_poly.so
# /sysroot/usr/include/zn_poly/profiler.h
# /sysroot/usr/include/zn_poly/support.h
# /sysroot/usr/include/zn_poly/wide_arith.h
# /sysroot/usr/include/zn_poly/zn_poly.h
# /sysroot/usr/include/zn_poly/zn_poly_internal.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 zn_poly.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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

Attempting to access local repository, attempt 2

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