Build of rust with android toolchain

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

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

SLOCLanguage
1,003,785 cpp
241,249 ansic
22,971 sh
15,060 python
5,460 ml
4,898 perl
4,513 pascal
3,876 makefile
2,849 asm
977 objc
142 lisp
117 csh
4 awk
1,305,901 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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: rust 1:1.10.0-1 (Tue Apr 4 22:23:23 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: looking for configure programs
# configure: found program 'cmp'
# configure: found program 'mkdir'
# configure: found program 'printf'
# configure: found program 'cut'
# configure: found program 'head'
# configure: found program 'grep'
# configure: found program 'xargs'
# configure: found program 'cp'
# configure: found program 'find'
# configure: found program 'uname'
# configure: found program 'date'
# configure: found program 'tr'
# configure: found program 'sed'
# configure: found program 'file'
# configure: found program 'make'
# configure: inspecting environment
# configure: recreating config.tmp
# configure:
# configure: processing ./configure args
# configure:
# configure: CFG_DISABLE_DOCS := 1
# configure: CFG_LOCALSTATEDIR := /var/lib
# configure: CFG_SYSCONFDIR := /etc
# configure: CFG_DATADIR := /share
# configure: CFG_INFODIR := /share/info
# configure: CFG_LLVM_ROOT :=
# configure: CFG_PYTHON :=
# configure: CFG_JEMALLOC_ROOT :=
# configure: CFG_BUILD := x86_64-unknown-linux
# configure: CFG_ANDROID_CROSS_PATH :=
# configure: CFG_I686_LINUX_ANDROID_NDK :=
# configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=
# configure: CFG_ARMV7_LINUX_ANDROIDEABI_NDK :=
# configure: CFG_AARCH64_LINUX_ANDROID_NDK :=
# configure: CFG_NACL_CROSS_PATH :=
# configure: CFG_RELEASE_CHANNEL := stable
# configure: CFG_MUSL_ROOT := /usr/local
# configure: CFG_EXTRA_FILENAME :=
# configure: CFG_DEFAULT_LINKER := cc
# configure: CFG_DEFAULT_AR := ar
# configure: CFG_LIBDIR := /usr/lib
# configure:
# configure: validating ./configure args
# configure:
# configure:
# configure: looking for build programs
# configure:
# configure: CFG_CURLORWGET := /usr/sbin/curl (7.49.1)
# configure: CFG_PYTHON := /sysroot/bin/python2.7
# configure: CFG_GIT := /usr/sbin/git (2.9.0)
# configure: git: no git directory. disabling submodules
# configure: CFG_MD5 :=
# configure: CFG_MD5SUM := /usr/sbin/md5sum (8.25)
# configure: CFG_HASH_COMMAND := /usr/sbin/md5sum | cut -c 1-8
# configure: CFG_CLANG :=
# configure: CFG_CCACHE :=
# configure: CFG_GCC := /usr/sbin/gcc (4.8)
# configure: CFG_LD := /usr/sbin/ld (2.24.90)
# configure: CFG_VALGRIND :=
# configure: CFG_PERF :=
# configure: CFG_ISCC :=
# configure: CFG_ANTLR4 :=
# configure: CFG_GRUN :=
# configure: CFG_FLEX := /usr/sbin/flex (2.6.0)
# configure: CFG_BISON := /usr/sbin/bison (3.0.4)
# configure: CFG_GDB :=
# configure: CFG_LLDB :=
# configure: CFG_DISABLE_VALGRIND_RPASS := 1
# configure: CFG_LLDB_PYTHON := /sysroot/bin/python2.7
# configure:
# configure: looking for target specific programs
# configure:
# configure: CFG_ADB :=
# configure: skipping compiler inference steps; using provided CC=arm-linux-androideabi-gcc
# configure: CFG_CC := arm-linux-androideabi-gcc
# configure: CFG_CXX := arm-linux-androideabi-g++
# configure: CFG_STDCPP_NAME := arm-linux-androideabi-stdc++
# configure: error: unsupported target triples "x86_64-unknown-linux" found
# ==> ERROR: A failure occurred in build().
# Aborting...