>>> host-mtd 2.1.2 Extracting bzcat /nvme/rc-buildroot-test/scripts/instance-0/dl/mtd/mtd-utils-2.1.2.tar.bz2 | tar --strip-components=1 -C /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2 -xf - >>> host-mtd 2.1.2 Patching >>> host-mtd 2.1.2 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-mtd 2.1.2 Patching libtool patching file /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2/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 8142 (offset 30 lines). Hunk #8 succeeded at 10771 (offset 61 lines). >>> host-mtd 2.1.2 Configuring (cd /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2/ && rm -rf config.cache; PATH="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin" PKG_CONFIG="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib/pkgconfig:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" CFLAGS="-O2 -I/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" CXXFLAGS="-O2 -I/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" LDFLAGS="-L/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" LDFLAGS="-L/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib -Wl,-rpath,/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host" --sysconfdir="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/etc" --localstatedir="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking --with-jffs --with-ubifs --disable-tests ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for gcc... /usr/bin/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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether /usr/bin/gcc understands -c and -o together... yes checking dependency style of /usr/bin/gcc... none 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 /usr/bin/gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/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 x86_64-pc-linux-gnu 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 /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... /usr/bin/ranlib checking command to parse /usr/bin/nm output from /usr/bin/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 mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... /usr/bin/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... yes checking for objdir... .libs checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /usr/bin/gcc static flag -static works... yes checking if /usr/bin/gcc supports -c -o file.o... yes checking if /usr/bin/gcc supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) /usr/bin/gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc accepts -g... (cached) yes checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed checking whether /usr/bin/gcc understands -c and -o together... (cached) yes checking dependency style of /usr/bin/gcc... (cached) none checking pkg-config is at least version 0.9.0... yes checking whether compiler handles -Wall... yes checking whether compiler handles -Wextra... yes checking whether compiler handles -Wunused... yes checking whether compiler handles -Wmissing-prototypes... yes checking whether compiler handles -Wmissing-declarations... yes checking whether compiler handles -Wwrite-strings... yes checking whether compiler handles -Wjump-misses-init... yes checking whether compiler handles -Wuninitialized... yes checking whether compiler handles -Winit-self... yes checking whether compiler handles -Wlogical-op... yes checking whether compiler handles -Wunused-but-set-parameter... yes checking whether compiler handles -Wunused-but-set-variable... yes checking whether compiler handles -Wunused-parameter... yes checking whether compiler handles -Wunused-result... yes checking whether compiler handles -Wunused-variable... yes checking whether compiler handles -Wduplicated-cond... no checking whether compiler handles -Wduplicated-branches... no checking whether compiler handles -Wrestrict... no checking whether compiler handles -Wnull-dereference... no checking whether compiler handles -Wno-shadow... yes checking whether compiler handles -Wno-sign-compare... yes checking for ZLIB... yes checking for UUID... yes checking for lzo1x_1_15_compress in -llzo2... yes checking for ZSTD... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/acl.h usability... no checking sys/acl.h presence... no checking for sys/acl.h... no checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking for OPENSSL... yes checking sys/random.h usability... no checking sys/random.h presence... no checking for sys/random.h... no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes configure: WARNING: cannot find headers for extended attributes configure: WARNING: disabling XATTR support configure: WARNING: cannot find headers for getrandom() function configure: WARNING: disabling UBIFS ubihealthd support checking size of off_t... 8 checking size of loff_t... 8 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating tests/fs-tests/fs_help_all.sh config.status: creating tests/fs-tests/fs_run_all.sh config.status: creating tests/fs-tests/stress/fs_stress00.sh config.status: creating tests/fs-tests/stress/fs_stress01.sh config.status: creating tests/ubi-tests/runubitests.sh config.status: creating tests/ubi-tests/ubi-stress-test.sh config.status: creating Makefile config.status: creating include/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, --disable-debug, --with-xmlto, --with-fop, --disable-nls >>> host-mtd 2.1.2 Building PATH="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin" PKG_CONFIG="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/lib/pkgconfig:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2/ make[1]: Entering directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2' CC lib/execinfo.o CC ubi-utils/ubiupdatevol.o CC lib/libmtd.o CC lib/libfec.o CC lib/common.o CC lib/libcrc32.o CC lib/libmtd_legacy.o CC lib/libubi.o CC ubi-utils/ubimkvol.o CC ubi-utils/ubirmvol.o CC ubi-utils/ubicrc32.o CC ubi-utils/ubinfo.o CC ubi-utils/ubiattach.o CC ubi-utils/ubidetach.o CC ubi-utils/ubinize.o CC lib/libubigen.o CC lib/libiniparser.o CC lib/dictionary.o CC ubi-utils/ubiformat.o CC lib/libscan.o CC ubi-utils/ubirename.o CC ubi-utils/mtdinfo.o In file included from ubi-utils/mtdinfo.c:34:0: ./include/libubigen.h:124:18: warning: 'struct ubi_ec_hdr' declared inside parameter list struct ubi_ec_hdr *hdr, long long ec); ^ ./include/libubigen.h:124:18: warning: its scope is only this definition or declaration, which is probably not what you want ./include/libubigen.h:141:5: warning: 'struct ubi_vid_hdr' declared inside parameter list const void *data, int data_size); ^ CC ubi-utils/ubirsvol.o CC ubi-utils/ubiblock.o CC misc-utils/ftl_format.o CC misc-utils/doc_loadbios.o CC misc-utils/ftl_check.o CC misc-utils/mtd_debug.o CC misc-utils/docfdisk.o CC misc-utils/serve_image.o CC misc-utils/recv_image.o CC misc-utils/flash_erase.o CC misc-utils/flash_lock.o CC misc-utils/flash_unlock.o CC misc-utils/flash_otp_info.o CC misc-utils/flash_otp_dump.o CC misc-utils/flash_otp_lock.o CC misc-utils/flash_otp_write.o CC misc-utils/flashcp.o CC misc-utils/mtdpart.o misc-utils/flashcp.c: In function 'main': misc-utils/flashcp.c:264:2: warning: #warning "Check for smaller erase regions" [-Wcpp] #warning "Check for smaller erase regions" ^ CC misc-utils/lsmtd-lsmtd.o CC misc-utils/lsmtd-lsmtd_scan.o CC nand-utils/nanddump.o CC nand-utils/nandwrite.o nand-utils/nanddump.c: In function 'process_options': nand-utils/nanddump.c:165:10: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free(dumpfile); ^ In file included from nand-utils/nanddump.c:23:0: /usr/include/stdlib.h:483:13: note: expected 'void *' but argument is of type 'const char *' extern void free (void *__ptr) __THROW; ^ CC nand-utils/nandtest.o CC nand-utils/nftldump.o CC nand-utils/nftl_format.o CC nor-utils/rfddump.o CC nor-utils/rfdformat.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crc16.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-lpt.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-compr.o CC ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable.o CC ubifs-utils/mkfs.ubifs/hashtable/mkfs_ubifs-hashtable_itr.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-devtable.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crypto.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-fscrypt.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-sign.o CC jffsX-utils/mkfs_jffs2-mkfs.jffs2.o CC jffsX-utils/mkfs_jffs2-compr_zlib.o CC jffsX-utils/mkfs_jffs2-rbtree.o ubifs-utils/mkfs.ubifs/sign.c:59:29: fatal error: linux/hash_info.h: No such file or directory compilation terminated. Makefile:3616: recipe for target 'ubifs-utils/mkfs.ubifs/mkfs_ubifs-sign.o' failed make[1]: *** [ubifs-utils/mkfs.ubifs/mkfs_ubifs-sign.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2' package/pkg-generic.mk:266: recipe for target '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2/.stamp_built' failed make: *** [/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/host-mtd-2.1.2/.stamp_built] Error 2 make: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/buildroot'