Build of vbindiff with musl toolchain

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

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

SLOCLanguage
2,296 cpp
787 sh
108 perl
13 lisp
3,204 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: vbindiff 3.0_beta4-7 (Wed Apr 5 00:53:19 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 gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking whether to enable debugging... no
# 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 style of include used by make... GNU
# checking dependency style of clang++... gcc3
# 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 for clang option to accept ISO C89... none needed
# checking dependency style of clang... gcc3
# checking for initscr in -lncurses... no
# configure: error: The ncurses library is required
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/vbindiff/src/vbindiff-3.0_beta4/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 Visual Binary Diff configure 3.0_beta4, which was
# generated by GNU Autoconf 2.61. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/tmp/vbindiff/pkg/vbindiff/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 0a51316bb9e3
# 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:1784: checking for a BSD-compatible install
# configure:1840: result: /usr/bin/install -c
# configure:1851: checking whether build environment is sane
# configure:1894: result: yes
# configure:1959: checking for gawk
# configure:1975: found /usr/sbin/gawk
# configure:1986: result: gawk
# configure:1997: checking whether make sets $(MAKE)
# configure:2018: result: yes
# configure:2094: checking for x86_64-unknown-linux-strip
# configure:2124: result: no
# configure:2134: checking for strip
# configure:2150: found /sysroot/bin/strip
# configure:2161: result: strip
# configure:2216: checking whether to enable debugging
# configure:2232: result: no
# configure:2353: checking for C++ compiler version
# configure:2360: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2363: $? = 0
# configure:2370: 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:2373: $? = 0
# configure:2380: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2383: $? = 1
# configure:2406: checking for C++ compiler default output file name
# configure:2433: clang++ conftest.cpp >&5
# configure:2436: $? = 0
# configure:2474: result: a.out
# configure:2491: checking whether the C++ compiler works
# configure:2501: ./a.out
# ./a.out: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
# configure:2504: $? = 127
# configure:2521: result: yes
# configure:2528: checking whether we are cross compiling
# configure:2530: result: yes
# configure:2533: checking for suffix of executables
# configure:2540: clang++ -o conftest conftest.cpp >&5
# configure:2543: $? = 0
# configure:2567: result:
# configure:2573: checking for suffix of object files
# configure:2599: clang++ -c conftest.cpp >&5
# configure:2602: $? = 0
# configure:2625: result: o
# configure:2629: checking whether we are using the GNU C++ compiler
# configure:2658: clang++ -c conftest.cpp >&5
# configure:2664: $? = 0
# configure:2681: result: yes
# configure:2686: checking whether clang++ accepts -g
# configure:2716: clang++ -c -g conftest.cpp >&5
# configure:2722: $? = 0
# configure:2821: result: yes
# configure:2855: checking for style of include used by make
# configure:2883: result: GNU
# configure:2911: checking dependency style of clang++
# configure:3001: result: gcc3
# configure:3026: checking for x86_64-unknown-linux-gcc
# configure:3053: result: clang
# configure:3331: checking for C compiler version
# configure:3338: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3341: $? = 0
# configure:3348: 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:3351: $? = 0
# configure:3358: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3361: $? = 1
# configure:3364: checking whether we are using the GNU C compiler
# configure:3393: clang -c -O2 conftest.c >&5
# configure:3399: $? = 0
# configure:3416: result: yes
# configure:3421: checking whether clang accepts -g
# configure:3451: clang -c -g conftest.c >&5
# configure:3457: $? = 0
# configure:3556: result: yes
# configure:3573: checking for clang option to accept ISO C89
# configure:3647: clang -c -O2 conftest.c >&5
# configure:3653: $? = 0
# configure:3676: result: none needed
# configure:3696: checking dependency style of clang
# configure:3786: result: gcc3
# configure:3807: checking for initscr in -lncurses
# configure:3842: clang++ -o conftest conftest.cpp -lncurses >&5
# /sysroot/bin/ld: error: cannot find -lncurses
# /tmp/conftest-adaf7d.o:conftest.cpp:function main: error: undefined reference to 'initscr'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:3848: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# | #define PACKAGE_NAME "Visual Binary Diff"
# | #define PACKAGE_TARNAME "vbindiff"
# | #define PACKAGE_VERSION "3.0_beta4"
# | #define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
# | #define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
# | #define PACKAGE "vbindiff"
# | #define VERSION "3.0_beta4"
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char initscr ();
# | int
# | main ()
# | {
# | return initscr ();
# | ;
# | return 0;
# | }
# configure:3866: result: no
# configure:3876: error: The ncurses library is required
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# 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_CXXCPP_set=
# ac_cv_env_CXXCPP_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_ncurses_initscr=no
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_CXX_dependencies_compiler_type=gcc3
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run aclocal-1.9'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run tar'
# AUTOCONF='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run automake-1.9'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS='-O2 '
# CPPFLAGS=''
# CXX='clang++'
# CXXCPP=''
# CXXDEPMODE='depmode=gcc3'
# CXXFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# GREP=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run makeinfo'
# OBJEXT='o'
# PACKAGE='vbindiff'
# PACKAGE_BUGREPORT='vbindiff AT cjmweb.net'
# PACKAGE_NAME='Visual Binary Diff'
# PACKAGE_STRING='Visual Binary Diff 3.0_beta4'
# PACKAGE_TARNAME='vbindiff'
# PACKAGE_VERSION='3.0_beta4'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='3.0_beta4'
# ac_ct_CC=''
# ac_ct_CXX=''
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__fastdepCXX_FALSE='#'
# am__fastdepCXX_TRUE=''
# am__include='include'
# 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_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='/tmp/vbindiff/src/vbindiff-3.0_beta4/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='mkdir -p --'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/tmp/vbindiff/pkg/vbindiff/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME "Visual Binary Diff"
# #define PACKAGE_TARNAME "vbindiff"
# #define PACKAGE_VERSION "3.0_beta4"
# #define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
# #define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
# #define PACKAGE "vbindiff"
# #define VERSION "3.0_beta4"
#
# configure: exit 1