>>> 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/mtd-2.1.2 -xf - >>> mtd 2.1.2 Patching >>> 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/mtd-2.1.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> mtd 2.1.2 Patching libtool patching file /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/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). >>> mtd 2.1.2 Configuring (cd /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/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" AR="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ar" AS="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-as" LD="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ld" NM="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-nm" CC="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc" GCC="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc" CPP="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-cpp" CXX="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-g++" FC="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gfortran" F77="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gfortran" RANLIB="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ranlib" READELF="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-readelf" STRIP="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-strip" OBJCOPY="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-objcopy" OBJDUMP="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-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" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-as" DEFAULT_LINKER="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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 -g0 -DNDEBUG -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os -g0 -DNDEBUG" FFLAGS=" -Os -g0 -DNDEBUG" PKG_CONFIG="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/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 CONFIG_SITE=/dev/null ./configure --target=riscv32-buildroot-linux-gnu --host=riscv32-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-jffs --without-ubifs --disable-tests --disable-install-tests --with-xattr ) 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 a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv32-buildroot-linux-gnu-strip... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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 whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... riscv32-buildroot-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv32-buildroot-linux-gnu-gcc... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc accepts -g... yes checking for /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc option to accept ISO C89... none needed checking whether /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc understands -c and -o together... yes checking dependency style of /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-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 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ld checking if the linker (/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-nm checking the name lister (/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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 riscv32-buildroot-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 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ld option to reload object files... -r checking for riscv32-buildroot-linux-gnu-objdump... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-objdump checking how to recognize dependent libraries... pass_all checking for riscv32-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv32-buildroot-linux-gnu-ar... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ar checking for archiver @FILE support... @ checking for riscv32-buildroot-linux-gnu-strip... (cached) /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-strip checking for riscv32-buildroot-linux-gnu-ranlib... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ranlib checking command to parse /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-nm output from /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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 riscv32-buildroot-linux-gnu-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... /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-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... yes checking for objdir... .libs checking if /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc option to produce PIC... -fPIC -DPIC checking if /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc static flag -static works... yes checking if /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o... yes checking if /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o... (cached) yes checking whether the /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc linker (/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-ld) 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 riscv32-buildroot-linux-gnu-gcc... (cached) /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc accepts -g... (cached) yes checking for /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc option to accept ISO C89... (cached) none needed checking whether /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-gcc understands -c and -o together... (cached) yes checking dependency style of /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/bin/riscv32-linux-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... yes checking whether compiler handles -Wduplicated-branches... yes checking whether compiler handles -Wrestrict... yes checking whether compiler handles -Wnull-dereference... yes checking whether compiler handles -Wno-shadow... yes checking whether compiler handles -Wno-sign-compare... yes checking for ZLIB... yes checking for lzo1x_1_15_compress in -llzo2... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes 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, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> 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" /usr/bin/make -j4 -C /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/ make[1]: Entering directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/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 lib/libiniparser.c: In function 'iniparser_load': lib/libiniparser.c:560:30: warning: '%s' directive writing up to 1024 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] 560 | sprintf(tmp, "%s:%s", section, key); | ^~ ~~~ In file included from /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from ./include/libiniparser.h:24, from lib/libiniparser.c:18: /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 2050 bytes into a destination of size 1025 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/libscan.o CC ubi-utils/ubirename.o CC ubi-utils/mtdinfo.o CC ubi-utils/ubirsvol.o In file included from ubi-utils/mtdinfo.c:34: ./include/libubigen.h:124:18: warning: 'struct ubi_ec_hdr' declared inside parameter list will not be visible outside of this definition or declaration 124 | struct ubi_ec_hdr *hdr, long long ec); | ^~~~~~~~~~ ./include/libubigen.h:140:12: warning: 'struct ubi_vid_hdr' declared inside parameter list will not be visible outside of this definition or declaration 140 | struct ubi_vid_hdr *hdr, int lnum, | ^~~~~~~~~~~ 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 CC misc-utils/lsmtd-lsmtd.o misc-utils/flashcp.c: In function 'main': misc-utils/flashcp.c:264:2: warning: #warning "Check for smaller erase regions" [-Wcpp] 264 | #warning "Check for smaller erase regions" | ^~~~~~~ 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] 165 | free(dumpfile); | ^~~~~~~~ In file included from nand-utils/nanddump.c:23: /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'const char *' 565 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ CC nand-utils/nandtest.o nand-utils/nandwrite.c: In function 'main': nand-utils/nandwrite.c:550:15: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 550 | } else if (cnt == 0) { | ^ CC nand-utils/nftldump.o CC nand-utils/nftl_format.o CC nor-utils/rfddump.o CC nor-utils/rfdformat.o CC jffsX-utils/mkfs_jffs2-mkfs.jffs2.o CC jffsX-utils/mkfs_jffs2-compr_zlib.o CC jffsX-utils/mkfs_jffs2-rbtree.o CC jffsX-utils/mkfs_jffs2-compr_lzo.o CC jffsX-utils/mkfs_jffs2-compr.o CC jffsX-utils/mkfs_jffs2-compr_rtime.o CC jffsX-utils/jffs2dump.o CC jffsX-utils/jffs2reader.o jffsX-utils/jffs2reader.c: In function 'printdir': jffsX-utils/jffs2reader.c:340:37: warning: taking address of packed member of 'struct jffs2_raw_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 340 | filetime = ctime((const time_t *) &(ri->ctime)); | ^~~~~~~~~~~~ CC jffsX-utils/sumtool.o jffsX-utils/jffs2reader.c: In function 'resolvepath0': jffsX-utils/jffs2reader.c:691:6: warning: potential null pointer dereference [-Wnull-dereference] 691 | if (*path == '/') { | ^~~~~ AR libmissing.a AR libmtd.a AR libubi.a AR libubigen.a AR libiniparser.a AR libscan.a CCLD ubirename CCLD mtdinfo CCLD ubirsvol CCLD ubiblock CCLD ftl_format CCLD doc_loadbios CCLD ftl_check CCLD mtd_debug CCLD docfdisk CCLD serve_image CCLD recv_image CCLD flash_erase CCLD flash_lock CCLD flash_unlock CCLD flash_otp_info CCLD flash_otp_dump CCLD flash_otp_lock CCLD flash_otp_write CCLD flashcp CCLD mtdpart CCLD lsmtd CCLD nanddump CCLD nandwrite CCLD nandtest CCLD nftldump CCLD nftl_format CCLD rfddump CCLD rfdformat CCLD mkfs.jffs2 CCLD jffs2dump CCLD jffs2reader CCLD sumtool CCLD ubiupdatevol CCLD ubimkvol CCLD ubirmvol CCLD ubicrc32 CCLD ubinfo CCLD ubiattach CCLD ubidetach CCLD ubinize CCLD ubiformat make[1]: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2' >>> mtd 2.1.2 Installing to staging directory 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" /usr/bin/make -j4 DESTDIR=/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot install -C /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/ make[1]: Entering directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2' make[2]: Entering directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2' /bin/mkdir -p '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin' /bin/mkdir -p '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin' /bin/mkdir -p '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/share/man/man1' /bin/mkdir -p '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/share/man/man8' /usr/bin/install -c misc-utils/flash_eraseall '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin' /bin/bash ./libtool --mode=install /usr/bin/install -c ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol ubiblock ftl_format doc_loadbios ftl_check mtd_debug docfdisk serve_image recv_image flash_erase flash_lock flash_unlock flash_otp_info flash_otp_dump flash_otp_lock flash_otp_write flashcp mtdpart lsmtd nanddump nandwrite nandtest nftldump nftl_format rfddump rfdformat mkfs.jffs2 jffs2dump jffs2reader sumtool '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin' /usr/bin/install -c -m 644 jffsX-utils/mkfs.jffs2.1 '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/share/man/man1' /usr/bin/install -c -m 644 ubi-utils/ubinize.8 misc-utils/lsmtd.8 '/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/share/man/man8' libtool: install: /usr/bin/install -c ubiupdatevol /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubiupdatevol libtool: install: /usr/bin/install -c ubimkvol /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubimkvol libtool: install: /usr/bin/install -c ubirmvol /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubirmvol libtool: install: /usr/bin/install -c ubicrc32 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubicrc32 libtool: install: /usr/bin/install -c ubinfo /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubinfo libtool: install: /usr/bin/install -c ubiattach /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubiattach libtool: install: /usr/bin/install -c ubidetach /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubidetach libtool: install: /usr/bin/install -c ubinize /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubinize libtool: install: /usr/bin/install -c ubiformat /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubiformat libtool: install: /usr/bin/install -c ubirename /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubirename libtool: install: /usr/bin/install -c mtdinfo /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/mtdinfo libtool: install: /usr/bin/install -c ubirsvol /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubirsvol libtool: install: /usr/bin/install -c ubiblock /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ubiblock libtool: install: /usr/bin/install -c ftl_format /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ftl_format libtool: install: /usr/bin/install -c doc_loadbios /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/doc_loadbios libtool: install: /usr/bin/install -c ftl_check /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/ftl_check libtool: install: /usr/bin/install -c mtd_debug /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/mtd_debug libtool: install: /usr/bin/install -c docfdisk /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/docfdisk libtool: install: /usr/bin/install -c serve_image /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/serve_image libtool: install: /usr/bin/install -c recv_image /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/recv_image libtool: install: /usr/bin/install -c flash_erase /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_erase libtool: install: /usr/bin/install -c flash_lock /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_lock libtool: install: /usr/bin/install -c flash_unlock /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_unlock libtool: install: /usr/bin/install -c flash_otp_info /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_otp_info libtool: install: /usr/bin/install -c flash_otp_dump /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_otp_dump libtool: install: /usr/bin/install -c flash_otp_lock /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_otp_lock libtool: install: /usr/bin/install -c flash_otp_write /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flash_otp_write libtool: install: /usr/bin/install -c flashcp /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/flashcp libtool: install: /usr/bin/install -c mtdpart /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/mtdpart libtool: install: /usr/bin/install -c lsmtd /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/lsmtd libtool: install: /usr/bin/install -c nanddump /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/nanddump libtool: install: /usr/bin/install -c nandwrite /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/nandwrite libtool: install: /usr/bin/install -c nandtest /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/nandtest libtool: install: /usr/bin/install -c nftldump /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/nftldump libtool: install: /usr/bin/install -c nftl_format /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/nftl_format libtool: install: /usr/bin/install -c rfddump /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/rfddump libtool: install: /usr/bin/install -c rfdformat /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/rfdformat libtool: install: /usr/bin/install -c mkfs.jffs2 /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/mkfs.jffs2 libtool: install: /usr/bin/install -c jffs2dump /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/jffs2dump libtool: install: /usr/bin/install -c jffs2reader /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/jffs2reader libtool: install: /usr/bin/install -c sumtool /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/sbin/sumtool make[2]: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2' make[1]: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2' /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/include/libmtd.h /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/mtd/libmtd.h /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/include/libubi.h /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/mtd/libubi.h /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/include/mtd/ubi-media.h /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/mtd/ubi-media.h /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/libmtd.a /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libmtd.a /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/libubi.a /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libubi.a >>> mtd 2.1.2 Fixing libtool files for la in $(find /nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /bin/sed -i -e "s:/nvme/rc-buildroot-test/scripts/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/nvme/rc-buildroot-test/scripts/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/nvme/rc-buildroot-test/scripts/instance-0/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> mtd 2.1.2 Installing to target /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/doc_loadbios /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/doc_loadbios /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/flash_lock /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/flash_lock /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/flash_otp_dump /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/flash_otp_dump /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/ftl_check /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/ftl_check /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/jffs2dump /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/jffs2dump /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/mkfs.jffs2 /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/mkfs.jffs2 /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/mtd_debug /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/mtd_debug /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/nandtest /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/nandtest /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/nandwrite /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/nandwrite /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/recv_image /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/recv_image /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/mtdinfo /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/mtdinfo /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/ubicrc32 /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/ubicrc32 /usr/bin/install -D -m 0755 /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/ubihealthd /nvme/rc-buildroot-test/scripts/instance-0/output-1/target/usr/sbin/ubihealthd /usr/bin/install: cannot stat '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/ubihealthd': No such file or directory package/pkg-generic.mk:338: recipe for target '/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/.stamp_target_installed' failed make: *** [/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/mtd-2.1.2/.stamp_target_installed] Error 1 make: Leaving directory '/nvme/rc-buildroot-test/scripts/instance-0/buildroot'