Build of tcc with clang_glibc toolchain

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

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

SLOCLanguage
76,329 ansic
825 sh
755 asm
710 makefile
306 perl
13 python
78,938 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

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: tcc 0.9.26-3 (Thu Apr 13 15:59:31 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: unrecognized option --host=x86_64-unknown-linux
# Binary directory /usr/bin
# TinyCC directory /usr/lib/tcc
# Library directory /usr/lib64
# Include directory /usr/include
# Manual directory /usr/share/man
# Info directory /usr/share/info
# Doc directory /usr/share/doc//usr/lib/tcc
# Target root prefix
# Source path /tmp/tcc/src/tcc-0.9.26
# C compiler gcc
# cross compilers no
# Target CPU x86-64
# Host OS Linux
# Target OS Linux
# Big Endian no
# gprof enabled no
# use libgcc no
# Creating config.mak and config.h
# gcc -o x86_64-tcc tcc.c -DONE_SOURCE -DTCC_TARGET_X86_64 -I. -Wall -g -O0 -lm -ldl
# ln -sf x86_64-tcc tcc
# make -C lib native
# make[1]: Entering directory '/tmp/tcc/src/tcc-0.9.26/lib'
# mkdir -p x86_64
# ../tcc -B.. -c libtcc1.c -o x86_64/libtcc1.o -I. -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64
# ../tcc -B.. -c alloca86_64.S -o x86_64/alloca86_64.o -I. -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64
# ../tcc -B.. -c alloca86_64-bt.S -o x86_64/alloca86_64-bt.o -I. -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64
# ../tcc -B.. -c bcheck.c -o x86_64/bcheck.o -I. -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64
# ar rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o x86_64/alloca86_64-bt.o x86_64/bcheck.o
# make[1]: Leaving directory '/tmp/tcc/src/tcc-0.9.26/lib'
# if test ! -d x86-64; then mkdir x86-64; fi
# if test ! -L x86-64/libtcc1.a; then ln -sf ../libtcc1.a x86-64/libtcc1.a; fi
# gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# gcc -o tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# tccpp.c:839:19: warning: unused function 'tok_size' [-Wunused-function]
# static inline int tok_size(const int *p)
# ^
# 1 warning generated.
# gcc -o tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# gcc -o tccasm.o -c tccasm.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# gcc -o tccrun.o -c tccrun.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# gcc -o x86_64-gen.o -c x86_64-gen.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# gcc -o i386-asm.o -c i386-asm.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
# ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o i386-asm.o
# ./texi2pod.pl tcc-doc.texi tcc.pod
# pod2man --section=1 --center="Tiny C Compiler" --release=`cat ./VERSION` tcc.pod > tcc.1
# /bin/sh: pod2man: command not found
# make: [Makefile:368: tcc.1] Error 127 (ignored)
# makeinfo --no-split --html --number-sections -o tcc-doc.html tcc-doc.texi
# makeinfo tcc-doc.texi
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make -C lib native
# make[1]: Entering directory '/tmp/tcc/src/tcc-0.9.26/lib'
# ar rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o x86_64/alloca86_64-bt.o x86_64/bcheck.o
# make[1]: Leaving directory '/tmp/tcc/src/tcc-0.9.26/lib'
# if test ! -d x86-64; then mkdir x86-64; fi
# if test ! -L x86-64/libtcc1.a; then ln -sf ../libtcc1.a x86-64/libtcc1.a; fi
# mkdir -p "/tmp/tcc/pkg/tcc/usr/bin"
# install -m755 x86_64-tcc "/tmp/tcc/pkg/tcc/usr/bin"
# cp -P tcc "/tmp/tcc/pkg/tcc/usr/bin"
# mkdir -p "/tmp/tcc/pkg/tcc/usr/share/man/man1"
# install -m644 tcc.1 "/tmp/tcc/pkg/tcc/usr/share/man/man1"
# mkdir -p "/usr/share/info"
# install -m644 tcc-doc.info "/usr/share/info"
# install: cannot create regular file '/usr/share/info/tcc-doc.info': Permission denied
# make: [Makefile:287: install] Error 1 (ignored)
# mkdir -p "/tmp/tcc/pkg/tcc/usr/lib/tcc"
# mkdir -p "/tmp/tcc/pkg/tcc/usr/lib/tcc/include"
# mkdir -p "/tmp/tcc/pkg/tcc/usr/lib/tcc/x86-64"
# install -m644 libtcc1.a "/tmp/tcc/pkg/tcc/usr/lib/tcc/x86-64"
# install -m644 ./include/stdarg.h ./include/stddef.h ./include/stdbool.h ./include/float.h ./include/varargs.h ./tcclib.h "/tmp/tcc/pkg/tcc/usr/lib/tcc/include"
# mkdir -p "/tmp/tcc/pkg/tcc/usr/lib"
# install -m644 libtcc.a "/tmp/tcc/pkg/tcc/usr/lib"
# mkdir -p "/tmp/tcc/pkg/tcc/usr/include"
# install -m644 ./libtcc.h "/tmp/tcc/pkg/tcc/usr/include"
# mkdir -p "/tmp/tcc/pkg/tcc/usr/share/doc/tcc"
# install -m644 tcc-doc.html "/tmp/tcc/pkg/tcc/usr/share/doc/tcc"
# rm -vf x86_64-tcc tcc_p tcc.pod *~ *.o *.a *.so* *.out *.log \
# *.exe a.out tags TAGS libtcc_test tcc
# removed 'x86_64-tcc'
# removed 'tcc.pod'
# removed 'i386-asm.o'
# removed 'libtcc.o'
# removed 'tccasm.o'
# removed 'tccelf.o'
# removed 'tccgen.o'
# removed 'tccpp.o'
# removed 'tccrun.o'
# removed 'x86_64-gen.o'
# removed 'libtcc.a'
# removed 'libtcc1.a'
# removed 'tcc'
# rm -r x86-64 arm64
# rm: cannot remove 'arm64': No such file or directory
# make: [Makefile:381: clean] Error 1 (ignored)
# rm -r ./C:
# rm: cannot remove './C:': No such file or directory
# make: [Makefile:382: clean] Error 1 (ignored)
# rm *-tcc
# rm: cannot remove '*-tcc': No such file or directory
# make: [Makefile:383: clean] Error 1 (ignored)
# make -C tests clean
# make[1]: Entering directory '/tmp/tcc/src/tcc-0.9.26/tests'
# make -C tests2 clean
# make[2]: Entering directory '/tmp/tcc/src/tcc-0.9.26/tests/tests2'
# rm -vf fred.txt *.output a.exe
# make[2]: Leaving directory '/tmp/tcc/src/tcc-0.9.26/tests/tests2'
# rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.out?b *.cc \
# *-cc *-tcc *.exe \
# hello libtcc_test vla_test tcctest[1234] ex? tcc_g
# make[1]: Leaving directory '/tmp/tcc/src/tcc-0.9.26/tests'
# make -C lib clean
# make[1]: Entering directory '/tmp/tcc/src/tcc-0.9.26/lib'
# rm -rfv i386-win x86_64-win i386 x86_64 arm64
# removed 'x86_64/exists'
# removed 'x86_64/libtcc1.o'
# removed 'x86_64/alloca86_64.o'
# removed 'x86_64/alloca86_64-bt.o'
# removed 'x86_64/bcheck.o'
# removed directory 'x86_64'
# make[1]: Leaving directory '/tmp/tcc/src/tcc-0.9.26/lib'
# gcc -o x86_64-tcc tcc.c -DONE_SOURCE -DTCC_TARGET_X86_64 -I. -fPIC -lm -ldl
# ln -sf x86_64-tcc tcc
# make -C lib native
# make[1]: Entering directory '/tmp/tcc/src/tcc-0.9.26/lib'
# mkdir -p x86_64
# ../tcc -B.. -c libtcc1.c -o x86_64/libtcc1.o -I. -I.. -fPIC -fPIC -DTCC_TARGET_X86_64
# ../tcc -B.. -c alloca86_64.S -o x86_64/alloca86_64.o -I. -I.. -fPIC -fPIC -DTCC_TARGET_X86_64
# ../tcc -B.. -c alloca86_64-bt.S -o x86_64/alloca86_64-bt.o -I. -I.. -fPIC -fPIC -DTCC_TARGET_X86_64
# ../tcc -B.. -c bcheck.c -o x86_64/bcheck.o -I. -I.. -fPIC -fPIC -DTCC_TARGET_X86_64
# ar rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o x86_64/alloca86_64-bt.o x86_64/bcheck.o
# make[1]: Leaving directory '/tmp/tcc/src/tcc-0.9.26/lib'
# if test ! -d x86-64; then mkdir x86-64; fi
# if test ! -L x86-64/libtcc1.a; then ln -sf ../libtcc1.a x86-64/libtcc1.a; fi
# gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o tccasm.o -c tccasm.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o tccrun.o -c tccrun.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o x86_64-gen.o -c x86_64-gen.c -DTCC_TARGET_X86_64 -I. -fPIC
# gcc -o i386-asm.o -c i386-asm.c -DTCC_TARGET_X86_64 -I. -fPIC
# ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o i386-asm.o
# ==> Tidying install...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tcc"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tcc 0.9.26-3 (Thu Apr 13 15:59:44 UTC 2017)

CMD: pacman --query --file tcc-0.9.26-3-x86_64.pkg.tar.xz
# tcc 0.9.26-3

Creating hybrid package for 'tcc'

Trying to find vanilla package 'tcc'...

CMD: pacman --query --file /mirror/distcc-3.2rc1-2.pkg.tar.xz
# distcc 3.2rc1-2

CMD: pacman --query --file /mirror/tcc-0.9.26-3.pkg.tar.xz
# tcc 0.9.26-3

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/bin/x86_64-tcc
# /usr/bin/tcc
# /usr/share/man/man1/tcc.1.gz
# /usr/share/doc/tcc/tcc-doc.html
# /usr/lib/libtcc.so
# /usr/lib/libtcc.a
# /usr/lib/tcc/include/stdbool.h
# /usr/lib/tcc/include/stdarg.h
# /usr/lib/tcc/include/stddef.h
# /usr/lib/tcc/include/float.h
# /usr/lib/tcc/include/varargs.h
# /usr/lib/tcc/include/tcclib.h
# /usr/lib/tcc/x86-64/libtcc1.a
# /usr/include/libtcc.h
# /sysroot/usr/lib/libtcc.a
# /sysroot/usr/lib/libtcc.so
# /sysroot/usr/lib/tcc/include/stdarg.h
# /sysroot/usr/lib/tcc/include/stddef.h
# /sysroot/usr/lib/tcc/include/stdbool.h
# /sysroot/usr/lib/tcc/include/float.h
# /sysroot/usr/lib/tcc/include/varargs.h
# /sysroot/usr/lib/tcc/include/tcclib.h
# /sysroot/usr/lib/tcc/x86-64/libtcc1.a
# /sysroot/usr/include/libtcc.h

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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