The build took 00h 01m 15s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language | 
|---|---|
| 1,237 | sh | 
| 1,183 | ansic | 
| 2,420 | 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: hdapsd 20141203-2 (Tue Apr  4 23:01:07 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...autoreconf: Entering directory `.'autoreconf: configure.ac: not using Gettextautoreconf: running: aclocal autoreconf: configure.ac: tracingautoreconf: configure.ac: not using Libtoolautoreconf: running: /usr/bin/autoconfautoreconf: running: /usr/bin/autoheaderautoreconf: running: automake --add-missing --copy --no-forceUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.configure.ac:17: installing './compile'configure.ac:6: installing './install-sh'configure.ac:6: installing './missing'src/Makefile.am: installing './depcomp'autoreconf: Leaving directory `.'checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /usr/sbin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking whether to enable maintainer-specific portions of Makefiles... yeschecking for gcc... clangchecking 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/hdapsd/src/hdapsd-20141203':configure: error: cannot run C compiled programs.If you meant to cross compile, use `--host'.See `config.log' for more details==> ERROR: A failure occurred in build().    Aborting...Printing config logfiles
        CMD: config logfiles '/tmp/hdapsd/src/hdapsd-20141203/config.log'
        This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by hdapsd configure 20141203, which wasgenerated by GNU Autoconf 2.69.  Invocation command line was$ ./configure --enable-maintainer-mode## --------- #### Platform. #### --------- ##hostname = bee69ea22314uname -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:2231: checking for a BSD-compatible installconfigure:2299: result: /usr/bin/install -cconfigure:2310: checking whether build environment is saneconfigure:2365: result: yesconfigure:2516: checking for a thread-safe mkdir -pconfigure:2555: result: /usr/sbin/mkdir -pconfigure:2562: checking for gawkconfigure:2578: found /usr/sbin/gawkconfigure:2589: result: gawkconfigure:2600: checking whether make sets $(MAKE)configure:2622: result: yesconfigure:2651: checking whether make supports nested variablesconfigure:2668: result: yesconfigure:2801: checking whether to enable maintainer-specific portions of Makefilesconfigure:2810: result: yesconfigure:2876: checking for gccconfigure:2903: result: clangconfigure:3132: checking for C compiler versionconfigure:3141: clang --version >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /configure:3152: $? = 0configure:3141: clang -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:3152: $? = 0configure:3141: clang -V >&5clang-3.8: error: argument to '-V' is missing (expected 1 value)clang-3.8: error: no input filesconfigure:3152: $? = 1configure:3141: clang -qversion >&5clang-3.8: error: unknown argument: '-qversion'clang-3.8: error: no input filesconfigure:3152: $? = 1configure:3172: checking whether the C compiler worksconfigure:3194: clang    conftest.c  >&5configure:3198: $? = 0configure:3246: result: yesconfigure:3249: checking for C compiler default output file nameconfigure:3251: result: a.outconfigure:3257: checking for suffix of executablesconfigure:3264: clang -o conftest    conftest.c  >&5configure:3268: $? = 0configure:3290: result:configure:3312: checking whether we are cross compilingconfigure:3320: clang -o conftest    conftest.c  >&5configure:3324: $? = 0configure:3331: ./conftest./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF headerconfigure:3335: $? = 127configure:3342: error: in `/tmp/hdapsd/src/hdapsd-20141203':configure:3344: 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=clangac_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_LIBCONFIG_CFLAGS_set=ac_cv_env_LIBCONFIG_CFLAGS_value=ac_cv_env_LIBCONFIG_LIBS_set=ac_cv_env_LIBCONFIG_LIBS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_PKG_CONFIG_LIBDIR_set=ac_cv_env_PKG_CONFIG_LIBDIR_value=ac_cv_env_PKG_CONFIG_PATH_set=ac_cv_env_PKG_CONFIG_PATH_value=ac_cv_env_PKG_CONFIG_set=ac_cv_env_PKG_CONFIG_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_path_install='/usr/bin/install -c'ac_cv_path_mkdir=/usr/sbin/mkdirac_cv_prog_AWK=gawkac_cv_prog_ac_ct_CC=clangac_cv_prog_make_make_set=yesam_cv_make_support_nested_variables=yes## ----------------- #### Output variables. #### ----------------- ##ACLOCAL='${SHELL} /tmp/hdapsd/src/hdapsd-20141203/missing aclocal-1.15'AMDEPBACKSLASH=''AMDEP_FALSE=''AMDEP_TRUE=''AMTAR='$${TAR-tar}'AM_BACKSLASH='\'AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'AM_DEFAULT_VERBOSITY='1'AM_V='$(V)'AUTOCONF='${SHELL} /tmp/hdapsd/src/hdapsd-20141203/missing autoconf'AUTOHEADER='${SHELL} /tmp/hdapsd/src/hdapsd-20141203/missing autoheader'AUTOMAKE='${SHELL} /tmp/hdapsd/src/hdapsd-20141203/missing automake-1.15'AWK='gawk'CC='clang'CCDEPMODE=''CFLAGS=''CPP=''CPPFLAGS=''CYGPATH_W='echo'DEFS=''DEPDIR=''ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP=''EXEEXT=''GREP=''HAVE_LIBCONFIG_FALSE=''HAVE_LIBCONFIG_TRUE=''HAVE_SYSTEMD_FALSE=''HAVE_SYSTEMD_TRUE=''INSTALL_DATA='${INSTALL} -m 644'INSTALL_PROGRAM='${INSTALL}'INSTALL_SCRIPT='${INSTALL}'INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'LDFLAGS=''LIBCONFIG_CFLAGS=''LIBCONFIG_LIBS=''LIBOBJS=''LIBS=''LTLIBOBJS=''MAINT=''MAINTAINER_MODE_FALSE='#'MAINTAINER_MODE_TRUE=''MAKEINFO='${SHELL} /tmp/hdapsd/src/hdapsd-20141203/missing makeinfo'MKDIR_P='/usr/sbin/mkdir -p'OBJEXT=''PACKAGE='hdapsd'PACKAGE_BUGREPORT='hdaps-devel@lists.sourceforge.net'PACKAGE_NAME='hdapsd'PACKAGE_STRING='hdapsd 20141203'PACKAGE_TARNAME='hdapsd'PACKAGE_URL=''PACKAGE_VERSION='20141203'PATH_SEPARATOR=':'PKG_CONFIG=''PKG_CONFIG_LIBDIR=''PKG_CONFIG_PATH=''SET_MAKE=''SHELL='/bin/sh'STRIP=''VERSION='20141203'ac_ct_CC='clang'am__EXEEXT_FALSE=''am__EXEEXT_TRUE=''am__fastdepCC_FALSE=''am__fastdepCC_TRUE=''am__include=''am__isrc=''am__leading_dot='.'am__nodep=''am__quote=''am__tar='$${TAR-tar} chof - "$$tardir"'am__untar='$${TAR-tar} xf -'bindir='${exec_prefix}/bin'build_alias=''datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'dvidir='${docdir}'exec_prefix='NONE'host_alias=''htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'install_sh='${SHELL} /tmp/hdapsd/src/hdapsd-20141203/install-sh'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mandir='${datarootdir}/man'mkdir_p='$(MKDIR_P)'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'systemdsystemunitdir=''target_alias=''udevdir=''## ----------- #### confdefs.h. #### ----------- ##/* confdefs.h */#define PACKAGE_NAME "hdapsd"#define PACKAGE_TARNAME "hdapsd"#define PACKAGE_VERSION "20141203"#define PACKAGE_STRING "hdapsd 20141203"#define PACKAGE_BUGREPORT "hdaps-devel@lists.sourceforge.net"#define PACKAGE_URL ""#define PACKAGE "hdapsd"#define VERSION "20141203"configure: exit 1