Build of ndiswrapper-dkms with musl toolchain

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

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

SLOCLanguage
22,130 ansic
902 perl
234 makefile
147 sh
137 asm
23,550 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: ndiswrapper-dkms 1.59-6 (Wed Apr 5 01:13:09 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) dkms-2.2.0.3+git151023-11
#
# Total Installed Size: 0.17 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 dkms...
# Optional dependencies for dkms
# linux-headers: build modules against the Arch kernel [installed]
# linux-lts-headers: build modules against the LTS kernel
# linux-zen-headers: build modules against the ZEN kernel
# linux-grsec-headers: build modules against the GRSEC kernel
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file driver/crt.c
# patching file driver/ntoskernel.h
# patching file driver/ndis.c
# patching file driver/ntoskernel.h
# make: Entering directory '/tmp/ndiswrapper-dkms/src/ndiswrapper-1.59/utils'
# gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
# loadndisdriver.c:34:10: fatal error: 'linux/major.h' file not found
# #include
# ^
# 1 error generated.
# make: *** [Makefile:16: loadndisdriver] Error 1
# make: Leaving directory '/tmp/ndiswrapper-dkms/src/ndiswrapper-1.59/utils'
# ==> ERROR: A failure occurred in build().
# Aborting...