Build of rote with musl toolchain

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

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

SLOCLanguage
758 ansic
43 sh
801 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: rote 0.2.8-5 (Wed Apr 5 00:30:58 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 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 ANSI C... none needed
# checking how to run the C preprocessor... clang -E
# checking for egrep... grep -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for stdbool.h that conforms to C99... yes
# checking for _Bool... yes
# checking for sys/types.h... (cached) yes
# checking for unistd.h... (cached) yes
# checking for stdlib.h... (cached) yes
# checking for string.h... (cached) yes
# checking for initscr in -lncurses... no
# configure: error: Need ncurses to compile librote.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/rote/src/rote-0.2.8/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 rote configure 0.2.8, which was
# generated by GNU Autoconf 2.59. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 21c8a194ab11
# 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
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1313: checking for x86_64-unknown-linux-gcc
# configure:1339: result: clang
# configure:1621: checking for C compiler version
# configure:1624: clang --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:1627: $? = 0
# configure:1629: 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:1632: $? = 0
# configure:1634: clang -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1637: $? = 1
# configure:1660: checking for C compiler default output file name
# configure:1663: clang conftest.c >&5
# configure:1666: $? = 0
# configure:1712: result: a.out
# configure:1717: checking whether the C compiler works
# configure:1723: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:1726: $? = 127
# configure:1743: result: yes
# configure:1750: checking whether we are cross compiling
# configure:1752: result: yes
# configure:1755: checking for suffix of executables
# configure:1757: clang -o conftest conftest.c >&5
# configure:1760: $? = 0
# configure:1785: result:
# configure:1791: checking for suffix of object files
# configure:1812: clang -c conftest.c >&5
# configure:1815: $? = 0
# configure:1837: result: o
# configure:1841: checking whether we are using the GNU C compiler
# configure:1865: clang -c conftest.c >&5
# configure:1871: $? = 0
# configure:1875: test -z
# || test ! -s conftest.err
# configure:1878: $? = 0
# configure:1881: test -s conftest.o
# configure:1884: $? = 0
# configure:1897: result: yes
# configure:1903: checking whether clang accepts -g
# configure:1924: clang -c -g conftest.c >&5
# configure:1930: $? = 0
# configure:1934: test -z
# || test ! -s conftest.err
# configure:1937: $? = 0
# configure:1940: test -s conftest.o
# configure:1943: $? = 0
# configure:1954: result: yes
# configure:1971: checking for clang option to accept ANSI C
# configure:2041: clang -c conftest.c >&5
# configure:2047: $? = 0
# configure:2051: test -z
# || test ! -s conftest.err
# configure:2054: $? = 0
# configure:2057: test -s conftest.o
# configure:2060: $? = 0
# configure:2078: result: none needed
# configure:2096: 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:2102: $? = 1
# configure: failed program was:
# | #ifndef __cplusplus
# | choke me
# | #endif
# configure:2242: checking how to run the C preprocessor
# configure:2277: clang -E conftest.c
# configure:2283: $? = 0
# configure:2315: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2321: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME "rote"
# | #define PACKAGE_TARNAME "rote"
# | #define PACKAGE_VERSION "0.2.8"
# | #define PACKAGE_STRING "rote 0.2.8"
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | #include
# configure:2360: result: clang -E
# configure:2384: clang -E conftest.c
# configure:2390: $? = 0
# configure:2422: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2428: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME "rote"
# | #define PACKAGE_TARNAME "rote"
# | #define PACKAGE_VERSION "0.2.8"
# | #define PACKAGE_STRING "rote 0.2.8"
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | #include
# configure:2472: checking for egrep
# configure:2482: result: grep -E
# configure:2487: checking for ANSI C header files
# configure:2512: clang -c conftest.c >&5
# configure:2518: $? = 0
# configure:2522: test -z
# || test ! -s conftest.err
# configure:2525: $? = 0
# configure:2528: test -s conftest.o
# configure:2531: $? = 0
# configure:2643: result: yes
# configure:2667: checking for sys/types.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for sys/stat.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for stdlib.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for string.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for memory.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for strings.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for inttypes.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for stdint.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2667: checking for unistd.h
# configure:2683: clang -c conftest.c >&5
# configure:2689: $? = 0
# configure:2693: test -z
# || test ! -s conftest.err
# configure:2696: $? = 0
# configure:2699: test -s conftest.o
# configure:2702: $? = 0
# configure:2713: result: yes
# configure:2725: checking for stdbool.h that conforms to C99
# configure:2778: clang -c conftest.c >&5
# conftest.c:46:12: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion]
# bool e = &s;
# ~ ^
# conftest.c:55:10: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:15: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:20: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:25: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:35: warning: address of array 'f' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:40: warning: address of array 'g' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:45: warning: address of array 'h' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# conftest.c:55:50: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion]
# return !a + !b + !c + !d + !e + !f + !g + !h + !i;
# ~^
# 9 warnings generated.
# configure:2784: $? = 0
# configure:2788: test -z
# || test ! -s conftest.err
# configure:2791: $? = 0
# configure:2794: test -s conftest.o
# configure:2797: $? = 0
# configure:2808: result: yes
# configure:2810: checking for _Bool
# configure:2834: clang -c conftest.c >&5
# configure:2840: $? = 0
# configure:2844: test -z
# || test ! -s conftest.err
# configure:2847: $? = 0
# configure:2850: test -s conftest.o
# configure:2853: $? = 0
# configure:2864: result: yes
# configure:2891: checking for sys/types.h
# configure:2896: result: yes
# configure:2891: checking for unistd.h
# configure:2896: result: yes
# configure:2891: checking for stdlib.h
# configure:2896: result: yes
# configure:2891: checking for string.h
# configure:2896: result: yes
# configure:3038: checking for initscr in -lncurses
# configure:3068: clang -o conftest conftest.c -lncurses >&5
# /sysroot/bin/ld: error: cannot find -lncurses
# /tmp/conftest-75280a.o:conftest.c:function main: error: undefined reference to 'initscr'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3074: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME "rote"
# | #define PACKAGE_TARNAME "rote"
# | #define PACKAGE_VERSION "0.2.8"
# | #define PACKAGE_STRING "rote 0.2.8"
# | #define PACKAGE_BUGREPORT ""
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE__BOOL 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | /* end confdefs.h. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char initscr ();
# | int
# | main ()
# | {
# | initscr ();
# | ;
# | return 0;
# | }
# configure:3100: result: no
# configure:3110: error: Need ncurses to compile librote.
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# 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_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_exeext=
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdbool_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_lib_ncurses_initscr=no
# ac_cv_objext=o
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_prog_egrep='grep -E'
# ac_cv_type__Bool=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# CC='clang'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# DEFS=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='grep -E'
# EXEEXT=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='rote'
# PACKAGE_STRING='rote 0.2.8'
# PACKAGE_TARNAME='rote'
# PACKAGE_VERSION='0.2.8'
# PATH_SEPARATOR=':'
# SHELL='/bin/sh'
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${prefix}/share'
# exec_prefix='NONE'
# host_alias='x86_64-unknown-linux'
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='${prefix}/var'
# mandir='${prefix}/man'
# oldincludedir='/usr/include'
# prefix='/usr'
# program_transform_name='s,x,x,'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define HAVE_INTTYPES_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STDBOOL_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_STRING_H 1
# #define HAVE_STRING_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE__BOOL 1
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME "rote"
# #define PACKAGE_STRING "rote 0.2.8"
# #define PACKAGE_TARNAME "rote"
# #define PACKAGE_VERSION "0.2.8"
# #define STDC_HEADERS 1
#
# configure: exit 1