Build of elfkickers with musl toolchain

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

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

SLOCLanguage
8,172 ansic
125 makefile
8,297 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: elfkickers 3.0a-1 (Tue Apr 4 22:59:22 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a'
# make -Celfls elfls
# cp elfls/elfls.1 doc/elfls.1
# make -Cobjres objres
# cp objres/objres.1 doc/objres.1
# make -Crebind rebind
# cp rebind/rebind.1 doc/rebind.1
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfls'
# make -C ../elfrw libelfrw.a
# make -Csstrip sstrip
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/rebind'
# make -C ../elfrw libelfrw.a
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/objres'
# make -C ../elfrw libelfrw.a
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/sstrip'
# make -C ../elfrw libelfrw.a
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# make[2]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -O3 -c -o elfrw.o elfrw.c
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# gcc -Wall -Wextra -O3 -c -o elfrw_dyn.o elfrw_dyn.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ehdr.o elfrw_ehdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ehdr.o elfrw_ehdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ehdr.o elfrw_ehdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ehdr.o elfrw_ehdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_phdr.o elfrw_phdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_phdr.o elfrw_phdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_phdr.o elfrw_phdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_phdr.o elfrw_phdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_rel.o elfrw_rel.c
# gcc -Wall -Wextra -O3 -c -o elfrw_rel.o elfrw_rel.c
# gcc -Wall -Wextra -O3 -c -o elfrw_rel.o elfrw_rel.c
# gcc -Wall -Wextra -O3 -c -o elfrw_rel.o elfrw_rel.c
# gcc -Wall -Wextra -O3 -c -o elfrw_shdr.o elfrw_shdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_shdr.o elfrw_shdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_shdr.o elfrw_shdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_shdr.o elfrw_shdr.c
# gcc -Wall -Wextra -O3 -c -o elfrw_sym.o elfrw_sym.c
# gcc -Wall -Wextra -O3 -c -o elfrw_sym.o elfrw_sym.c
# gcc -Wall -Wextra -O3 -c -o elfrw_sym.o elfrw_sym.c
# gcc -Wall -Wextra -O3 -c -o elfrw_sym.o elfrw_sym.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ver.o elfrw_ver.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ver.o elfrw_ver.c
# gcc -Wall -Wextra -O3 -c -o elfrw_ver.o elfrw_ver.c
# ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o elfrw_shdr.o elfrw_sym.o elfrw_ver.o
# gcc -Wall -Wextra -O3 -c -o elfrw_ver.o elfrw_ver.c
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -I../elfrw elfls.c ../elfrw/libelfrw.a -o elfls
# ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o elfrw_shdr.o elfrw_sym.o elfrw_ver.o
# ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o elfrw_shdr.o elfrw_sym.o elfrw_ver.o
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -I../elfrw rebind.c ../elfrw/libelfrw.a -o rebind
# ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o elfrw_shdr.o elfrw_sym.o elfrw_ver.o
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -I../elfrw objres.c ../elfrw/libelfrw.a -o objres
# make[2]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfrw'
# gcc -Wall -Wextra -I../elfrw sstrip.c ../elfrw/libelfrw.a -o sstrip
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elfls'
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/rebind'
# cp elfls/elfls bin/elfls
# cp rebind/rebind bin/rebind
# cp sstrip/sstrip.1 doc/sstrip.1
# make -Celftoc elftoc
# cp elftoc/elftoc.1 doc/elftoc.1
# make -Cebfc ebfc
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/elftoc'
# gcc -Wall -Wextra -c -o elftoc.o elftoc.c
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/ebfc'
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o ebfc.o ebfc.c
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/sstrip'
# cp sstrip/sstrip bin/sstrip
# cp ebfc/ebfc.1 doc/ebfc.1
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o brainfuck.o brainfuck.c
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/objres'
# gcc -Wall -Wextra -c -o gen.o gen.c
# make -Cinfect infect
# cp objres/objres bin/objres
# gcc -Wall -Wextra -c -o mknames.o mknames.c
# make[1]: Entering directory '/tmp/elfkickers/src/ELFkickers-3.0a/infect'
# gcc -Wall -Wextra infect.c -o infect
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o elfparts.o elfparts.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o ehdr.o ehdr.c
# gcc -Wall -Wextra -c -o address.o address.c
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/infect'
# cp infect/infect bin/infect
# gcc -Wall -Wextra -c -o readelf.o readelf.c
# gcc -Wall -Wextra -c -o shdrtab.o shdrtab.c
# address.c:167:35: warning: address of array 'addrs[i].name' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (addrs[i].address && addrs[i].name) {
# ~~ ~~~~~~~~~^~~~
# address.c:176:35: warning: address of array 'addrs[i].name' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (addrs[i].address && addrs[i].name)
# ~~ ~~~~~~~~~^~~~
# 2 warnings generated.
# cp infect/infect.1 doc/infect.1
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o phdrtab.o phdrtab.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o shdrtab.o shdrtab.c
# gcc -Wall -Wextra -c -o phdrtab.o phdrtab.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o progbits.o progbits.c
# gcc -Wall -Wextra -c -o dynamic.o dynamic.c
# gcc -Wall -Wextra -c -o pieces.o pieces.c
# gcc -Wall -Wextra -c -o outbase.o outbase.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o strtab.o strtab.c
# gcc -Wall -Wextra -c -o outitems.o outitems.c
# gcc -Wall -Wextra -c -o outelf64.o outelf64.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o symtab.o symtab.c
# gcc -Wall -Wextra -c -o outelf32.o outelf32.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o hash.o hash.c
# gcc -Wall -Wextra -c -o out.o out.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o rel.o rel.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o got.o got.c
# gcc -Wall -Wextra -Wno-missing-field-initializers -c -o dynamic.o dynamic.c
# gcc -Wall -Wextra mknames.o -o mknames
# echo '#include ' | gcc -E -dM -xc /dev/stdin | ./mknames elfnames.c
# ar crs libelfparts.a elfparts.o ehdr.o phdrtab.o shdrtab.o progbits.o strtab.o symtab.o hash.o rel.o got.o dynamic.o
# gcc ebfc.o brainfuck.o libelfparts.a -o ebfc
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/ebfc'
# cp ebfc/ebfc bin/ebfc
# ./mknames: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# clang-3.8: error: unable to execute command: Broken pipe
# clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
# clang-3.8: note: diagnostic msg:
# ********************
#
# PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
# Preprocessed source(s) and associated run script(s) are located at:
# clang-3.8: note: diagnostic msg: /tmp/stdin-5802b3.c
# clang-3.8: note: diagnostic msg: /tmp/stdin-5802b3.sh
# clang-3.8: note: diagnostic msg:
#
# ********************
# make[1]: *** [Makefile:35: elfnames.c] Error 127
# make[1]: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a/elftoc'
# make: *** [Makefile:10: bin/elftoc] Error 2
# make: Leaving directory '/tmp/elfkickers/src/ELFkickers-3.0a'
# ==> ERROR: A failure occurred in build().
# Aborting...