Build of perl-www-curl with android toolchain

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

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

SLOCLanguage
3,800 ansic
2,657 perl
666 makefile
7,123 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

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-www-curl 4.17-4 (Tue Apr 4 22:20:44 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Locating required external dependency bin:curl-config... found at /usr/sbin/curl-config.
# The version is libcurl 7.49.1
# Found curl.h in /usr/include/curl/curl.h
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from /usr/include/curl/curl.h:34:0:
# /usr/include/curl/curlbuild.h:1:27: error: no include path in which to search for bits/wordsize.h
# #include
# ^
# /usr/include/curl/curlbuild.h:8:2: error: #error "Unknown word size"
# #error "Unknown word size"
# ^
# In file included from /usr/include/curl/curl.h:35:0:
# /usr/include/curl/curlrules.h:79:4: error: #error "CURL_SIZEOF_LONG definition is missing!"
# # error "CURL_SIZEOF_LONG definition is missing!"
# ^
# /usr/include/curl/curlrules.h:84:4: error: #error "CURL_TYPEOF_CURL_SOCKLEN_T definition is missing!"
# # error "CURL_TYPEOF_CURL_SOCKLEN_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:89:4: error: #error "CURL_SIZEOF_CURL_SOCKLEN_T definition is missing!"
# # error "CURL_SIZEOF_CURL_SOCKLEN_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:94:4: error: #error "CURL_TYPEOF_CURL_OFF_T definition is missing!"
# # error "CURL_TYPEOF_CURL_OFF_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:99:4: error: #error "CURL_FORMAT_CURL_OFF_T definition is missing!"
# # error "CURL_FORMAT_CURL_OFF_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:104:4: error: #error "CURL_FORMAT_CURL_OFF_TU definition is missing!"
# # error "CURL_FORMAT_CURL_OFF_TU definition is missing!"
# ^
# /usr/include/curl/curlrules.h:109:4: error: #error "CURL_FORMAT_OFF_T definition is missing!"
# # error "CURL_FORMAT_OFF_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:114:4: error: #error "CURL_SIZEOF_CURL_OFF_T definition is missing!"
# # error "CURL_SIZEOF_CURL_OFF_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:119:4: error: #error "CURL_SUFFIX_CURL_OFF_T definition is missing!"
# # error "CURL_SUFFIX_CURL_OFF_T definition is missing!"
# ^
# /usr/include/curl/curlrules.h:124:4: error: #error "CURL_SUFFIX_CURL_OFF_TU definition is missing!"
# # error "CURL_SUFFIX_CURL_OFF_TU definition is missing!"
# ^
# /usr/include/curl/curl.h:46:19: error: no include path in which to search for stdio.h
# #include
# ^
# /usr/include/curl/curl.h:47:20: error: no include path in which to search for limits.h
# #include
# ^
# /usr/include/curl/curl.h:55:23: error: no include path in which to search for sys/types.h
# #include
# ^
# /usr/include/curl/curl.h:56:18: error: no include path in which to search for time.h
# #include
# ^
# /usr/include/curl/curl.h:75:24: error: no include path in which to search for sys/select.h
# #include
# ^
# /usr/include/curl/curl.h:79:24: error: no include path in which to search for sys/socket.h
# #include
# ^
# /usr/include/curl/curl.h:83:22: error: no include path in which to search for sys/time.h
# #include
# ^
# Building curlopt-constants.c for your libcurl version
# Building Easy.pm constants for your libcurl version
# Building Share.pm constants for your libcurl version
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for WWW::Curl
# Writing MYMETA.yml and MYMETA.json
# Running Mkbootstrap for WWW::Curl ()
# "/usr/bin/perl" "-Iinc" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Curl.xs > Curl.xsc && mv Curl.xsc Curl.c
# chmod 644 "Curl.bs"
# cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
# cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
# cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
# cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
# cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
# cc -c -I/usr/include -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=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" Curl.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:357: Curl.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...