Build of osiris 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
114,200 ansic
14,569 sh
2,037 cpp
1,385 awk
611 perl
45 makefile
27 tcl
14 asm
12 python
132,900 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: osiris 4.2.3-9 (Wed Apr 5 00:40: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 build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# 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 maintainer-specific portions of Makefiles... no
# 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 for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking for x86_64-unknown-linux-g++... clang++
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking dependency style of clang++... gcc3
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking for OpenSSL directory... configure: error: cannot run test program while cross compiling
# See `config.log' for more details.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/osiris/src/osiris-4.2.3/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.59. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sbindir=/usr/bin --enable-fancy-cli --with-md-root-dir=/usr/share/osiris
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = f6e42c9adbd9
# 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:1364: checking build system type
# configure:1382: result: x86_64-unknown-linux-gnu
# configure:1390: checking host system type
# configure:1404: result: x86_64-unknown-linux-gnu
# configure:1412: checking target system type
# configure:1426: result: x86_64-unknown-linux-gnu
# configure:1454: checking for a BSD-compatible install
# configure:1509: result: /usr/bin/install -c
# configure:1520: checking whether build environment is sane
# configure:1563: result: yes
# configure:1596: checking for gawk
# configure:1612: found /usr/sbin/gawk
# configure:1622: result: gawk
# configure:1632: checking whether make sets $(MAKE)
# configure:1652: result: yes
# configure:1712: checking for x86_64-unknown-linux-strip
# configure:1741: result: no
# configure:1750: checking for strip
# configure:1766: found /sysroot/bin/strip
# configure:1777: result: strip
# configure:1803: checking whether to enable maintainer-specific portions of Makefiles
# configure:1812: result: no
# configure:1837: checking for x86_64-unknown-linux-gcc
# configure:1863: result: clang
# configure:2145: checking for C compiler version
# configure:2148: clang --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2151: $? = 0
# configure:2153: 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:2156: $? = 0
# configure:2158: clang -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2161: $? = 1
# configure:2184: checking for C compiler default output file name
# configure:2187: clang conftest.c >&5
# configure:2190: $? = 0
# configure:2236: result: a.out
# configure:2241: checking whether the C compiler works
# configure:2247: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2250: $? = 127
# configure:2267: result: yes
# configure:2274: checking whether we are cross compiling
# configure:2276: result: yes
# configure:2279: checking for suffix of executables
# configure:2281: clang -o conftest conftest.c >&5
# configure:2284: $? = 0
# configure:2309: result:
# configure:2315: checking for suffix of object files
# configure:2336: clang -c conftest.c >&5
# configure:2339: $? = 0
# configure:2361: result: o
# configure:2365: checking whether we are using the GNU C compiler
# configure:2389: clang -c conftest.c >&5
# configure:2395: $? = 0
# configure:2399: test -z
# || test ! -s conftest.err
# configure:2402: $? = 0
# configure:2405: test -s conftest.o
# configure:2408: $? = 0
# configure:2421: result: yes
# configure:2427: checking whether clang accepts -g
# configure:2448: clang -c -g conftest.c >&5
# configure:2454: $? = 0
# configure:2458: test -z
# || test ! -s conftest.err
# configure:2461: $? = 0
# configure:2464: test -s conftest.o
# configure:2467: $? = 0
# configure:2478: result: yes
# configure:2495: checking for clang option to accept ANSI C
# configure:2565: clang -c conftest.c >&5
# configure:2571: $? = 0
# configure:2575: test -z
# || test ! -s conftest.err
# configure:2578: $? = 0
# configure:2581: test -s conftest.o
# configure:2584: $? = 0
# configure:2602: result: none needed
# configure:2620: 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:2626: $? = 1
# configure: failed program was:
# | #ifndef __cplusplus
# | choke me
# | #endif
# configure:2778: checking for style of include used by make
# configure:2806: result: GNU
# configure:2834: checking dependency style of clang
# configure:2896: result: gcc3
# configure:2911: checking for x86_64-unknown-linux-g++
# configure:2937: result: clang++
# configure:2995: checking for C++ compiler version
# configure:2998: clang++ --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3001: $? = 0
# configure:3003: 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:3006: $? = 0
# configure:3008: clang++ -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3011: $? = 1
# configure:3014: checking whether we are using the GNU C++ compiler
# configure:3038: clang++ -c conftest.cc >&5
# configure:3044: $? = 0
# configure:3048: test -z
# || test ! -s conftest.err
# configure:3051: $? = 0
# configure:3054: test -s conftest.o
# configure:3057: $? = 0
# configure:3070: result: yes
# configure:3076: checking whether clang++ accepts -g
# configure:3097: clang++ -c -g conftest.cc >&5
# configure:3103: $? = 0
# configure:3107: test -z
# || test ! -s conftest.err
# configure:3110: $? = 0
# configure:3113: test -s conftest.o
# configure:3116: $? = 0
# configure:3127: result: yes
# configure:3169: clang++ -c conftest.cc >&5
# configure:3175: $? = 0
# configure:3179: test -z
# || test ! -s conftest.err
# configure:3182: $? = 0
# configure:3185: test -s conftest.o
# configure:3188: $? = 0
# configure:3214: clang++ -c conftest.cc >&5
# conftest.cc:15:1: error: use of undeclared identifier 'exit'
# exit (42);
# ^
# 1 error generated.
# configure:3220: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "osiris"
# | #define VERSION "4.0.0"
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:3169: clang++ -c conftest.cc >&5
# conftest.cc:11:17: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# conftest.cc:11:49: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# 2 errors generated.
# configure:3175: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "osiris"
# | #define VERSION "4.0.0"
# | /* end confdefs.h. */
# | extern "C" void std::exit (int) throw (); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:3169: clang++ -c conftest.cc >&5
# conftest.cc:11:17: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# conftest.cc:11:40: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# 2 errors generated.
# configure:3175: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "osiris"
# | #define VERSION "4.0.0"
# | /* end confdefs.h. */
# | extern "C" void std::exit (int); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:3169: clang++ -c conftest.cc >&5
# In file included from conftest.cc:12:
# In file included from /sysroot/bin/../include/c++/v1/stdlib.h:94:
# /sysroot/include/stdlib.h:46:16: error: 'exit' is missing exception specification 'throw()'
# _Noreturn void exit (int);
# ^
# conftest.cc:11:17: note: previous declaration is here
# extern "C" void exit (int) throw ();
# ^
# 1 error generated.
# configure:3175: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE "osiris"
# | #define VERSION "4.0.0"
# | /* end confdefs.h. */
# | extern "C" void exit (int) throw ();
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:3169: clang++ -c conftest.cc >&5
# configure:3175: $? = 0
# configure:3179: test -z
# || test ! -s conftest.err
# configure:3182: $? = 0
# configure:3185: test -s conftest.o
# configure:3188: $? = 0
# configure:3214: clang++ -c conftest.cc >&5
# configure:3220: $? = 0
# configure:3224: test -z
# || test ! -s conftest.err
# configure:3227: $? = 0
# configure:3230: test -s conftest.o
# configure:3233: $? = 0
# configure:3258: checking dependency style of clang++
# configure:3320: result: gcc3
# configure:3328: checking for x86_64-unknown-linux-ranlib
# configure:3357: result: no
# configure:3366: checking for ranlib
# configure:3382: found /sysroot/bin/ranlib
# configure:3393: result: ranlib
# configure:3568: checking for OpenSSL directory
# configure:3627: error: cannot run test program while cross compiling
# See `config.log' for more details.
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux-gnu
# 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_exeext=
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_host_alias=x86_64-unknown-linux
# 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_CXX=clang++
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_target=x86_64-unknown-linux-gnu
# ac_cv_target_alias=x86_64-unknown-linux
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_CXX_dependencies_compiler_type=gcc3
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/osiris/src/osiris-4.2.3/missing --run aclocal-1.6'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='${SHELL} /tmp/osiris/src/osiris-4.2.3/missing --run tar'
# AUTOCONF='${SHELL} /tmp/osiris/src/osiris-4.2.3/missing --run autoconf'
# AUTOHEADER='echo'
# AUTOMAKE='${SHELL} /tmp/osiris/src/osiris-4.2.3/missing --run automake-1.6'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP=''
# CPPFLAGS=''
# CXX='clang++'
# CXXDEPMODE='depmode=gcc3'
# CXXFLAGS=''
# DEFS=''
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP=''
# EXEEXT=''
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBREADLINE=''
# LIBS=' -lssl -lcrypto'
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/osiris/src/osiris-4.2.3/missing --run makeinfo'
# OBJEXT='o'
# PACKAGE='osiris'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# RANLIB='ranlib'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='4.0.0'
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_RANLIB='ranlib'
# ac_ct_STRIP='strip'
# am__include='include'
# am__quote=''
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${prefix}/share'
# exec_prefix='NONE'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# install_sh='/tmp/osiris/src/osiris-4.2.3/install-sh'
# 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='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target='x86_64-unknown-linux-gnu'
# target_alias=''
# target_cpu='x86_64'
# target_os='linux-gnu'
# target_vendor='unknown'
# with_md_conf_dir='/usr/share/osiris'
# with_md_root_dir='/usr/share/osiris'
# with_osiris_md_user='osiris'
# with_osiris_user='osiris'
# with_root_dir='/usr/osiris'
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define OSIRISMD_CONF_DIR "/usr/share/osiris"
# #define OSIRISMD_ROOT_DIR "/usr/share/osiris"
# #define OSIRISMD_USERNAME "osiris"
# #define OSIRIS_ROOT_DIR "/usr/osiris"
# #define OSIRIS_USERNAME "osiris"
# #define PACKAGE "osiris"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME ""
# #define PACKAGE_STRING ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PATH_SYSTEM_ROOT_CERT_FILE "/usr/osiris/osiris_root.pem"
# #define VERSION "4.0.0"
# #endif
# #ifdef __cplusplus
# extern "C" void exit (int);
#
# configure: exit 1