Build of perl-file-rsyncp with musl toolchain

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

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

SLOCLanguage
5,259 ansic
2,794 sh
2,022 perl
1,746 makefile
11,821 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...

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-file-rsyncp 0.74-3 (Tue Apr 4 23:48:05 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for File::RsyncP::Digest
# Writing MYMETA.yml and MYMETA.json
# Generating a Unix-style Makefile
# Writing Makefile for File::RsyncP::FileList
# Writing MYMETA.yml and MYMETA.json
# Generating a Unix-style Makefile
# Writing Makefile for File::RsyncP
# Writing MYMETA.yml and MYMETA.json
# cp lib/File/RsyncP.pm blib/lib/File/RsyncP.pm
# cp lib/File/RsyncP/FileIO.pm blib/lib/File/RsyncP/FileIO.pm
# make[1]: Entering directory '/tmp/perl-file-rsyncp/src/File-RsyncP-0.74/Digest'
# cp Digest.pm ../blib/lib/File/RsyncP/Digest.pm
# AutoSplitting ../blib/lib/File/RsyncP/Digest.pm (../blib/lib/auto/File/RsyncP/Digest)
# Running Mkbootstrap for File::RsyncP::Digest ()
# chmod 644 "Digest.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" Digest.xs > Digest.xsc && mv Digest.xsc Digest.c
# 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=\"0.74\" -DXS_VERSION=\"0.74\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPERL_BYTEORDER=12345678 Digest.c
# 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=\"0.74\" -DXS_VERSION=\"0.74\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPERL_BYTEORDER=12345678 md4c.c
# 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=\"0.74\" -DXS_VERSION=\"0.74\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPERL_BYTEORDER=12345678 rsync_lib.c
# rm -f ../blib/arch/auto/File/RsyncP/Digest/Digest.so
# cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong Digest.o md4c.o rsync_lib.o -o ../blib/arch/auto/File/RsyncP/Digest/Digest.so \
# \
#
# chmod 755 ../blib/arch/auto/File/RsyncP/Digest/Digest.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Digest.bs ../blib/arch/auto/File/RsyncP/Digest/Digest.bs 644
# Manifying 1 pod document
# make[1]: Leaving directory '/tmp/perl-file-rsyncp/src/File-RsyncP-0.74/Digest'
# make[1]: Entering directory '/tmp/perl-file-rsyncp/src/File-RsyncP-0.74/FileList'
# cp FileList.pm ../blib/lib/File/RsyncP/FileList.pm
# AutoSplitting ../blib/lib/File/RsyncP/FileList.pm (../blib/lib/auto/File/RsyncP/FileList)
# Running Mkbootstrap for File::RsyncP::FileList ()
# chmod 644 "FileList.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" FileList.xs > FileList.xsc && mv FileList.xsc FileList.c
# ./configure
# configure: Configuring File::RsyncP::FileList based on rsync 2.6.3
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# checking for gcc... cc
# checking for C compiler default output file name... a.out
# checking whether the C compiler works... configure: error: cannot run C compiled programs.
# If you meant to cross compile, use `--host'.
# See `config.log' for more details.
# make[1]: *** [Makefile:869: config.h] Error 1
# make[1]: Leaving directory '/tmp/perl-file-rsyncp/src/File-RsyncP-0.74/FileList'
# make: *** [Makefile:498: subdirs] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/perl-file-rsyncp/src/File-RsyncP-0.74/FileList/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by configure, which was
# generated by GNU Autoconf 2.59. Invocation command line was
#
# $ ./configure
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 7984e1da442a
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1317: Configuring File::RsyncP::FileList based on rsync 2.6.3
# configure:1359: checking build system type
# configure:1377: result: x86_64-unknown-linux-gnu
# configure:1385: checking host system type
# configure:1399: result: x86_64-unknown-linux-gnu
# configure:1407: checking target system type
# configure:1421: result: x86_64-unknown-linux-gnu
# configure:1482: checking for gcc
# configure:1508: result: cc
# configure:1752: checking for C compiler version
# configure:1755: cc --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:1758: $? = 0
# configure:1760: cc -v &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:1763: $? = 0
# configure:1765: cc -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1768: $? = 1
# configure:1791: checking for C compiler default output file name
# configure:1794: cc -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib conftest.c >&5
# configure:1797: $? = 0
# configure:1843: result: a.out
# configure:1848: checking whether the C compiler works
# configure:1854: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:1857: $? = 127
# configure:1866: error: cannot run C compiled programs.
# If you meant to cross compile, use `--host'.
# See `config.log' for more details.
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux-gnu
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=cc
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value='-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib'
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=
# ac_cv_env_host_alias_value=
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_exeext=
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_host_alias=x86_64-unknown-linux-gnu
# ac_cv_prog_ac_ct_CC=cc
# ac_cv_target=x86_64-unknown-linux-gnu
# ac_cv_target_alias=x86_64-unknown-linux-gnu
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ALLOCA=''
# CC='cc'
# CC_SHOBJ_FLAG=''
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# HAVE_REMSH=''
# INSTALL_DATA=''
# INSTALL_PROGRAM=''
# INSTALL_SCRIPT=''
# LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib'
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT=''
# OBJ_RESTORE=''
# OBJ_SAVE=''
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RSYNC_VERSION='2.6.3'
# SHELL='/bin/sh'
# ac_ct_CC='cc'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${prefix}/share'
# exec_prefix='NONE'
# host='x86_64-unknown-linux-gnu'
# host_alias=''
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='${prefix}/var'
# mandir='${prefix}/man'
# oldincludedir='/usr/include'
# prefix='NONE'
# program_transform_name='s,x,x,'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target='x86_64-unknown-linux-gnu'
# target_alias=''
# target_cpu='x86_64'
# target_os='linux-gnu'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME ""
# #define PACKAGE_STRING ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define RSYNC_VERSION "2.6.3"
#
# configure: exit 1