Build of ruby-iconv with android toolchain

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

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

SLOCLanguage
0 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: ruby-iconv 1.0.4-4 (Tue Apr 4 20:51:18 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Building native extensions. This could take a while...
# ERROR: Error installing iconv-1.0.4.gem:
# ERROR: Failed to build gem native extension.
#
# current directory: /tmp/ruby-iconv/pkg/ruby-iconv/usr/lib/ruby/gems/2.3.0/gems/iconv-1.0.4/ext/iconv
# /usr/bin/ruby -r ./siteconf20170404-491-fzqigq.rb extconf.rb
# checking for rb_enc_get() in ruby/encoding.h... *** extconf.rb failed ***
# Could not create Makefile due to some reason, probably lack of necessary
# libraries and/or headers. Check the mkmf.log file for more details. You may
# need configuration options.
#
# Provided configuration options:
# --with-opt-dir
# --without-opt-dir
# --with-opt-include
# --without-opt-include=${opt-dir}/include
# --with-opt-lib
# --without-opt-lib=${opt-dir}/lib
# --with-make-prog
# --without-make-prog
# --srcdir=.
# --curdir
# --ruby=/usr/bin/$(RUBY_BASE_NAME)
# --with-iconv-dir
# --without-iconv-dir
# --with-iconv-include
# --without-iconv-include=${iconv-dir}/include
# --with-iconv-lib
# --without-iconv-lib=${iconv-dir}/lib
# --enable-config-charset
# --disable-config-charset
# --with-config-charset
# --without-config-charset
# /usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
# You have to install development tools first.
# from /usr/lib/ruby/2.3.0/mkmf.rb:541:in `try_link0'
# from /usr/lib/ruby/2.3.0/mkmf.rb:556:in `try_link'
# from /usr/lib/ruby/2.3.0/mkmf.rb:765:in `try_func'
# from /usr/lib/ruby/2.3.0/mkmf.rb:1051:in `block in have_func'
# from /usr/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
# from /usr/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
# from /usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
# from /usr/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
# from /usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
# from /usr/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
# from /usr/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
# from /usr/lib/ruby/2.3.0/mkmf.rb:1050:in `have_func'
# from extconf.rb:8:in `
'
#
# To see why this extension failed to compile, please check the mkmf.log which can be found here:
#
# /tmp/ruby-iconv/pkg/ruby-iconv/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/iconv-1.0.4/mkmf.log
#
# extconf failed, exit code 1
#
# Gem files will remain installed in /tmp/ruby-iconv/pkg/ruby-iconv/usr/lib/ruby/gems/2.3.0/gems/iconv-1.0.4 for inspection.
# Results logged to /tmp/ruby-iconv/pkg/ruby-iconv/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/iconv-1.0.4/gem_make.out
# ==> ERROR: A failure occurred in package().
# Aborting...

SLOCCount failed
# Creating filelist for src
# Categorizing files.
# Computing results.
#
#
# SLOC Directory SLOC-by-Language (Sorted)
# 0 src (none)
# SLOC total is zero, no further analysis performed.