Build of pacparser 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
78,163 ansic
410 sh
395 perl
225 python
98 makefile
46 asm
79,337 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: pacparser 1.3.6-1 (Tue Apr 4 23:58:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/pacparser/src/pacparser/src'
# tar xzvf spidermonkey/js-?.?.?.tar.gz -C spidermonkey
# js/
# js/README
# js/src/
# js/src/.cvsignore
# js/src/config/
# js/src/config.mk
# js/src/js.c
# js/src/js.mak
# js/src/js.mdp
# js/src/js.msg
# js/src/js.pkg
# js/src/js3240.rc
# js/src/jsapi.c
# js/src/jsapi.h
# js/src/jsarena.c
# js/src/jsarena.h
# js/src/jsarray.c
# js/src/jsarray.h
# js/src/jsatom.c
# js/src/jsatom.h
# js/src/jsbit.h
# js/src/jsbool.c
# js/src/jsbool.h
# js/src/jsclist.h
# js/src/jscntxt.c
# js/src/jscntxt.h
# js/src/jscompat.h
# js/src/jsconfig.h
# js/src/jsconfig.mk
# js/src/jscpucfg.c
# js/src/jscpucfg.h
# js/src/jsdate.c
# js/src/jsdate.h
# js/src/jsdbgapi.c
# js/src/jsdbgapi.h
# js/src/jsdhash.c
# js/src/jsdhash.h
# js/src/jsdtoa.c
# js/src/jsdtoa.h
# js/src/jsemit.c
# js/src/jsemit.h
# js/src/jsexn.c
# js/src/jsexn.h
# js/src/jsfile.c
# js/src/jsfile.h
# js/src/jsfile.msg
# js/src/jsfun.c
# js/src/jsfun.h
# js/src/jsgc.c
# js/src/jsgc.h
# js/src/jshash.c
# js/src/jshash.h
# js/src/jsify.pl
# js/src/jsinterp.c
# js/src/jsinterp.h
# js/src/jsiter.c
# js/src/jsiter.h
# js/src/jskeyword.tbl
# js/src/jskwgen.c
# js/src/jslibmath.h
# js/src/jslock.c
# js/src/jslock.h
# js/src/jslocko.asm
# js/src/jslog2.c
# js/src/jslong.c
# js/src/jslong.h
# js/src/jsmath.c
# js/src/jsmath.h
# js/src/jsnum.c
# js/src/jsnum.h
# js/src/jsobj.c
# js/src/jsobj.h
# js/src/jsopcode.c
# js/src/jsopcode.h
# js/src/jsopcode.tbl
# js/src/jsOS240.def
# js/src/jsosdep.h
# js/src/jsotypes.h
# js/src/jsparse.c
# js/src/jsparse.h
# js/src/jsprf.c
# js/src/jsprf.h
# js/src/jsproto.tbl
# js/src/jsprvtd.h
# js/src/jspubtd.h
# js/src/jsregexp.c
# js/src/jsregexp.h
# js/src/jsscan.c
# js/src/jsscan.h
# js/src/jsscope.c
# js/src/jsscope.h
# js/src/jsscript.c
# js/src/jsscript.h
# js/src/jsshell.msg
# js/src/jsstddef.h
# js/src/jsstr.c
# js/src/jsstr.h
# js/src/jstypes.h
# js/src/jsutil.c
# js/src/jsutil.h
# js/src/jsxdrapi.c
# js/src/jsxdrapi.h
# js/src/jsxml.c
# js/src/jsxml.h
# js/src/lock_SunOS.s
# js/src/Makefile.in
# js/src/Makefile.ref
# js/src/perfect.js
# js/src/plify_jsdhash.sed
# js/src/prmjtime.c
# js/src/prmjtime.h
# js/src/README.html
# js/src/resource.h
# js/src/rules.mk
# js/src/SpiderMonkey.rsp
# js/src/win32.order
# js/src/Y.js
# js/src/config/AIX4.1.mk
# js/src/config/AIX4.2.mk
# js/src/config/AIX4.3.mk
# js/src/config/CVS/
# js/src/config/Darwin.mk
# js/src/config/Darwin1.3.mk
# js/src/config/Darwin1.4.mk
# js/src/config/Darwin5.2.mk
# js/src/config/Darwin5.3.mk
# js/src/config/dgux.mk
# js/src/config/HP-UXB.10.10.mk
# js/src/config/HP-UXB.10.20.mk
# js/src/config/HP-UXB.11.00.mk
# js/src/config/IRIX.mk
# js/src/config/IRIX5.3.mk
# js/src/config/IRIX6.1.mk
# js/src/config/IRIX6.2.mk
# js/src/config/IRIX6.3.mk
# js/src/config/IRIX6.5.mk
# js/src/config/Linux_All.mk
# js/src/config/Mac_OS10.0.mk
# js/src/config/OSF1V4.0.mk
# js/src/config/OSF1V5.0.mk
# js/src/config/SunOS4.1.4.mk
# js/src/config/SunOS5.3.mk
# js/src/config/SunOS5.4.mk
# js/src/config/SunOS5.5.1.mk
# js/src/config/SunOS5.5.mk
# js/src/config/SunOS5.6.mk
# js/src/config/SunOS5.7.mk
# js/src/config/SunOS5.8.mk
# js/src/config/SunOS5.9.mk
# js/src/config/WINNT4.0.mk
# js/src/config/WINNT5.0.mk
# js/src/config/WINNT5.1.mk
# js/src/config/WINNT5.2.mk
# js/src/config/CVS/Entries
# js/src/config/CVS/Repository
# js/src/config/CVS/Root
# js/src/config/CVS/Tag
# sed -i -e 's:\(shell uname -s | sed /\\ /s//_/\):\1 | sed s,GNU.*,Linux,:g' spidermonkey/js/src/config.mk
# cd spidermonkey && SMCFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make jsapi
# cd spidermonkey && SMCFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make jslib
# make[1]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
# make[1]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
# mkdir -p js/src/Linux_All_DBG.OBJ
# mkdir -p js/src/Linux_All_DBG.OBJ
# CFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make -C js/src -f Makefile.ref libjs.a
# CFLAGS="-fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy" make -C js/src -f Makefile.ref libjs.a
# make[2]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey/js/src'
# make[2]: Entering directory '/tmp/pacparser/src/pacparser/src/spidermonkey/js/src'
# cat: ../../dist/Linux_All_DBG.OBJ/nspr/Version: No such file or directory
# cat: ../../dist/Linux_All_DBG.OBJ/nspr/Version: No such file or directory
# make[2]: Circular jscpucfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
# make[2]: Circular Linux_All_DBG.OBJ/jsautocfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
# gcc -o Linux_All_DBG.OBJ/jscpucfg.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jscpucfg.c
# make[2]: Circular jscpucfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
# make[2]: Circular Linux_All_DBG.OBJ/jsautocfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
# gcc -o Linux_All_DBG.OBJ/jscpucfg.o -c -fPIC -DHAVE_VA_COPY -DVA_COPY=__va_copy -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -DDEBUG -DDEBUG_tuscan -DEDITLINE -ILinux_All_DBG.OBJ jscpucfg.c
# In file included from :319:
# :10:9: warning: 'VA_COPY' macro redefined [-Wmacro-redefined]
# #define VA_COPY va_copy
# ^
# :2:9: noteIn file included from : previous definition is here
# :319:
# :10:9#define VA_COPY __va_copy:
# ^warning
# : 'VA_COPY' macro redefined [-Wmacro-redefined]
# #define VA_COPY va_copy
# ^
# :2:9: note: previous definition is here
# #define VA_COPY __va_copy
# ^
# 1 warning generated.
# 1 warning generated.
# gcc -o Linux_All_DBG.OBJ/jscpucfg Linux_All_DBG.OBJ/jscpucfg.o
# gcc -o Linux_All_DBG.OBJ/jscpucfg Linux_All_DBG.OBJ/jscpucfg.o
# rm -f Linux_All_DBG.OBJ/jsautocfg.h
# rm -f Linux_All_DBG.OBJ/jsautocfg.h
# Linux_All_DBG.OBJ/jscpucfg > Linux_All_DBG.OBJ/jsautocfg.h
# Linux_All_DBG.OBJ/jscpucfg > Linux_All_DBG.OBJ/jsautocfg.h
# Linux_All_DBG.OBJ/jscpucfg: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# Linux_All_DBG.OBJ/jscpucfg: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make[2]: *** [Makefile.ref:353: Linux_All_DBG.OBJ/jsautocfg.h] Error 127
# make[2]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey/js/src'
# make[2]: *** [Makefile.ref:353: Linux_All_DBG.OBJ/jsautocfg.h] Error 127
# make[2]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey/js/src'
# make[1]: *** [Makefile:37: js-buildstamp] Error 2
# make[1]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
# make[1]: *** [Makefile:37: js-buildstamp] Error 2
# make[1]: Leaving directory '/tmp/pacparser/src/pacparser/src/spidermonkey'
# make: *** [Makefile:86: libjs.a] Error 2
# make: *** Waiting for unfinished jobs....
# make: *** [Makefile:82: jsapi_buildstamp] Error 2
# make: Leaving directory '/tmp/pacparser/src/pacparser/src'
# ==> ERROR: A failure occurred in build().
# Aborting...