Build of android-tools with clang_glibc toolchain

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

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

SLOCLanguage
81,973 cpp
67,939 ansic
3,547 python
3,452 asm
2,243 sh
1,068 java
131 ada
160,353 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: android-tools 6.0.1_r46-1 (Thu Apr 13 17:10:24 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# core/base/file.cpp:87:57: error: use of undeclared identifier 'strerror'
# ALOGE("android::WriteStringToFile open failed: %s", strerror(errno));
# ^
# core/base/file.cpp:94:59: error: use of undeclared identifier 'strerror'
# ALOGE("android::WriteStringToFile fchmod failed: %s", strerror(errno));
# ^
# core/base/file.cpp:98:59: error: use of undeclared identifier 'strerror'
# ALOGE("android::WriteStringToFile fchown failed: %s", strerror(errno));
# ^
# core/base/file.cpp:102:58: error: use of undeclared identifier 'strerror'
# ALOGE("android::WriteStringToFile write failed: %s", strerror(errno));
# ^
# 4 errors generated.
# clang-3.8: error: no such file or directory: 'core/base/file.cpp.o'
# clang-3.8: error: no such file or directory: 'core/base/file.cpp.o'
# ==> ERROR: A failure occurred in build().
# Aborting...