Build of gdome2 with android toolchain

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

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

SLOCLanguage
23,280 ansic
6,785 sh
30,065 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: gdome2 0.8.1-5 (Tue Apr 4 21:40:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking whether make sets ${MAKE}... yes
# checking for working aclocal... found
# checking for working autoconf... found
# checking for working automake... found
# checking for working autoheader... found
# checking for working makeinfo... found
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking for strerror in -lcposix... no
# checking for gcc... arm-linux-androideabi-gcc
# checking whether the C compiler (arm-linux-androideabi-gcc ) works... yes
# checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler... yes
# checking whether we are using GNU C... yes
# checking whether arm-linux-androideabi-gcc accepts -g... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking for ANSI C header files... yes
# checking for Cygwin environment... no
# checking for mingw32 environment... no
# checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized
#
# checking build system type... x86_64-unknown-linux-gnu
# checking for ld used by GCC... /sysroot/arm-linux-androideabi/bin/ld
# checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld... yes
# checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files... -r
# checking for BSD-compatible nm... /usr/sbin/nm -B
# checking whether ln -s works... yes
# checking how to recognise dependant libraries... unknown
# checking for object suffix... o
# checking for executable suffix... no
# ./configure: line 2162: test: !=: unary operator expected
# checking command to parse /usr/sbin/nm -B output... ok
# checking for dlfcn.h... yes
# checking for ranlib... ranlib
# checking for strip... strip
# checking for objdir... .libs
# checking for arm-linux-androideabi-gcc option to produce PIC... -fPIC
# checking if arm-linux-androideabi-gcc PIC flag -fPIC works... yes
# checking if arm-linux-androideabi-gcc static flag -static works... yes
# checking if arm-linux-androideabi-gcc supports -c -o file.o... yes
# checking if arm-linux-androideabi-gcc supports -c -o file.lo... yes
# checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions... yes
# checking whether the linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries... yes
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking dynamic linker characteristics... no
# checking if libtool supports shared libraries... no
# checking whether to build shared libraries... no
# checking whether to build static libraries... yes
# creating libtool
# checking for pkg-config... /usr/sbin/pkg-config
# checking for glib-2.0... yes
# checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
# checking GLIB_LIBS... -lglib-2.0
# checking for pkg-config... (cached) /usr/sbin/pkg-config
# checking for GLIB - version >= 2.2.0... cross compiling; assumed OK... yes (version 2.48.1)
# checking for GnomeXML libraries >= 2.4.26... found
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating libgdome/Makefile
# creating libgdome/gdomecore/Makefile
# creating libgdome/events/Makefile
# creating libgdome/xpath/Makefile
# creating test/Makefile
# creating test/apigen/Makefile
# creating gtk-doc/Makefile
# creating gdome-config
# creating gdome2.spec
# creating gdome-config.1
# creating gdome2.pc
# creating config.h
# make all-recursive
# make[1]: Entering directory '/tmp/gdome2/src/gdome2-0.8.1'
# Making all in libgdome
# make[2]: Entering directory '/tmp/gdome2/src/gdome2-0.8.1/libgdome'
# Making all in gdomecore
# make[3]: Entering directory '/tmp/gdome2/src/gdome2-0.8.1/libgdome/gdomecore'
# /bin/sh ../../libtool --mode=compile arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-xmldtdutil.c
# /bin/sh ../../libtool --mode=compile arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-xmlmemory.c
# /bin/sh ../../libtool --mode=compile arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-str.c
# /bin/sh ../../libtool --mode=compile arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-text.c
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-xmlmemory.c -o gdome-xml-xmlmemory.o
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-xmldtdutil.c -o gdome-xml-xmldtdutil.o
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-str.c -o gdome-xml-str.o
# arm-linux-androideabi-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -ansi -c gdome-xml-text.c -o gdome-xml-text.o
# In file included from /usr/include/libxml2/libxml/parser.h:810:0,
# from /usr/include/libxml2/libxml/globals.h:18,
# from /usr/include/libxml2/libxml/threads.h:35,
# from /usr/include/libxml2/libxml/xmlmemory.h:218,
# from /usr/include/libxml2/libxml/tree.h:1307,
# from gdome-xml-str.c:28:
# /usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[3]: *** [Makefile:243: gdome-xml-str.lo] Error 1
# make[3]: *** Waiting for unfinished jobs....
# In file included from /usr/include/libxml2/libxml/parser.h:810:0,
# from /usr/include/libxml2/libxml/globals.h:18,
# from /usr/include/libxml2/libxml/threads.h:35,
# from /usr/include/libxml2/libxml/xmlmemory.h:218,
# from /usr/include/libxml2/libxml/tree.h:1307,
# from gdome-xml-text.c:30:
# /usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from /usr/include/libxml2/libxml/parser.h:810:0,
# from /usr/include/libxml2/libxml/globals.h:18,
# from /usr/include/libxml2/libxml/threads.h:35,
# from /usr/include/libxml2/libxml/xmlmemory.h:218,
# from /usr/include/libxml2/libxml/tree.h:1307,
# from gdome-xml-xmlmemory.c:32:
# /usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from /usr/include/libxml2/libxml/parser.h:810:0,
# from /usr/include/libxml2/libxml/globals.h:18,
# from /usr/include/libxml2/libxml/threads.h:35,
# from /usr/include/libxml2/libxml/xmlmemory.h:218,
# from /usr/include/libxml2/libxml/tree.h:1307,
# from gdome-xml-xmldtdutil.c:35:
# /usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[3]: *** [Makefile:243: gdome-xml-text.lo] Error 1
# make[3]: *** [Makefile:243: gdome-xml-xmlmemory.lo] Error 1
# make[3]: *** [Makefile:243: gdome-xml-xmldtdutil.lo] Error 1
# make[3]: Leaving directory '/tmp/gdome2/src/gdome2-0.8.1/libgdome/gdomecore'
# make[2]: *** [Makefile:296: all-recursive] Error 1
# make[2]: Leaving directory '/tmp/gdome2/src/gdome2-0.8.1/libgdome'
# make[1]: *** [Makefile:338: all-recursive] Error 1
# make[1]: Leaving directory '/tmp/gdome2/src/gdome2-0.8.1'
# make: *** [Makefile:482: all-recursive-am] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/gdome2/src/gdome2-0.8.1/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:759: checking for a BSD compatible install
# configure:812: checking whether build environment is sane
# configure:869: checking whether make sets ${MAKE}
# configure:908: checking for working aclocal
# configure:921: checking for working autoconf
# configure:934: checking for working automake
# configure:947: checking for working autoheader
# configure:960: checking for working makeinfo
# configure:974: checking whether to enable maintainer-specific portions of Makefiles
# configure:1039: checking for strerror in -lcposix
# configure:1058: arm-linux-androideabi-gcc -o conftest conftest.c -lcposix 1>&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcposix
# collect2: error: ld returned 1 exit status
# configure: failed program was:
# #line 1047 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char strerror();
#
# int main() {
# strerror()
# ; return 0; }
# configure:1083: checking for gcc
# configure:1196: checking whether the C compiler (arm-linux-androideabi-gcc ) works
# configure:1212: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:1238: checking whether the C compiler (arm-linux-androideabi-gcc ) is a cross-compiler
# configure:1243: checking whether we are using GNU C
# configure:1252: arm-linux-androideabi-gcc -E conftest.c
# configure:1271: checking whether arm-linux-androideabi-gcc accepts -g
# configure:1314: checking for a BSD compatible install
# configure:1367: checking how to run the C preprocessor
# configure:1388: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1447: checking for ANSI C header files
# configure:1460: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1581: checking for Cygwin environment
# configure:1597: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure: In function 'main':
# configure:1591:20: error: '__CYGWIN32__' undeclared (first use in this function)
# #define __CYGWIN__ __CYGWIN32__
# ^
# configure:1593:8: note: in expansion of macro '__CYGWIN__'
# return __CYGWIN__;
# ^
# configure:1591:20: note: each undeclared identifier is reported only once for each function it appears in
# #define __CYGWIN__ __CYGWIN32__
# ^
# configure:1593:8: note: in expansion of macro '__CYGWIN__'
# return __CYGWIN__;
# ^
# configure: failed program was:
# #line 1586 "configure"
# #include "confdefs.h"
#
# int main() {
#
# #ifndef __CYGWIN__
# #define __CYGWIN__ __CYGWIN32__
# #endif
# return __CYGWIN__;
# ; return 0; }
# configure:1614: checking for mingw32 environment
# configure:1626: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure: In function 'main':
# configure:1622:8: error: '__MINGW32__' undeclared (first use in this function)
# return __MINGW32__;
# ^
# configure:1622:8: note: each undeclared identifier is reported only once for each function it appears in
# configure: failed program was:
# #line 1619 "configure"
# #include "confdefs.h"
#
# int main() {
# return __MINGW32__;
# ; return 0; }
# configure:1718: checking host system type
# configure:1739: checking build system type
# configure:1768: checking for ld used by GCC
# configure:1836: checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld
# GNU gold (GNU Binutils 2.24.90) 1.11
# configure:1853: checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files
# configure:1865: checking for BSD-compatible nm
# configure:1903: checking whether ln -s works
# configure:1924: checking how to recognise dependant libraries
# configure:2107: checking for object suffix
# configure:2113: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure:2133: checking for executable suffix
# configure:2143: arm-linux-androideabi-gcc -o conftest conftest.c 1>&5
# configure:2174: checking command to parse /usr/sbin/nm -B output
# configure:2254: arm-linux-androideabi-gcc -c conftest.c 1>&5
# configure:2257: /usr/sbin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
# configure:2308: arm-linux-androideabi-gcc -o conftest conftest.c conftstm.o 1>&5
# configure:2357: checking for dlfcn.h
# configure:2367: arm-linux-androideabi-gcc -E conftest.c >/dev/null 2>conftest.out
# configure:2535: checking for ranlib
# configure:2602: checking for strip
# configure:2845: checking for objdir
# configure:2872: checking for arm-linux-androideabi-gcc option to produce PIC
# configure:3024: checking if arm-linux-androideabi-gcc PIC flag -fPIC works
# configure:3038: arm-linux-androideabi-gcc -c -fPIC -DPIC conftest.c 1>&5
# configure:3090: checking if arm-linux-androideabi-gcc static flag -static works
# configure:3105: arm-linux-androideabi-gcc -o conftest -static conftest.c 1>&5
# configure:3132: checking if arm-linux-androideabi-gcc supports -c -o file.o
# configure:3151: arm-linux-androideabi-gcc -c -o out/conftest2.o conftest.c 1>&5
# configure:3180: checking if arm-linux-androideabi-gcc supports -c -o file.lo
# configure:3198: arm-linux-androideabi-gcc -c -c -o conftest.lo conftest.c 1>&5
# configure:3248: checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions
# configure:3261: arm-linux-androideabi-gcc -c -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
# cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
# cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
# configure:3288: checking whether the linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries
# configure:3972: checking how to hardcode library paths into programs
# configure:4000: checking whether stripping libraries is possible
# configure:4014: checking dynamic linker characteristics
# configure:4411: checking if libtool supports shared libraries
# configure:4415: checking whether to build shared libraries
# configure:4438: checking whether to build static libraries
# configure:5960: checking for pkg-config
# configure:6004: checking for glib-2.0
# configure:6011: checking GLIB_CFLAGS
# configure:6016: checking GLIB_LIBS
# configure:6072: checking for pkg-config
# configure:6122: checking for GLIB - version >= 2.2.0
# configure:6325: checking for GnomeXML libraries >= 2.4.26