Build of libdom with musl toolchain

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

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

SLOCLanguage
30,338 ansic
1,272 perl
511 sh
245 makefile
113 python
32,479 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: libdom 0.3.0-1 (Wed Apr 5 00:07:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (3) libhubbub-0.3.3-2 libparserutils-0.2.3-2 libwapcaplet-0.3.0-3
#
# Total Installed Size: 0.50 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 libparserutils...
# installing libhubbub...
# installing libwapcaplet...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) netsurf-buildsystem-1.5-1
#
# Total Installed Size: 0.06 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 netsurf-buildsystem...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# COMPILE: src/events/event.c
# COMPILE: src/events/dispatch.c
# COMPILE: src/events/document_event.c
# COMPILE: src/events/event_target.c
# errorerror: : unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
#
# errorerror: : unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
#
# make: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:579: build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/src_events_event.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:579: build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/src_events_document_event.o] Error 1
# make: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:579: build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/src_events_event_target.o] Error 1
# make: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:579: build-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu-release-lib-shared/src_events_dispatch.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...