>>> libsvg 0.1.4 Downloading wget -nd -t 3 -O '/home/buildroot/autobuild/instance-3/output-1/build/.libsvg-0.1.4.tar.gz.M2visb/output' 'http://cairographics.org/snapshots/libsvg-0.1.4.tar.gz' --2024-09-23 22:14:39-- http://cairographics.org/snapshots/libsvg-0.1.4.tar.gz Resolving cairographics.org (cairographics.org)... 131.252.210.176 Connecting to cairographics.org (cairographics.org)|131.252.210.176|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.cairographics.org/snapshots/libsvg-0.1.4.tar.gz [following] --2024-09-23 22:14:39-- https://www.cairographics.org/snapshots/libsvg-0.1.4.tar.gz Resolving www.cairographics.org (www.cairographics.org)... 131.252.210.176 Connecting to www.cairographics.org (www.cairographics.org)|131.252.210.176|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 366688 (358K) [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-3/output-1/build/.libsvg-0.1.4.tar.gz.M2visb/output' 0K .......... .......... .......... .......... .......... 13% 8.41M 0s 50K .......... .......... .......... .......... .......... 27% 17.2M 0s 100K .......... .......... .......... .......... .......... 41% 38.3M 0s 150K .......... .......... .......... .......... .......... 55% 31.5M 0s 200K .......... .......... .......... .......... .......... 69% 36.1M 0s 250K .......... .......... .......... .......... .......... 83% 43.9M 0s 300K .......... .......... .......... .......... .......... 97% 44.2M 0s 350K ........ 100% 45.1M=0.02s 2024-09-23 22:14:39 (23.0 MB/s) - '/home/buildroot/autobuild/instance-3/output-1/build/.libsvg-0.1.4.tar.gz.M2visb/output' saved [366688/366688] libsvg-0.1.4.tar.gz: OK (md5: ce0715e3013f78506795fba16e8455d3) libsvg-0.1.4.tar.gz: OK (sha256: 4c3bf9292e676a72b12338691be64d0f38cd7f2ea5e8b67fbbf45f1ed404bc8f) >>> libsvg 0.1.4 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/libsvg/libsvg-0.1.4.tar.gz | /home/buildroot/autobuild/instance-3/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/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 Hunk #2 succeeded at 44 with fuzz 1. 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 /home/buildroot/autobuild/instance-3/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 /home/buildroot/autobuild/instance-3/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 /home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" AR="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc-ar" AS="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-as" LD="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-ld" NM="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc-nm" CC="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc" GCC="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc" CPP="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-cpp" CXX="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-g++" FC="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran" F77="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran" RANLIB="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-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/home/buildroot/autobuild/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-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 -O3 -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -O3 -g0" FFLAGS=" -O3 -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-3/output-1/host/m68k-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=no 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=m68k-buildroot-linux-gnu --host=m68k-buildroot-linux-gnu --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 --disable-static --enable-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 m68k-buildroot-linux-gnu-strip... /bin/true checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for m68k-buildroot-linux-gnu-gcc... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-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 /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc... none checking for library containing strerror... none required checking for m68k-buildroot-linux-gnu-gcc... (cached) /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc accepts -g... (cached) yes checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking dependency style of /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc... (cached) none checking how to run the C preprocessor... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-cpp checking for gawk... (cached) gawk checking build system type... x86_64-pc-linux-gnu checking host system type... m68k-buildroot-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-ld checking if the linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-ld) is GNU ld... yes checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-ld option to reload object files... -r checking for BSD-compatible nm... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-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... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for m68k-buildroot-linux-gnu-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 m68k-buildroot-linux-gnu-g77... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... no checking whether /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc-nm output from /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc object... ok checking for objdir... .libs checking for m68k-buildroot-linux-gnu-ar... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc-ar checking for m68k-buildroot-linux-gnu-ranlib... /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc-ranlib checking for m68k-buildroot-linux-gnu-strip... (cached) /bin/true checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc static flag works... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc option to produce PIC... -fPIC checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc PIC flag -fPIC works... yes checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc supports -c -o file.o... yes checking whether the /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no 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... yes checking whether to build static libraries... no checking for /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran option to produce PIC... -fPIC checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran PIC flag -fPIC works... no checking if /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran supports -c -o file.o... no checking whether the /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gfortran linker (/home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-ld) supports shared libraries... yes checking dynamic linker characteristics... ./configure: line 15640: /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-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/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/sysroot/usr/include/libxml2 checking LIBSVG_LIBS... -L/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/sysroot/usr/lib -lxml2 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="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4/ make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4' Making all in . make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4' Making all in src make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4/src' /bin/sh ../libtool --mode=compile --tag=CC /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c -o svg.lo svg.c /bin/sh ../libtool --mode=compile --tag=CC /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c -o svg_ascii.lo svg_ascii.c /bin/sh ../libtool --mode=compile --tag=CC /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c -o svg_attribute.lo svg_attribute.c /bin/sh ../libtool --mode=compile --tag=CC /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c -o svg_color.lo svg_color.c mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c svg.c -fPIC -DPIC -o .libs/svg.o /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c svg_ascii.c -fPIC -DPIC -o .libs/svg_ascii.o /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c svg_attribute.c -fPIC -DPIC -o .libs/svg_attribute.o /home/buildroot/autobuild/instance-3/output-1/host/bin/m68k-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/buildroot/autobuild/instance-3/output-1/host/bin/../m68k-buildroot-linux-gnu/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 -O3 -g0 -D_FORTIFY_SOURCE=2 -c svg_color.c -fPIC -DPIC -o .libs/svg_color.o svg_color.c: In function '_svg_color_init_from_str': svg_color.c:345:11: error: implicit declaration of function 'bsearch' [-Wimplicit-function-declaration] 345 | map = bsearch (str, SVG_COLOR_MAP, | ^~~~~~~ svg_color.c:345:11: warning: nested extern declaration of 'bsearch' [-Wnested-externs] svg_color.c:345:9: error: assignment to 'svg_color_map_t *' {aka 'struct svg_color_map *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 345 | map = bsearch (str, SVG_COLOR_MAP, | ^ 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' svg.c: In function 'svg_render': svg.c:219:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | getcwd (orig_dir, MAXPATHLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svg.c:220:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | chdir (svg->dir_name); | ^~~~~~~~~~~~~~~~~~~~~ svg.c:224:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | chdir (orig_dir); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:344: svg_color.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:344: svg.lo] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4/src' make[2]: *** [Makefile:304: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4' make[1]: *** [Makefile:212: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4' make: *** [package/pkg-generic.mk:283: /home/buildroot/autobuild/instance-3/output-1/build/libsvg-0.1.4/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'