Build of perl-www-curl with musl toolchain

The build took 00h 01m 07s 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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 (Wed Apr 5 02:15:04 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
# 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/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
# cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.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
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:764:
# /usr/include/setjmp.h:59:12: warning: declaration of built-in function '__sigsetjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROWNL;
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# In file included from /usr/include/bits/local_lim.h:38:
# /usr/include/linux/limits.h:6:9: warning: 'NGROUPS_MAX' macro redefined [-Wmacro-redefined]
# #define NGROUPS_MAX 65536 /* supplemental group IDs are available */
# ^
# /sysroot/include/limits.h:51:9: note: previous definition is here
# #define NGROUPS_MAX 32
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:64:9: warning: 'PTHREAD_KEYS_MAX' macro redefined [-Wmacro-redefined]
# #define PTHREAD_KEYS_MAX 1024
# ^
# /sysroot/include/limits.h:63:9: note: previous definition is here
# #define PTHREAD_KEYS_MAX 128
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:69:9: warning: 'PTHREAD_DESTRUCTOR_ITERATIONS' macro redefined [-Wmacro-redefined]
# #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
# ^
# /sysroot/include/limits.h:65:9: note: previous definition is here
# #define PTHREAD_DESTRUCTOR_ITERATIONS 4
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:81:9: warning: 'PTHREAD_STACK_MIN' macro redefined [-Wmacro-redefined]
# #define PTHREAD_STACK_MIN 16384
# ^
# /sysroot/include/limits.h:64:9: note: previous definition is here
# #define PTHREAD_STACK_MIN 2048
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:84:9: warning: 'DELAYTIMER_MAX' macro redefined [-Wmacro-redefined]
# #define DELAYTIMER_MAX 2147483647
# ^
# /sysroot/include/limits.h:68:9: note: previous definition is here
# #define DELAYTIMER_MAX 0x7fffffff
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:93:9: warning: 'HOST_NAME_MAX' macro redefined [-Wmacro-redefined]
# #define HOST_NAME_MAX 64
# ^
# /sysroot/include/limits.h:59:9: note: previous definition is here
# #define HOST_NAME_MAX 255
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:143:
# In file included from /usr/include/bits/posix1_lim.h:160:
# /usr/include/bits/local_lim.h:99:9: warning: 'SEM_VALUE_MAX' macro redefined [-Wmacro-redefined]
# #define SEM_VALUE_MAX (2147483647)
# ^
# /sysroot/include/limits.h:66:9: note: previous definition is here
# #define SEM_VALUE_MAX 0x7fffffff
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:147:
# /usr/include/bits/posix2_lim.h:88:9: warning: 'RE_DUP_MAX' macro redefined [-Wmacro-redefined]
# #define RE_DUP_MAX (0x7fff)
# ^
# /sysroot/include/limits.h:82:9: note: previous definition is here
# #define RE_DUP_MAX 255
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:65:9: warning: '_XOPEN_IOV_MAX' macro redefined [-Wmacro-redefined]
# #define _XOPEN_IOV_MAX _POSIX_UIO_MAXIOV
# ^
# /sysroot/include/limits.h:150:9: note: previous definition is here
# #define _XOPEN_IOV_MAX 16
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:70:9: warning: 'NL_ARGMAX' macro redefined [-Wmacro-redefined]
# #define NL_ARGMAX _POSIX_ARG_MAX
# ^
# /sysroot/include/limits.h:84:9: note: previous definition is here
# #define NL_ARGMAX 9
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:73:9: warning: 'NL_LANGMAX' macro redefined [-Wmacro-redefined]
# #define NL_LANGMAX _POSIX2_LINE_MAX
# ^
# /sysroot/include/limits.h:85:9: note: previous definition is here
# #define NL_LANGMAX 32
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:76:9: warning: 'NL_MSGMAX' macro redefined [-Wmacro-redefined]
# #define NL_MSGMAX INT_MAX
# ^
# /sysroot/include/limits.h:86:9: note: previous definition is here
# #define NL_MSGMAX 32767
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:80:9: warning: 'NL_NMAX' macro redefined [-Wmacro-redefined]
# #define NL_NMAX INT_MAX
# ^
# /sysroot/include/limits.h:95:9: note: previous definition is here
# #define NL_NMAX 16
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:83:9: warning: 'NL_SETMAX' macro redefined [-Wmacro-redefined]
# #define NL_SETMAX INT_MAX
# ^
# /sysroot/include/limits.h:87:9: note: previous definition is here
# #define NL_SETMAX 255
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:770:
# In file included from /usr/include/sys/param.h:26:
# In file included from /usr/include/limits.h:151:
# /usr/include/bits/xopen_lim.h:86:9: warning: 'NL_TEXTMAX' macro redefined [-Wmacro-redefined]
# #define NL_TEXTMAX INT_MAX
# ^
# /sysroot/include/limits.h:88:9: note: previous definition is here
# #define NL_TEXTMAX 2048
# ^
# In file included from Curl.xs:14:
# In file included from /usr/lib/perl5/core_perl/CORE/perl.h:2109:
# In file included from /usr/include/math.h:472:
# /usr/include/bits/mathinline.h:153:64: warning: use of GNU old-style field designator extension [-Wgnu-designator]
# __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
# ^~~~
# .__l =
# 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:498:29: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# if (strEQ(name, "OK")) return CURLSHE_OK;
# ~~~~~~~~~~~~^~~~~
# /usr/lib/perl5/core_perl/CORE/handy.h:476:34: note: expanded from macro 'strEQ'
# #define strEQ(s1,s2) (!strcmp(s1,s2))
# ~~~~~~~~~~^~~
# /usr/include/bits/string2.h:816:28: note: expanded from macro 'strcmp'
# : __strcmp_gc (s1, s2, __s2_len)) \
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# /usr/include/bits/string2.h:890:50: note: expanded from macro '__strcmp_gc'
# # define __strcmp_gc(s1, s2, l2) (- __strcmp_cg (s2, s1, l2))
# ~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/include/bits/string2.h:884:25: note: expanded from macro '__strcmp_cg'
# (const char *) (s1))[3] \
# ^ ~
# In file included from Curl.xs:574:
# ./curlopt-constants.c:1038:29: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# if (strEQ(name, "OK")) return CURLM_OK;
# ~~~~~~~~~~~~^~~~~
# /usr/lib/perl5/core_perl/CORE/handy.h:476:34: note: expanded from macro 'strEQ'
# #define strEQ(s1,s2) (!strcmp(s1,s2))
# ~~~~~~~~~~^~~
# /usr/include/bits/string2.h:816:28: note: expanded from macro 'strcmp'
# : __strcmp_gc (s1, s2, __s2_len)) \
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# /usr/include/bits/string2.h:890:50: note: expanded from macro '__strcmp_gc'
# # define __strcmp_gc(s1, s2, l2) (- __strcmp_cg (s2, s1, l2))
# ~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/include/bits/string2.h:884:25: note: expanded from macro '__strcmp_cg'
# (const char *) (s1))[3] \
# ^ ~
# In file included from Curl.xs:574:
# ./curlopt-constants.c:1249:29: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# if (strEQ(name, "OK")) return CURLKHMATCH_OK;
# ~~~~~~~~~~~~^~~~~
# /usr/lib/perl5/core_perl/CORE/handy.h:476:34: note: expanded from macro 'strEQ'
# #define strEQ(s1,s2) (!strcmp(s1,s2))
# ~~~~~~~~~~^~~
# /usr/include/bits/string2.h:816:28: note: expanded from macro 'strcmp'
# : __strcmp_gc (s1, s2, __s2_len)) \
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# /usr/include/bits/string2.h:890:50: note: expanded from macro '__strcmp_gc'
# # define __strcmp_gc(s1, s2, l2) (- __strcmp_cg (s2, s1, l2))
# ~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/include/bits/string2.h:884:25: note: expanded from macro '__strcmp_cg'
# (const char *) (s1))[3] \
# ^ ~
# In file included from Curl.xs:574:
# ./curlopt-constants.c:1286:29: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# if (strEQ(name, "OK")) return CURLIOE_OK;
# ~~~~~~~~~~~~^~~~~
# /usr/lib/perl5/core_perl/CORE/handy.h:476:34: note: expanded from macro 'strEQ'
# #define strEQ(s1,s2) (!strcmp(s1,s2))
# ~~~~~~~~~~^~~
# /usr/include/bits/string2.h:816:28: note: expanded from macro 'strcmp'
# : __strcmp_gc (s1, s2, __s2_len)) \
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# /usr/include/bits/string2.h:890:50: note: expanded from macro '__strcmp_gc'
# # define __strcmp_gc(s1, s2, l2) (- __strcmp_cg (s2, s1, l2))
# ~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/include/bits/string2.h:884:25: note: expanded from macro '__strcmp_cg'
# (const char *) (s1))[3] \
# ^ ~
# In file included from Curl.xs:574:
# ./curlopt-constants.c:1925:29: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# if (strEQ(name, "OK")) return CURLE_OK;
# ~~~~~~~~~~~~^~~~~
# /usr/lib/perl5/core_perl/CORE/handy.h:476:34: note: expanded from macro 'strEQ'
# #define strEQ(s1,s2) (!strcmp(s1,s2))
# ~~~~~~~~~~^~~
# /usr/include/bits/string2.h:816:28: note: expanded from macro 'strcmp'
# : __strcmp_gc (s1, s2, __s2_len)) \
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# /usr/include/bits/string2.h:890:50: note: expanded from macro '__strcmp_gc'
# # define __strcmp_gc(s1, s2, l2) (- __strcmp_cg (s2, s1, l2))
# ~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/include/bits/string2.h:884:25: note: expanded from macro '__strcmp_cg'
# (const char *) (s1))[3] \
# ^ ~
# In file included from Curl.xs:574:
# ./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))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Curl.xs:1100:26: warning: implicit conversion from enumeration type 'CURLINFO' to different enumeration type 'CURLoption' [-Wenum-conversion]
# curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL);
# ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
# /usr/include/curl/curl.h:2432:68: note: expanded from macro 'curl_easy_setopt'
# #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)
# ~~~~~~~~~~~~~~~~ ^~~
# 25 warnings and 1 error generated.
# make: *** [Makefile:357: Curl.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...