Build of apg with clang_glibc toolchain

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

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

SLOCLanguage
4,867 ansic
744 php
176 sh
89 makefile
9 perl
5,885 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: apg 2.2.3-4 (Thu Apr 13 11:57:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -Wall -DAPG_USE_CRYPT -DAPG_DONOTUSE_SHA -o apg bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c randpass.c restrict.c errors.c apg.c getopt.c convert.c -lcrypt -lm
# apg.c:451:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ( (restrictions_present == TRUE))
# ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
# apg.c:451:33: note: remove extraneous parentheses around the comparison to silence this warning
# if ( (restrictions_present == TRUE))
# ~ ^ ~
# apg.c:451:33: note: use '=' to turn this equality comparison into an assignment
# if ( (restrictions_present == TRUE))
# ^~
# =
# apg.c:574:79: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# printf ("\nPlease enter some random data (only first %d are significant)\n", sizeof(prom));
# ~~ ^~~~~~~~~~~~
# %lu
# 2 warnings generated.
# gcc -Wall -DAPGBFM -o apgbfm apgbfm.c bloom.c sha/sha.c errors.c getopt.c convert.c -lm
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "apg"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: apg 2.2.3-4 (Thu Apr 13 11:57:55 UTC 2017)

CMD: pacman --query --file apg-2.2.3-4-x86_64.pkg.tar.xz
# apg 2.2.3-4

Creating hybrid package for 'apg'

Trying to find vanilla package 'apg'...

CMD: pacman --query --file /mirror/apg-2.2.3-4.pkg.tar.xz
# apg 2.2.3-4

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/apgbfm
# /usr/bin/apg
# /usr/share/man/man1/apg.1.gz
# /usr/share/man/man1/apgbfm.1.gz
# /usr/share/licenses/apg/COPYING

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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