Build of libmilter with clang_glibc toolchain

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

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

SLOCLanguage
94,648 ansic
3,296 perl
1,351 makefile
1,128 sh
100,423 total

The process tree of the build process is here.

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

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: libmilter 8.15.1-2 (Thu Apr 13 17:50:56 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Configuration: pfx=, os=Linux, rel=4.10.6-1-ARCH, rbase=4, rroot=4.10, arch=x86_64, sfx=, variant=optimized
# Using M4=/usr/bin/m4
# Creating /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter using /tmp/libmilter/src/sendmail-8.15.1/devtools/OS/Linux
# Making dependencies in /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter
# ln -f -s ../../libsm/errstring.c .
# ln -f -s ../../libsm/strl.c .
# rm -f sm_os.h
# ln -f -s ../../include/sm/os/sm_os_linux.h sm_os.h
# cc -M -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT main.c engine.c listener.c worker.c handler.c comm.c smfi.c signal.c sm_gethost.c monitor.c errstring.c strl.c >> Makefile
# Making in /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o main.o main.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o engine.o engine.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o listener.o listener.c
# listener.c:579:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
# return (void *) mi_handle_session(arg);
# ^
# listener.c:807:5: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# &clilen);
# ^~~~~~~
# /usr/include/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 2 warnings generated.
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o worker.o worker.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o handler.o handler.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o comm.o comm.c
# comm.c:346:10: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
# if (len >= 0 && buf != NULL)
# ~~~ ^ ~
# 1 warning generated.
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o smfi.o smfi.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o signal.o signal.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o sm_gethost.o sm_gethost.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o monitor.o monitor.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o errstring.o errstring.c
# cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o strl.o strl.c
# ar crv libmilter.a main.o engine.o listener.o worker.o handler.o comm.o smfi.o signal.o sm_gethost.o monitor.o errstring.o strl.o
# a - main.o
# a - engine.o
# a - listener.o
# a - worker.o
# a - handler.o
# a - comm.o
# a - smfi.o
# a - signal.o
# a - sm_gethost.o
# a - monitor.o
# a - errstring.o
# a - strl.o
# ranlib libmilter.a
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Configuration: pfx=, os=Linux, rel=4.10.6-1-ARCH, rbase=4, rroot=4.10, arch=x86_64, sfx=, variant=optimized
# Making in /tmp/libmilter/src/sendmail-8.15.1/obj.Linux.4.10.6-1-ARCH.x86_64/libmilter
# if [ ! -d /tmp/libmilter/pkg/libmilter/usr/include/libmilter ]; then mkdir -p /tmp/libmilter/pkg/libmilter/usr/include/libmilter; else :; fi
# install -c -o root -g bin -m 0444 ../../include/libmilter/mfapi.h /tmp/libmilter/pkg/libmilter/usr/include/libmilter/mfapi.h
# install: cannot change ownership of '/tmp/libmilter/pkg/libmilter/usr/include/libmilter/mfapi.h': Operation not permitted
# make: *** [Makefile:335: install-mfapi] Error 1
# ==> ERROR: A failure occurred in package().
# Aborting...