Build of perl-xml-libxml with android toolchain

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

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

SLOCLanguage
6,163 perl
3,752 ansic
57 makefile
17 sh
9,989 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-xml-libxml 2.0126-1 (Tue Apr 4 21:48:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (3) perl-xml-sax-base-1.08-3 perl-xml-namespacesupport-1.11-3 perl-xml-sax-0.99-4
#
# Total Installed Size: 0.33 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-xml-sax-base...
# installing perl-xml-namespacesupport...
# installing perl-xml-sax...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# enable native perl UTF8
# running xml2-config...The installed version of libxml2 VERSION 2.9.4
# is not compatible with XML::LibXML (and probably buggy)!
#
# You may continue at your own risk using 'perl Makefile.PL FORCE=1', but:
#
# - don't expect XML::LibXML to build or work correctly!
# - don't report errors!
# - don't send patches!
#
# Check the README file for more information on versions
# that are tested with XML::LibXML
#
# failed
# Checking for ability to link against xml2...no
# Checking for ability to link against libxml2...libxml2, zlib, and/or the Math library (-lm) have not been found.
# Try setting LIBS and INC values on the command line
# Or get libxml2 from
# http://xmlsoft.org/
# If you install via RPMs, make sure you also install the -devel
# RPMs, as this is where the headers (.h files) are.
#
# Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
# to see the exact reason why the detection of libxml2 installation
# failed or why Makefile.PL was not able to compile a test program.
# make: *** No targets specified and no makefile found. Stop.
# ==> ERROR: A failure occurred in build().
# Aborting...