>>> libsvg 0.1.4 Extracting gzip -d -c /workdir/instance-0/dl/libsvg/libsvg-0.1.4.tar.gz | /workdir/instance-0/output-1/host/bin/tar --strip-components=1 -C /workdir/instance-0/output-1/build/libsvg-0.1.4 -xf - >>> libsvg 0.1.4 Patching Applying 0001-fix-expat-static-declaration.patch using patch: patching file src/svg_parser_expat.c Applying 0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch using patch: patching file src/svg_image.c >>> libsvg 0.1.4 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /workdir/instance-0/output-1/build/libsvg-0.1.4 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libsvg 0.1.4 Patching libtool patching file /workdir/instance-0/output-1/build/libsvg-0.1.4/ltmain.sh Hunk #1 succeeded at 234 (offset 8 lines). Hunk #2 succeeded at 381 (offset 133 lines). Hunk #3 succeeded at 1385 (offset 141 lines). Hunk #4 succeeded at 2327 with fuzz 2 (offset 174 lines). Hunk #5 succeeded at 2467 (offset 182 lines). Hunk #6 succeeded at 5216 (offset 34 lines). Hunk #7 succeeded at 5538 (offset 34 lines). >>> libsvg 0.1.4 Configuring (cd /workdir/instance-0/output-1/build/libsvg-0.1.4/ && rm -rf config.cache && GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar" AS="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-as" LD="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld" NM="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-nm" CC="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" GCC="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" CPP="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-cpp" CXX="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-g++" FC="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran" F77="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran" RANLIB="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ranlib" READELF="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-objcopy" OBJDUMP="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/workdir/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -g0 -static" FFLAGS=" -O2 -g0 -static" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/workdir/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes CONFIG_SITE=/dev/null ./configure --target=sparc-buildroot-linux-uclibc --host=sparc-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared --with-libxml2 ) configure: loading site script /dev/null 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 sparc-buildroot-linux-uclibc-strip... /bin/true checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for sparc-buildroot-linux-uclibc-gcc... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc 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 /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc accepts -g... yes checking for /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc option to accept ANSI C... none needed checking dependency style of /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc... none checking for library containing strerror... none required checking for sparc-buildroot-linux-uclibc-gcc... (cached) /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc accepts -g... (cached) yes checking for /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc option to accept ANSI C... (cached) none needed checking dependency style of /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc... (cached) none checking how to run the C preprocessor... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-cpp checking for gawk... (cached) gawk checking build system type... x86_64-pc-linux-gnu checking host system type... sparc-buildroot-linux-uclibc checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld checking if the linker (/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld) is GNU ld... yes checking for /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld option to reload object files... -r checking for BSD-compatible nm... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... no checking dlfcn.h presence... no checking for dlfcn.h... no checking for sparc-buildroot-linux-uclibc-g++... no checking whether we are using the GNU C++ compiler... no checking whether no accepts -g... no checking dependency style of no... none checking for sparc-buildroot-linux-uclibc-g77... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran checking whether we are using the GNU Fortran 77 compiler... no checking whether /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-nm output from /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc object... ok checking for objdir... .libs checking for sparc-buildroot-linux-uclibc-ar... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar checking for sparc-buildroot-linux-uclibc-ranlib... /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ranlib checking for sparc-buildroot-linux-uclibc-strip... (cached) /bin/true checking if /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc static flag works... yes checking if /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC checking if /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc PIC flag -fPIC works... yes checking if /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking whether the /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc linker (/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld) supports shared libraries... yes checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran option to produce PIC... -fPIC checking if /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran PIC flag -fPIC works... no checking if /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran supports -c -o file.o... no checking whether the /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran linker (/workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-ld) supports shared libraries... yes checking dynamic linker characteristics... ./configure: line 15640: /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran: No such file or directory cat: 'ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking for ANSI C header files... (cached) yes checking whether libexpat is requested... no checking for libxml-2.0 >= 2.4.7 ... yes checking LIBSVG_CFLAGS... -I/workdir/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libxml2 checking LIBSVG_LIBS... -L/workdir/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lxml2 -L/workdir/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/workdir/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib -lz -lm configure: creating ./config.status config.status: creating libsvg.spec config.status: creating libsvg.pc config.status: creating src/svg_version.h config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands >>> libsvg 0.1.4 Building GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j1 -C /workdir/instance-0/output-1/build/libsvg-0.1.4/ make[1]: Entering directory '/workdir/instance-0/output-1/build/libsvg-0.1.4' /usr/bin/make all-recursive make[2]: Entering directory '/workdir/instance-0/output-1/build/libsvg-0.1.4' Making all in . make[3]: Entering directory '/workdir/instance-0/output-1/build/libsvg-0.1.4' make[3]: Leaving directory '/workdir/instance-0/output-1/build/libsvg-0.1.4' Making all in src make[3]: Entering directory '/workdir/instance-0/output-1/build/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/workdir/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o svg.lo svg.c /workdir/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/workdir/instance-0/output-1/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c svg.c -o svg.o svg.c: In function 'svg_create': svg.c:39:12: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 39 | *svg = malloc (sizeof (svg_t)); | ^~~~~~ svg.c:32:1: note: include '' or provide a declaration of 'malloc' 31 | #include "svgint.h" +++ |+#include 32 | svg.c:39:12: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 39 | *svg = malloc (sizeof (svg_t)); | ^~~~~~ svg.c:39:12: note: include '' or provide a declaration of 'malloc' svg.c: In function '_svg_deinit': svg.c:68:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 68 | free (svg->dir_name); | ^~~~ svg.c:68:5: note: include '' or provide a declaration of 'free' svg.c:68:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] svg.c:68:5: note: include '' or provide a declaration of 'free' svg.c: In function 'svg_destroy': svg.c:88:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 88 | free (svg); | ^~~~ svg.c:88:5: note: include '' or provide a declaration of 'free' svg.c: In function 'svg_parse': svg.c:145:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 145 | free (svg->dir_name); | ^~~~ svg.c:145:5: note: include '' or provide a declaration of 'free' make[3]: *** [Makefile:344: svg.lo] Error 1 make[3]: Leaving directory '/workdir/instance-0/output-1/build/libsvg-0.1.4/src' make[2]: *** [Makefile:304: all-recursive] Error 1 make[2]: Leaving directory '/workdir/instance-0/output-1/build/libsvg-0.1.4' make[1]: *** [Makefile:212: all] Error 2 make[1]: Leaving directory '/workdir/instance-0/output-1/build/libsvg-0.1.4' make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/libsvg-0.1.4/.stamp_built] Error 2 make: Leaving directory '/workdir/instance-0/buildroot'