Build of linux-zen with musl toolchain

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

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

SLOCLanguage
13,911,759 ansic
283,298 asm
34,409 makefile
23,916 perl
11,225 sh
7,591 python
6,597 cpp
4,327 yacc
2,414 lex
1,130 awk
231 pascal
218 lisp
14,287,115 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: linux-zen 4.6.3-1 (Wed Apr 5 01:52:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) bc-1.06.95-2 xmlto-0.0.28-1
#
# Total Installed Size: 0.28 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing xmlto...
# installing bc...
# :: Running post-transaction hooks...
# (1/2) Updating manpage index...
# (2/2) Updating the info directory file...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# HOSTCC scripts/basic/fixdep
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTCC scripts/kconfig/conf.o
# SHIPPED scripts/kconfig/zconf.tab.c
# SHIPPED scripts/kconfig/zconf.lex.c
# SHIPPED scripts/kconfig/zconf.hash.c
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTCC scripts/kconfig/zconf.tab.o
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTLD scripts/kconfig/conf
# scripts/kconfig/conf --silentoldconfig Kconfig
# make[2]: *** [scripts/kconfig/Makefile:38: silentoldconfig] Segmentation fault (core dumped)
# make[1]: *** [Makefile:538: silentoldconfig] Error 2
# SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
# SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
# SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
# make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
# make: *** Waiting for unfinished jobs....
# SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
# ==> ERROR: A failure occurred in build().
# Aborting...