Build of jade 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
120,611 cpp
8,228 ansic
6,521 sh
378 perl
109 makefile
5 sed
135,852 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: jade 1.2.1-12 (Wed Apr 5 00:54:29 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# saving distribution makefiles...
# checking for gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking for c++... clang++
# checking whether the C++ compiler (clang++ -fpermissive ) works... no
# configure: error: installation or configuration problem: C++ compiler cannot create executables.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/jade/src/jade-1.2.1/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:635: checking for gcc
# configure:712: checking whether the C compiler (clang ) works
# configure:726: clang -o conftest conftest.c 1>&5
# configure:723:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:746: checking whether the C compiler (clang ) is a cross-compiler
# configure:751: checking whether we are using GNU C
# configure:760: clang -E conftest.c
# configure:775: checking whether clang accepts -g
# configure:813: checking for a BSD compatible install
# configure:863: checking whether ln -s works
# configure:888: checking for c++
# configure:919: checking whether the C++ compiler (clang++ -fpermissive ) works
# configure:933: clang++ -o conftest -fpermissive conftest.C 1>&5
# configure:930:1: error: C++ requires a type specifier for all declarations
# main(){return(0);}
# ^
# 1 error generated.
# configure: failed program was:
# #line 929 "configure"
# #include "confdefs.h"
# main(){return(0);}