Build of snowball with musl toolchain

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

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

SLOCLanguage
7,554 ansic
541 python
386 java
261 sh
216 perl
8,958 total

The process tree of the build process is here.

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: snowball 0+337-2 (Wed Apr 5 01:21:11 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting pkgver()...
# ==> Starting build()...
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/space.o compiler/space.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/tokeniser.o compiler/tokeniser.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/analyser.o compiler/analyser.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/generator.o compiler/generator.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/driver.o compiler/driver.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/generator_java.o compiler/generator_java.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/generator_jsx.o compiler/generator_jsx.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o compiler/generator_python.o compiler/generator_python.c
# sed 's/@MODULES_H@/modules.h/' libstemmer/libstemmer_c.in >libstemmer/libstemmer.c
# libstemmer/mkmodules.pl libstemmer/modules.h src_c libstemmer/modules.txt libstemmer/mkinc.mak
# cp algorithms/danish/stem_ISO_8859_1.sbl algorithms/danish/stem_Unicode.sbl
# cp algorithms/dutch/stem_ISO_8859_1.sbl algorithms/dutch/stem_Unicode.sbl
# cp algorithms/english/stem_ISO_8859_1.sbl algorithms/english/stem_Unicode.sbl
# cp algorithms/finnish/stem_ISO_8859_1.sbl algorithms/finnish/stem_Unicode.sbl
# cp algorithms/french/stem_ISO_8859_1.sbl algorithms/french/stem_Unicode.sbl
# cp algorithms/german/stem_ISO_8859_1.sbl algorithms/german/stem_Unicode.sbl
# cp algorithms/italian/stem_ISO_8859_1.sbl algorithms/italian/stem_Unicode.sbl
# cp algorithms/norwegian/stem_ISO_8859_1.sbl algorithms/norwegian/stem_Unicode.sbl
# cp algorithms/porter/stem_ISO_8859_1.sbl algorithms/porter/stem_Unicode.sbl
# cp algorithms/portuguese/stem_ISO_8859_1.sbl algorithms/portuguese/stem_Unicode.sbl
# cp algorithms/spanish/stem_ISO_8859_1.sbl algorithms/spanish/stem_Unicode.sbl
# cp algorithms/swedish/stem_ISO_8859_1.sbl algorithms/swedish/stem_Unicode.sbl
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o runtime/api.o runtime/api.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o runtime/utilities.o runtime/utilities.c
# clang -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Iinclude -c -o examples/stemwords.o examples/stemwords.c
# cp algorithms/german2/stem_ISO_8859_1.sbl algorithms/german2/stem_Unicode.sbl
# cp algorithms/kraaij_pohlmann/stem_ISO_8859_1.sbl algorithms/kraaij_pohlmann/stem_Unicode.sbl
# cp algorithms/lovins/stem_ISO_8859_1.sbl algorithms/lovins/stem_Unicode.sbl
# clang -o snowball compiler/space.o compiler/tokeniser.o compiler/analyser.o compiler/generator.o compiler/driver.o compiler/generator_java.o compiler/generator_jsx.o compiler/generator_python.o
# ./snowball algorithms/danish/stem_Unicode.sbl -o src_c/stem_UTF_8_danish -eprefix danish_UTF_8_ -r ../runtime -u
# ./snowball algorithms/arabic/stem_Unicode.sbl -o src_c/stem_UTF_8_arabic -eprefix arabic_UTF_8_ -r ../runtime -u
# ./snowball algorithms/dutch/stem_Unicode.sbl -o src_c/stem_UTF_8_dutch -eprefix dutch_UTF_8_ -r ../runtime -u
# ./snowball: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./snowball: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# ./snowball algorithms/english/stem_Unicode.sbl -o src_c/stem_UTF_8_english -eprefix english_UTF_8_ -r ../runtime -u
# make: *** [GNUmakefile:171: src_c/stem_UTF_8_danish.h] Error 127
# make: *** Waiting for unfinished jobs....
# ./snowball: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make: *** [GNUmakefile:171: src_c/stem_UTF_8_arabic.h] Error 127
# make: *** [GNUmakefile:171: src_c/stem_UTF_8_dutch.h] Error 127
# ./snowball: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make: *** [GNUmakefile:171: src_c/stem_UTF_8_english.h] Error 127
# rm algorithms/spanish/stem_Unicode.sbl algorithms/porter/stem_Unicode.sbl algorithms/danish/stem_Unicode.sbl algorithms/english/stem_Unicode.sbl algorithms/italian/stem_Unicode.sbl algorithms/swedish/stem_Unicode.sbl algorithms/lovins/stem_Unicode.sbl algorithms/german/stem_Unicode.sbl algorithms/norwegian/stem_Unicode.sbl algorithms/portuguese/stem_Unicode.sbl algorithms/french/stem_Unicode.sbl algorithms/kraaij_pohlmann/stem_Unicode.sbl algorithms/finnish/stem_Unicode.sbl algorithms/dutch/stem_Unicode.sbl algorithms/german2/stem_Unicode.sbl
# ==> ERROR: A failure occurred in build().
# Aborting...