Build of cuda with musl toolchain

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

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

SLOCLanguage
4,475,593 sh
4,475,593 total

The process tree of the build process is here.

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: cuda 7.5.18-2 (Wed Apr 5 01:11:31 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# warning: cannot resolve "libcl", a dependency of "opencl-nvidia-304xx"
# :: The following package cannot be upgraded due to unresolvable dependencies:
# opencl-nvidia-304xx
#
# :: Do you want to skip the above package for this upgrade? [y/N] error: failed to prepare transaction (could not satisfy dependencies)
#
# :: opencl-nvidia-304xx: requires libcl
# ==> ERROR: 'pacman' failed to install missing dependencies.