Build of sbsigntools with musl toolchain

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

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

SLOCLanguage
149,516 ansic
2,419 asm
838 makefile
800 sh
339 python
245 php
66 perl
45 cpp
154,268 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...

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: sbsigntools 0.8-1 (Wed Apr 5 01:57:24 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (3) perl-locale-gettext-1.07-2 gnu-efi-libs-3.0.3-1 help2man-1.47.3-2
#
# Total Installed Size: 1.92 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 gnu-efi-libs...
# installing perl-locale-gettext...
# installing help2man...
# :: Running post-transaction hooks...
# (1/2) Updating manpage index...
# (2/2) Updating the info directory file...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Submodule 'lib/ccan.git' (git://git.ozlabs.org/~ccan/ccan) registered for path 'lib/ccan.git'
# Cloning into '/tmp/sbsigntools/src/sbsigntools/lib/ccan.git'...
# Submodule path 'lib/ccan.git': checked out 'b1f28e17227f2320d07fe052a8a48942fe17caa5'
# Building ccan_depends
# tools/configurator/configurator.c:368:39: warning: if statement has empty body [-Wempty-body]
# if (system("cat " INPUT_FILE) == -1);
# ^
# tools/configurator/configurator.c:368:39: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# configurator: Test for HAVE_32BIT_OFF_T did not compile:
#
# In file included from tools/ccan_depends.c:1:
# In file included from tools/tools.h:4:
# ./ccan/compiler/compiler.h:3:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# In file included from ccan/grab_file/grab_file.c:3:
# In file included from ./ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# ccan/str/debug.c:1:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# 1 error generated.
# In file included from ccan/str/str.c:1:
# ./ccan/str/str.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# In file included from ccan/time/time.c:2:
# ./ccan/time/time.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from ccan/talloc/talloc.c:34:
# In file included from ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from ccan/str_talloc/str_talloc.c:12:
# In file included from ./ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# 1 error generated.
# In file included from tools/read_config_header.c:2:
# ./ccan/str/str.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# In file included from tools/compile.c:1:
# In file included from tools/tools.h:4:
# ./ccan/compiler/compiler.h:3:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from tools/depends.c:1:
# ./ccan/str/str.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# make: INTERNAL: Exiting with 3 jobserver tokens (should be 0)!
# make: INTERNAL: Exiting with 2 jobserver tokens available; should be 4!
# In file included from tools/tools.c:1:
# In file included from ./ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# 1 error generated.
# configurator: Test for HAVE_32BIT_OFF_T did not compile:
#
# In file included from tools/ccan_depends.c:1:
# In file included from tools/tools.h:4:
# ./ccan/compiler/compiler.h:3:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# In file included from ccan/grab_file/grab_file.c:3:
# In file included from ./ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# 1 error generated.
# ccan/str/debug.c:1:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from ccan/str/str.c:1:
# ./ccan/str/str.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from ccan/talloc/talloc.c:34:
# In file included from ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# In file included from ccan/str_talloc/str_talloc.c:12:
# In file included from ./ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from ccan/time/time.c:2:
# ./ccan/time/time.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# In file included from tools/read_config_header.c:2:
# ./ccan/str/str.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# 1 error generated.
# In file included from tools/compile.c:1:
# In file included from tools/tools.h:4:
# ./ccan/compiler/compiler.h:31: error10 generated.
# : fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# In file included from tools/depends.c:1:
# ./ccan/str/str.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# make: *** No rule to make target 'tools/ccan_depends.o', needed by 'tools/ccan_depends'. Stop.
# make: *** Waiting for unfinished jobs....
# In file included from tools/tools.c:1:
# In file included from ./ccan/talloc/talloc.h:29:
# ./ccan/typesafe_cb/typesafe_cb.h:4:10: fatal error: 'config.h' file not found
# #include "config.h"
# ^
# 1 error generated.
# 1 error generated.
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
# configure.ac:10: installing './compile'
# configure.ac:3: installing './install-sh'
# configure.ac:3: installing './missing'
# Makefile.am: installing './INSTALL'
# configure.ac:76: error: required file 'lib/ccan/Makefile.in' not found
# Makefile.am:2: error: required directory ./lib/ccan does not exist
# src/Makefile.am: installing './depcomp'
# tests/Makefile.am:27: warning: deprecated feature: target 'test-i386.pecoff' overrides 'test-i386.pecoff$(EXEEXT)'
# tests/Makefile.am:27: change your target to read 'test-i386.pecoff$(EXEEXT)'
# /usr/share/automake-1.15/am/program.am: target 'test-i386.pecoff$(EXEEXT)' was defined here
# tests/Makefile.am:9: while processing program 'test-i386.pecoff'
# tests/Makefile.am:23: warning: deprecated feature: target 'test-x86_64.pecoff' overrides 'test-x86_64.pecoff$(EXEEXT)'
# tests/Makefile.am:23: change your target to read 'test-x86_64.pecoff$(EXEEXT)'
# /usr/share/automake-1.15/am/program.am: target 'test-x86_64.pecoff$(EXEEXT)' was defined here
# tests/Makefile.am:9: while processing program 'test-x86_64.pecoff'
# parallel-tests: installing './test-driver'
# ==> ERROR: A failure occurred in build().
# Aborting...