Build of acpi_call with clang_glibc toolchain

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

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

SLOCLanguage
510 ansic
136 sh
56 perl
13 makefile
715 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: acpi_call 1.1.0-47 (Thu Apr 13 11:16:05 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C /lib/modules/4.6.3-1-ARCH/build M=/tmp/acpi_call/src/acpi_call-1.1.0 modules
# make[1]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# CC [M] /tmp/acpi_call/src/acpi_call-1.1.0/acpi_call.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# In file included from /tmp/acpi_call/src/acpi_call-1.1.0/acpi_call.c:9:
# In file included from include/acpi/acpi.h:56:
# In file included from include/acpi/platform/acenv.h:174:
# include/acpi/platform/aclinux.h:52:2: error: "Please don't include directly, include instead."
# #error "Please don't include directly, include instead."
# ^
# 1 error generated.
# make[2]: *** [scripts/Makefile.build:298: /tmp/acpi_call/src/acpi_call-1.1.0/acpi_call.o] Error 1
# make[1]: *** [Makefile:1429: _module_/tmp/acpi_call/src/acpi_call-1.1.0] Error 2
# make[1]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make: *** [Makefile:8: default] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...