Build of givaro with musl toolchain

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

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

SLOCLanguage
30,273 cpp
11,004 sh
41,277 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: givaro 4.0.1-1 (Wed Apr 5 00:56:02 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# 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 for rm... /usr/sbin/rm
# checking whether to enable maintainer-specific portions of Makefiles... no
# -----------------------------------------------
# checking whether to enable debugging options in the library... no
# checking whether to enable profiling everything in the library... no
# checking whether to enable warnings when compiling the library... no
# checking whether to inline or not most of the code ?... 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... yes
# 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 family name of compiler... configure: error: in `/tmp/givaro/src/givaro-4.0.1':
# configure: error: cannot run test program while cross compiling
# See `config.log' for more details
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/givaro/src/givaro-4.0.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 Givaro configure 4.0.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --enable-shared
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 16f2b11cbdbc
# 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:2581: checking for a BSD-compatible install
# configure:2649: result: /usr/bin/install -c
# configure:2660: checking whether build environment is sane
# configure:2715: result: yes
# configure:2774: checking for x86_64-unknown-linux-strip
# configure:2804: result: no
# configure:2814: checking for strip
# configure:2830: found /sysroot/bin/strip
# configure:2841: result: strip
# configure:2866: checking for a thread-safe mkdir -p
# configure:2905: result: /usr/sbin/mkdir -p
# configure:2912: checking for gawk
# configure:2928: found /usr/sbin/gawk
# configure:2939: result: gawk
# configure:2950: checking whether make sets $(MAKE)
# configure:2972: result: yes
# configure:3001: checking whether make supports nested variables
# configure:3018: result: yes
# configure:3150: checking for rm
# configure:3168: found /usr/sbin/rm
# configure:3181: result: /usr/sbin/rm
# configure:3193: checking whether to enable maintainer-specific portions of Makefiles
# configure:3202: result: no
# configure:3265: checking whether to enable debugging options in the library
# configure:3274: result: no
# configure:3287: checking whether to enable profiling everything in the library
# configure:3296: result: no
# configure:3309: checking whether to enable warnings when compiling the library
# configure:3318: result: no
# configure:3322: checking whether to inline or not most of the code ?
# configure:3334: result: no
# configure:3475: checking for C++ compiler version
# configure:3484: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3495: $? = 0
# configure:3484: 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:3495: $? = 0
# configure:3484: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3495: $? = 1
# configure:3484: clang++ -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3495: $? = 1
# configure:3515: checking whether the C++ compiler works
# configure:3537: clang++ conftest.cpp >&5
# configure:3541: $? = 0
# configure:3589: result: yes
# configure:3592: checking for C++ compiler default output file name
# configure:3594: result: a.out
# configure:3600: checking for suffix of executables
# configure:3607: clang++ -o conftest conftest.cpp >&5
# configure:3611: $? = 0
# configure:3633: result:
# configure:3655: checking whether we are cross compiling
# configure:3663: clang++ -o conftest conftest.cpp >&5
# configure:3667: $? = 0
# configure:3674: ./conftest
# ./conftest: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
# configure:3678: $? = 127
# configure:3693: result: yes
# configure:3698: checking for suffix of object files
# configure:3720: clang++ -c conftest.cpp >&5
# configure:3724: $? = 0
# configure:3745: result: o
# configure:3749: checking whether we are using the GNU C++ compiler
# configure:3768: clang++ -c conftest.cpp >&5
# configure:3768: $? = 0
# configure:3777: result: yes
# configure:3786: checking whether clang++ accepts -g
# configure:3806: clang++ -c -g conftest.cpp >&5
# configure:3806: $? = 0
# configure:3847: result: yes
# configure:3873: checking for family name of compiler
# configure:3877: error: in `/tmp/givaro/src/givaro-4.0.1':
# configure:3879: error: cannot run test program while cross compiling
# See `config.log' for more details
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# 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_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_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=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_objext=o
# ac_cv_path_RM=/usr/sbin/rm
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_make_support_nested_variables=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/givaro/src/givaro-4.0.1/build-aux/missing aclocal-1.14 -I macros'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AR=''
# AUTOCONF='${SHELL} /tmp/givaro/src/givaro-4.0.1/build-aux/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/givaro/src/givaro-4.0.1/build-aux/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/givaro/src/givaro-4.0.1/build-aux/missing automake-1.14'
# AWK='gawk'
# CC='clang'
# CCNAM=''
# CFLAGS=''
# CPPFLAGS=''
# CXX='clang++'
# CXXCPP=''
# CXXFLAGS=''
# CYGPATH_W='echo'
# DBG='no'
# DEBUG_CFLAGS=''
# DEBUG_FALSE=''
# DEBUG_TRUE='#'
# DEFAULT_CFLAGS=''
# DEFS=''
# DLLTOOL=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# FGREP=''
# GIVARO_BUILD_DOC_FALSE=''
# GIVARO_BUILD_DOC_TRUE=''
# GIVARO_DOC_PATH=''
# GIVARO_DOXYGEN_FOUND_FALSE=''
# GIVARO_DOXYGEN_FOUND_TRUE=''
# GIVARO_INLINE_ALL=''
# GIVARO_INLINE_ALL_FALSE=''
# GIVARO_INLINE_ALL_TRUE='#'
# GMP_CFLAGS=''
# GMP_LIBS=''
# GREP=''
# HAVE_CXX11=''
# INSIDE_GNOME_COMMON_FALSE=''
# INSIDE_GNOME_COMMON_TRUE='#'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LD=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL=''
# LIPO=''
# LN_S=''
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/givaro/src/givaro-4.0.1/build-aux/missing makeinfo'
# MANIFEST_TOOL=''
# MKDIR_P='/usr/sbin/mkdir -p'
# NM=''
# NMEDIT=''
# OBJDUMP=''
# OBJEXT='o'
# OTOOL64=''
# OTOOL=''
# PACKAGE='givaro'
# PACKAGE_BUGREPORT='Jean-Guillaume.Dumas@imag.fr'
# PACKAGE_NAME='Givaro'
# PACKAGE_STRING='Givaro 4.0.1'
# PACKAGE_TARNAME='givaro'
# PACKAGE_URL='http://ljk.imag.fr/CASYS/LOGICIELS/givaro'
# PACKAGE_VERSION='4.0.1'
# PATH_SEPARATOR=':'
# PROF='no'
# PROFILE_FALSE=''
# PROFILE_TRUE='#'
# RANLIB=''
# RM='/usr/sbin/rm -f'
# SED=''
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# TESTS_CFLAGS=''
# VERSION='4.0.1'
# WARN='no'
# ac_ct_AR=''
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build=''
# build_alias=''
# build_cpu=''
# build_os=''
# build_vendor=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host='x86_64-unknown-linux'
# host_alias='x86_64-unknown-linux'
# host_cpu=''
# host_os=''
# host_vendor=''
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/givaro/src/givaro-4.0.1/build-aux/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 "Givaro"
# #define PACKAGE_TARNAME "givaro"
# #define PACKAGE_VERSION "4.0.1"
# #define PACKAGE_STRING "Givaro 4.0.1"
# #define PACKAGE_BUGREPORT "Jean-Guillaume.Dumas@imag.fr"
# #define PACKAGE_URL "http://ljk.imag.fr/CASYS/LOGICIELS/givaro"
# #define PACKAGE "givaro"
# #define VERSION "4.0.1"
#
# configure: exit 1