Build of cdargs with musl toolchain

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

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

SLOCLanguage
1,177 cpp
463 sh
70 lisp
3 csh
1,713 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: cdargs 1.35-6 (Wed Apr 5 00:28:01 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 for a BSD compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking whether make sets ${MAKE}... yes
# checking for working aclocal... found
# checking for working autoconf... found
# checking for working automake... found
# checking for working autoheader... found
# checking for working makeinfo... found
# checking for x86_64-unknown-linux-g++... clang++
# checking for C++ compiler default output... a.out
# checking whether the C++ compiler works... yes
# checking whether we are cross compiling... yes
# checking for executable suffix...
# checking for object suffix... o
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking for x86_64-unknown-linux-gcc... clang
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for working curses... no
# checking for working ncurses... no
# configure: error: Fatal error: couldn't find ncurses/curses.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/cdargs/src/cdargs-1.35/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.52. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --mandir=/usr/share/man
#
# ## ---------- ##
# ## Platform. ##
# ## ---------- ##
#
# hostname = e54f5d32d48a
# 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
# hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH = /sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#
# ## ------------ ##
# ## Core tests. ##
# ## ------------ ##
#
# configure:929: PATH=".;."; conftest.sh
# ./configure: line 930: conftest.sh: command not found
# configure:932: $? = 127
# configure:978: checking for a BSD compatible install
# configure:1027: result: /usr/bin/install -c
# configure:1038: checking whether build environment is sane
# configure:1081: result: yes
# configure:1096: checking whether make sets ${MAKE}
# configure:1116: result: yes
# configure:1144: checking for working aclocal
# configure:1151: result: found
# configure:1159: checking for working autoconf
# configure:1166: result: found
# configure:1174: checking for working automake
# configure:1181: result: found
# configure:1189: checking for working autoheader
# configure:1196: result: found
# configure:1204: checking for working makeinfo
# configure:1211: result: found
# configure:1229: checking for x86_64-unknown-linux-g++
# configure:1252: result: clang++
# configure:1306: checking for C++ compiler version
# configure:1309: clang++ --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:1312: $? = 0
# configure:1314: 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:1317: $? = 0
# configure:1319: clang++ -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1322: $? = 1
# configure:1342: checking for C++ compiler default output
# configure:1345: clang++ conftest.cc >&5
# configure:1348: $? = 0
# configure:1377: result: a.out
# configure:1382: checking whether the C++ compiler works
# configure:1388: ./a.out
# ./a.out: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
# configure:1391: $? = 127
# configure:1406: result: yes
# configure:1413: checking whether we are cross compiling
# configure:1415: result: yes
# configure:1418: checking for executable suffix
# configure:1420: clang++ -o conftest conftest.cc >&5
# configure:1423: $? = 0
# configure:1445: result:
# configure:1451: checking for object suffix
# configure:1469: clang++ -c conftest.cc >&5
# configure:1472: $? = 0
# configure:1491: result: o
# configure:1495: checking whether we are using the GNU C++ compiler
# configure:1516: clang++ -c conftest.cc >&5
# configure:1519: $? = 0
# configure:1522: test -s conftest.o
# configure:1525: $? = 0
# configure:1537: result: yes
# configure:1543: checking whether clang++ accepts -g
# configure:1561: clang++ -c -g conftest.cc >&5
# configure:1564: $? = 0
# configure:1567: test -s conftest.o
# configure:1570: $? = 0
# configure:1580: result: yes
# configure:1620: clang++ -c conftest.cc >&5
# configure:1623: $? = 0
# configure:1626: test -s conftest.o
# configure:1629: $? = 0
# configure:1651: clang++ -c conftest.cc >&5
# configure:1644:1: error: use of undeclared identifier 'exit'
# exit (42);
# ^
# 1 error generated.
# configure:1654: $? = 1
# configure: failed program was:
# #line 1639 "configure"
# #include "confdefs.h"
#
# int
# main ()
# {
# exit (42);
# ;
# return 0;
# }
# configure:1620: clang++ -c conftest.cc >&5
# configure:1623: $? = 0
# configure:1626: test -s conftest.o
# configure:1629: $? = 0
# configure:1651: clang++ -c conftest.cc >&5
# configure:1654: $? = 0
# configure:1657: test -s conftest.o
# configure:1660: $? = 0
# configure:1690: checking for x86_64-unknown-linux-gcc
# configure:1713: result: clang
# configure:1976: checking for C compiler version
# configure:1979: clang --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:1982: $? = 0
# configure:1984: 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:1987: $? = 0
# configure:1989: clang -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1992: $? = 1
# configure:1995: checking whether we are using the GNU C compiler
# configure:2016: clang -c conftest.c >&5
# configure:2019: $? = 0
# configure:2022: test -s conftest.o
# configure:2025: $? = 0
# configure:2037: result: yes
# configure:2043: checking whether clang accepts -g
# configure:2061: clang -c -g conftest.c >&5
# configure:2064: $? = 0
# configure:2067: test -s conftest.o
# configure:2070: $? = 0
# configure:2080: result: yes
# configure:2107: clang -c conftest.c >&5
# conftest.c:2:3: error: unknown type name 'choke'
# choke me
# ^
# conftest.c:2:11: error: expected ';' after top level declarator
# choke me
# ^
# ;
# 2 errors generated.
# configure:2110: $? = 1
# configure: failed program was:
# #ifndef __cplusplus
# choke me
# #endif
# configure:2213: checking how to run the C preprocessor
# configure:2239: clang -E conftest.c
# configure:2245: $? = 0
# configure:2272: clang -E conftest.c
# configure:2269:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2278: $? = 1
# configure: failed program was:
# #line 2268 "configure"
# #include "confdefs.h"
# #include
# configure:2315: result: clang -E
# configure:2330: clang -E conftest.c
# configure:2336: $? = 0
# configure:2363: clang -E conftest.c
# configure:2360:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2369: $? = 1
# configure: failed program was:
# #line 2359 "configure"
# #include "confdefs.h"
# #include
# configure:2408: checking for ANSI C header files
# configure:2422: clang -E conftest.c
# configure:2428: $? = 0
# configure:2536: result: yes
# configure:2555: checking for working curses
# configure:2574: clang -o conftest conftest.c -lcurses >&5
# configure:2563:10: fatal error: 'curses.h' file not found
# #include
# ^
# 1 error generated.
# configure:2577: $? = 1
# configure: failed program was:
# #line 2562 "configure"
# #include "confdefs.h"
# #include
# int
# main ()
# {
# chtype a; int b=A_STANDOUT, c=KEY_LEFT; initscr();
# ;
# return 0;
# }
# configure:2593: result: no
# configure:2606: checking for working ncurses
# configure:2625: clang -o conftest conftest.c -lncurses >&5
# configure:2614:10: fatal error: 'ncurses.h' file not found
# #include
# ^
# 1 error generated.
# configure:2628: $? = 1
# configure: failed program was:
# #line 2613 "configure"
# #include "confdefs.h"
# #include
# int
# main ()
# {
# chtype a; int b=A_STANDOUT, c=KEY_LEFT; initscr();
# ;
# return 0;
# }
# configure:2644: result: no
# configure:2658: error: Fatal error: couldn't find ncurses/curses.
#
# ## ----------------- ##
# ## Cache variables. ##
# ## ----------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_cxx_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_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_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_header_stdc=yes
# 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_CXX=clang++
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# mp_cv_curses=no
# mp_cv_ncurses=no
#
# ## ------------ ##
# ## confdefs.h. ##
# ## ------------ ##
#
# #define PACKAGE "cdargs"
# #define VERSION "1.35"
# #ifdef __cplusplus
# #include
# #endif
# #define STDC_HEADERS 1
#
#
# configure: exit 1