Build of ftjam with musl toolchain

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

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

SLOCLanguage
9,714 ansic
2,746 sh
244 yacc
34 makefile
12,738 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: ftjam 2.5.3rc2-4 (Tue Apr 4 23:27:35 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 build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# checking for x86_64-unknown-linux-gcc... 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 clang option to accept ISO C89... none needed
# checking how to run the C preprocessor... clang -E
# checking for rm... rm -f
# checking for rmdir... rmdir
# checking for a BSD-compatible install... /usr/bin/install -c
# configure: creating ./config.status
# config.status: creating ../../Makefile
# config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
# config.status: creating ../../patchlevel.h
# config.status: creating ../../Jamrules
# clang -o jam0 builtins.c command.c compile.c execnt.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rope.c rules.c scan.c search.c spawn.c spawnmac.c spawnnt.c spawnos2.c spawnunix.c timestamp.c variable.c
# expand.c:86:25: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
# printf( "expand '%.*s'\n", end - in, in );
# ~~^~ ~~~~~~~~
# 1 warning generated.
# hash.c:327:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# hp->tab.nel * sizeof( ITEM ** ) / 1024,
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 warning generated.
# make1.c:389:8: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
# if( !unlink( targets->string ) )
# ^
# 1 warning generated.
# chmod a+w jambase.c
# ./jam0
# ./jam0: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make: *** [Makefile:19: all] Error 127
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/ftjam/src/ftjam-2.5.3rc2/builds/unix/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.61. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 9f08ce5f3d5c
# 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:1702: checking build system type
# configure:1720: result: x86_64-unknown-linux-gnu
# configure:1742: checking host system type
# configure:1757: result: x86_64-unknown-linux-gnu
# configure:1779: checking target system type
# configure:1794: result: x86_64-unknown-linux-gnu
# configure:1831: checking for x86_64-unknown-linux-gcc
# configure:1858: result: clang
# configure:2136: checking for C compiler version
# configure:2143: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2146: $? = 0
# configure:2153: 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:2156: $? = 0
# configure:2163: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2166: $? = 1
# configure:2189: checking for C compiler default output file name
# configure:2216: clang conftest.c >&5
# configure:2219: $? = 0
# configure:2257: result: a.out
# configure:2274: checking whether the C compiler works
# configure:2284: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2287: $? = 127
# configure:2304: result: yes
# configure:2311: checking whether we are cross compiling
# configure:2313: result: yes
# configure:2316: checking for suffix of executables
# configure:2323: clang -o conftest conftest.c >&5
# configure:2326: $? = 0
# configure:2350: result:
# configure:2356: checking for suffix of object files
# configure:2382: clang -c conftest.c >&5
# configure:2385: $? = 0
# configure:2408: result: o
# configure:2412: checking whether we are using the GNU C compiler
# configure:2441: clang -c conftest.c >&5
# configure:2447: $? = 0
# configure:2464: result: yes
# configure:2469: checking whether clang accepts -g
# configure:2499: clang -c -g conftest.c >&5
# configure:2505: $? = 0
# configure:2604: result: yes
# configure:2621: checking for clang option to accept ISO C89
# configure:2695: clang -c conftest.c >&5
# configure:2701: $? = 0
# configure:2724: result: none needed
# configure:2747: checking how to run the C preprocessor
# configure:2787: clang -E conftest.c
# configure:2793: $? = 0
# configure:2824: clang -E conftest.c
# conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2830: $? = 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. */
# | #include
# configure:2863: result: clang -E
# configure:2892: clang -E conftest.c
# configure:2898: $? = 0
# configure:2929: clang -E conftest.c
# conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2935: $? = 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. */
# | #include
# configure:2991: checking for rm
# configure:3007: found /usr/sbin/rm
# configure:3018: result: rm -f
# configure:3028: checking for rmdir
# configure:3044: found /usr/sbin/rmdir
# configure:3055: result: rmdir
# configure:3077: checking for a BSD-compatible install
# configure:3133: result: /usr/bin/install -c
# configure:3297: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.61. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 9f08ce5f3d5c
#
# config.status:596: creating ../../Makefile
# config.status:731: WARNING: Makefile.in seems to ignore the --datarootdir setting
# config.status:596: creating ../../patchlevel.h
# config.status:596: creating ../../Jamrules
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# 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_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_host=x86_64-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_RMDIR=rmdir
# ac_cv_prog_RMF='rm -f'
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_target=x86_64-unknown-linux-gnu
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='clang'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RMDIR='rmdir'
# RMF='rm -f'
# SHELL='/bin/sh'
# SUFEXE=''
# XX_CFLAGS=''
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# 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'
# jam_version='2.5.3'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# my_bindir='/usr/bin'
# 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='x86_64-unknown-linux-gnu'
# target_alias=''
# target_cpu='x86_64'
# target_os='linux-gnu'
# target_vendor='unknown'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
#
# configure: exit 0