Build of perl-json-xs with android toolchain

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

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

SLOCLanguage
2,345 ansic
735 makefile
522 perl
3,602 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: perl-json-xs 3.02-3 (Tue Apr 4 21:55:48 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (3) perl-canary-stability-2011-2 perl-common-sense-3.74-1 perl-types-serialiser-1.0-1
#
# Total Installed Size: 0.15 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-common-sense...
# installing perl-types-serialiser...
# installing perl-canary-stability...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
#
# ***
# *** Canary::Stability COMPATIBILITY AND SUPPORT CHECK
# *** =================================================
# ***
# *** Hi!
# ***
# *** I do my best to provide predictable and reliable software.
# ***
# *** However, in recent releases, P5P (who maintain perl) have been
# *** introducing regressions that are sometimes subtle and at other times
# *** catastrophic, often for personal preferences with little or no concern
# *** for existing code, most notably CPAN.
# ***
# *** For this reason, it has become very hard for me to maintain the level
# *** of reliability and support I have committed myself to in the past, at
# *** least with some perl versions: I simply can't keep up working around new
# *** bugs or gratituous incompatibilities, and in turn you might suffer from
# *** unanticipated problems.
# ***
# *** Therefore I have introduced a support and compatibility check, the results
# *** of which follow below, together with a FAQ and some recommendations.
# ***
# *** This check is just to let you know that there might be a risk, so you can
# *** make judgement calls on how to proceed - it will not keep the module from
# *** installing or working.
# ***
# *** The stability canary says: (nothing, it was driven away by harsh weather)
# ***
# *** It seems you are running perl version 5.024000, likely the "official" or
# *** "standard" version. While there is nothing wrong with doing that,
# *** standard perl versions 5.022 and up are not supported by JSON::XS.
# *** While this might be fatal, it might also be all right - if you run into
# *** problems, you might want to downgrade your perl or switch to the
# *** stability branch.
# ***
# *** If everything works fine, you can ignore this message.
# ***
# *** Stability canary mini-FAQ:
# ***
# *** Do I need to do anything?
# *** With luck, no. While some distributions are known to fail
# *** already, most should probably work. This message is here
# *** to alert you that your perl is not supported by JSON::XS,
# *** and if things go wrong, you either need to downgrade, or
# *** sidegrade to the stability variant of your perl version,
# *** or simply live with the consequences.
# ***
# *** What is this canary thing?
# *** It's purpose is to check support status of JSON::XS with
# *** respect to your perl version.
# ***
# *** What is this "stability branch"?
# *** It's a branch or fork of the official perl, by schmorp, to
# *** improve stability and compatibility with existing modules.
# ***
# *** How can I skip this prompt on automated installs?
# *** Set PERL_CANARY_STABILITY_NOPROMPT=1 in your environment.
# *** More info is in the Canary::Stability manpage.
# ***
# *** Long version of this FAQ: http://stableperl.schmorp.de/faq.html
# *** Stability Branch homepage: http://stableperl.schmorp.de/
# ***
#
# Continue anyways? [y] y
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for JSON::XS
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for JSON::XS ()
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" XS.xs > XS.xsc && mv XS.xsc XS.c
# chmod 644 "XS.bs"
# cp XS.pm blib/lib/JSON/XS.pm
# cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm
# cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"3.02\" -DXS_VERSION=\"3.02\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" XS.c
# 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:334: XS.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...