Build of gif2png 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
2,187 sh
1,475 ansic
777 makefile
248 python
4,687 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: gif2png 2.5.9-1 (Tue Apr 4 21:38:42 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# /tmp/gif2png/src/gif2png-2.5.9/missing: Unknown `--is-lightweight' option
# Try `/tmp/gif2png/src/gif2png-2.5.9/missing --help' for more information
# configure: WARNING: 'missing' script is too old or missing
# checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
# 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 arm-linux-androideabi-gcc accepts -g... yes
# checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
# checking whether arm-linux-androideabi-gcc understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of arm-linux-androideabi-gcc... gcc3
# checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
# checking whether arm-linux-androideabi-gcc and cc understand -c and -o together... yes
# 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 deflate in -lz... yes
# checking for pow in -lm... yes
# checking for png_get_io_ptr in -lpng... no
# configure: error: PNG library is missing! Please get it.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/gif2png/src/gif2png-2.5.9/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 gif2png configure 2.5.9, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --mandir=/usr/share/man
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 543afe19b661
# 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: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1968: checking for a BSD-compatible install
# configure:2036: result: /usr/bin/install -c
# configure:2047: checking whether build environment is sane
# configure:2102: result: yes
# configure:2140: WARNING: 'missing' script is too old or missing
# configure:2161: checking for arm-linux-androideabi-strip
# configure:2177: found /sysroot/bin/arm-linux-androideabi-strip
# configure:2188: result: arm-linux-androideabi-strip
# configure:2253: checking for a thread-safe mkdir -p
# configure:2292: result: /usr/sbin/mkdir -p
# configure:2299: checking for gawk
# configure:2315: found /usr/sbin/gawk
# configure:2326: result: gawk
# configure:2337: checking whether make sets $(MAKE)
# configure:2359: result: yes
# configure:2388: checking whether make supports nested variables
# configure:2405: result: yes
# configure:2541: checking for arm-linux-androideabi-gcc
# configure:2568: result: arm-linux-androideabi-gcc
# configure:2837: checking for C compiler version
# configure:2846: arm-linux-androideabi-gcc --version >&5
# arm-linux-androideabi-gcc (GCC) 4.8
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# configure:2857: $? = 0
# configure:2846: arm-linux-androideabi-gcc -v >&5
# Using built-in specs.
# COLLECT_GCC=arm-linux-androideabi-gcc
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# configure:2857: $? = 0
# configure:2846: arm-linux-androideabi-gcc -V >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2857: $? = 1
# configure:2846: arm-linux-androideabi-gcc -qversion >&5
# arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
# arm-linux-androideabi-gcc: fatal error: no input files
# compilation terminated.
# configure:2857: $? = 1
# configure:2877: checking whether the C compiler works
# configure:2899: arm-linux-androideabi-gcc conftest.c >&5
# configure:2903: $? = 0
# configure:2951: result: yes
# configure:2954: checking for C compiler default output file name
# configure:2956: result: a.out
# configure:2962: checking for suffix of executables
# configure:2969: arm-linux-androideabi-gcc -o conftest conftest.c >&5
# configure:2973: $? = 0
# configure:2995: result:
# configure:3017: checking whether we are cross compiling
# configure:3055: result: yes
# configure:3060: checking for suffix of object files
# configure:3082: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3086: $? = 0
# configure:3107: result: o
# configure:3111: checking whether we are using the GNU C compiler
# configure:3130: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3130: $? = 0
# configure:3139: result: yes
# configure:3148: checking whether arm-linux-androideabi-gcc accepts -g
# configure:3168: arm-linux-androideabi-gcc -c -g conftest.c >&5
# configure:3168: $? = 0
# configure:3209: result: yes
# configure:3226: checking for arm-linux-androideabi-gcc option to accept ISO C89
# configure:3289: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3289: $? = 0
# configure:3302: result: none needed
# configure:3327: checking whether arm-linux-androideabi-gcc understands -c and -o together
# configure:3349: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:3352: $? = 0
# configure:3349: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
# configure:3352: $? = 0
# configure:3364: result: yes
# configure:3392: checking for style of include used by make
# configure:3420: result: GNU
# configure:3446: checking dependency style of arm-linux-androideabi-gcc
# configure:3557: result: gcc3
# configure:3578: checking how to run the C preprocessor
# configure:3609: arm-linux-androideabi-gcc -E conftest.c
# configure:3609: $? = 0
# configure:3623: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3623: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "gif2png"
# | #define PACKAGE_TARNAME "gif2png"
# | #define PACKAGE_VERSION "2.5.9"
# | #define PACKAGE_STRING "gif2png 2.5.9"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "gif2png"
# | #define VERSION "2.5.9"
# | /* end confdefs.h. */
# | #include
# configure:3648: result: arm-linux-androideabi-gcc -E
# configure:3668: arm-linux-androideabi-gcc -E conftest.c
# configure:3668: $? = 0
# configure:3682: arm-linux-androideabi-gcc -E conftest.c
# conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
# #include
# ^
# compilation terminated.
# configure:3682: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "gif2png"
# | #define PACKAGE_TARNAME "gif2png"
# | #define PACKAGE_VERSION "2.5.9"
# | #define PACKAGE_STRING "gif2png 2.5.9"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "gif2png"
# | #define VERSION "2.5.9"
# | /* end confdefs.h. */
# | #include
# configure:3710: checking whether arm-linux-androideabi-gcc and cc understand -c and -o together
# configure:3741: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o >&5
# configure:3745: $? = 0
# configure:3751: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o >&5
# configure:3755: $? = 0
# configure:3766: cc -c conftest.c >&5
# cc1: error: no include path in which to search for stdc-predef.h
# configure:3770: $? = 1
# configure:3810: result: yes
# configure:3822: checking for grep that handles long lines and -e
# configure:3880: result: /usr/sbin/grep
# configure:3885: checking for egrep
# configure:3947: result: /usr/sbin/grep -E
# configure:3952: checking for ANSI C header files
# configure:3972: arm-linux-androideabi-gcc -c conftest.c >&5
# configure:3972: $? = 0
# configure:4056: result: yes
# configure:4087: checking for deflate in -lz
# configure:4112: arm-linux-androideabi-gcc -o conftest conftest.c -lz >&5
# configure:4112: $? = 0
# configure:4121: result: yes
# configure:4132: checking for pow in -lm
# configure:4157: arm-linux-androideabi-gcc -o conftest conftest.c -lm -lz >&5
# conftest.c:20:6: warning: conflicting types for built-in function 'pow' [enabled by default]
# char pow ();
# ^
# configure:4157: $? = 0
# configure:4166: result: yes
# configure:4177: checking for png_get_io_ptr in -lpng
# configure:4202: arm-linux-androideabi-gcc -o conftest conftest.c -lpng -lm -lz -lm -lz >&5
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpng
# /tmp/ccYo0KRp.o:conftest.c:function main: error: undefined reference to 'png_get_io_ptr'
# collect2: error: ld returned 1 exit status
# configure:4202: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "gif2png"
# | #define PACKAGE_TARNAME "gif2png"
# | #define PACKAGE_VERSION "2.5.9"
# | #define PACKAGE_STRING "gif2png 2.5.9"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "gif2png"
# | #define VERSION "2.5.9"
# | #define STDC_HEADERS 1
# | #define HAVE_LIBZ 1
# | #define HAVE_LIBM 1
# | /* 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 png_get_io_ptr ();
# | int
# | main ()
# | {
# | return png_get_io_ptr ();
# | ;
# | return 0;
# | }
# configure:4211: result: no
# configure:4225: error: PNG library is missing! Please get it.
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=arm-linux-androideabi-gcc
# 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_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=set
# ac_cv_env_build_alias_value=x86_64-unknown-linux
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=arm-linux-androideabi
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_header_stdc=yes
# ac_cv_lib_m_pow=yes
# ac_cv_lib_png_png_get_io_ptr=no
# ac_cv_lib_z_deflate=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=arm-linux-androideabi-gcc
# ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
# ac_cv_prog_STRIP=arm-linux-androideabi-strip
# ac_cv_prog_cc_arm_linux_androideabi_gcc_c_o=yes
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='aclocal-1.14'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AUTOCONF='autoconf'
# AUTOHEADER='autoheader'
# AUTOMAKE='automake-1.14'
# AWK='gawk'
# CC='arm-linux-androideabi-gcc'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='arm-linux-androideabi-gcc -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS=''
# DEPDIR='.deps'
# 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}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS='-lm -lz '
# LTLIBOBJS=''
# MAKEINFO='makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='gif2png'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='gif2png'
# PACKAGE_STRING='gif2png 2.5.9'
# PACKAGE_TARNAME='gif2png'
# PACKAGE_URL=''
# PACKAGE_VERSION='2.5.9'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='arm-linux-androideabi-strip'
# VERSION='2.5.9'
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build_alias='x86_64-unknown-linux'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# host_alias='arm-linux-androideabi'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/gif2png/src/gif2png-2.5.9/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='/usr/share/man'
# mkdir_p='$(MKDIR_P)'
# 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 "gif2png"
# #define PACKAGE_TARNAME "gif2png"
# #define PACKAGE_VERSION "2.5.9"
# #define PACKAGE_STRING "gif2png 2.5.9"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "gif2png"
# #define VERSION "2.5.9"
# #define STDC_HEADERS 1
# #define HAVE_LIBZ 1
# #define HAVE_LIBM 1
#
# configure: exit 1