Build of liblockfile with clang_glibc toolchain

The build took 00h 03m 40s and was NOT successful.

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

SLOCLanguage
830 ansic
116 makefile
10 sh
956 total

The process tree of the build process is here.

Due to the failure of this package to build, we did not attempt to build several packages that depend on this one. Those packages are:

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: liblockfile 1.09_6-1 (Thu Apr 13 12:52:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file Makefile.in
# patching file Makefile.in
# patching file lockfile.c
# creating cache ./config.cache
# checking for gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... no
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking build shared libs... yes
# checking build libnfslock... no
# checking for ldconfig... /usr/bin/true
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for getopt.h... yes
# checking for paths.h... yes
# checking for sys/param.h... yes
# checking for utime... yes
# checking for utimes... yes
# updating cache ./config.cache
# creating ./config.status
# creating ./Makefile
# creating ./maillock.h
# creating autoconf.h
# clang -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \
# -c lockfile.c
# ar rv liblockfile.a lockfile.o
# ar: creating liblockfile.a
# a - lockfile.o
# clang -fPIC -shared -Wl,-soname,liblockfile.so.1 \
# -o liblockfile.so lockfile.o -lc
# clang -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c -o dotlockfile.o dotlockfile.c
# clang -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c lockfile.c -o xlockfile.o
# clang -o dotlockfile dotlockfile.o xlockfile.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -m 644 lockfile.h maillock.h /tmp/liblockfile/pkg/liblockfile/usr/include
# if [ "" != "" ]; then\
# install -g -m 2755 dotlockfile /tmp/liblockfile/pkg/liblockfile/usr/bin;\
# else \
# install -g root -m 755 dotlockfile /tmp/liblockfile/pkg/liblockfile/usr/bin; \
# fi
# install: cannot change ownership of '/tmp/liblockfile/pkg/liblockfile/usr/bin/dotlockfile': Operation not permitted
# make: *** [Makefile:64: install_common] Error 1
# ==> ERROR: A failure occurred in package().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/liblockfile/src/liblockfile-1.09/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:536: checking for gcc
# configure:649: checking whether the C compiler (clang ) works
# configure:665: clang -o conftest conftest.c 1>&5
# configure:662:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:691: checking whether the C compiler (clang ) is a cross-compiler
# configure:696: checking whether we are using GNU C
# configure:705: clang -E conftest.c
# configure:724: checking whether clang accepts -g
# configure:764: checking build shared libs
# configure:789: checking build libnfslock
# configure:837: checking for ldconfig
# configure:871: checking how to run the C preprocessor
# configure:892: clang -E conftest.c >/dev/null 2>conftest.out
# configure:951: checking for ANSI C header files
# configure:964: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1031: clang -o conftest -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT conftest.c 1>&5
# configure:1026:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^
# configure:1026:67: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:1063: checking for getopt.h
# configure:1073: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1063: checking for paths.h
# configure:1073: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1063: checking for sys/param.h
# configure:1073: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1106: checking for utime
# configure:1134: clang -o conftest -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT conftest.c 1>&5
# configure:1106: checking for utimes
# configure:1134: clang -o conftest -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT conftest.c 1>&5