CC nand-utils/nandtest.o misc-utils/flashcp.c: In function 'main': misc-utils/flashcp.c:277:2: warning: #warning "Check for smaller erase regions" [-Wcpp] 277 | #warning "Check for smaller erase regions" | ^~~~~~~ CC nand-utils/nftldump.o CC nand-utils/nftl_format.o CC nand-utils/nandflipbits.o CC nor-utils/rfddump.o CC nor-utils/rfdformat.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.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: /usr/include/stdlib.h:565:25: note: expected 'void *' but argument is of type 'const char *' 565 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-crc16.o CC ubifs-utils/mkfs.ubifs/mkfs_ubifs-lpt.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=] 206 | fprintf(stderr, "Invalid byte offset %lld (max %lld)\n", | ~~~^ | | | long long int | %ld 207 | bits_to_flip[i].offset, mtdlen); | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} 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=] 206 | fprintf(stderr, "Invalid byte offset %lld (max %lld)\n", | ~~~^ | | | long long int | %ld 207 | bits_to_flip[i].offset, mtdlen); | ~~~~~~ | | | uint64_t {aka long unsigned int} 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 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-jffs2dump.o CC jffsX-utils/jffs2reader-jffs2reader.o CC jffsX-utils/sumtool.o AR libmissing.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD ftl_format CCLD doc_loadbios 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)); | ^~~~~~~~~~~~ CCLD ftl_check CCLD mtd_debug CCLD docfdisk CCLD flash_lock CCLD flash_unlock CCLD flash_otp_info CCLD flash_otp_dump jffsX-utils/jffs2reader.c: In function 'resolvepath0': jffsX-utils/jffs2reader.c:691:6: warning: potential null pointer dereference [-Wnull-dereference] 691 | if (*path == '/') { | ^~~~~ CCLD flash_otp_lock CCLD flash_otp_erase CCLD flash_otp_write CCLD flashcp CCLD mtdpart AR libmtd.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') AR libubi.a /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') CCLD serve_image CCLD recv_image CCLD fectest CCLD flash_erase CCLD lsmtd CCLD nanddump CCLD nandwrite CCLD nandtest CCLD nftldump CCLD nftl_format CCLD nandflipbits CCLD rfddump CCLD rfdformat CCLD jffs2dump CCLD jffs2reader CCLD sumtool CCLD ubiupdatevol CCLD ubimkvol CCLD ubirmvol CCLD ubicrc32 CCLD ubinfo CCLD ubiattach CCLD ubidetach CCLD ubinize CCLD ubiformat CCLD ubirename CCLD mtdinfo CCLD ubirsvol CCLD ubiblock CCLD mkfs.ubifs CCLD ubihealthd CCLD mkfs.jffs2 make[1]: Leaving directory '/tmp/instance-4/output-1/build/host-mtd-2.1.3' >>> host-mtd 2.1.3 Installing to host directory PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-4/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-4/output-1/host/lib/pkgconfig:/tmp/instance-4/output-1/host/share/pkgconfig" /usr/bin/make -j96 install -C /tmp/instance-4/output-1/build/host-mtd-2.1.3/ make[1]: Entering directory '/tmp/instance-4/output-1/build/host-mtd-2.1.3' make[2]: Entering directory '/tmp/instance-4/output-1/build/host-mtd-2.1.3' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/sbin' /usr/bin/install -c ubifs-utils/mount.ubifs '/tmp/instance-4/output-1/host/sbin' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/sbin' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/sbin' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/share/man/man1' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/share/man/man8' /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-4/output-1/host/sbin' /usr/bin/install -c misc-utils/flash_eraseall '/tmp/instance-4/output-1/host/sbin' /usr/bin/install -c -m 644 jffsX-utils/mkfs.jffs2.1 '/tmp/instance-4/output-1/host/share/man/man1' /usr/bin/install -c -m 644 ubi-utils/ubinize.8 misc-utils/lsmtd.8 '/tmp/instance-4/output-1/host/share/man/man8' libtool: install: /usr/bin/install -c ubiupdatevol /tmp/instance-4/output-1/host/sbin/ubiupdatevol libtool: install: /usr/bin/install -c ubimkvol /tmp/instance-4/output-1/host/sbin/ubimkvol libtool: install: /usr/bin/install -c ubirmvol /tmp/instance-4/output-1/host/sbin/ubirmvol libtool: install: /usr/bin/install -c ubicrc32 /tmp/instance-4/output-1/host/sbin/ubicrc32 libtool: install: /usr/bin/install -c ubinfo /tmp/instance-4/output-1/host/sbin/ubinfo libtool: install: /usr/bin/install -c ubiattach /tmp/instance-4/output-1/host/sbin/ubiattach libtool: install: /usr/bin/install -c ubidetach /tmp/instance-4/output-1/host/sbin/ubidetach libtool: install: /usr/bin/install -c ubinize /tmp/instance-4/output-1/host/sbin/ubinize libtool: install: /usr/bin/install -c ubiformat /tmp/instance-4/output-1/host/sbin/ubiformat libtool: install: /usr/bin/install -c ubirename /tmp/instance-4/output-1/host/sbin/ubirename libtool: install: /usr/bin/install -c mtdinfo /tmp/instance-4/output-1/host/sbin/mtdinfo libtool: install: /usr/bin/install -c ubirsvol /tmp/instance-4/output-1/host/sbin/ubirsvol libtool: install: /usr/bin/install -c ubiblock /tmp/instance-4/output-1/host/sbin/ubiblock libtool: install: /usr/bin/install -c ubihealthd /tmp/instance-4/output-1/host/sbin/ubihealthd libtool: install: /usr/bin/install -c ftl_format /tmp/instance-4/output-1/host/sbin/ftl_format libtool: install: /usr/bin/install -c doc_loadbios /tmp/instance-4/output-1/host/sbin/doc_loadbios libtool: install: /usr/bin/install -c ftl_check /tmp/instance-4/output-1/host/sbin/ftl_check libtool: install: /usr/bin/install -c mtd_debug /tmp/instance-4/output-1/host/sbin/mtd_debug libtool: install: /usr/bin/install -c docfdisk /tmp/instance-4/output-1/host/sbin/docfdisk libtool: install: /usr/bin/install -c serve_image /tmp/instance-4/output-1/host/sbin/serve_image libtool: install: /usr/bin/install -c recv_image /tmp/instance-4/output-1/host/sbin/recv_image libtool: install: /usr/bin/install -c fectest /tmp/instance-4/output-1/host/sbin/fectest libtool: install: /usr/bin/install -c flash_erase /tmp/instance-4/output-1/host/sbin/flash_erase libtool: install: /usr/bin/install -c flash_lock /tmp/instance-4/output-1/host/sbin/flash_lock libtool: install: /usr/bin/install -c flash_unlock /tmp/instance-4/output-1/host/sbin/flash_unlock libtool: install: /usr/bin/install -c flash_otp_info /tmp/instance-4/output-1/host/sbin/flash_otp_info libtool: install: /usr/bin/install -c flash_otp_dump /tmp/instance-4/output-1/host/sbin/flash_otp_dump libtool: install: /usr/bin/install -c flash_otp_lock /tmp/instance-4/output-1/host/sbin/flash_otp_lock libtool: install: /usr/bin/install -c flash_otp_erase /tmp/instance-4/output-1/host/sbin/flash_otp_erase libtool: install: /usr/bin/install -c flash_otp_write /tmp/instance-4/output-1/host/sbin/flash_otp_write libtool: install: /usr/bin/install -c flashcp /tmp/instance-4/output-1/host/sbin/flashcp libtool: install: /usr/bin/install -c mtdpart /tmp/instance-4/output-1/host/sbin/mtdpart libtool: install: /usr/bin/install -c lsmtd /tmp/instance-4/output-1/host/sbin/lsmtd libtool: install: /usr/bin/install -c nanddump /tmp/instance-4/output-1/host/sbin/nanddump libtool: install: /usr/bin/install -c nandwrite /tmp/instance-4/output-1/host/sbin/nandwrite libtool: install: /usr/bin/install -c nandtest /tmp/instance-4/output-1/host/sbin/nandtest libtool: install: /usr/bin/install -c nftldump /tmp/instance-4/output-1/host/sbin/nftldump libtool: install: /usr/bin/install -c nftl_format /tmp/instance-4/output-1/host/sbin/nftl_format libtool: install: /usr/bin/install -c nandflipbits /tmp/instance-4/output-1/host/sbin/nandflipbits libtool: install: /usr/bin/install -c rfddump /tmp/instance-4/output-1/host/sbin/rfddump libtool: install: /usr/bin/install -c rfdformat /tmp/instance-4/output-1/host/sbin/rfdformat libtool: install: /usr/bin/install -c mkfs.ubifs /tmp/instance-4/output-1/host/sbin/mkfs.ubifs libtool: install: /usr/bin/install -c mkfs.jffs2 /tmp/instance-4/output-1/host/sbin/mkfs.jffs2 libtool: install: /usr/bin/install -c jffs2dump /tmp/instance-4/output-1/host/sbin/jffs2dump libtool: install: /usr/bin/install -c jffs2reader /tmp/instance-4/output-1/host/sbin/jffs2reader libtool: install: /usr/bin/install -c sumtool /tmp/instance-4/output-1/host/sbin/sumtool make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-mtd-2.1.3' make[1]: Leaving directory '/tmp/instance-4/output-1/build/host-mtd-2.1.3' patchelf-0.9.tar.bz2: OK (sha256: a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83) >>> host-patchelf 0.9 Extracting bzcat /tmp/instance-4/dl/patchelf/patchelf-0.9.tar.bz2 | tar --strip-components=1 -C /tmp/instance-4/output-1/build/host-patchelf-0.9 -xf - >>> host-patchelf 0.9 Patching Applying 0001-Remove-apparently-incorrect-usage-of-static.patch using patch: patching file src/patchelf.cc Applying 0002-Extract-a-function-for-splitting-a-colon-separated-s.patch using patch: patching file src/patchelf.cc Applying 0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch using patch: patching file src/patchelf.cc Applying 0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch using patch: patching file src/patchelf.cc Hunk #1 succeeded at 1309 (offset -6 lines). Applying 0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch using patch: patching file src/patchelf.cc Applying 0006-Fix-shared-library-corruption-when-rerunning-patchel.patch using patch: patching file src/patchelf.cc Applying 0007-fix-adjusting-startPage.patch using patch: patching file src/patchelf.cc Applying 0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch using patch: patching file src/patchelf.cc Applying 0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch using patch: patching file src/patchelf.cc Applying 0010-Fix-endianness-issues-for-powerpc-PIE.patch using patch: patching file src/patchelf.cc >>> host-patchelf 0.9 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-4/output-1/build/host-patchelf-0.9 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-patchelf 0.9 Patching libtool >>> host-patchelf 0.9 Configuring (cd /tmp/instance-4/output-1/build/host-patchelf-0.9/ && rm -rf config.cache; PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-4/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-4/output-1/host/lib/pkgconfig:/tmp/instance-4/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/tmp/instance-4/output-1/host/include" CFLAGS="-O2 -I/tmp/instance-4/output-1/host/include" CXXFLAGS="-O2 -I/tmp/instance-4/output-1/host/include" LDFLAGS="-L/tmp/instance-4/output-1/host/lib -Wl,-rpath,/tmp/instance-4/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/tmp/instance-4/output-1/host/include" LDFLAGS="-L/tmp/instance-4/output-1/host/lib -Wl,-rpath,/tmp/instance-4/output-1/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/tmp/instance-4/output-1/host" --sysconfdir="/tmp/instance-4/output-1/host/etc" --localstatedir="/tmp/instance-4/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 ) configure: WARNING: unrecognized options: --enable-shared, --disable-static, --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... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for 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 whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking dependency style of /usr/bin/g++... none Setting page size to 4096 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls >>> host-patchelf 0.9 Building PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-4/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-4/output-1/host/lib/pkgconfig:/tmp/instance-4/output-1/host/share/pkgconfig" /usr/bin/make -j96 -C /tmp/instance-4/output-1/build/host-patchelf-0.9/ make[1]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' Making all in src make[2]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/src' /usr/bin/g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096 -I. -I/tmp/instance-4/output-1/host/include -Wall -O2 -I/tmp/instance-4/output-1/host/include -c -o patchelf.o patchelf.cc /usr/bin/g++ -Wall -O2 -I/tmp/instance-4/output-1/host/include -L/tmp/instance-4/output-1/host/lib -Wl,-rpath,/tmp/instance-4/output-1/host/lib -o patchelf patchelf.o make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/src' Making all in tests make[2]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/tests' make[2]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' make[1]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' >>> host-patchelf 0.9 Installing to host directory PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-4/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-4/output-1/host/lib/pkgconfig:/tmp/instance-4/output-1/host/share/pkgconfig" /usr/bin/make -j96 install -C /tmp/instance-4/output-1/build/host-patchelf-0.9/ make[1]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' Making install in src make[2]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/src' make[3]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/src' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/bin' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/install -c patchelf '/tmp/instance-4/output-1/host/bin' make[3]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/src' make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/src' Making install in tests make[2]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/tests' make[3]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/tests' make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9/tests' make[2]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' make[3]: Entering directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/share/doc/patchelf' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/share/man/man1' /usr/bin/install -c -m 644 README '/tmp/instance-4/output-1/host/share/doc/patchelf' /usr/bin/install -c -m 644 patchelf.1 '/tmp/instance-4/output-1/host/share/man/man1' make[3]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' make[2]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' make[1]: Leaving directory '/tmp/instance-4/output-1/build/host-patchelf-0.9' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-4/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-4/output-1/host/bin/sh4-linux-%g' -e 's%@TARGET_ARCH@%sh4%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-4/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-4/output-1/host/sh4-buildroot-linux-uclibc/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-4/output-1/host/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' -e 's%@PKG_TARGET_LDFLAGS@%%g' -e 's%@PKG_TARGET_CXXFLAGS@%%g' /tmp/instance-4/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-4/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-4/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-4/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-4/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-4/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-4/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-4/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-4/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-4/output-1/target/etc/shells; fi mkdir -p /tmp/instance-4/output-1/target/etc echo "buildroot" > /tmp/instance-4/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-4/output-1/target/etc/hosts mkdir -p /tmp/instance-4/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-4/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-4/output-1/target/etc/shadow rm -f /tmp/instance-4/output-1/target/bin/sh if [ -x /tmp/instance-4/output-1/target/sbin/swapon -a -x /tmp/instance-4/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-4/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-4/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-4/output-1/build/locales.nopurge for dir in /tmp/instance-4/output-1/target/usr/share/locale /tmp/instance-4/output-1/target/usr/share/X11/locale /tmp/instance-4/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-4/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-4/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-4/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-4/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-4/output-1/target/usr/include /tmp/instance-4/output-1/target/usr/share/aclocal \ /tmp/instance-4/output-1/target/usr/lib/pkgconfig /tmp/instance-4/output-1/target/usr/share/pkgconfig \ /tmp/instance-4/output-1/target/usr/lib/cmake /tmp/instance-4/output-1/target/usr/share/cmake \ /tmp/instance-4/output-1/target/usr/doc find /tmp/instance-4/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-4/output-1/target/lib/ /tmp/instance-4/output-1/target/usr/lib/ /tmp/instance-4/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-4/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-4/output-1/target/usr/share/gdb rm -rf /tmp/instance-4/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-4/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-4/output-1/target/usr/share/zsh rm -rf /tmp/instance-4/output-1/target/usr/man /tmp/instance-4/output-1/target/usr/share/man rm -rf /tmp/instance-4/output-1/target/usr/info /tmp/instance-4/output-1/target/usr/share/info rm -rf /tmp/instance-4/output-1/target/usr/doc /tmp/instance-4/output-1/target/usr/share/doc rm -rf /tmp/instance-4/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-4/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-4/output-1/target/lib/debug /tmp/instance-4/output-1/target/usr/lib/debug find /tmp/instance-4/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-4/output-1/host/bin/sh4-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-4/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-4/output-1/host/bin/sh4-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-4/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-4/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-4/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-1060-g602ff66bf7"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.08-rc1"; \ echo "PRETTY_NAME=\"Buildroot 2021.08-rc1\"" \ ) > /tmp/instance-4/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-4/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-4/output-1/per-package /tmp/instance-4/buildroot/support/scripts/fix-rpath target touch /tmp/instance-4/output-1/target/usr ln -snf /tmp/instance-4/output-1/host/sh4-buildroot-linux-uclibc/sysroot /tmp/instance-4/output-1/staging make: Leaving directory '/tmp/instance-4/buildroot' make: Entering directory '/tmp/instance-4/buildroot' >>> Buildroot 2021.05-1060-g602ff66bf7 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-bootlin 2020.08-1 Collecting legal info >>> toolchain Collecting legal info >>> argp-standalone 1.3 Collecting legal info argp.h: OK (sha256: bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab) >>> host-babeltrace2 2.0.3 Collecting legal info mit-license.txt: OK (sha256: 2f801b7c2494850c3d91da820eb230502dc0192c9d0db024db37ec08d0be1434) lgpl-2.1.txt: OK (sha256: c68fd1ffc1623ea0dace21abf57305818e4998a4ae0c79010aaaa943eb660b55) gpl-2.0.txt: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) LICENSE: OK (sha256: d919c6347409efde6dea63c6f349fb06bc060a2b721fc3df07b5f720b5f1d60e) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-elfutils 0.184 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING-GPLV2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING-LGPLV3: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-bzip2 1.0.8 Collecting legal info LICENSE: OK (sha256: c6dbbf828498be844a89eaa3b84adbab3199e342eb5cb2ed2f0d4ba7ec0f38a3) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-xz 5.2.5 Collecting legal info COPYING: OK (sha256: bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c) COPYING.GPLv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING.GPLv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LGPLv2.1: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-libglib2 2.68.2 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> host-meson 0.58.2 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.10.2 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> host-python3 3.9.6 Collecting legal info LICENSE: OK (sha256: 599826df92bfdcd2702eac691072498bb096c55af04ee984cf90f70ed77b5a70) >>> host-autoconf-archive 2019.01.06 Collecting legal info COPYING: OK (sha256: e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-python3-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> host-pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> host-util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> readline 8.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> collectd 5.12.0 Collecting legal info COPYING: OK (sha256: ed0409b2b1c30566dab5fcdaf46ee70e140c99788e22f0267645a9357b476ae4) >>> freeswitch 1.10.6 Collecting legal info COPYING: OK (sha256: 75c933202f40939cdc3827fce20a1efdaa38291e2b5a65d234eb16e2cffda66a) libs/apr/LICENSE: OK (sha256: e8e26b16da14aa3e6ed5c22c705fdc1f45d6225fca461ea9f7314bcdfdc414c4) libs/apr-util/LICENSE: OK (sha256: 1eefb2ea1db0af7729a9d8a27d7c65d8a37ab185393f935b029aac6828ce315a) libs/srtp/LICENSE: OK (sha256: 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae) >>> jpeg Collecting legal info >>> libjpeg 9d Collecting legal info README: OK (sha256: 3dc4e4a145c907a96bd6a0e40be3f722fecf061951909143cdff5365cba9c78c) >>> libcurl 7.78.0 Collecting legal info COPYING: OK (sha256: 6fd1a1c008b5ef4c4741dd188c3f8af6944c14c25afa881eb064f98fb98358e7) >>> openssl Collecting legal info >>> libopenssl 1.1.1k Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> sofia-sip 1.13.3-8071e8accd Collecting legal info COPYING: OK (sha256: e1c0890440efe31b6cd2ee2abf895eb917c787799f079133f5809414d90d5d60) COPYRIGHTS: OK (sha256: b402ae58cf355b33be8fa023f704a039e3d41ecaccd2bbcda43ca31d703e4556) >>> spandsp 3.0.0-6ec23e5a7e Collecting legal info COPYING: OK (sha256: 366576cb0b869cd9e95a4882878607314650488ac635e5df0692180382e9666a) >>> tiff 4.3.0 Collecting legal info COPYRIGHT: OK (sha256: fbd6fed7938541d2c809c0826225fc85e551fdbfa8732b10f0c87e0847acafd7) >>> speex 1.2.0 Collecting legal info COPYING: OK (sha256: 671bb5d8fd3c6b05a2e831d90f978ac27965c92bd8ea6d16b3df76e3440c0e9f) >>> libogg 1.3.5 Collecting legal info COPYING: OK (sha256: d2ab5758336489da61c12cc5bb757da5339c4ae9001f9bb0562b4370249af814) >>> speexdsp SpeexDSP-1.2.0 Collecting legal info COPYING: OK (sha256: 671bb5d8fd3c6b05a2e831d90f978ac27965c92bd8ea6d16b3df76e3440c0e9f) >>> sqlite 3350500 Collecting legal info tea/license.terms: OK (sha256: 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9) >>> initscripts Collecting legal info >>> libpthsem 2.0.8 Collecting legal info COPYING: OK (sha256: f1b95d3728077d1a3efe7fc17928b1953b1224f6caf9c528e30e570158b7520d) >>> linknx 0.0.1.38 Collecting legal info LICENSE: OK (sha256: c03cea027b4b40e4402fabd08557736727ec3d5bc54ad64ab6472de432198cad) >>> host-mtd 2.1.3 Collecting legal info COPYING: OK (sha256: dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa) >>> host-acl 2.3.1 Collecting legal info doc/COPYING: OK (sha256: a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8) doc/COPYING.LGPL: OK (sha256: 01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55) >>> host-attr 2.5.1 Collecting legal info doc/COPYING: OK (sha256: 98f318493be6b08bff3cd295791cde06c54e17882a3c74a1ed245eaa02533d52) doc/COPYING.LGPL: OK (sha256: 5decad7e58d90d44335bf2f45ce27563bd911065c6a1a02dfa7647c4efee75c8) >>> host-lzo 2.10 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-zstd 1.5.0 Collecting legal info LICENSE: OK (sha256: 2c1a7fa704df8f3a606f6fc010b8b5aaebf403f3aeec339a12048f1ba7331a0b) COPYING: OK (sha256: f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-bootlin-2020.08-1: cannot save license (TOOLCHAIN_EXTERNAL_BOOTLIN_LICENSE_FILES not defined) Legal info produced in /tmp/instance-4/output-1/legal-info make: Leaving directory '/tmp/instance-4/buildroot'