Build of mlton with android toolchain

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

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

SLOCLanguage
33,493 ansic
3,569 asm
2,879 lisp
2,051 makefile
1,421 sh
1,169 perl
256 pascal
220 python
45,058 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/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: mlton 20130715-5 (Tue Apr 4 21:15:13 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) setconf-0.7.2-1
#
# Total Installed Size: 0.02 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 setconf...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make: Entering directory '/tmp/mlton/src/mlton-20130715'
# make dirs runtime compiler basis-no-check script mlbpathmap constants libraries tools
# make[1]: Entering directory '/tmp/mlton/src/mlton-20130715'
# mkdir -p "/tmp/mlton/src/mlton-20130715/build/bin" "/tmp/mlton/src/mlton-20130715/build/lib/include"
# mkdir -p "/tmp/mlton/src/mlton-20130715/build/lib/targets/self/include"
# mkdir -p "/tmp/mlton/src/mlton-20130715/build/lib/targets/self/sml"
# Compiling MLton runtime system for self.
# make -C runtime
# make[2]: Entering directory '/tmp/mlton/src/mlton-20130715/runtime'
# gzip -dc gdtoa.tgz | tar xf -
# patch -s -p0
# patch -s -p0
# patch -s -p0
# patch -s -p0
# cd gdtoa && gcc -std=gnu99 -fno-common -pedantic -Wall -Wextra -Wformat=2 -Wswitch-default -Wswitch-enum -Wuninitialized -Winit-self -Wstrict-aliasing=2 -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -fvisibility=hidden -m64 -I. -Iplatform -Wdisabled-optimization -O2 -fomit-frame-pointer -w -O1 -o arithchk.out arithchk.c
# cc: error: unrecognized command line option '-m64'
# make[2]: *** [Makefile:258: gdtoa/arithchk.out] Error 1
# make[2]: Leaving directory '/tmp/mlton/src/mlton-20130715/runtime'
# make[1]: *** [Makefile:197: runtime] Error 2
# make[1]: Leaving directory '/tmp/mlton/src/mlton-20130715'
# make: *** [Makefile:61: all-no-docs] Error 2
# make: Leaving directory '/tmp/mlton/src/mlton-20130715'
# ==> ERROR: A failure occurred in build().
# Aborting...