Build of x265 with vanilla toolchain

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

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

SLOCLanguage
139,585 asm
47,945 cpp
740 ansic
86 makefile
52 sh
11 python
188,419 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...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: x265 1.9-1 (Wed Aug 24 13:56:57 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) yasm-1.3.0-1
#
# Total Installed Size: 3.70 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 yasm...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# /tmp/x265/PKGBUILD: line 33: cd: x265_1.9/build-12: No such file or directory
# ==> ERROR: A failure occurred in build().
# Aborting...