Build of dxpc with musl toolchain

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

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

SLOCLanguage
12,036 cpp
2,823 sh
14,859 total

The process tree of the build process is here.

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: dxpc 3.9.2-6 (Wed Apr 5 02:09:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: If you wanted to set the --build type, don't use --host.
# If a cross compiler is detected then cross compile mode will be used.
# checking for x86_64-unknown-linux-g++... clang++
# checking for C++ compiler default output file name... a.out
# checking whether the C++ compiler works... yes
# checking whether we are cross compiling... yes
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking for a BSD-compatible install... /usr/bin/install -c
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to run the C++ preprocessor... clang++ -E
# checking for X... libraries /usr/lib, headers /usr/include
# checking for gethostbyname... yes
# checking for connect... yes
# checking for remove... yes
# checking for shmat... yes
# checking for IceConnectionNumber in -lICE... yes
# checking for lzo_version in -llzo2... no
# checking for lzo_version in -llzo... no
# configure: error: lzo library required: you may need to use the --with-lzo-lib
# option to specify path to LZO if it is installed in a non-standard
# directory.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/dxpc/src/dxpc-3.9.2/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 --host=x86_64-unknown-linux --prefix=/usr --mandir=${prefix}/share/man
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = a619c1ae50c2
# 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:1326: checking for x86_64-unknown-linux-g++
# configure:1352: result: clang++
# configure:1410: checking for C++ compiler version
# configure:1413: clang++ --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:1416: $? = 0
# configure:1418: clang++ -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:1421: $? = 0
# configure:1423: clang++ -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1426: $? = 1
# configure:1449: checking for C++ compiler default output file name
# configure:1452: clang++ conftest.cc >&5
# configure:1455: $? = 0
# configure:1501: result: a.out
# configure:1506: checking whether the C++ compiler works
# configure:1512: ./a.out
# ./a.out: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
# configure:1515: $? = 127
# configure:1532: result: yes
# configure:1539: checking whether we are cross compiling
# configure:1541: result: yes
# configure:1544: checking for suffix of executables
# configure:1546: clang++ -o conftest conftest.cc >&5
# configure:1549: $? = 0
# configure:1574: result:
# configure:1580: checking for suffix of object files
# configure:1601: clang++ -c conftest.cc >&5
# configure:1604: $? = 0
# configure:1626: result: o
# configure:1630: checking whether we are using the GNU C++ compiler
# configure:1654: clang++ -c conftest.cc >&5
# configure:1660: $? = 0
# configure:1664: test -z
# || test ! -s conftest.err
# configure:1667: $? = 0
# configure:1670: test -s conftest.o
# configure:1673: $? = 0
# configure:1686: result: yes
# configure:1692: checking whether clang++ accepts -g
# configure:1713: clang++ -c -g conftest.cc >&5
# configure:1719: $? = 0
# configure:1723: test -z
# || test ! -s conftest.err
# configure:1726: $? = 0
# configure:1729: test -s conftest.o
# configure:1732: $? = 0
# configure:1743: result: yes
# configure:1785: clang++ -c conftest.cc >&5
# configure:1791: $? = 0
# configure:1795: test -z
# || test ! -s conftest.err
# configure:1798: $? = 0
# configure:1801: test -s conftest.o
# configure:1804: $? = 0
# configure:1830: clang++ -c conftest.cc >&5
# conftest.cc:13:1: error: use of undeclared identifier 'exit'
# exit (42);
# ^
# 1 error generated.
# configure:1836: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: clang++ -c conftest.cc >&5
# conftest.cc:9:17: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# conftest.cc:9:49: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# 2 errors generated.
# configure:1791: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | extern "C" void std::exit (int) throw (); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: clang++ -c conftest.cc >&5
# conftest.cc:9:17: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# conftest.cc:9:40: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# 2 errors generated.
# configure:1791: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | extern "C" void std::exit (int); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: clang++ -c conftest.cc >&5
# In file included from conftest.cc:10:
# In file included from /sysroot/bin/../include/c++/v1/stdlib.h:94:
# /sysroot/include/stdlib.h:46:16: error: 'exit' is missing exception specification 'throw()'
# _Noreturn void exit (int);
# ^
# conftest.cc:9:17: note: previous declaration is here
# extern "C" void exit (int) throw ();
# ^
# 1 error generated.
# configure:1791: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | extern "C" void exit (int) throw ();
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:1785: clang++ -c conftest.cc >&5
# configure:1791: $? = 0
# configure:1795: test -z
# || test ! -s conftest.err
# configure:1798: $? = 0
# configure:1801: test -s conftest.o
# configure:1804: $? = 0
# configure:1830: clang++ -c conftest.cc >&5
# configure:1836: $? = 0
# configure:1840: test -z
# || test ! -s conftest.err
# configure:1843: $? = 0
# configure:1846: test -s conftest.o
# configure:1849: $? = 0
# configure:1916: checking for a BSD-compatible install
# configure:1971: result: /usr/bin/install -c
# configure:1989: checking build system type
# configure:2007: result: x86_64-unknown-linux-gnu
# configure:2015: checking host system type
# configure:2029: result: x86_64-unknown-linux-gnu
# configure:2056: checking how to run the C++ preprocessor
# configure:2087: clang++ -E conftest.cc
# configure:2093: $? = 0
# configure:2125: clang++ -E conftest.cc
# conftest.cc:12:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2131: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# | #include
# configure:2170: result: clang++ -E
# configure:2194: clang++ -E conftest.cc
# configure:2200: $? = 0
# configure:2232: clang++ -E conftest.cc
# conftest.cc:12:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2238: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# | #include
# configure:2282: checking for X
# configure:2387: clang++ -E conftest.cc
# conftest.cc:12:10: fatal error: 'X11/Intrinsic.h' file not found
# #include
# ^
# 1 error generated.
# configure:2393: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# | #include
# configure:2443: clang++ -o conftest conftest.cc -lXt >&5
# conftest.cc:12:10: fatal error: 'X11/Intrinsic.h' file not found
# #include
# ^
# 1 error generated.
# configure:2449: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# | #include
# | int
# | main ()
# | {
# | XtMalloc (0)
# | ;
# | return 0;
# | }
# configure:2512: result: libraries /usr/lib, headers /usr/include
# configure:2684: clang++ -o conftest conftest.cc -L/usr/lib -lX11 >&5
# configure:2690: $? = 0
# configure:2694: test -z
# || test ! -s conftest.err
# configure:2697: $? = 0
# configure:2700: test -s conftest
# configure:2703: $? = 0
# configure:2861: checking for gethostbyname
# configure:2918: clang++ -o conftest conftest.cc >&5
# configure:2924: $? = 0
# configure:2928: test -z
# || test ! -s conftest.err
# configure:2931: $? = 0
# configure:2934: test -s conftest
# configure:2937: $? = 0
# configure:2949: result: yes
# configure:3100: checking for connect
# configure:3157: clang++ -o conftest conftest.cc >&5
# configure:3163: $? = 0
# configure:3167: test -z
# || test ! -s conftest.err
# configure:3170: $? = 0
# configure:3173: test -s conftest
# configure:3176: $? = 0
# configure:3188: result: yes
# configure:3263: checking for remove
# configure:3320: clang++ -o conftest conftest.cc >&5
# configure:3326: $? = 0
# configure:3330: test -z
# || test ! -s conftest.err
# configure:3333: $? = 0
# configure:3336: test -s conftest
# configure:3339: $? = 0
# configure:3351: result: yes
# configure:3426: checking for shmat
# configure:3483: clang++ -o conftest conftest.cc >&5
# configure:3489: $? = 0
# configure:3493: test -z
# || test ! -s conftest.err
# configure:3496: $? = 0
# configure:3499: test -s conftest
# configure:3502: $? = 0
# configure:3514: result: yes
# configure:3598: checking for IceConnectionNumber in -lICE
# configure:3628: clang++ -o conftest -L/usr/lib conftest.cc -lICE >&5
# configure:3634: $? = 0
# configure:3638: test -z
# || test ! -s conftest.err
# configure:3641: $? = 0
# configure:3644: test -s conftest
# configure:3647: $? = 0
# configure:3660: result: yes
# configure:3671: checking for lzo_version in -llzo2
# configure:3701: clang++ -o conftest conftest.cc -llzo2 >&5
# /sysroot/bin/ld: error: cannot find -llzo2
# /tmp/conftest-70763d.o:conftest.cc:function main: error: undefined reference to 'lzo_version'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3707: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char lzo_version ();
# | int
# | main ()
# | {
# | lzo_version ();
# | ;
# | return 0;
# | }
# configure:3733: result: no
# configure:3738: checking for lzo_version in -llzo
# configure:3768: clang++ -o conftest conftest.cc -llzo >&5
# /sysroot/bin/ld: error: cannot find -llzo
# /tmp/conftest-503f2a.o:conftest.cc:function main: error: undefined reference to 'lzo_version'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3774: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char lzo_version ();
# | int
# | main ()
# | {
# | lzo_version ();
# | ;
# | return 0;
# | }
# configure:3800: result: no
# configure:3807: error: lzo library required: you may need to use the --with-lzo-lib
# option to specify path to LZO if it is installed in a non-standard
# directory.
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux-gnu
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CXXCPP_set=
# ac_cv_env_CXXCPP_value=
# ac_cv_env_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=clang++
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_exeext=
# ac_cv_func_connect=yes
# ac_cv_func_gethostbyname=yes
# ac_cv_func_remove=yes
# ac_cv_func_shmat=yes
# ac_cv_have_x='have_x=yes ac_x_includes=/usr/include ac_x_libraries=/usr/lib'
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_host_alias=x86_64-unknown-linux
# ac_cv_lib_ICE_IceConnectionNumber=yes
# ac_cv_lib_lzo2_lzo_version=no
# ac_cv_lib_lzo_lzo_version=no
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CXX=clang++
# ac_cv_prog_CXXCPP='clang++ -E'
# ac_cv_prog_cxx_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CPPFLAGS=''
# CXX='clang++'
# CXXCPP='clang++ -E'
# CXXFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MINGW32='false'
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# SHELL='/bin/sh'
# X_CFLAGS=' -I/usr/include'
# X_EXTRA_LIBS=''
# X_LIBS=' -L/usr/lib'
# X_PRE_LIBS=' -lSM -lICE'
# ac_ct_CXX=''
# 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='x86_64-unknown-linux'
# 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}/share/man'
# oldincludedir='/usr/include'
# prefix='/usr'
# program_transform_name='s,x,x,'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME ""
# #define PACKAGE_STRING ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #endif
# #ifdef __cplusplus
# extern "C" void exit (int);
#
# configure: exit 1