Build of chntpw with musl toolchain

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

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

SLOCLanguage
7,774 ansic
29 makefile
7,803 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: chntpw 140201-2 (Wed Apr 5 00:39:19 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall -m32 chntpw.c
# gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall -m32 ntreg.c
# gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall -m32 edlib.c
# gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall -m32 libsam.c
# In file included from chntpw.c:64:
# In file included from /usr/include/stdio.h:27:
# In file included from /usr/include/features.h:392:
# /usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
# In file included from edlib.c:45:
# In file included from /usr/include/stdio.h:27In file included from :
# ntreg.cIn file included from :73:
# In file included from /usr/include/features.h/usr/include/stdio.h:392::
# 27:
# In file included from /usr/include/features.h/usr/include/gnu/stubs.h::392# include
# :
# ^7/usr/include/gnu/stubs.h
# :7:11:: fatal error: 'gnu/stubs-32.h' file not found
# 11: fatal error: # include
# ^
# 'gnu/stubs-32.h' file not found
# # include
# ^
# In file included from libsam.c:42:
# In file included from /usr/include/stdio.h:27:
# In file included from /usr/include/features.h:392:
# /usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
# # include
# ^
# 1 error generated.
# 1 error generated.
# make: *** [Makefile:66: edlib.o] Error 1
# make: *** Waiting for unfinished jobs....
# 1 error generated.
# make: *** [Makefile:66: libsam.o] Error 1
# make: *** [Makefile:66: chntpw.o] Error 1
# 1 error generated.
# make: *** [Makefile:66: ntreg.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...