Build of gcc5 with musl toolchain

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

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

SLOCLanguage
2,947,280 ansic
812,342 cpp
756,757 ada
682,510 java
117,673 f90
66,854 asm
62,635 sh
24,953 exp
15,216 objc
10,901 fortran
6,284 python
4,920 perl
4,178 pascal
2,855 awk
2,385 ml
977 yacc
879 cs
398 makefile
392 tcl
198 lex
112 haskell
8 lisp
5,520,707 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: gcc5 5.4.0-1 (Wed Apr 5 01:12:27 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# /tmp/gcc5/PKGBUILD: line 45: cd: /tmp/gcc5/src/gcc-build: No such file or directory
# ==> ERROR: A failure occurred in build().
# Aborting...