Build of ruby-glib2 with android toolchain

The build took 00h 01m 04s 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-glib2 3.0.8-1 (Tue Apr 4 21:40:43 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) ruby-pkg-config-1.1.7-1
#
# Total Installed Size: 0.16 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 ruby-pkg-config...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Building native extensions. This could take a while...
# ERROR: Error installing glib2-3.0.8.gem:
# ERROR: Failed to build gem native extension.
#
# current directory: /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/gems/glib2-3.0.8/ext/glib2
# /usr/bin/ruby -r ./siteconf20170404-500-jau8ij.rb extconf.rb
# checking for --enable-debug-build option... no
# checking for -Wall option to compiler... *** 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)
# --enable-debug-build
# --disable-debug-build
# /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:571:in `block in try_compile'
# from /usr/lib/ruby/2.3.0/mkmf.rb:524:in `with_werror'
# from /usr/lib/ruby/2.3.0/mkmf.rb:571:in `try_compile'
# from /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/gems/glib2-3.0.8/lib/mkmf-gnome2.rb:58:in `block in try_compiler_option'
# 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 /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/gems/glib2-3.0.8/lib/mkmf-gnome2.rb:57:in `try_compiler_option'
# from /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/gems/glib2-3.0.8/lib/mkmf-gnome2.rb:67:in `'
# from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
# from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
# from extconf.rb:15:in `
'
#
# To see why this extension failed to compile, please check the mkmf.log which can be found here:
#
# /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/glib2-3.0.8/mkmf.log
#
# extconf failed, exit code 1
#
# Gem files will remain installed in /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/gems/glib2-3.0.8 for inspection.
# Results logged to /tmp/ruby-glib2/pkg/ruby-glib2/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/glib2-3.0.8/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.