The build took 00h 01m 08s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
8,954 |
ansic |
260 |
makefile |
195 |
sh |
178 |
cpp |
9,587 |
total |
The process tree of the build process is here.
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:
There were existing files in /sysroot, using those
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: mxml 2.10-1 (Wed Apr 5 00:00:12 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
checking for x86_64-unknown-linux-gcc... clang
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 clang option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking for ar... /sysroot/bin/ar
checking for cp... /usr/sbin/cp
checking for ln... /usr/sbin/ln
checking for mkdir... /usr/sbin/mkdir
checking for rm... /usr/sbin/rm
checking for inline... inline
checking for strdup... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for long long int... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/sbin/grep
checking for egrep... /usr/sbin/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 pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for shared library support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
Compiling mxml-attr.c
Compiling mxml-entity.c
Compiling mxml-file.c
Compiling mxml-get.c
Compiling mxml-index.c
Compiling mxml-node.c
Compiling mxml-search.c
Compiling mxml-set.c
Compiling mxml-private.c
Compiling mxml-string.c
Compiling mxmldoc.c
Compiling testmxml.c
mxmldoc.c:913:1: warning: function 'remove_directory' is not needed and will not be emitted [-Wunneeded-internal-declaration]
remove_directory(const char *path) /* I - Directory to remove */
^
Creating libmxml.so.1.5...
Creating libmxml.a...
1 warning generated.
Linking mxmldoc...
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-get.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
Linking mxmldoc-static...
Generating API documentation...
./mxmldoc-static: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
make: *** [Makefile:390: mxml.xml] Error 127
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
Printing config logfiles
CMD: config logfiles '/tmp/mxml/src/mxml-2.10/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 Mini-XML configure 2.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --host=x86_64-unknown-linux --prefix=/usr --enable-shared
## --------- ##
## Platform. ##
## --------- ##
hostname = 8eaa5eb235bc
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:2255: checking for x86_64-unknown-linux-gcc
configure:2282: result: clang
configure:2551: checking for C compiler version
configure:2560: clang --version >&5
clang version 3.8.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /
configure:2571: $? = 0
configure:2560: 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:2571: $? = 0
configure:2560: clang -V >&5
clang-3.8: error: argument to '-V' is missing (expected 1 value)
clang-3.8: error: no input files
configure:2571: $? = 1
configure:2560: clang -qversion >&5
clang-3.8: error: unknown argument: '-qversion'
clang-3.8: error: no input files
configure:2571: $? = 1
configure:2591: checking whether the C compiler works
configure:2613: clang conftest.c >&5
configure:2617: $? = 0
configure:2665: result: yes
configure:2668: checking for C compiler default output file name
configure:2670: result: a.out
configure:2676: checking for suffix of executables
configure:2683: clang -o conftest conftest.c >&5
configure:2687: $? = 0
configure:2709: result:
configure:2731: checking whether we are cross compiling
configure:2739: clang -o conftest conftest.c >&5
configure:2743: $? = 0
configure:2750: ./conftest
./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
configure:2754: $? = 127
configure:2769: result: yes
configure:2774: checking for suffix of object files
configure:2796: clang -c conftest.c >&5
configure:2800: $? = 0
configure:2821: result: o
configure:2825: checking whether we are using the GNU C compiler
configure:2844: clang -c conftest.c >&5
configure:2844: $? = 0
configure:2853: result: yes
configure:2862: checking whether clang accepts -g
configure:2882: clang -c -g conftest.c >&5
configure:2882: $? = 0
configure:2923: result: yes
configure:2940: checking for clang option to accept ISO C89
configure:3003: clang -c conftest.c >&5
configure:3003: $? = 0
configure:3016: result: none needed
configure:3148: checking for C++ compiler version
configure:3157: clang++ --version >&5
clang version 3.8.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /
configure:3168: $? = 0
configure:3157: 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:3168: $? = 0
configure:3157: clang++ -V >&5
clang-3.8: error: argument to '-V' is missing (expected 1 value)
clang-3.8: error: no input files
configure:3168: $? = 1
configure:3157: clang++ -qversion >&5
clang-3.8: error: unknown argument: '-qversion'
clang-3.8: error: no input files
configure:3168: $? = 1
configure:3172: checking whether we are using the GNU C++ compiler
configure:3191: clang++ -c conftest.cpp >&5
configure:3191: $? = 0
configure:3200: result: yes
configure:3209: checking whether clang++ accepts -g
configure:3229: clang++ -c -g conftest.cpp >&5
configure:3229: $? = 0
configure:3270: result: yes
configure:3336: checking for a BSD-compatible install
configure:3404: result: /usr/bin/install -c
configure:3422: checking for x86_64-unknown-linux-ranlib
configure:3452: result: no
configure:3462: checking for ranlib
configure:3478: found /sysroot/bin/ranlib
configure:3489: result: ranlib
configure:3501: WARNING: using cross tools not prefixed with host triplet
configure:3513: checking for ar
configure:3531: found /sysroot/bin/ar
configure:3543: result: /sysroot/bin/ar
configure:3553: checking for cp
configure:3571: found /usr/sbin/cp
configure:3583: result: /usr/sbin/cp
configure:3593: checking for ln
configure:3611: found /usr/sbin/ln
configure:3623: result: /usr/sbin/ln
configure:3633: checking for mkdir
configure:3651: found /usr/sbin/mkdir
configure:3663: result: /usr/sbin/mkdir
configure:3673: checking for rm
configure:3691: found /usr/sbin/rm
configure:3703: result: /usr/sbin/rm
configure:3724: checking for inline
configure:3740: clang -c conftest.c >&5
configure:3740: $? = 0
configure:3748: result: inline
configure:3770: checking for strdup
configure:3770: clang -o conftest conftest.c >&5
conftest.c:33:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
char strdup ();
^
conftest.c:33:6: note: 'strdup' is a builtin with type 'char *(const char *)'
1 warning generated.
configure:3770: $? = 0
configure:3770: result: yes
configure:3785: checking for snprintf
configure:3785: clang -o conftest conftest.c >&5
conftest.c:34:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
char snprintf ();
^
conftest.c:34:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
1 warning generated.
configure:3785: $? = 0
configure:3785: result: yes
configure:3785: checking for vsnprintf
configure:3785: clang -o conftest conftest.c >&5
conftest.c:35:6: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
char vsnprintf ();
^
conftest.c:35:6: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'
1 warning generated.
configure:3785: $? = 0
configure:3785: result: yes
configure:3796: checking for long long int
configure:3823: result: yes
configure:3847: checking how to run the C preprocessor
configure:3878: clang -E conftest.c
configure:3878: $? = 0
configure:3892: clang -E conftest.c
conftest.c:14:10: fatal error: 'ac_nonexistent.h' file not found
#include
^
1 error generated.
configure:3892: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Mini-XML"
| #define PACKAGE_TARNAME "mxml"
| #define PACKAGE_VERSION "2.10"
| #define PACKAGE_STRING "Mini-XML 2.10"
| #define PACKAGE_BUGREPORT "http://www.msweet.org/bugs.php/Mini-XML"
| #define PACKAGE_URL "http://www.msweet.org/projects.php/Mini-XML"
| #define MXML_VERSION "Mini-XML v2.10"
| #define HAVE_STRDUP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_LONG_LONG 1
| /* end confdefs.h. */
| #include
configure:3917: result: clang -E
configure:3937: clang -E conftest.c
configure:3937: $? = 0
configure:3951: clang -E conftest.c
conftest.c:14:10: fatal error: 'ac_nonexistent.h' file not found
#include
^
1 error generated.
configure:3951: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Mini-XML"
| #define PACKAGE_TARNAME "mxml"
| #define PACKAGE_VERSION "2.10"
| #define PACKAGE_STRING "Mini-XML 2.10"
| #define PACKAGE_BUGREPORT "http://www.msweet.org/bugs.php/Mini-XML"
| #define PACKAGE_URL "http://www.msweet.org/projects.php/Mini-XML"
| #define MXML_VERSION "Mini-XML v2.10"
| #define HAVE_STRDUP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_LONG_LONG 1
| /* end confdefs.h. */
| #include
configure:3980: checking for grep that handles long lines and -e
configure:4038: result: /usr/sbin/grep
configure:4043: checking for egrep
configure:4105: result: /usr/sbin/grep -E
configure:4110: checking for ANSI C header files
configure:4130: clang -c conftest.c >&5
configure:4130: $? = 0
configure:4214: result: yes
configure:4227: checking for sys/types.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for sys/stat.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for stdlib.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for string.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for memory.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for strings.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for inttypes.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for stdint.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4227: checking for unistd.h
configure:4227: clang -c conftest.c >&5
configure:4227: $? = 0
configure:4227: result: yes
configure:4239: checking pthread.h usability
configure:4239: clang -c conftest.c >&5
configure:4239: $? = 0
configure:4239: result: yes
configure:4239: checking pthread.h presence
configure:4239: clang -E conftest.c
configure:4239: $? = 0
configure:4239: result: yes
configure:4239: checking for pthread.h
configure:4239: result: yes
configure:4249: checking for pthread_create using -lpthreads
configure:4264: clang -o conftest conftest.c -lpthreads >&5
/sysroot/bin/ld: error: cannot find -lpthreads
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
configure:4264: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Mini-XML"
| #define PACKAGE_TARNAME "mxml"
| #define PACKAGE_VERSION "2.10"
| #define PACKAGE_STRING "Mini-XML 2.10"
| #define PACKAGE_BUGREPORT "http://www.msweet.org/bugs.php/Mini-XML"
| #define PACKAGE_URL "http://www.msweet.org/projects.php/Mini-XML"
| #define MXML_VERSION "Mini-XML v2.10"
| #define HAVE_STRDUP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_LONG_LONG 1
| #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_PTHREAD_H 1
| /* end confdefs.h. */
| #include
| int
| main ()
| {
| pthread_create(0, 0, 0, 0);
| ;
| return 0;
| }
configure:4269: result: no
configure:4249: checking for pthread_create using -lpthread
configure:4264: clang -o conftest conftest.c -lpthread >&5
configure:4264: $? = 0
configure:4269: result: yes
configure:4301: checking for shared library support
configure:4333: result: yes
configure:4585: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by Mini-XML config.status 2.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on 8eaa5eb235bc
config.status:831: creating Makefile
config.status:831: creating mxml.list
config.status:831: creating mxml.pc
config.status:831: creating config.h
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_long_long=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_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_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_func_snprintf=yes
ac_cv_func_strdup=yes
ac_cv_func_vsnprintf=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_pthread_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_objext=o
ac_cv_path_AR=/sysroot/bin/ar
ac_cv_path_CP=/usr/sbin/cp
ac_cv_path_EGREP='/usr/sbin/grep -E'
ac_cv_path_GREP=/usr/sbin/grep
ac_cv_path_LN=/usr/sbin/ln
ac_cv_path_MKDIR=/usr/sbin/mkdir
ac_cv_path_RM=/usr/sbin/rm
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CC=clang
ac_cv_prog_CPP='clang -E'
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='/sysroot/bin/ar'
ARCHFLAGS=''
ARFLAGS='crvs'
CC='clang'
CFLAGS='-Wall '
CP='/usr/sbin/cp'
CPP='clang -E'
CPPFLAGS=''
CXX='clang++'
CXXFLAGS=''
DEFS='-DHAVE_CONFIG_H'
DSO='$(CC)'
DSOFLAGS=' -Wl,-soname,libmxml.so.1,-rpath,$(libdir) -shared $(OPTIM)'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/sbin/grep -E'
EXEEXT=''
GREP='/usr/sbin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=' -Wl,-rpath,$(libdir)'
LIBMXML='libmxml.so.1.5'
LIBOBJS=''
LIBS=''
LN='/usr/sbin/ln'
LTLIBOBJS=''
MKDIR='/usr/sbin/mkdir'
OBJEXT='o'
OPTIM='-fPIC -Os -g'
PACKAGE_BUGREPORT='http://www.msweet.org/bugs.php/Mini-XML'
PACKAGE_NAME='Mini-XML'
PACKAGE_STRING='Mini-XML 2.10'
PACKAGE_TARNAME='mxml'
PACKAGE_URL='http://www.msweet.org/projects.php/Mini-XML'
PACKAGE_VERSION='2.10'
PATH_SEPARATOR=':'
PC_CFLAGS='-I${prefix}/include'
PC_LIBS='-L${exec_prefix}/lib -lmxml'
PICFLAG='1'
PTHREAD_FLAGS='-D_THREAD_SAFE -D_REENTRANT'
PTHREAD_LIBS='-lpthread'
RANLIB='ranlib'
RM='/usr/sbin/rm'
SHELL='/bin/sh'
VERSION='2.10'
ac_ct_CC=''
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/mxml'
dvidir='${docdir}'
exec_prefix='/usr'
host_alias='x86_64-unknown-linux'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
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 "Mini-XML"
#define PACKAGE_TARNAME "mxml"
#define PACKAGE_VERSION "2.10"
#define PACKAGE_STRING "Mini-XML 2.10"
#define PACKAGE_BUGREPORT "http://www.msweet.org/bugs.php/Mini-XML"
#define PACKAGE_URL "http://www.msweet.org/projects.php/Mini-XML"
#define MXML_VERSION "Mini-XML v2.10"
#define HAVE_STRDUP 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_LONG_LONG 1
#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_PTHREAD_H 1
configure: exit 0