>>> pkgconf 2.3.0 Extracting xzcat /home/buildroot/instance-0/dl/pkgconf/pkgconf-2.3.0.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/pkgconf-2.3.0 -xf - >>> pkgconf 2.3.0 Patching Applying 0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch using patch: patching file libpkgconf/tuple.c >>> pkgconf 2.3.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/pkgconf-2.3.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> pkgconf 2.3.0 Patching libtool patching file /home/buildroot/instance-0/output-1/build/pkgconf-2.3.0/ltmain.sh Hunk #1 succeeded at 2947 (offset 260 lines). Hunk #2 succeeded at 4540 (offset 263 lines). Hunk #3 succeeded at 6836 (offset 282 lines). Hunk #4 succeeded at 6846 (offset 282 lines). Hunk #5 succeeded at 7146 (offset 289 lines). Hunk #6 succeeded at 7450 (offset 301 lines). Hunk #7 succeeded at 8426 (offset 314 lines). Hunk #8 succeeded at 11064 (offset 354 lines). >>> pkgconf 2.3.0 Configuring (cd /home/buildroot/instance-0/output-1/build/pkgconf-2.3.0/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/riscv64-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/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/riscv64-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 -fPIC -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -O2 -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -O2 -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/riscv64-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=no CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-uclibc --host=riscv64-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 ) 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 for riscv64-buildroot-linux-uclibc-gcc... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-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 the compiler supports GNU C... yes checking whether /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to enable C11 features... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -std=gnu99... yes checking for /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc options needed to detect all undeclared functions... none needed checking whether strlcpy is declared... yes checking whether strlcat is declared... yes checking whether strndup is declared... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether reallocarray is declared... yes checking for sys/stat.h... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for riscv64-buildroot-linux-uclibc-strip... /bin/true checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking xargs -n works... yes checking dependency style of /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-uclibc 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 /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-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 riscv64-buildroot-linux-uclibc 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 /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld option to reload object files... -r checking for riscv64-buildroot-linux-uclibc-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for riscv64-buildroot-linux-uclibc-objdump... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-uclibc-ar... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-uclibc-strip... (cached) /bin/true checking for riscv64-buildroot-linux-uclibc-ranlib... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-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 riscv64-buildroot-linux-uclibc-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... no checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc linker (/home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld) supports shared libraries... yes checking dynamic linker characteristics... 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 checking for /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to enable large file support... none needed checking how to run the C preprocessor... /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp checking for riscv64-buildroot-linux-uclibc-gcc... (cached) /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... (cached) yes checking for /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to enable C11 features... (cached) none needed checking whether /home/buildroot/instance-0/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc understands -c and -o together... (cached) yes checking whether ln -s works... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Kyuafile config.status: creating libpkgconf.pc config.status: creating tests/Kyuafile config.status: creating tests/test_env.sh config.status: creating libpkgconf/config.h config.status: executing depfiles commands config.status: executing libtool commands 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 >>> pkgconf 2.3.0 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/pkgconf-2.3.0/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/pkgconf-2.3.0' CC cli/pkgconf-main.o CC cli/pkgconf-getopt_long.o CC cli/pkgconf-renderer-msvc.o CC libpkgconf/audit.lo CC libpkgconf/cache.lo CC libpkgconf/client.lo CC libpkgconf/pkg.lo CC libpkgconf/bsdstubs.lo CC libpkgconf/fragment.lo CC libpkgconf/argvsplit.lo CC libpkgconf/fileio.lo CC libpkgconf/tuple.lo CC libpkgconf/dependency.lo CC libpkgconf/queue.lo CC libpkgconf/path.lo CC libpkgconf/personality.lo CC libpkgconf/parser.lo CC cli/bomtool/bomtool-main.o CC cli/bomtool-getopt_long.o CCLD libpkgconf.la CCLD pkgconf CCLD bomtool /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/bin/ld.real: ./.libs/libpkgconf.a(bsdstubs.o): in function `pkgconf_strlcat': bsdstubs.c:(.text+0xc): undefined reference to `reallocarray' /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-uclibc/bin/ld.real: ./.libs/libpkgconf.a(bsdstubs.o): in function `pkgconf_strlcat': bsdstubs.c:(.text+0xc): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make[1]: *** [Makefile:790: bomtool] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:800: pkgconf] Error 1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/pkgconf-2.3.0' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/pkgconf-2.3.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'