Build of perl-www-curl with clang_glibc toolchain

The build took 00h 00m 33s 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:

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/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: perl-www-curl 4.17-4 (Thu Apr 13 21:05:13 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/bin/curl-config.
# The version is libcurl 7.49.1
# Found curl.h in /usr/include/curl/curl.h
# 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
# 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/Easy.pm blib/lib/WWW/Curl/Easy.pm
# cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
# Running Mkbootstrap for WWW::Curl ()
# chmod 644 "Curl.bs"
# "/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
# 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
# In file included from Curl.xs:574:
# ./curlopt-constants.c:19:58: error: non-void function 'constant' should return a value [-Wreturn-type]
# if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;
# ^
# ./curlopt-constants.c:2047:44: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551599 to -17 [-Wconstant-conversion]
# if (strEQ(name, "ANY")) return CURLAUTH_ANY;
# ~~~~~~ ^~~~~~~~~~~~
# /usr/include/curl/curl.h:668:32: note: expanded from macro 'CURLAUTH_ANY'
# #define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE)
# ^~~~~~~~~~~~~~~~~~~
# In file included from Curl.xs:574:
# ./curlopt-constants.c:2048:48: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551598 to -18 [-Wconstant-conversion]
# if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
# ~~~~~~ ^~~~~~~~~~~~~~~~
# /usr/include/curl/curl.h:669:32: note: expanded from macro 'CURLAUTH_ANYSAFE'
# #define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 2 warnings and 1 error generated.
# make: *** [Makefile:357: Curl.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...