Build of icu 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
384,612 cpp
161,956 ansic
4,095 sh
3,150 perl
471 python
289 makefile
35 sed
12 lisp
554,620 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: icu 57.1-1 (Wed Apr 5 00:49:35 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for ICU version numbers... release 57.1, library 57.1, unicode version 8.0
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking whether to build debug libraries... no
# checking whether to build release libraries... yes
# checking for x86_64-unknown-linux-clang... clang
# 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 clang option to accept ISO C89... none needed
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# configure: WARNING: using cross tools not prefixed with host triplet
# checking pkg-config is at least version 0.20... yes
# checking for ICULEHB... no
# checking how to run the C preprocessor... clang -E
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for gmake... no
# checking for gnumake... no
# configure: error: Error! Cross compiling but no --with-cross-build option specified - please supply the path to an executable ICU's build root
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/icu/src/icu/source/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 ICU configure 57.1, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = de3f4ebaecf5
# 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:2629: checking for ICU version numbers
# configure:2662: result: release 57.1, library 57.1, unicode version 8.0
# configure:2701: checking build system type
# configure:2715: result: x86_64-unknown-linux-gnu
# configure:2735: checking host system type
# configure:2748: result: x86_64-unknown-linux-gnu
# configure:2791: checking whether to build debug libraries
# configure:2803: result: no
# configure:2808: checking whether to build release libraries
# configure:2820: result: yes
# configure:2839: checking for x86_64-unknown-linux-clang
# configure:2866: result: clang
# configure:2941: checking for C compiler version
# configure:2950: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2961: $? = 0
# configure:2950: 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:2961: $? = 0
# configure:2950: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2961: $? = 1
# configure:2950: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2961: $? = 1
# configure:2981: checking whether the C compiler works
# configure:3003: clang conftest.c >&5
# configure:3007: $? = 0
# configure:3055: result: yes
# configure:3058: checking for C compiler default output file name
# configure:3060: result: a.out
# configure:3066: checking for suffix of executables
# configure:3073: clang -o conftest conftest.c >&5
# configure:3077: $? = 0
# configure:3099: result:
# configure:3121: checking whether we are cross compiling
# configure:3129: clang -o conftest conftest.c >&5
# configure:3133: $? = 0
# configure:3140: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3144: $? = 127
# configure:3159: result: yes
# configure:3164: checking for suffix of object files
# configure:3186: clang -c conftest.c >&5
# configure:3190: $? = 0
# configure:3211: result: o
# configure:3215: checking whether we are using the GNU C compiler
# configure:3234: clang -c conftest.c >&5
# configure:3234: $? = 0
# configure:3243: result: yes
# configure:3252: checking whether clang accepts -g
# configure:3272: clang -c -g conftest.c >&5
# configure:3272: $? = 0
# configure:3313: result: yes
# configure:3330: checking for clang option to accept ISO C89
# configure:3393: clang -c conftest.c >&5
# configure:3393: $? = 0
# configure:3406: result: none needed
# configure:3540: checking for C++ compiler version
# configure:3549: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3560: $? = 0
# configure:3549: 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:3560: $? = 0
# configure:3549: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3560: $? = 1
# configure:3549: clang++ -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3560: $? = 1
# configure:3564: checking whether we are using the GNU C++ compiler
# configure:3583: clang++ -c conftest.cpp >&5
# configure:3583: $? = 0
# configure:3592: result: yes
# configure:3601: checking whether clang++ accepts -g
# configure:3621: clang++ -c -g conftest.cpp >&5
# configure:3621: $? = 0
# configure:3662: result: yes
# configure:3698: checking for x86_64-unknown-linux-pkg-config
# configure:3731: result: no
# configure:3741: checking for pkg-config
# configure:3759: found /usr/sbin/pkg-config
# configure:3771: result: /usr/sbin/pkg-config
# configure:3783: WARNING: using cross tools not prefixed with host triplet
# configure:3796: checking pkg-config is at least version 0.20
# configure:3799: result: yes
# configure:3809: checking for ICULEHB
# configure:3816: $PKG_CONFIG --exists --print-errors "icu-le-hb"
# Package icu-le-hb was not found in the pkg-config search path.
# Perhaps you should add the directory containing `icu-le-hb.pc'
# to the PKG_CONFIG_PATH environment variable
# No package 'icu-le-hb' found
# configure:3819: $? = 1
# configure:3833: $PKG_CONFIG --exists --print-errors "icu-le-hb"
# Package icu-le-hb was not found in the pkg-config search path.
# Perhaps you should add the directory containing `icu-le-hb.pc'
# to the PKG_CONFIG_PATH environment variable
# No package 'icu-le-hb' found
# configure:3836: $? = 1
# configure:3850: result: no
# No package 'icu-le-hb' found
# configure:3905: checking how to run the C preprocessor
# configure:3936: clang -E conftest.c
# configure:3936: $? = 0
# configure:3950: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3950: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "ICU"
# | #define PACKAGE_TARNAME "International Components for Unicode"
# | #define PACKAGE_VERSION "57.1"
# | #define PACKAGE_STRING "ICU 57.1"
# | #define PACKAGE_BUGREPORT "http://icu-project.org/bugs"
# | #define PACKAGE_URL "http://icu-project.org"
# | /* end confdefs.h. */
# | #include
# configure:3975: result: clang -E
# configure:3995: clang -E conftest.c
# configure:3995: $? = 0
# configure:4009: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:4009: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "ICU"
# | #define PACKAGE_TARNAME "International Components for Unicode"
# | #define PACKAGE_VERSION "57.1"
# | #define PACKAGE_STRING "ICU 57.1"
# | #define PACKAGE_BUGREPORT "http://icu-project.org/bugs"
# | #define PACKAGE_URL "http://icu-project.org"
# | /* end confdefs.h. */
# | #include
# configure:4052: checking for a BSD-compatible install
# configure:4120: result: /usr/bin/install -c
# configure:4152: clang++ -o conftest -O2 conftest.cpp >&5
# configure:4152: $? = 0
# configure:4180: checking for gmake
# configure:4213: result: no
# configure:4180: checking for gnumake
# configure:4213: result: no
# configure:4236: error: Error! Cross compiling but no --with-cross-build option specified - please supply the path to an executable ICU's build root
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# 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_CPP_set=
# ac_cv_env_CPP_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_ICULEHB_CFLAGS_set=
# ac_cv_env_ICULEHB_CFLAGS_value=
# ac_cv_env_ICULEHB_LIBS_set=
# ac_cv_env_ICULEHB_LIBS_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_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=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_host=x86_64-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cxx_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR=''
# ARFLAGS=''
# CC='clang'
# CFLAGS=' -O2'
# COMPILE_LINK_ENVVAR=''
# CPP='clang -E'
# CPPFLAGS=''
# CXX='clang++'
# CXXFLAGS=' -O2'
# DATA_PACKAGING_MODE=''
# DEFS=''
# DOXYGEN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# ENABLE_DEBUG='0'
# ENABLE_RELEASE='1'
# ENABLE_RPATH=''
# ENABLE_SHARED=''
# ENABLE_STATIC=''
# EXEEXT=''
# EXTRAS_TRUE=''
# GENCCODE_ASSEMBLY=''
# GREP=''
# HAVE_MMAP=''
# ICUDATA_CHAR=''
# ICUIO_TRUE=''
# ICULEHB_CFLAGS=''
# ICULEHB_LIBS=''
# ICULIBSUFFIX=''
# ICULIBSUFFIXCNAME=''
# ICU_ECHO_C=''
# ICU_ECHO_N='-n'
# ICU_ECHO_T=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LAYOUTEX_TRUE=''
# LAYOUT_TRUE=''
# LDFLAGS=''
# LIBCFLAGS=''
# LIBCXXFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIB_M=''
# LIB_THREAD=''
# LIB_VERSION='57.1'
# LIB_VERSION_MAJOR='57'
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE='icu'
# PACKAGE_BUGREPORT='http://icu-project.org/bugs'
# PACKAGE_NAME='ICU'
# PACKAGE_STRING='ICU 57.1'
# PACKAGE_TARNAME='International Components for Unicode'
# PACKAGE_URL='http://icu-project.org'
# PACKAGE_VERSION='57.1'
# PATH_SEPARATOR=':'
# PKG_CONFIG='/usr/sbin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# PLUGINS_TRUE=''
# RANLIB=''
# SAMPLES_TRUE=''
# SHELL='/bin/sh'
# TESTS_TRUE=''
# TOOLS_TRUE=''
# UCLN_NO_AUTO_CLEANUP=''
# UCONFIG_CFLAGS=''
# UCONFIG_CPPFLAGS=''
# UCONFIG_CXXFLAGS=''
# UNICODE_VERSION='8.0'
# U_DEFAULT_SHOW_DRAFT=''
# U_DISABLE_RENAMING=''
# U_ENABLE_DYLOAD=''
# U_ENABLE_TRACING=''
# U_HAVE_ATOMIC=''
# U_HAVE_DIRENT_H=''
# U_HAVE_EXTRAS=''
# U_HAVE_ICUIO=''
# U_HAVE_INTTYPES_H=''
# U_HAVE_LAYOUT=''
# U_HAVE_LAYOUTEX=''
# U_HAVE_LIB_SUFFIX=''
# U_HAVE_NL_LANGINFO_CODESET=''
# U_HAVE_PLACEMENT_NEW=''
# U_HAVE_PLUGINS=''
# U_HAVE_POPEN=''
# U_HAVE_SAMPLES=''
# U_HAVE_STD_STRING=''
# U_HAVE_TESTS=''
# U_HAVE_TIMEZONE=''
# U_HAVE_TOOLS=''
# U_HAVE_TZNAME=''
# U_HAVE_TZSET=''
# U_HAVE_WCHAR_H=''
# U_HAVE_WCSCPY=''
# U_IS_BIG_ENDIAN=''
# U_MAKE='make'
# U_NL_LANGINFO_CODESET=''
# U_OVERRIDE_CXX_ALLOCATION=''
# U_TIMEZONE=''
# U_TZNAME=''
# U_TZSET=''
# VERSION='57.1'
# ac_ct_CC=''
# 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'
# cross_buildroot=''
# cross_compiling='yes'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# 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'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='/usr/share/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# pkgicudatadir=''
# platform=''
# platform_make_fragment=''
# platform_make_fragment_name=''
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target_alias=''
# thepkgicudatadir=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "ICU"
# #define PACKAGE_TARNAME "International Components for Unicode"
# #define PACKAGE_VERSION "57.1"
# #define PACKAGE_STRING "ICU 57.1"
# #define PACKAGE_BUGREPORT "http://icu-project.org/bugs"
# #define PACKAGE_URL "http://icu-project.org"
#
# configure: exit 1