install -m 0755 /tmp/instance-0/output-1/target//usr/lib/lua/; \ ln -sf /tmp/instance-0/output-1/target//usr/lib/lua//lua_swupdate.so; \ fi make[1]: Leaving directory '/tmp/instance-0/output-1/build/swupdate-2021.04' mkdir -p /tmp/instance-0/output-1/target/etc/swupdate/conf.d /tmp/instance-0/output-1/target/usr/lib/swupdate/conf.d /usr/bin/install -D -m 755 package/swupdate//swupdate.sh /tmp/instance-0/output-1/target/usr/lib/swupdate/swupdate.sh /usr/bin/install -D -m 755 package/swupdate//S80swupdate /tmp/instance-0/output-1/target/etc/init.d/S80swupdate /usr/bin/install -D -m 644 package/swupdate//90-start-progress /tmp/instance-0/output-1/target/usr/lib/swupdate/conf.d/90-start-progress vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656-br1.tar.gz: OK (sha256: 9cdeaa2e4e1190c0cd200e1b07d394e5d24f57cc0efffdce861d5de934035bf7) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Extracting gzip -d -c /tmp/instance-0/dl/vboot-utils/vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 -xf - >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Patching Applying 0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch using patch: patching file cgpt/cgpt_wrapper.c Applying 0002-Add-missing-header-include-for-ssize_t.patch using patch: patching file host/lib/fmap.c Applying 0003-Avoid-RSA-type-redefinition.patch using patch: patching file host/lib/include/host_key.h Applying 0004-Disable-static-futility.patch using patch: patching file Makefile Applying 0005-include-sys-sysmacros.h-for-major.patch using patch: patching file cgpt/cgpt_wrapper.c patching file futility/dump_kernel_config_lib.c Hunk #1 succeeded at 10 with fuzz 2. Applying 0006-Update-for-openssl-1.1.patch using patch: patching file futility/cmd_create.c patching file futility/vb2_helper.c patching file host/include/openssl_compat.h patching file host/lib/util_misc.c patching file host/lib21/host_key.c patching file utility/dumpRSAPublicKey.c Applying 0007-Make-vboot_version-extern-in-header.patch using patch: patching file futility/futility.h Hunk #1 succeeded at 40 (offset -1 lines). >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Configuring >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/tmp/instance-0/output-1/host/lib/pkgconfig:/tmp/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 CC="/usr/bin/gcc" CFLAGS="-O2 -I/tmp/instance-0/output-1/host/include -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" LDFLAGS="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" ARCH=arm futil cgpt make[1]: Entering directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' Using qemu for testing. Package liblzma was not found in the pkg-config search path. Perhaps you should add the directory containing `liblzma.pc' to the PKG_CONFIG_PATH environment variable Package 'liblzma', required by 'virtual:world', not found Package yaml-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `yaml-0.1.pc' to the PKG_CONFIG_PATH environment variable Package 'yaml-0.1', required by 'virtual:world', not found CC futility/futility.o CC futility/cmd_dump_fmap.o CC futility/cmd_gbb_utility.o CC futility/misc.o CC futility/ryu_root_header.o CC futility/cmd_create.o futility/cmd_create.c: In function 'vb1_make_keypair': futility/cmd_create.c:123:27: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 123 | privkey->rsa_private_key = rsa_key; | ^ CC futility/cmd_dump_kernel_config.o CC futility/cmd_load_fmap.o CC futility/cmd_pcr.o CC futility/cmd_show.o futility/cmd_show.c: In function 'ft_show_privkey': futility/cmd_show.c:115:22: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 115 | key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, len); | ^ futility/cmd_show.c:125:15: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] 125 | RSA_free(key.rsa_private_key); | ~~~^~~~~~~~~~~~~~~~ | | | struct rsa_rt * In file included from futility/cmd_show.c:8: /tmp/instance-0/output-1/host/include/openssl/rsa.h:263:20: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt *' 263 | void RSA_free(RSA *r); | ~~~~~^ CC futility/cmd_sign.o CC futility/cmd_vbutil_firmware.o CC futility/cmd_vbutil_kernel.o CC futility/cmd_vbutil_key.o CC futility/cmd_vbutil_keyblock.o CC futility/file_type.o CC futility/file_type_bios.o CC futility/file_type_rwsig.o CC futility/file_type_usbpd1.o CC futility/vb1_helper.o futility/vb1_helper.c: In function 'ft_recognize_vb1_key': futility/vb1_helper.c:764:22: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 764 | key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, | ^ futility/vb1_helper.c:768:15: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] 768 | RSA_free(key.rsa_private_key); | ~~~^~~~~~~~~~~~~~~~ | | | struct rsa_rt * In file included from futility/vb1_helper.c:12: /tmp/instance-0/output-1/host/include/openssl/rsa.h:263:20: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt *' 263 | void RSA_free(RSA *r); | ~~~~~^ CC futility/vb2_helper.o GEN gen/futility_cmds.c CC gen/futility_cmds.o CC cgpt/cgpt_create.o CC cgpt/cgpt_add.o cgpt/cgpt_add.c: In function 'GptSetEntryAttributes': cgpt/cgpt_add.c:89:63: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | if (CGPT_OK != UTF8ToUTF16((uint8_t *)params->label, entry->name, | ~~~~~^~~~~~ CC cgpt/cgpt_boot.o CC cgpt/cgpt_show.o cgpt/cgpt_show.c: In function 'EntryDetails': cgpt/cgpt_show.c:104:20: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 104 | UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]), | ~~~~~^~~~~~ cgpt/cgpt_show.c: In function 'GptShow': cgpt/cgpt_show.c:199:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 199 | UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]), | ~~~~~^~~~~~ CC cgpt/cgpt_repair.o CC cgpt/cgpt_prioritize.o CC cgpt/cgpt_common.o CC futility/dump_kernel_config_lib.o CC host/arch/arm/lib/crossystem_arch.o CC host/lib/crossystem.o CC host/lib/file_keys.o CC host/lib/fmap.o CC host/lib/host_common.o CC host/lib/host_key.o host/lib/host_key.c: In function 'PrivateKeyReadPem': host/lib/host_key.c:54:24: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 54 | key->rsa_private_key = rsa_key; | ^ host/lib/host_key.c: In function 'PrivateKeyFree': host/lib/host_key.c:66:17: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] 66 | RSA_free(key->rsa_private_key); | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * In file included from /tmp/instance-0/output-1/host/include/openssl/x509.h:25, from /tmp/instance-0/output-1/host/include/openssl/pem.h:17, from host/lib/host_key.c:10: /tmp/instance-0/output-1/host/include/openssl/rsa.h:263:20: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt *' 263 | void RSA_free(RSA *r); | ~~~~~^ host/lib/host_key.c: In function 'PrivateKeyWrite': host/lib/host_key.c:77:33: warning: passing argument 1 of 'i2d_RSAPrivateKey' from incompatible pointer type [-Wincompatible-pointer-types] 77 | buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * const In file included from /tmp/instance-0/output-1/host/include/openssl/objects.h:15, from /tmp/instance-0/output-1/host/include/openssl/evp.h:28, from /tmp/instance-0/output-1/host/include/openssl/pem.h:16, from host/lib/host_key.c:10: /tmp/instance-0/output-1/host/include/openssl/asn1.h:237:36: note: expected 'const RSA *' {aka 'const struct rsa_st *'} but argument is of type 'struct rsa_rt * const' 237 | int i2d_##name(const type *a, unsigned char **out); \ | ~~~~~~~~~~~~^ /tmp/instance-0/output-1/host/include/openssl/rsa.h:281:1: note: in expansion of macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_const' 281 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host/lib/host_key.c: In function 'PrivateKeyRead': host/lib/host_key.c:131:24: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 131 | key->rsa_private_key = d2i_RSAPrivateKey(0, &start, | ^ CC host/lib/host_keyblock.o CC host/lib/host_misc.o CC host/lib/util_misc.o host/lib/util_misc.c: In function 'PrintPrivKeySha1Sum': host/lib/util_misc.c:39:26: warning: passing argument 1 of 'vb_keyb_from_rsa' from incompatible pointer type [-Wincompatible-pointer-types] 39 | if (vb_keyb_from_rsa(key->rsa_private_key, &buf, &buflen)) { | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * In file included from host/lib/util_misc.c:19: host/lib/include/util_misc.h:42:37: note: expected 'struct rsa_st *' but argument is of type 'struct rsa_rt *' 42 | int vb_keyb_from_rsa(struct rsa_st *rsa_private_key, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ CC host/lib/host_signature.o host/lib/host_signature.c: In function 'CalculateSignature': host/lib/host_signature.c:146:31: warning: passing argument 4 of 'RSA_private_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] 146 | key->rsa_private_key, /* Key to use */ | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * const In file included from host/lib/host_signature.c:10: /tmp/instance-0/output-1/host/include/openssl/rsa.h:258:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt * const' 258 | unsigned char *to, RSA *rsa, int padding); | ~~~~~^~~ CC host/lib/signature_digest.o CC firmware/lib/cryptolib/padding.o CC firmware/lib/cryptolib/rsa.o CC firmware/lib/cryptolib/rsa_utility.o CC firmware/lib/cryptolib/sha1.o CC firmware/lib/cryptolib/sha256.o CC firmware/lib/cryptolib/sha512.o CC firmware/lib/cryptolib/sha_utility.o CC firmware/lib/stateful_util.o CC firmware/lib/vboot_api_firmware.o CC firmware/lib/vboot_common.o CC firmware/lib/vboot_firmware.o CC firmware/lib/region-fw.o CC firmware/lib/tpm_bootmode.o CC firmware/stub/vboot_api_stub_sf.o CC firmware/lib/crc8.o CC firmware/lib/utility.o CC firmware/lib/vboot_api_init.o CC firmware/lib/vboot_common_init.o CC firmware/lib/vboot_nvstorage.o CC firmware/lib/vboot_nvstorage_rollback.o CC firmware/lib/region-init.o CC firmware/lib/rollback_index.o CC firmware/lib/tpm_lite/tlcl.o CC firmware/stub/tpm_lite_stub.o firmware/stub/tpm_lite_stub.c: In function 'VbExTpmSendReceive': firmware/stub/tpm_lite_stub.c:239:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] 239 | assert( | ^~~~~~ firmware/stub/tpm_lite_stub.c:28:1: note: 'assert' is defined in header ''; did you forget to '#include '? 27 | #include +++ |+#include 28 | CC firmware/stub/utility_stub.o CC firmware/stub/vboot_api_stub_init.o CC firmware/stub/vboot_api_stub_region.o CC firmware/lib/cgptlib/cgptlib.o CC firmware/lib/cgptlib/cgptlib_internal.o CC firmware/lib/cgptlib/crc32.o CC firmware/lib/gpt_misc.o CC firmware/lib/utility_string.o CC firmware/lib/vboot_api_kernel.o firmware/lib/vboot_api_kernel.c: In function 'VbSelectAndLoadKernel': firmware/lib/vboot_api_kernel.c:1056:34: warning: taking address of packed member of 'struct VbSharedDataHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1056 | tpm_status = RollbackKernelRead(&shared->kernel_version_tpm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC firmware/lib/vboot_audio.o CC firmware/lib/vboot_display.o CC firmware/lib/vboot_kernel.o CC firmware/lib/region-kernel.o CC firmware/stub/vboot_api_stub.o CC firmware/stub/vboot_api_stub_disk.o CC firmware/stub/vboot_api_stub_stream.o RM libvboot_util.a AR libvboot_util.a CC host/lib21/host_fw_preamble.o CC host/lib21/host_key.o CC host/lib21/host_keyblock.o CC host/lib21/host_misc.o CC host/lib21/host_signature.o CC firmware/2lib/2api.o CC firmware/2lib/2common.o CC firmware/2lib/2crc8.o CC firmware/2lib/2misc.o CC firmware/2lib/2nvstorage.o CC firmware/2lib/2rsa.o CC firmware/2lib/2secdata.o firmware/2lib/2secdata.c: In function 'vb2_secdata_init': firmware/2lib/2secdata.c:61:9: warning: taking address of packed member of 'struct vb2_shared_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 61 | &sd->fw_version_secdata); | ^~~~~~~~~~~~~~~~~~~~~~~ CC firmware/2lib/2secdatak.o CC firmware/2lib/2sha1.o CC firmware/2lib/2sha256.o CC firmware/2lib/2sha512.o CC firmware/2lib/2sha_utility.o CC firmware/2lib/2tpm_bootmode.o CC firmware/2lib/2stub.o CC firmware/lib21/api.o CC firmware/lib21/common.o CC firmware/lib21/misc.o CC firmware/lib21/packed_key.o RM libvboot_util21.a AR libvboot_util21.a LD futility/futility CC cgpt/cgpt.o CC cgpt/cgpt_find.o cgpt/cgpt_find.c: In function 'gpt_search': cgpt/cgpt_find.c:132:39: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 132 | if (CGPT_OK != UTF16ToUTF8(entry->name, | ~~~~~^~~~~~ CC cgpt/cgpt_legacy.o CC cgpt/cgpt_nor.o CC cgpt/cmd_add.o CC cgpt/cmd_boot.o CC cgpt/cmd_create.o CC cgpt/cmd_find.o CC cgpt/cmd_legacy.o CC cgpt/cmd_prioritize.o CC cgpt/cmd_repair.o CC cgpt/cmd_show.o LDcgpt cgpt/cgpt CC cgpt/cgpt_wrapper.o LD cgpt/cgpt_wrapper make[1]: Leaving directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/tmp/instance-0/output-1/host/lib/pkgconfig:/tmp/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/tmp/instance-0/output-1/host futil_install cgpt_install devkeys_install make[1]: Entering directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' Package liblzma was not found in the pkg-config search path. Perhaps you should add the directory containing `liblzma.pc' to the PKG_CONFIG_PATH environment variable Package 'liblzma', required by 'virtual:world', not found Package yaml-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `yaml-0.1.pc' to the PKG_CONFIG_PATH environment variable Package 'yaml-0.1', required by 'virtual:world', not found INSTALL futility INSTALL CGPT INSTALL DEVKEYS make[1]: Leaving directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-0/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/mips64el-linux-%g' -e 's%@TARGET_ARCH@%mips64%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', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@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', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-0/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-0/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-0/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-0/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-0/output-1/target/etc/shells; fi mkdir -p /tmp/instance-0/output-1/target/etc echo "buildroot" > /tmp/instance-0/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-0/output-1/target/etc/hosts mkdir -p /tmp/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-0/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-0/output-1/target/etc/shadow rm -f /tmp/instance-0/output-1/target/bin/sh if [ -x /tmp/instance-0/output-1/target/sbin/swapon -a -x /tmp/instance-0/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-0/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-0/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-0/output-1/build/locales.nopurge for dir in /tmp/instance-0/output-1/target/usr/share/locale /tmp/instance-0/output-1/target/usr/share/X11/locale /tmp/instance-0/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-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-0/output-1/target/usr/include /tmp/instance-0/output-1/target/usr/share/aclocal \ /tmp/instance-0/output-1/target/usr/lib/pkgconfig /tmp/instance-0/output-1/target/usr/share/pkgconfig \ /tmp/instance-0/output-1/target/usr/lib/cmake /tmp/instance-0/output-1/target/usr/share/cmake \ /tmp/instance-0/output-1/target/usr/doc find /tmp/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-0/output-1/target/lib/ /tmp/instance-0/output-1/target/usr/lib/ /tmp/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-0/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-0/output-1/target/usr/share/gdb rm -rf /tmp/instance-0/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-0/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-0/output-1/target/usr/share/zsh rm -rf /tmp/instance-0/output-1/target/usr/man /tmp/instance-0/output-1/target/usr/share/man rm -rf /tmp/instance-0/output-1/target/usr/info /tmp/instance-0/output-1/target/usr/share/info rm -rf /tmp/instance-0/output-1/target/usr/doc /tmp/instance-0/output-1/target/usr/share/doc rm -rf /tmp/instance-0/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-0/output-1/target/lib/debug /tmp/instance-0/output-1/target/usr/lib/debug find /tmp/instance-0/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-0/output-1/host/bin/mips64el-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-0/output-1/host/bin/mips64el-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-0/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-0/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-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.08-rc1-606-gd4877e6f88"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.11-git"; \ echo "PRETTY_NAME=\"Buildroot 2021.11-git\"" \ ) > /tmp/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-0/output-1/per-package /tmp/instance-0/buildroot/support/scripts/fix-rpath target touch /tmp/instance-0/output-1/target/usr ln -snf /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2021.08-rc1-606-gd4877e6f88 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-custom Collecting legal info >>> toolchain Collecting legal info >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> host-cryptsetup 2.3.4 Collecting legal info COPYING: OK (sha256: 45670cce8b6a0ddd66c8016cd8ccef6cd71f35717cbacc7f1e895b3855207b33) COPYING.LGPL: OK (sha256: 8c33cc37871654ec7ed87e6fbb896c8cf33ef5ef05b1611a5aed857596ffafa5) >>> host-json-c 0.15 Collecting legal info COPYING: OK (sha256: 74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-lvm2 2.03.12 Collecting legal info COPYING: OK (sha256: e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1) COPYING.LIB: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> host-libaio 0.3.112 Collecting legal info COPYING: OK (sha256: 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1l Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-popt 1.18 Collecting legal info COPYING: OK (sha256: 518d4f2a05064cb9a8ec0ea02e86408af4feed6916f78ef42171465db8b383c5) >>> 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.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gettext Collecting legal info >>> host-gettext-gnu 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) gettext-runtime/intl/COPYING.LIB: OK (sha256: 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288) >>> host-libtextstyle 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-libxml2 2.9.12 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> 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) >>> execline 2.8.0.1 Collecting legal info COPYING: OK (sha256: adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec) >>> skalibs 2.10.0.3 Collecting legal info COPYING: OK (sha256: adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec) >>> htpdate 1.2.6 Collecting legal info LICENSE: OK (sha256: b1c8d41afde943cacedab52cbb44ef7ffb7026e738b9c891009e89559fe31c20) >>> openssl Collecting legal info >>> libopenssl 1.1.1l Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> initscripts Collecting legal info >>> libcdaudio 0.99.12p2 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> libconfig 1.7.3 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libnetconf2 1.1.43 Collecting legal info LICENSE: OK (sha256: bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064) >>> libssh 0.9.6 Collecting legal info COPYING: OK (sha256: 1656186e951db1c010a8485481fa94587f7e53a26d24976bef97945ad0c4df5a) >>> libyang 1.0.240 Collecting legal info LICENSE: OK (sha256: f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112) >>> pcre 8.45 Collecting legal info LICENCE: OK (sha256: 51b3dea44f63338b84b9c97b3d793826a8397309068cf9379a423216ab8ea5b2) >>> librtlsdr ed0317e6a58c098874ac58b769cf2e609c18d9a5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> libusb 1.0.24 Collecting legal info COPYING: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> netcalc 2.1.6 Collecting legal info LICENSE: OK (sha256: 745538f8d515d37af6f03442df982a8b211b129e8dc10d0195e33c4b42f8fe5f) >>> netopeer2 1.1.70 Collecting legal info LICENSE: OK (sha256: b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b) >>> host-sysrepo 1.4.122 Collecting legal info LICENSE: OK (sha256: b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1) >>> host-libyang 1.0.240 Collecting legal info LICENSE: OK (sha256: f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112) >>> host-pcre 8.45 Collecting legal info LICENCE: OK (sha256: 51b3dea44f63338b84b9c97b3d793826a8397309068cf9379a423216ab8ea5b2) >>> sysrepo 1.4.122 Collecting legal info LICENSE: OK (sha256: b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> s6-linux-init 1.0.6.3 Collecting legal info COPYING: OK (sha256: 4a5e44a69d649f0c37b29d7f6e5df1bb292b09898247be07f0c97814dac4b15d) >>> s6 2.10.0.3 Collecting legal info COPYING: OK (sha256: adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec) >>> s6-linux-utils 2.5.1.5 Collecting legal info COPYING: OK (sha256: adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec) >>> s6-portable-utils 2.2.3.2 Collecting legal info COPYING: OK (sha256: adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec) >>> swupdate 2021.04 Collecting legal info LICENSES/BSD-1-Clause.txt: OK (sha256: 4cf04ed34ff0ebbf5c71345b56e6af5093fc17206364cca0ebbae92ef3940683) LICENSES/BSD-2-Clause.txt: OK (sha256: 3139f288c2e4cbe4a8c0e8c13c82661f3c798d446e1fbbc27a48a69aa7b4ec0d) LICENSES/BSD-3-Clause.txt: OK (sha256: e27a3e87706b3aa5ff2e50eaafe2e6ed5397fbf2d7679eaf444a6d000518a3a6) LICENSES/CC0-1.0.txt: OK (sha256: 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192) LICENSES/CC-BY-ND-4.0.txt: OK (sha256: 6e4efcb1952c7976d3fae93b802c591384c4f50949225a802adf41bc266fa3e6) LICENSES/GPL-2.0-only.txt: OK (sha256: 5d51b52a40391a26cbb2accf5dc5d1c165de49a022d9d5efb50b22204d2682ec) LICENSES/GPL-2.0-or-later.txt: OK (sha256: 43fd695e9b198a9a4997cc2d02e10d26cae937e2c4930b9eff9c6d349c85cd32) LICENSES/ISC.txt: OK (sha256: 492e801f1b0632185431472f148885a4fe8e990b10da57b4986a8bcf140a5374) LICENSES/LGPL-2.1-or-later.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) LICENSES/LicenseRef-OpenSSL-Exception.txt: OK (sha256: 43492b377cf2fb67942d1dd231146bd4e6578646ad13ef289297c9dd75cbc478) LICENSES/MIT.txt: OK (sha256: 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Collecting legal info LICENSE: OK (sha256: cb9dc8e96aedf9120b6757a60387db10f3c1a8e3fd97bb9d0f11327be5a7ed4d) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'