Build of floyd with clang_glibc toolchain

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

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

SLOCLanguage
1,789 ansic
129 makefile
51 sh
1,969 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: floyd 2.0.1-5 (Thu Apr 13 12:01:13 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file floyd.c
# patching file voodoo.c
# make PDEFS="-DPTHREAD -DPROCTHREAD -D_REENTRANT" pfloyd -kj6
# make[1]: Entering directory '/tmp/floyd/src/floyd-2.0.1'
# clang -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o floyd.o floyd.c
# clang -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o packetload.o packetload.c
# clang -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o led.o led.c
# clang -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o jobmgr.o jobmgr.c
# clang -Wall -O2 -DFLOYD -DBLINKLED=LED_CAP -DPACKETLOAD -DMORSE -DPTHREAD -DPROCTHREAD -D_REENTRANT -c -o voodoo.o voodoo.c
# In file included from floyd.c:21:
# ./floyd.h:175:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
# extern void main();
# ^
# ./floyd.h:175:8: note: change return type to 'int'
# extern void main();
# ^~~~
# int
# In file included from packetload.c:40:
# In file included from ./floyd.hled.c::175:88:
# :./floyd.h :warning175: :return type of 'main' is not 'int' [-Wmain-return-type]8
# : warning: return type of 'main' is not 'int' [-Wmain-return-type]
# extern void main();extern void main();
#
# ^ ^
#
# ./floyd.h./floyd.h::175175::88:: notenote: : change return type to 'int'change return type to 'int'
#
# extern void main();extern void main();
#
# ^~~~ ^~~~
#
# int int
#
# floyd.c:899:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
# void main(int ac, char **av) {
# ^
# floyd.c:899:1: note: change return type to 'int'
# void main(int ac, char **av) {
# ^~~~
# int
# In file included from jobmgr.c:20:
# ./floyd.h:175:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
# extern void main();
# ^
# ./floyd.h:175:8: note: change return type to 'int'
# extern void main();
# ^~~~
# int
# 1 warning generated.
# 1 warning generated.
# 1 warning generated.
# 2 warnings generated.
# cc -o floyd floyd.o packetload.o led.o jobmgr.o voodoo.o -lpthread
# make[1]: Leaving directory '/tmp/floyd/src/floyd-2.0.1'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make PDEFS="-DPTHREAD -DPROCTHREAD -D_REENTRANT" pfloyd -kj6
# make[1]: Entering directory '/tmp/floyd/src/floyd-2.0.1'
# cc -o floyd floyd.o packetload.o led.o jobmgr.o voodoo.o -lpthread
# make[1]: Leaving directory '/tmp/floyd/src/floyd-2.0.1'
# rm -f wywh
# ln -s floyd wywh
# rm -f tfloyd
# ln -s floyd tfloyd
# install -c -s -m 755 floyd /tmp/floyd/pkg/floyd/usr/bin
# gzip -c floyd.1 >floyd.1.gz
# install -c -m 644 floyd.1.gz /tmp/floyd/pkg/floyd/usr/share/man/man1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "floyd"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: floyd 2.0.1-5 (Thu Apr 13 12:01:17 UTC 2017)

CMD: pacman --query --file floyd-2.0.1-5-x86_64.pkg.tar.xz
# floyd 2.0.1-5

Creating hybrid package for 'floyd'

Trying to find vanilla package 'floyd'...

CMD: pacman --query --file /mirror/floyd-2.0.1-5.pkg.tar.xz
# floyd 2.0.1-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/floyd
# /usr/share/man/man1/floyd.1.gz

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 floyd.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

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