Build of shake with musl toolchain

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

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

SLOCLanguage
1,919 ansic
55 python
5 makefile
1,979 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: shake 1.0-1 (Wed Apr 5 01:14:48 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) perl-locale-gettext-1.07-2 help2man-1.47.3-2
#
# Total Installed Size: 0.33 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 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()...
# -- The C compiler identification is Clang 3.8.1
# -- Check for working C compiler: /sysroot/bin/clang
# -- Check for working C compiler: /sysroot/bin/clang -- works
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Detecting C compile features
# -- Detecting C compile features - done
# CMake Warning (dev) at CMakeLists.txt:26 (get_target_property):
# Policy CMP0026 is not set: Disallow use of the LOCATION target property.
# Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
# command to set the policy and suppress this warning.
#
# The LOCATION property should not be read from target "shake". Use the
# target name directly with add_custom_command, or use the generator
# expression $, as appropriate.
#
# Call Stack (most recent call first):
# CMakeLists.txt:50 (add_help2man_manpage)
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# CMake Warning (dev) at CMakeLists.txt:26 (get_target_property):
# Policy CMP0026 is not set: Disallow use of the LOCATION target property.
# Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
# command to set the policy and suppress this warning.
#
# The LOCATION property should not be read from target "unattr". Use the
# target name directly with add_custom_command, or use the generator
# expression $, as appropriate.
#
# Call Stack (most recent call first):
# CMakeLists.txt:51 (add_help2man_manpage)
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# -- Looking for attr_setf
# -- Looking for attr_setf - not found
# -- Looking for fallocate
# -- Looking for fallocate - not found
# CMake Error at CMakeLists.txt:87 (message):
# You need libattr headers for Shake to build. They might be in a package
# named libattr1-dev or libattr-devel.
#
#
# -- Configuring incomplete, errors occurred!
# See also "/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeOutput.log".
# See also "/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeError.log".
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing Cmake errors

CMD: Cmake errors '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeError.log'
# Determining if the function attr_setf exists failed with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_798f5/fast"
# /usr/bin/make -f CMakeFiles/cmTC_798f5.dir/build.make CMakeFiles/cmTC_798f5.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_798f5.dir/CheckFunctionExists.c.o
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=attr_setf -o CMakeFiles/cmTC_798f5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_798f5
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_798f5.dir/link.txt --verbose=1
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=attr_setf CMakeFiles/cmTC_798f5.dir/CheckFunctionExists.c.o -o cmTC_798f5 -rdynamic -lattr
# /sysroot/bin/ld: error: cannot find -lattr
# CMakeFiles/cmTC_798f5.dir/CheckFunctionExists.c.o:/usr/share/cmake-3.5/Modules/CheckFunctionExists.c:function main: error: undefined reference to 'attr_setf'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make[1]: *** [CMakeFiles/cmTC_798f5.dir/build.make:98: cmTC_798f5] Error 1
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_798f5/fast] Error 2
#
#
# Determining if the function fallocate exists failed with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_3f99d/fast"
# /usr/bin/make -f CMakeFiles/cmTC_3f99d.dir/build.make CMakeFiles/cmTC_3f99d.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_3f99d.dir/CheckFunctionExists.c.o
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=fallocate -o CMakeFiles/cmTC_3f99d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_3f99d
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f99d.dir/link.txt --verbose=1
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=fallocate CMakeFiles/cmTC_3f99d.dir/CheckFunctionExists.c.o -o cmTC_3f99d -rdynamic -lattr
# /sysroot/bin/ld: error: cannot find -lattr
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# make[1]: *** [CMakeFiles/cmTC_3f99d.dir/build.make:98: cmTC_3f99d] Error 1
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_3f99d/fast] Error 2
#
#

Printing Cmake output

CMD: Cmake output '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeOutput.log'
# The system is: Linux - 4.10.6-1-ARCH - x86_64
# Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
# Compiler: /sysroot/bin/clang
# Build flags:
# Id flags:
#
# The output was:
# 0
#
#
# Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
#
# The C compiler identification is Clang, found in "/tmp/shake/src/shake-1.0/build/CMakeFiles/3.5.2/CompilerIdC/a.out"
#
# Determining if the C compiler works passed with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_ee11d/fast"
# /usr/bin/make -f CMakeFiles/cmTC_ee11d.dir/build.make CMakeFiles/cmTC_ee11d.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_ee11d.dir/testCCompiler.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_ee11d.dir/testCCompiler.c.o -c /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp/testCCompiler.c
# Linking C executable cmTC_ee11d
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee11d.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_ee11d.dir/testCCompiler.c.o -o cmTC_ee11d -rdynamic
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
#
#
# Detecting C compiler ABI info compiled with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_c6553/fast"
# /usr/bin/make -f CMakeFiles/cmTC_c6553.dir/build.make CMakeFiles/cmTC_c6553.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
# Linking C executable cmTC_c6553
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c6553.dir/link.txt --verbose=1
# /sysroot/bin/clang -v CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o -o cmTC_c6553 -rdynamic
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /sysroot/bin
# "/sysroot/bin/ld" --sysroot=/sysroot -export-dynamic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_c6553 /sysroot/bin/../lib/crt1.o /sysroot/bin/../lib/crti.o /sysroot/bin/../lib/clang/3.8.1/crtbegin.o -L/sysroot/bin/../lib -L/sysroot/lib -L/sysroot/usr/lib CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a -lc /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a /sysroot/bin/../lib/clang/3.8.1/crtend.o /sysroot/bin/../lib/crtn.o
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
#
#
# Parsed C implicit link information from above output:
# link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
# ignore line: [Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp]
# ignore line: []
# ignore line: [Run Build Command:"/usr/bin/make" "cmTC_c6553/fast"]
# ignore line: [/usr/bin/make -f CMakeFiles/cmTC_c6553.dir/build.make CMakeFiles/cmTC_c6553.dir/build]
# ignore line: [make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp']
# ignore line: [Building C object CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o]
# ignore line: [/sysroot/bin/clang -o CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
# ignore line: [Linking C executable cmTC_c6553]
# ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c6553.dir/link.txt --verbose=1]
# ignore line: [/sysroot/bin/clang -v CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o -o cmTC_c6553 -rdynamic ]
# ignore line: [clang version 3.8.1 ]
# ignore line: [Target: x86_64-unknown-linux-gnu]
# ignore line: [Thread model: posix]
# ignore line: [InstalledDir: /sysroot/bin]
# link line: [ "/sysroot/bin/ld" --sysroot=/sysroot -export-dynamic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_c6553 /sysroot/bin/../lib/crt1.o /sysroot/bin/../lib/crti.o /sysroot/bin/../lib/clang/3.8.1/crtbegin.o -L/sysroot/bin/../lib -L/sysroot/lib -L/sysroot/usr/lib CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a -lc /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a /sysroot/bin/../lib/clang/3.8.1/crtend.o /sysroot/bin/../lib/crtn.o]
# arg [/sysroot/bin/ld] ==> ignore
# arg [--sysroot=/sysroot] ==> ignore
# arg [-export-dynamic] ==> ignore
# arg [--eh-frame-hdr] ==> ignore
# arg [-m] ==> ignore
# arg [elf_x86_64] ==> ignore
# arg [-dynamic-linker] ==> ignore
# arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
# arg [-o] ==> ignore
# arg [cmTC_c6553] ==> ignore
# arg [/sysroot/bin/../lib/crt1.o] ==> ignore
# arg [/sysroot/bin/../lib/crti.o] ==> ignore
# arg [/sysroot/bin/../lib/clang/3.8.1/crtbegin.o] ==> ignore
# arg [-L/sysroot/bin/../lib] ==> dir [/sysroot/bin/../lib]
# arg [-L/sysroot/lib] ==> dir [/sysroot/lib]
# arg [-L/sysroot/usr/lib] ==> dir [/sysroot/usr/lib]
# arg [CMakeFiles/cmTC_c6553.dir/CMakeCCompilerABI.c.o] ==> ignore
# arg [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# arg [-lc] ==> lib [c]
# arg [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# arg [/sysroot/bin/../lib/clang/3.8.1/crtend.o] ==> ignore
# arg [/sysroot/bin/../lib/crtn.o] ==> ignore
# collapse lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# collapse lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# collapse library dir [/sysroot/bin/../lib] ==> [/sysroot/lib]
# collapse library dir [/sysroot/lib] ==> [/sysroot/lib]
# collapse library dir [/sysroot/usr/lib] ==> [/sysroot/usr/lib]
# implicit libs: [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a;c;/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# implicit dirs: [/sysroot/lib;/sysroot/usr/lib]
# implicit fwks: []
#
#
#
#
# Detecting C [-std=c11] compiler features compiled with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_e1131/fast"
# /usr/bin/make -f CMakeFiles/cmTC_e1131.dir/build.make CMakeFiles/cmTC_e1131.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_e1131.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c11 -o CMakeFiles/cmTC_e1131.dir/feature_tests.c.o -c /tmp/shake/src/shake-1.0/build/CMakeFiles/feature_tests.c
# Linking C executable cmTC_e1131
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e1131.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_e1131.dir/feature_tests.c.o -o cmTC_e1131 -rdynamic
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:1c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c99] compiler features compiled with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_6d8e4/fast"
# /usr/bin/make -f CMakeFiles/cmTC_6d8e4.dir/build.make CMakeFiles/cmTC_6d8e4.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_6d8e4.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c99 -o CMakeFiles/cmTC_6d8e4.dir/feature_tests.c.o -c /tmp/shake/src/shake-1.0/build/CMakeFiles/feature_tests.c
# Linking C executable cmTC_6d8e4
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6d8e4.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_6d8e4.dir/feature_tests.c.o -o cmTC_6d8e4 -rdynamic
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c90] compiler features compiled with the following output:
# Change Dir: /tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/bin/make" "cmTC_3112e/fast"
# /usr/bin/make -f CMakeFiles/cmTC_3112e.dir/build.make CMakeFiles/cmTC_3112e.dir/build
# make[1]: Entering directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_3112e.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c90 -o CMakeFiles/cmTC_3112e.dir/feature_tests.c.o -c /tmp/shake/src/shake-1.0/build/CMakeFiles/feature_tests.c
# Linking C executable cmTC_3112e
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3112e.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_3112e.dir/feature_tests.c.o -o cmTC_3112e -rdynamic
# make[1]: Leaving directory '/tmp/shake/src/shake-1.0/build/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:0c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:0c_variadic_macros