The build took 00h 01m 04s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language | 
|---|---|
| 4,315 | ansic | 
| 745 | makefile | 
| 149 | perl | 
| 5,209 | total | 
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
    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:
        There were existing files in /sysroot, using those
        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-fcgi 0.78-2 (Wed Apr  5 02:01:42 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...Checking if your kit is complete...Looks goodGenerating a Unix-style MakefileWriting Makefile for FCGIWriting MYMETA.yml and MYMETA.jsonRunning ./configure for youPlease read configure.readme for information on how to run it yourselfchecking for gcc... ccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... configure: error: in `/tmp/perl-fcgi/src/FCGI-0.78':configure: error: cannot run C compiled programs.If you meant to cross compile, use `--host'.See `config.log' for more detailsRunning Mkbootstrap for FCGI ()"/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap"  FCGI.xs > FCGI.xsc && mv FCGI.xsc FCGI.ccc -c  -I. -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.78\" -DXS_VERSION=\"0.78\" -fPIC "-I/usr/lib/perl5/core_perl/CORE"   fcgiapp.cchmod 644 "FCGI.bs"cc -c  -I. -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.78\" -DXS_VERSION=\"0.78\" -fPIC "-I/usr/lib/perl5/core_perl/CORE"   os_unix.cfcgiapp.c:28:10: fatal error: 'fcgi_config.h' file not found#include "fcgi_config.h"         ^os_unix.c:17:10: fatal error: 'fcgi_config.h' file not found#include "fcgi_config.h"         ^1 error generated.make: *** [Makefile:351: fcgiapp.o] Error 1make: *** Waiting for unfinished jobs....cp FCGI.pm blib/arch/FCGI.pm1 error generated.make: *** [Makefile:351: os_unix.o] Error 1==> ERROR: A failure occurred in build().    Aborting...Printing config logfiles
        CMD: config logfiles '/tmp/perl-fcgi/src/FCGI-0.78/config.log'
        This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by configure, which wasgenerated by GNU Autoconf 2.69.  Invocation command line was$ configure## --------- #### Platform. #### --------- ##hostname = 938b9408aadauname -m = x86_64uname -r = 4.10.6-1-ARCHuname -s = Linuxuname -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/usr/bin/hostinfo      = unknown/bin/machine           = unknown/usr/bin/oslevel       = unknown/bin/universe          = unknownPATH: /sysroot/binPATH: /usr/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /bin## ----------- #### Core tests. #### ----------- ##configure:2069: checking for gccconfigure:2096: result: ccconfigure:2325: checking for C compiler versionconfigure:2334: cc --version >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /configure:2345: $? = 0configure:2334: cc -v >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Candidate multilib: .;@m64Selected multilib: .;@m64configure:2345: $? = 0configure:2334: cc -V >&5clang-3.8: error: argument to '-V' is missing (expected 1 value)clang-3.8: error: no input filesconfigure:2345: $? = 1configure:2334: cc -qversion >&5clang-3.8: error: unknown argument: '-qversion'clang-3.8: error: no input filesconfigure:2345: $? = 1configure:2365: checking whether the C compiler worksconfigure:2387: cc    conftest.c  >&5configure:2391: $? = 0configure:2439: result: yesconfigure:2442: checking for C compiler default output file nameconfigure:2444: result: a.outconfigure:2450: checking for suffix of executablesconfigure:2457: cc -o conftest    conftest.c  >&5configure:2461: $? = 0configure:2483: result:configure:2505: checking whether we are cross compilingconfigure:2513: cc -o conftest    conftest.c  >&5configure:2517: $? = 0configure:2524: ./conftest./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF headerconfigure:2528: $? = 127configure:2535: error: in `/tmp/perl-fcgi/src/FCGI-0.78':configure:2537: error: cannot run C compiled programs.If you meant to cross compile, use `--host'.See `config.log' for more details## ---------------- #### Cache variables. #### ---------------- ##ac_cv_env_CC_set=setac_cv_env_CC_value=ccac_cv_env_CFLAGS_set=setac_cv_env_CFLAGS_value=ac_cv_env_CPPFLAGS_set=setac_cv_env_CPPFLAGS_value=ac_cv_env_CPP_set=ac_cv_env_CPP_value=ac_cv_env_LDFLAGS_set=setac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=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_prog_ac_ct_CC=cc## ----------------- #### Output variables. #### ----------------- ##CC='cc'CFLAGS=''CPP=''CPPFLAGS=''DEFS=''ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP=''EXEEXT=''GREP=''LDFLAGS=''LIBOBJS=''LIBS=''LTLIBOBJS=''OBJEXT=''PACKAGE_BUGREPORT=''PACKAGE_NAME=''PACKAGE_STRING=''PACKAGE_TARNAME=''PACKAGE_URL=''PACKAGE_VERSION=''PATH_SEPARATOR=':'SHELL='/bin/sh'ac_ct_CC='cc'bindir='${exec_prefix}/bin'build_alias=''datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE}'dvidir='${docdir}'exec_prefix='NONE'host_alias=''htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mandir='${datarootdir}/man'oldincludedir='/usr/include'pdfdir='${docdir}'prefix='NONE'program_transform_name='s,x,x,'psdir='${docdir}'sbindir='${exec_prefix}/sbin'sharedstatedir='${prefix}/com'sysconfdir='${prefix}/etc'target_alias=''## ----------- #### confdefs.h. #### ----------- ##/* confdefs.h */#define PACKAGE_NAME ""#define PACKAGE_TARNAME ""#define PACKAGE_VERSION ""#define PACKAGE_STRING ""#define PACKAGE_BUGREPORT ""#define PACKAGE_URL ""configure: exit 1