Build of gnucap with musl toolchain

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

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

SLOCLanguage
28,713 cpp
2,299 makefile
888 sh
56 ansic
31,956 total

The process tree of the build process is here.

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: gnucap 20091207-4 (Wed Apr 5 00:30:10 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 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 to enable maintainer-specific portions of Makefiles... no
# checking if debug code should be compiled in... 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 style of include used by make... GNU
# checking dependency style of clang++... gcc3
# checking for gnucap-modelgen... no
# checking for main in -ltermcap... no
# checking for main in -lreadline... no
# checking for dlopen in -ldl... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating doc/Makefile
# config.status: creating examples/Makefile
# config.status: creating modelgen/Makefile
# config.status: creating src/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
#
# ** Configuration summary for gnucap 2009-12-07:
#
# prefix: /usr
# CPPFLAGS: -DNDEBUG
# CFLAGS:
# CXXFLAGS:
# LDFLAGS: -rdynamic
# LIBS: -ldl
#
#
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make all-recursive
# make[1]: Entering directory '/tmp/gnucap/src/gnucap-2009-12-07'
# Making all in doc
# make[2]: Entering directory '/tmp/gnucap/src/gnucap-2009-12-07/doc'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/gnucap/src/gnucap-2009-12-07/doc'
# Making all in examples
# make[2]: Entering directory '/tmp/gnucap/src/gnucap-2009-12-07/examples'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/gnucap/src/gnucap-2009-12-07/examples'
# Making all in modelgen
# make[2]: Entering directory '/tmp/gnucap/src/gnucap-2009-12-07/modelgen'
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT ap_construct.o -MD -MP -MF .deps/ap_construct.Tpo -c -o ap_construct.o ap_construct.cc
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT ap_convert.o -MD -MP -MF .deps/ap_convert.Tpo -c -o ap_convert.o ap_convert.cc
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT ap_get.o -MD -MP -MF .deps/ap_get.Tpo -c -o ap_get.o ap_get.cc
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT ap_match.o -MD -MP -MF .deps/ap_match.Tpo -c -o ap_match.o ap_match.cc
# mv -f .deps/ap_construct.Tpo .deps/ap_construct.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT ap_skip.o -MD -MP -MF .deps/ap_skip.Tpo -c -o ap_skip.o ap_skip.cc
# mv -f .deps/ap_get.Tpo .deps/ap_get.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT l_trim.o -MD -MP -MF .deps/l_trim.Tpo -c -o l_trim.o l_trim.cc
# mv -f .deps/ap_match.Tpo .deps/ap_match.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT u_opt1.o -MD -MP -MF .deps/u_opt1.Tpo -c -o u_opt1.o u_opt1.cc
# mv -f .deps/l_trim.Tpo .deps/l_trim.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT io_out.o -MD -MP -MF .deps/io_out.Tpo -c -o io_out.o io_out.cc
# mv -f .deps/ap_convert.Tpo .deps/ap_convert.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.cc
# mv -f .deps/io_out.Tpo .deps/io_out.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT mg_main.o -MD -MP -MF .deps/mg_main.Tpo -c -o mg_main.o mg_main.cc
# mv -f .deps/io.Tpo .deps/io.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT mg_error.o -MD -MP -MF .deps/mg_error.Tpo -c -o mg_error.o mg_error.cc
# mv -f .deps/ap_skip.Tpo .deps/ap_skip.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT mg_in.o -MD -MP -MF .deps/mg_in.Tpo -c -o mg_in.o mg_in.cc
# mv -f .deps/u_opt1.Tpo .deps/u_opt1.Po
# In file included from mg_in.cc:23:
# ./mg_.h:134:19: error: variable has incomplete type 'C_Comment'
# C_Comment c_comment;
# ^
# ./mg_.h:29:7: note: forward declaration of 'C_Comment'clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT mg_out_h.o -MD -MP -MF .deps/mg_out_h.Tpo -c -o mg_out_h.o mg_out_h.cc
#
# class C_Comment;
# ^
# ./mg_.h:135:19: error: variable has incomplete type 'Cxx_Comment'
# Cxx_Comment cxx_comment;
# ^
# ./mg_.h:30:7: note: forward declaration of 'Cxx_Comment'
# class Cxx_Comment;
# ^
# mv -f .deps/mg_error.Tpo .deps/mg_error.Po
# clang++ -DHAVE_CONFIG_H -I. -I.. -I../src -DNDEBUG -MT mg_out_dump.o -MD -MP -MF .deps/mg_out_dump.Tpo -c -o mg_out_dump.o mg_out_dump.cc
# In file included from mg_main.cc:24:
# In file included from ./mg_out.h:23:
# ./mg_.h:134:19: error: variable has incomplete type 'C_Comment'
# C_Comment c_comment;
# ^
# ./mg_.h:29:7: note: forward declaration of 'C_Comment'
# class C_Comment;
# ^
# ./mg_.h:135:19: error: variable has incomplete type 'Cxx_Comment'
# Cxx_Comment cxx_comment;
# ^
# ./mg_.h:30:7: note: forward declaration of 'Cxx_Comment'
# class Cxx_Comment;
# ^
# 2 errors generated.
# make[2]: *** [Makefile:303: mg_main.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# 2 errors generated.
# make[2]: *** [Makefile:303: mg_in.o] Error 1
# In file included from mg_out_h.cc:23:
# In file included from ./mg_out.h:23:
# ./mg_.h:134:19: error: variable has incomplete type 'C_Comment'
# C_Comment c_comment;
# ^
# ./mg_.h:29:7: note: forward declaration of 'C_Comment'
# class C_Comment;
# ^
# ./mg_.h:135:19: error: variable has incomplete type 'Cxx_Comment'
# Cxx_Comment cxx_comment;
# ^
# ./mg_.h:30:7: note: forward declaration of 'Cxx_Comment'
# class Cxx_Comment;
# ^
# In file included from mg_out_dump.cc:24:
# In file included from ./mg_out.h:23:
# ./mg_.h:134:19: error: variable has incomplete type 'C_Comment'
# C_Comment c_comment;
# ^
# ./mg_.h:29:7: note: forward declaration of 'C_Comment'
# class C_Comment;
# ^
# ./mg_.h:135:19: error: variable has incomplete type 'Cxx_Comment'
# Cxx_Comment cxx_comment;
# ^
# ./mg_.h:30:7: note: forward declaration of 'Cxx_Comment'
# class Cxx_Comment;
# ^
# 2 errors generated.
# make[2]: *** [Makefile:303: mg_out_dump.o] Error 1
# 2 errors generated.
# make[2]: *** [Makefile:303: mg_out_h.o] Error 1
# make[2]: Leaving directory '/tmp/gnucap/src/gnucap-2009-12-07/modelgen'
# make[1]: *** [Makefile:252: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/gnucap/src/gnucap-2009-12-07'
# make: *** [Makefile:190: all] Error 2
# ==> ERROR: A failure occurred in package().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/gnucap/src/gnucap-2009-12-07/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.65. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = b57c03adf03d
# 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:1848: checking for a BSD-compatible install
# configure:1916: result: /usr/bin/install -c
# configure:1927: checking whether build environment is sane
# configure:1977: result: yes
# configure:2026: checking for x86_64-unknown-linux-strip
# configure:2056: result: no
# configure:2066: checking for strip
# configure:2082: found /sysroot/bin/strip
# configure:2093: result: strip
# configure:2118: checking for a thread-safe mkdir -p
# configure:2157: result: /usr/sbin/mkdir -p
# configure:2170: checking for gawk
# configure:2186: found /usr/sbin/gawk
# configure:2197: result: gawk
# configure:2208: checking whether make sets $(MAKE)
# configure:2230: result: yes
# configure:2314: checking whether to enable maintainer-specific portions of Makefiles
# configure:2323: result: no
# configure:2337: checking if debug code should be compiled in
# configure:2353: result: no
# configure:2473: checking for C++ compiler version
# configure:2482: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2493: $? = 0
# configure:2482: 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:2493: $? = 0
# configure:2482: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2493: $? = 1
# configure:2482: clang++ -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2493: $? = 1
# configure:2513: checking whether the C++ compiler works
# configure:2535: clang++ conftest.cpp >&5
# configure:2539: $? = 0
# configure:2588: result: yes
# configure:2591: checking for C++ compiler default output file name
# configure:2593: result: a.out
# configure:2599: checking for suffix of executables
# configure:2606: clang++ -o conftest conftest.cpp >&5
# configure:2610: $? = 0
# configure:2632: result:
# configure:2654: checking whether we are cross compiling
# configure:2662: clang++ -o conftest conftest.cpp >&5
# configure:2666: $? = 0
# configure:2673: ./conftest
# ./conftest: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
# configure:2677: $? = 127
# configure:2692: result: yes
# configure:2697: checking for suffix of object files
# configure:2719: clang++ -c conftest.cpp >&5
# configure:2723: $? = 0
# configure:2744: result: o
# configure:2748: checking whether we are using the GNU C++ compiler
# configure:2767: clang++ -c conftest.cpp >&5
# configure:2767: $? = 0
# configure:2776: result: yes
# configure:2785: checking whether clang++ accepts -g
# configure:2805: clang++ -c -g conftest.cpp >&5
# configure:2805: $? = 0
# configure:2846: result: yes
# configure:2880: checking for style of include used by make
# configure:2908: result: GNU
# configure:2933: checking dependency style of clang++
# configure:3043: result: gcc3
# configure:3069: checking for gnucap-modelgen
# configure:3102: result: no
# configure:3145: checking for main in -ltermcap
# configure:3164: clang++ -o conftest conftest.cpp -ltermcap >&5
# /sysroot/bin/ld: error: cannot find -ltermcap
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3164: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "gnucap"
# | #define VERSION "2009-12-07"
# | /* end confdefs.h. */
# |
# |
# | int
# | main ()
# | {
# | return main ();
# | ;
# | return 0;
# | }
# configure:3173: result: no
# configure:3184: checking for main in -lreadline
# configure:3203: clang++ -o conftest conftest.cpp -lreadline >&5
# /sysroot/bin/ld: error: cannot find -lreadline
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3203: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "gnucap"
# | #define VERSION "2009-12-07"
# | /* end confdefs.h. */
# |
# |
# | int
# | main ()
# | {
# | return main ();
# | ;
# | return 0;
# | }
# configure:3212: result: no
# configure:3225: checking for dlopen in -ldl
# configure:3250: clang++ -o conftest conftest.cpp -ldl >&5
# configure:3250: $? = 0
# configure:3259: result: yes
# configure:3450: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.65. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on b57c03adf03d
#
# config.status:846: creating Makefile
# config.status:846: creating doc/Makefile
# config.status:846: creating examples/Makefile
# config.status:846: creating modelgen/Makefile
# config.status:846: creating src/Makefile
# config.status:846: creating config.h
# config.status:1066: executing depfiles commands
# configure:4777: result:
# ** Configuration summary for gnucap 2009-12-07:
#
# prefix: /usr
# CPPFLAGS: -DNDEBUG
# CFLAGS:
# CXXFLAGS:
# LDFLAGS: -rdynamic
# LIBS: -ldl
#
#
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_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_lib_dl_dlopen=yes
# ac_cv_lib_readline_main=no
# ac_cv_lib_termcap_main=no
# ac_cv_objext=o
# 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_CXX_dependencies_compiler_type=gcc3
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/missing --run aclocal-1.11'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/missing --run tar'
# AUTOCONF='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/missing --run automake-1.11'
# AWK='gawk'
# CPPFLAGS=' -DNDEBUG'
# CXX='clang++'
# CXXDEPMODE='depmode=gcc3'
# CXXFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=' -rdynamic'
# LIBOBJS=''
# LIBS='-ldl '
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/missing --run makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# MODELGEN=''
# OBJEXT='o'
# PACKAGE='gnucap'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_URL=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='2009-12-07'
# ac_ct_CXX=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCXX_FALSE='#'
# am__fastdepCXX_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__quote=''
# am__tar='${AMTAR} chof - "$$tardir"'
# am__untar='${AMTAR} xf -'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/gnucap/src/gnucap-2009-12-07/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/sbin/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 ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "gnucap"
# #define VERSION "2009-12-07"
# #define HAVE_LIBDL 1
#
# configure: exit 0