Build of mdds with musl toolchain

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

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

SLOCLanguage
21,360 cpp
1,115 sh
43 python
22,518 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: mdds 1.2.1-1 (Wed Apr 5 00:59:26 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking whether the C++ compiler works... yes
# checking for C++ compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... configure: error: in `/tmp/mdds/src/mdds-1.2.1':
# 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/mdds/src/mdds-1.2.1/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 mdds configure 1.2.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = b3c660623a7e
# 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
# /usr/bin/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:1862: checking for a BSD-compatible install
# configure:1930: result: /usr/bin/install -c
# configure:1941: checking whether build environment is sane
# configure:1996: result: yes
# configure:2147: checking for a thread-safe mkdir -p
# configure:2186: result: /usr/sbin/mkdir -p
# configure:2193: checking for gawk
# configure:2209: found /usr/sbin/gawk
# configure:2220: result: gawk
# configure:2231: checking whether make sets $(MAKE)
# configure:2253: result: yes
# configure:2282: checking whether make supports nested variables
# configure:2299: result: yes
# configure:2426: checking whether to enable maintainer-specific portions of Makefiles
# configure:2435: result: no
# configure:2597: checking for C++ compiler version
# configure:2606: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2617: $? = 0
# configure:2606: 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:2617: $? = 0
# configure:2606: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2617: $? = 1
# configure:2606: clang++ -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2617: $? = 1
# configure:2637: checking whether the C++ compiler works
# configure:2659: clang++ -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include conftest.cpp >&5
# configure:2663: $? = 0
# configure:2711: result: yes
# configure:2714: checking for C++ compiler default output file name
# configure:2716: result: a.out
# configure:2722: checking for suffix of executables
# configure:2729: clang++ -o conftest -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include conftest.cpp >&5
# configure:2733: $? = 0
# configure:2755: result:
# configure:2777: checking whether we are cross compiling
# configure:2785: clang++ -o conftest -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include conftest.cpp >&5
# configure:2789: $? = 0
# configure:2796: ./conftest
# ./conftest: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
# configure:2800: $? = 127
# configure:2807: error: in `/tmp/mdds/src/mdds-1.2.1':
# configure:2809: 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_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_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_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_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_make_make_set=yes
# am_cv_make_support_nested_variables=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/mdds/src/mdds-1.2.1/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)'
# API_VERSION='1.2'
# AUTOCONF='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing automake-1.15'
# AWK='gawk'
# BUILD_DOCS_FALSE=''
# BUILD_DOCS_TRUE=''
# CPPFLAGS=' -Wall -O2 -g -pedantic-errors -DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST -std=c++11 -I/usr/include -I/usr/local/include'
# CPPFLAGS_NODEBUG=''
# CXX='clang++'
# CXXDEPMODE=''
# CXXFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR=''
# DOXYGEN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INCDIR='include'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/mdds/src/mdds-1.2.1/missing makeinfo'
# MISCDIR='misc'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJDIR='obj'
# OBJEXT=''
# PACKAGE='mdds'
# PACKAGE_BUGREPORT='kohei.yoshida@gmail.com'
# PACKAGE_NAME='mdds'
# PACKAGE_STRING='mdds 1.2.1'
# PACKAGE_TARNAME='mdds'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.2.1'
# PATH_SEPARATOR=':'
# QUICKCHECKDIR='quickcheck'
# RUN_MEMORY_TESTS_FALSE=''
# RUN_MEMORY_TESTS_TRUE=''
# SET_MAKE=''
# SHELL='/bin/sh'
# SPHINX=''
# SRCDIR='src'
# STRIP=''
# VALGRIND=''
# VERSION='1.2.1'
# ac_ct_CXX=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCXX_FALSE=''
# am__fastdepCXX_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/mdds/src/mdds-1.2.1/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='/usr'
# 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 "mdds"
# #define PACKAGE_TARNAME "mdds"
# #define PACKAGE_VERSION "1.2.1"
# #define PACKAGE_STRING "mdds 1.2.1"
# #define PACKAGE_BUGREPORT "kohei.yoshida@gmail.com"
# #define PACKAGE_URL ""
# #define PACKAGE "mdds"
# #define VERSION "1.2.1"
#
# configure: exit 1