Build of glib-perl 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
17,093 ansic
4,827 perl
1,060 makefile
22,980 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: glib-perl 1.321-2 (Tue Apr 4 22:12:22 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) perl-extutils-depends-0.405-1 perl-extutils-pkgconfig-1.15-1
#
# Total Installed Size: 0.07 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 perl-extutils-depends...
# installing perl-extutils-pkgconfig...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Including generated API documentation...
# Checking if your kit is complete...
# Looks good
# Unrecognized argument in LIBS ignored: '-pthread'
# Generating a Unix-style Makefile
# Writing Makefile for Glib
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for Glib ()
# [ XS Glib.xs ]
# [ XS GError.xs ]
# chmod 644 "Glib.bs"
# [ XS GUtils.xs ]
# cp lib/Glib/ParseXSDoc.pm blib/lib/Glib/ParseXSDoc.pm
# cp build/IFiles.pm blib/arch/Glib/Install/Files.pm
# cp doctypes blib/arch/Glib/Install/doctypes
# cp gperl_marshal.h blib/arch/Glib/Install/gperl_marshal.h
# cp lib/Glib/CodeGen.pm blib/lib/Glib/CodeGen.pm
# cp lib/Glib/Object/Subclass.pm blib/lib/Glib/Object/Subclass.pm
# cp lib/Glib/MakeHelper.pm blib/lib/Glib/MakeHelper.pm
# cp lib/Glib.pm blib/lib/Glib.pm
# cp gperl.h blib/arch/Glib/Install/gperl.h
# cp /tmp/glib-perl/src/Glib-1.321/typemap blib/arch/Glib/Install/typemap
# cp devel.pod blib/lib/Glib/devel.pod
# cp lib/Glib/GenPod.pm blib/lib/Glib/GenPod.pm
# [ XS GLog.xs ]
# [ XS GType.xs ]
# [ XS GBoxed.xs ]
# [ XS GObject.xs ]
# [ XS GValue.xs ]
# [ XS GClosure.xs ]
# [ XS GSignal.xs ]
# [ XS GMainLoop.xs ]
# [ XS GIOChannel.xs ]
# [ XS GParamSpec.xs ]
# [ XS GKeyFile.xs ]
# [ XS GOption.xs ]
# [ XS GBookmarkFile.xs ]
# [ XS GVariant.xs ]
# [ CC gperl-gtypes.c ]
# Parsing XS files...
# c: error: unrecognized argument in option '-march=x86-64'
# c: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a iwmmxt iwmmxt2 native
# c: error: unrecognized argument in option '-mtune=generic'
# c: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a15 cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-m0 cortex-m0plus cortex-m1 cortex-m3 cortex-m4 cortex-r4 cortex-r4f cortex-r5 ep9312 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xscale
# c: error: unrecognized command line option '-fstack-protector-strong'
# c: error: unrecognized command line option '-fstack-protector-strong'
# make: *** [Makefile:470: gperl-gtypes.o] Error 1
# make: *** Waiting for unfinished jobs....
# ==> ERROR: A failure occurred in build().
# Aborting...