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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/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... /usr/bin/dd checking how to truncate binary pipes... /usr/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 for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no 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 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... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.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, --disable-debug, --with-xmlto, --with-fop, --disable-nls >>> host-mtd 2.1.3 Building PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/tmp/instance-8/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="/tmp/instance-8/output-1/host/lib/pkgconfig:/tmp/instance-8/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /tmp/instance-8/output-1/build/host-mtd-2.1.3/ make[1]: Entering directory '/tmp/instance-8/output-1/build/host-mtd-2.1.3' CC ubi-utils/ubiupdatevol.o CC lib/libmtd.o CC lib/libfec.o In function 'invert_mat', inlined from 'build_decode_matrix' at lib/libfec.c:818:9, inlined from 'fec_decode' at lib/libfec.c:849:13: lib/libfec.c:422:5: warning: 'memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] memset(id_row, '\0', k*sizeof(gf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/libfec.c:422:5: warning: 'memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] CC lib/common.o CC lib/libcrc32.o CC lib/libmtd_legacy.o AR libmtd.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CC lib/libubi.o AR libubi.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD ubiupdatevol CC ubi-utils/ubimkvol.o CCLD ubimkvol CC ubi-utils/ubirmvol.o CCLD ubirmvol CC ubi-utils/ubicrc32.o CCLD ubicrc32 CC ubi-utils/ubinfo.o CCLD ubinfo CC ubi-utils/ubiattach.o CCLD ubiattach CC ubi-utils/ubidetach.o CCLD ubidetach CC ubi-utils/ubinize.o CC lib/libubigen.o AR libubigen.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CC lib/libiniparser.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=] sprintf(tmp, "%s:%s", section, key); ^~ ~~~ lib/libiniparser.c:560:13: note: 'sprintf' output between 2 and 2050 bytes into a destination of size 1025 sprintf(tmp, "%s:%s", section, key); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/dictionary.o AR libiniparser.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD ubinize CC ubi-utils/ubiformat.o CC lib/libscan.o AR libscan.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD ubiformat CC ubi-utils/ubirename.o CCLD ubirename CC ubi-utils/mtdinfo.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 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 struct ubi_vid_hdr *hdr, int lnum, ^~~~~~~~~~~ CCLD mtdinfo CC ubi-utils/ubirsvol.o CCLD ubirsvol CC ubi-utils/ubiblock.o CCLD ubiblock CC ubi-utils/ubihealthd.o CCLD ubihealthd CC misc-utils/ftl_format.o CCLD ftl_format CC misc-utils/doc_loadbios.o CCLD doc_loadbios CC misc-utils/ftl_check.o CCLD ftl_check CC misc-utils/mtd_debug.o CCLD mtd_debug CC misc-utils/docfdisk.o CCLD docfdisk CC misc-utils/serve_image.o CCLD serve_image CC misc-utils/recv_image.o CCLD recv_image CC misc-utils/fectest.o misc-utils/fectest.c: In function 'main': misc-utils/fectest.c:37:11: warning: iteration 47 invokes undefined behavior [-Waggressive-loop-optimizations] srcs[i] = buf + (i * PKT_SIZE); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ misc-utils/fectest.c:36:2: note: within this loop for (i=0; i < NR_PKTS + DROPS; i++) ^~~ CCLD fectest CC misc-utils/flash_erase.o CCLD flash_erase CC misc-utils/flash_lock.o CCLD flash_lock CC misc-utils/flash_unlock.o CCLD flash_unlock CC misc-utils/flash_otp_info.o CCLD flash_otp_info CC misc-utils/flash_otp_dump.o CCLD flash_otp_dump CC misc-utils/flash_otp_lock.o CCLD flash_otp_lock CC misc-utils/flash_otp_erase.o CCLD flash_otp_erase CC misc-utils/flash_otp_write.o CCLD flash_otp_write CC misc-utils/flashcp.o misc-utils/flashcp.c: In function 'main': misc-utils/flashcp.c:277:2: warning: #warning "Check for smaller erase regions" [-Wcpp] #warning "Check for smaller erase regions" ^~~~~~~ CCLD flashcp CC misc-utils/mtdpart.o CCLD mtdpart CC misc-utils/lsmtd-lsmtd.o CC misc-utils/lsmtd-lsmtd_scan.o CCLD lsmtd CC nand-utils/nanddump.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: /usr/include/stdlib.h:563:25: note: expected 'void *' but argument is of type 'const char *' extern void free (void *__ptr) __THROW; ~~~~~~^~~~~ CCLD nanddump CC nand-utils/nandwrite.o CCLD nandwrite CC nand-utils/nandtest.o CCLD nandtest CC nand-utils/nftldump.o CCLD nftldump CC nand-utils/nftl_format.o CCLD nftl_format CC nand-utils/nandflipbits.o nand-utils/nandflipbits.c: In function 'main': nand-utils/nandflipbits.c:206:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "Invalid byte offset %lld (max %lld)\n", ~~~^ %ld bits_to_flip[i].offset, mtdlen); ~~~~~~~~~~~~~~~~~~~~~~ nand-utils/nandflipbits.c:206:54: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "Invalid byte offset %lld (max %lld)\n", ~~~^ %ld bits_to_flip[i].offset, mtdlen); ~~~~~~ CCLD nandflipbits CC nor-utils/rfddump.o CCLD rfddump CC nor-utils/rfdformat.o CCLD rfdformat 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 CCLD mkfs.ubifs 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 CCLD mkfs.jffs2 CC jffsX-utils/jffs2dump-jffs2dump.o CCLD jffs2dump CC jffsX-utils/jffs2reader-jffs2reader.o jffsX-utils/jffs2reader.c: In function 'resolvepath0': jffsX-utils/jffs2reader.c:691:6: warning: potential null pointer dereference [-Wnull-dereference] if (*path == '/') { ^~~~~ CCLD jffs2reader CC jffsX-utils/sumtool.o CCLD sumtool CC lib/execinfo.o AR libmissing.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') make[1]: Leaving directory '/tmp/instance-8/output-1/build/host-mtd-2.1.3' >>> host-mtd 2.1.3 Installing to host directory PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/tmp/instance-8/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="/tmp/instance-8/output-1/host/lib/pkgconfig:/tmp/instance-8/output-1/host/share/pkgconfig" /usr/bin/make -j1 install -C /tmp/instance-8/output-1/build/host-mtd-2.1.3/ make[1]: Entering directory '/tmp/instance-8/output-1/build/host-mtd-2.1.3' make[2]: Entering directory '/tmp/instance-8/output-1/build/host-mtd-2.1.3' /usr/bin/mkdir -p '/tmp/instance-8/output-1/host/sbin' /usr/bin/install -c ubifs-utils/mount.ubifs '/tmp/instance-8/output-1/host/sbin' /usr/bin/mkdir -p '/tmp/instance-8/output-1/host/sbin' /bin/bash ./libtool --mode=install /usr/bin/install -c ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol ubiblock ubihealthd ftl_format doc_loadbios ftl_check mtd_debug docfdisk serve_image recv_image fectest flash_erase flash_lock flash_unlock flash_otp_info flash_otp_dump flash_otp_lock flash_otp_erase flash_otp_write flashcp mtdpart lsmtd nanddump nandwrite nandtest nftldump nftl_format nandflipbits rfddump rfdformat mkfs.ubifs mkfs.jffs2 jffs2dump jffs2reader sumtool '/tmp/instance-8/output-1/host/sbin' libtool: install: /usr/bin/install -c ubiupdatevol /tmp/instance-8/output-1/host/sbin/ubiupdatevol libtool: install: /usr/bin/install -c ubimkvol /tmp/instance-8/output-1/host/sbin/ubimkvol libtool: install: /usr/bin/install -c ubirmvol /tmp/instance-8/output-1/host/sbin/ubirmvol libtool: install: /usr/bin/install -c ubicrc32 /tmp/instance-8/output-1/host/sbin/ubicrc32 libtool: install: /usr/bin/install -c ubinfo /tmp/instance-8/output-1/host/sbin/ubinfo libtool: install: /usr/bin/install -c ubiattach /tmp/instance-8/output-1/host/sbin/ubiattach libtool: install: /usr/bin/install -c ubidetach /tmp/instance-8/output-1/host/sbin/ubidetach libtool: install: /usr/bin/install -c ubinize /tmp/instance-8/output-1/host/sbin/ubinize libtool: install: /usr/bin/install -c ubiformat /tmp/instance-8/output-1/host/sbin/ubiformat libtool: install: /usr/bin/install -c ubirename /tmp/instance-8/output-1/host/sbin/ubirename libtool: install: /usr/bin/install -c mtdinfo /tmp/instance-8/output-1/host/sbin/mtdinfo libtool: install: /usr/bin/install -c ubirsvol /tmp/instance-8/output-1/host/sbin/ubirsvol libtool: install: /usr/bin/install -c ubiblock /tmp/instance-8/output-1/host/sbin/ubiblock libtool: install: /usr/bin/install -c ubihealthd /tmp/instance-8/output-1/host/sbin/ubihealthd libtool: install: /usr/bin/install -c ftl_format /tmp/instance-8/output-1/host/sbin/ftl_format libtool: install: /usr/bin/install -c doc_loadbios /tmp/instance-8/output-1/host/sbin/doc_loadbios libtool: install: /usr/bin/install -c ftl_check /tmp/instance-8/output-1/host/sbin/ftl_check libtool: install: /usr/bin/install -c mtd_debug /tmp/instance-8/output-1/host/sbin/mtd_debug libtool: install: /usr/bin/install -c docfdisk /tmp/instance-8/output-1/host/sbin/docfdisk libtool: install: /usr/bin/install -c serve_image /tmp/instance-8/output-1/host/sbin/serve_image libtool: install: /usr/bin/install -c recv_image /tmp/instance-8/output-1/host/sbin/recv_image libtool: install: /usr/bin/install -c fectest /tmp/instance-8/output-1/host/sbin/fectest libtool: install: /usr/bin/install -c flash_erase /tmp/instance-8/output-1/host/sbin/flash_erase libtool: install: /usr/bin/install -c flash_lock /tmp/instance-8/output-1/host/sbin/flash_lock libtool: install: /usr/bin/install -c flash_unlock /tmp/instance-8/output-1/host/sbin/flash_unlock libtool: install: /usr/bin/install -c flash_otp_info /tmp/instance-8/output-1/host/sbin/flash_otp_info libtool: install: /usr/bin/install -c flash_otp_dump /tmp/instance-8/output-1/host/sbin/flash_otp_dump libtool: install: /usr/bin/install -c flash_otp_lock /tmp/instance-8/output-1/host/sbin/flash_otp_lock libtool: install: /usr/bin/install -c flash_otp_erase /tmp/instance-8/output-1/host/sbin/flash_otp_erase libtool: install: /usr/bin/install -c flash_otp_write /tmp/instance-8/output-1/host/sbin/flash_otp_write libtool: install: /usr/bin/install -c flashcp /tmp/instance-8/output-1/host/sbin/flashcp libtool: install: /usr/bin/install -c mtdpart /tmp/instance-8/output-1/host/sbin/mtdpart libtool: install: /usr/bin/install -c lsmtd /tmp/instance-8/output-1/host/sbin/lsmtd libtool: install: /usr/bin/install -c nanddump /tmp/instance-8/output-1/host/sbin/nanddump libtool: install: /usr/bin/install -c nandwrite /tmp/instance-8/output-1/host/sbin/nandwrite libtool: install: /usr/bin/install -c nandtest /tmp/instance-8/output-1/host/sbin/nandtest libtool: install: /usr/bin/install -c nftldump /tmp/instance-8/output-1/host/sbin/nftldump libtool: install: /usr/bin/install -c nftl_format /tmp/instance-8/output-1/host/sbin/nftl_format libtool: install: /usr/bin/install -c nandflipbits /tmp/instance-8/output-1/host/sbin/nandflipbits libtool: install: /usr/bin/install -c rfddump /tmp/instance-8/output-1/host/sbin/rfddump libtool: install: /usr/bin/install -c rfdformat /tmp/instance-8/output-1/host/sbin/rfdformat libtool: install: /usr/bin/install -c mkfs.ubifs /tmp/instance-8/output-1/host/sbin/mkfs.ubifs libtool: install: /usr/bin/install -c mkfs.jffs2 /tmp/instance-8/output-1/host/sbin/mkfs.jffs2 libtool: install: /usr/bin/install -c jffs2dump /tmp/instance-8/output-1/host/sbin/jffs2dump libtool: install: /usr/bin/install -c jffs2reader /tmp/instance-8/output-1/host/sbin/jffs2reader libtool: install: /usr/bin/install -c sumtool /tmp/instance-8/output-1/host/sbin/sumtool /usr/bin/mkdir -p '/tmp/instance-8/output-1/host/sbin' /usr/bin/install -c misc-utils/flash_eraseall '/tmp/instance-8/output-1/host/sbin' /usr/bin/mkdir -p '/tmp/instance-8/output-1/host/share/man/man1' /usr/bin/install -c -m 644 jffsX-utils/mkfs.jffs2.1 '/tmp/instance-8/output-1/host/share/man/man1' /usr/bin/mkdir -p '/tmp/instance-8/output-1/host/share/man/man8' /usr/bin/install -c -m 644 ubi-utils/ubinize.8 misc-utils/lsmtd.8 '/tmp/instance-8/output-1/host/share/man/man8' make[2]: Leaving directory '/tmp/instance-8/output-1/build/host-mtd-2.1.3' make[1]: Leaving directory '/tmp/instance-8/output-1/build/host-mtd-2.1.3' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-8/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_FCFLAGS@%'-Og', '-g0'@PKG_TARGET_FCFLAGS@%g" -e "s%@TARGET_CC@%/tmp/instance-8/output-1/host/bin/powerpc-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/tmp/instance-8/output-1/host/bin/powerpc-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%ppc%g" -e "s%@TARGET_CPU@%7400%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@BR2_CMAKE@%/tmp/instance-8/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/tmp/instance-8/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/tmp/instance-8/output-1/host%g" -e "s%@STAGING_DIR@%/tmp/instance-8/output-1/host/powerpc-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /tmp/instance-8/buildroot/support/misc/cross-compilation.conf.in > /tmp/instance-8/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/tmp/instance-8/output-1/host/bin/powerpc-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/tmp/instance-8/output-1/host/bin/powerpc-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%ppc%g" -e "s%@TARGET_CPU@%7400%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%'-Og', '-g0'%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Og', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/tmp/instance-8/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/tmp/instance-8/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/tmp/instance-8/output-1/host%g" -e "s%@STAGING_DIR@%/tmp/instance-8/output-1/host/powerpc-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /tmp/instance-8/buildroot/support/misc/cross-compilation.conf.in > /tmp/instance-8/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 115200 vt100 #~' /tmp/instance-8/output-1/target/etc/inittab /usr/bin/sed -i -e '/^[^#].*-o remount,rw \/$/s~^~#~' /tmp/instance-8/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-8/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /tmp/instance-8/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-8/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-8/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /tmp/instance-8/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-8/output-1/target/etc/shells; fi rm -rf /tmp/instance-8/output-1/target/usr/lib/perl5/5.34.1/pod rm -rf /tmp/instance-8/output-1/target/usr/lib/perl5/5.34.1/powerpc-linux/CORE find /tmp/instance-8/output-1/target/usr/lib/perl5/ -name 'extralibs.ld' -print0 | xargs -0 rm -f find /tmp/instance-8/output-1/target/usr/lib/perl5/ -name '*.bs' -print0 | xargs -0 rm -f find /tmp/instance-8/output-1/target/usr/lib/perl5/ -name '.packlist' -print0 | xargs -0 rm -f mkdir -p /tmp/instance-8/output-1/target/etc echo "buildroot" > /tmp/instance-8/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-8/output-1/target/etc/hosts mkdir -p /tmp/instance-8/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-8/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root:"*":, /tmp/instance-8/output-1/target/etc/shadow grep -qsE '^/bin/sh$' /tmp/instance-8/output-1/target/etc/shells || echo "/bin/sh" >> /tmp/instance-8/output-1/target/etc/shells if [ -x /tmp/instance-8/output-1/target/sbin/swapon -a -x /tmp/instance-8/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-8/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-8/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-8/output-1/build/locales.nopurge for dir in /tmp/instance-8/output-1/target/usr/share/locale /tmp/instance-8/output-1/target/usr/share/X11/locale /tmp/instance-8/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-8/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-8/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-8/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-8/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-8/output-1/target/usr/include /tmp/instance-8/output-1/target/usr/share/aclocal \ /tmp/instance-8/output-1/target/usr/lib/pkgconfig /tmp/instance-8/output-1/target/usr/share/pkgconfig \ /tmp/instance-8/output-1/target/usr/lib/cmake /tmp/instance-8/output-1/target/usr/share/cmake \ /tmp/instance-8/output-1/target/usr/lib/rpm /tmp/instance-8/output-1/target/usr/doc find /tmp/instance-8/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-8/output-1/target/lib/ /tmp/instance-8/output-1/target/usr/lib/ /tmp/instance-8/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f rm -rf /tmp/instance-8/output-1/target/usr/share/gdb rm -rf /tmp/instance-8/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-8/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-8/output-1/target/usr/share/zsh rm -rf /tmp/instance-8/output-1/target/usr/man /tmp/instance-8/output-1/target/usr/share/man rm -rf /tmp/instance-8/output-1/target/usr/info /tmp/instance-8/output-1/target/usr/share/info rm -rf /tmp/instance-8/output-1/target/usr/doc /tmp/instance-8/output-1/target/usr/share/doc rm -rf /tmp/instance-8/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-8/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-8/output-1/target/lib/debug /tmp/instance-8/output-1/target/usr/lib/debug find /tmp/instance-8/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /bin/true 2>/dev/null || true find /tmp/instance-8/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /bin/true 2>/dev/null || true test -f /tmp/instance-8/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-8/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-8/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2022.08-414-g84b29a3941"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.11-git"; \ echo "PRETTY_NAME=\"Buildroot 2022.11-git\"" \ ) > /tmp/instance-8/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-8/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-8/output-1/per-package /tmp/instance-8/buildroot/support/scripts/fix-rpath target touch /tmp/instance-8/output-1/target/usr >>> Generating root filesystems common tables rm -rf /tmp/instance-8/output-1/build/buildroot-fs mkdir -p /tmp/instance-8/output-1/build/buildroot-fs printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/full_users_table.txt printf ' /bin/busybox f 4755 0 0 - - - - -\n\n' > /tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt cat system/device_table.txt >> /tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt >>> Generating filesystem image rootfs.cpio mkdir -p /tmp/instance-8/output-1/images rm -rf /tmp/instance-8/output-1/build/buildroot-fs/cpio mkdir -p /tmp/instance-8/output-1/build/buildroot-fs/cpio rsync -auH --exclude=/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM /tmp/instance-8/output-1/target/ /tmp/instance-8/output-1/build/buildroot-fs/cpio/target echo '#!/bin/sh' > /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot echo "set -e" >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot echo "chown -h -R 0:0 /tmp/instance-8/output-1/build/buildroot-fs/cpio/target" >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /tmp/instance-8/buildroot/support/scripts/mkusers /tmp/instance-8/output-1/build/buildroot-fs/full_users_table.txt /tmp/instance-8/output-1/build/buildroot-fs/cpio/target >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot echo "/tmp/instance-8/output-1/host/bin/makedevs -d /tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt /tmp/instance-8/output-1/build/buildroot-fs/cpio/target" >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot printf ' rm -rf /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/usr/lib/udev/hwdb.d/ /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/etc/udev/hwdb.d/\n' >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot printf ' if [ ! -e /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/init ]; then /usr/bin/install -m 0755 fs/cpio/init /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/init; fi\n mkdir -p /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/dev\n mknod -m 0622 /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/dev/console c 5 1\n' >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot echo "find /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/run/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot echo "find /tmp/instance-8/output-1/build/buildroot-fs/cpio/target/tmp/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot printf ' cd /tmp/instance-8/output-1/build/buildroot-fs/cpio/target && find . | LC_ALL=C sort | cpio --quiet -o -H newc > /tmp/instance-8/output-1/images/rootfs.cpio\n' >> /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot chmod a+x /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" FAKEROOTDONTTRYCHOWN=1 /tmp/instance-8/output-1/host/bin/fakeroot -- /tmp/instance-8/output-1/build/buildroot-fs/cpio/fakeroot rootdir=/tmp/instance-8/output-1/build/buildroot-fs/cpio/target table='/tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt' PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" lz4 -l -9 -c /tmp/instance-8/output-1/images/rootfs.cpio > /tmp/instance-8/output-1/images/rootfs.cpio.lz4 >>> Generating filesystem image rootfs.cramfs mkdir -p /tmp/instance-8/output-1/images rm -rf /tmp/instance-8/output-1/build/buildroot-fs/cramfs mkdir -p /tmp/instance-8/output-1/build/buildroot-fs/cramfs rsync -auH --exclude=/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM /tmp/instance-8/output-1/target/ /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target echo '#!/bin/sh' > /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot echo "set -e" >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot echo "chown -h -R 0:0 /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target" >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /tmp/instance-8/buildroot/support/scripts/mkusers /tmp/instance-8/output-1/build/buildroot-fs/full_users_table.txt /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot echo "/tmp/instance-8/output-1/host/bin/makedevs -d /tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target" >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot printf ' rm -rf /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target/usr/lib/udev/hwdb.d/ /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target/etc/udev/hwdb.d/\n' >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot echo "find /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target/run/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot echo "find /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target/tmp/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot printf ' /tmp/instance-8/output-1/host/bin/mkcramfs -B /tmp/instance-8/output-1/build/buildroot-fs/cramfs/target /tmp/instance-8/output-1/images/rootfs.cramfs\n' >> /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot chmod a+x /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" FAKEROOTDONTTRYCHOWN=1 /tmp/instance-8/output-1/host/bin/fakeroot -- /tmp/instance-8/output-1/build/buildroot-fs/cramfs/fakeroot rootdir=/tmp/instance-8/output-1/build/buildroot-fs/cramfs/target table='/tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt' warning: estimate of required size (upper bound) is 290MB, but maximum image size is 272MB, we might die prematurely warning: file sizes truncated to 16MB (minus 1 byte) >>> Generating filesystem image rootfs.ubifs mkdir -p /tmp/instance-8/output-1/images rm -rf /tmp/instance-8/output-1/build/buildroot-fs/ubifs mkdir -p /tmp/instance-8/output-1/build/buildroot-fs/ubifs rsync -auH --exclude=/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM /tmp/instance-8/output-1/target/ /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target echo '#!/bin/sh' > /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot echo "set -e" >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot echo "chown -h -R 0:0 /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target" >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /tmp/instance-8/buildroot/support/scripts/mkusers /tmp/instance-8/output-1/build/buildroot-fs/full_users_table.txt /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot echo "/tmp/instance-8/output-1/host/bin/makedevs -d /tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target" >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot printf ' rm -rf /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target/usr/lib/udev/hwdb.d/ /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target/etc/udev/hwdb.d/\n' >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot echo "find /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target/run/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot echo "find /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target/tmp/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot printf ' \n' >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot printf ' /tmp/instance-8/output-1/host/sbin/mkfs.ubifs -d /tmp/instance-8/output-1/build/buildroot-fs/ubifs/target -e 0x1f800 -c 2048 -m 0x800 -x none -o /tmp/instance-8/output-1/images/rootfs.ubifs\n' >> /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot chmod a+x /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot PATH="/tmp/instance-8/output-1/host/bin:/tmp/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" FAKEROOTDONTTRYCHOWN=1 /tmp/instance-8/output-1/host/bin/fakeroot -- /tmp/instance-8/output-1/build/buildroot-fs/ubifs/fakeroot rootdir=/tmp/instance-8/output-1/build/buildroot-fs/ubifs/target table='/tmp/instance-8/output-1/build/buildroot-fs/full_devices_table.txt' Error: max_leb_cnt too low (2556 needed) make: *** [fs/ubifs/ubifs.mk:49: /tmp/instance-8/output-1/images/rootfs.ubifs] Error 255 make: Leaving directory '/tmp/instance-8/buildroot'