>>> gd 2.2.5 Extracting xzcat /tmp/instance-0/dl/gd/libgd-2.2.5.tar.xz | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/output-1/build/gd-2.2.5 -xf - >>> gd 2.2.5 Patching Applying 0001-bmp-check-return-value-in-gdImageBmpPtr.patch using patch: patching file src/gd_bmp.c Applying 0002-Fix-420-Potential-infinite-loop-in-gdImageCreateFrom.patch using patch: patching file src/gd_gif_in.c Applying 0003-Fix-501-Uninitialized-read-in-gdImageCreateFromXbm-C.patch using patch: patching file src/gd_xbm.c Applying 0004-Fix-492-Potential-double-free-in-gdImage-Ptr.patch using patch: patching file src/gd_gif_out.c patching file src/gd_jpeg.c Hunk #1 succeeded at 123 (offset 6 lines). Hunk #2 succeeded at 239 (offset 6 lines). Hunk #3 succeeded at 264 (offset 6 lines). Hunk #4 succeeded at 304 (offset 6 lines). Hunk #5 succeeded at 345 (offset 6 lines). Hunk #6 succeeded at 422 (offset 6 lines). patching file src/gd_wbmp.c Applying 0005-Fix-potential-NULL-pointer-dereference-in-gdImageClone.patch using patch: patching file src/gd.c Hunk #1 succeeded at 2855 (offset -10 lines). Hunk #2 succeeded at 2889 (offset -10 lines). Applying 0006-Fix-497-gdImageColorMatch-Out-Of-Bounds-Write-on-Heap-CVE-2019-6977.patch using patch: patching file src/gd_color_match.c >>> gd 2.2.5 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-0/output-1/build/gd-2.2.5 -name $file); do cp support/gnuconfig/$file $i; done; done >>> gd 2.2.5 Patching libtool patching file /tmp/instance-0/output-1/build/gd-2.2.5/config/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8146 (offset 34 lines). Hunk #8 succeeded at 10778 (offset 68 lines). >>> gd 2.2.5 Configuring (cd /tmp/instance-0/output-1/build/gd-2.2.5/ && rm -rf config.cache && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-linux-ar" AS="/tmp/instance-0/output-1/host/bin/arm-linux-as" LD="/tmp/instance-0/output-1/host/bin/arm-linux-ld" NM="/tmp/instance-0/output-1/host/bin/arm-linux-nm" CC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-linux-g++" FC="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-linux-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/tmp/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-linux-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 -Os -Wl,-elf2flt -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -static" LDFLAGS=" -Wl,-elf2flt -static" FCFLAGS=" -Os -Wl,-elf2flt -static" FFLAGS=" -Os -Wl,-elf2flt -static" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl 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=no LDFLAGS=" -Wl,-elf2flt -static -pthread" CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-uclinux-uclibcgnueabi --host=arm-buildroot-uclinux-uclibcgnueabi --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 --without-x --disable-rpath --disable-werror --with-freetype=/tmp/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr --with-jpeg --with-png --without-webp --with-tiff ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-uclinux-uclibcgnueabi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-uclinux-uclibcgnueabi-strip... /tmp/instance-0/output-1/host/bin/arm-linux-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for arm-buildroot-uclinux-uclibcgnueabi-gcc... /tmp/instance-0/output-1/host/bin/arm-linux-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 /tmp/instance-0/output-1/host/bin/arm-linux-gcc accepts -g... yes checking for /tmp/instance-0/output-1/host/bin/arm-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-0/output-1/host/bin/arm-linux-gcc understands -c and -o together... yes checking dependency style of /tmp/instance-0/output-1/host/bin/arm-linux-gcc... none checking for arm-buildroot-uclinux-uclibcgnueabi-ar... /tmp/instance-0/output-1/host/bin/arm-linux-ar checking the archiver (/tmp/instance-0/output-1/host/bin/arm-linux-ar) interface... ar checking for /tmp/instance-0/output-1/host/bin/arm-linux-gcc option to accept ISO C99... none needed checking for /tmp/instance-0/output-1/host/bin/arm-linux-gcc option to accept ISO Standard C... (cached) none needed checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /tmp/instance-0/output-1/host/bin/arm-linux-gcc... /tmp/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/tmp/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-0/output-1/host/bin/arm-linux-nm checking the name lister (/tmp/instance-0/output-1/host/bin/arm-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-uclinux-uclibcgnueabi format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-0/output-1/host/bin/arm-linux-ld option to reload object files... -r checking for arm-buildroot-uclinux-uclibcgnueabi-objdump... /tmp/instance-0/output-1/host/bin/arm-linux-objdump checking how to recognize dependent libraries... unknown checking for arm-buildroot-uclinux-uclibcgnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-uclinux-uclibcgnueabi-ar... (cached) /tmp/instance-0/output-1/host/bin/arm-linux-ar checking for archiver @FILE support... @ checking for arm-buildroot-uclinux-uclibcgnueabi-strip... (cached) /tmp/instance-0/output-1/host/bin/arm-linux-strip checking for arm-buildroot-uclinux-uclibcgnueabi-ranlib... /tmp/instance-0/output-1/host/bin/arm-linux-ranlib checking command to parse /tmp/instance-0/output-1/host/bin/arm-linux-nm output from /tmp/instance-0/output-1/host/bin/arm-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-buildroot-uclinux-uclibcgnueabi-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... /tmp/instance-0/output-1/host/bin/arm-linux-cpp 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 for dlfcn.h... no checking for objdir... .libs checking if /tmp/instance-0/output-1/host/bin/arm-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-0/output-1/host/bin/arm-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-0/output-1/host/bin/arm-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-0/output-1/host/bin/arm-linux-gcc static flag -static works... yes checking if /tmp/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-0/output-1/host/bin/arm-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-0/output-1/host/bin/arm-linux-gcc linker (/tmp/instance-0/output-1/host/bin/arm-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking pkg-config is at least version 0.9.0... yes checking for X... disabled checking for ANSI C header files... (cached) yes checking for dirent.h... yes checking for errno.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for ld used by /tmp/instance-0/output-1/host/bin/arm-linux-gcc... /tmp/instance-0/output-1/host/bin/arm-linux-ld checking if the linker (/tmp/instance-0/output-1/host/bin/arm-linux-ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... guessing yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking whether iconv.h defines iconv_t... yes checking for sin... yes checking whether /tmp/instance-0/output-1/host/bin/arm-linux-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... no checking for OpenMP flag of C compiler... unknown checking whether to support zlib... auto checking for LIBZ... yes checking whether to support png... yes checking for LIBPNG... yes checking whether to support freetype... /tmp/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr checking for LIBFREETYPE... yes checking whether to support fontconfig... auto checking for LIBFONTCONFIG... no checking for FcInit in -lfontconfig... no configure: Disabling support for fontconfig checking whether to support jpeg... yes checking for jpeg_set_defaults in -ljpeg... no configure: error: jpeg requested but not found make: *** [package/pkg-generic.mk:240: /tmp/instance-0/output-1/build/gd-2.2.5/.stamp_configured] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'