install libcrypto.a -> /home/br-user/work/instance-0/output-1/host/lib64/libcrypto.a install libssl.a -> /home/br-user/work/instance-0/output-1/host/lib64/libssl.a link /home/br-user/work/instance-0/output-1/host/lib64/libcrypto.so -> /home/br-user/work/instance-0/output-1/host/lib64/libcrypto.so.1.1 link /home/br-user/work/instance-0/output-1/host/lib64/libssl.so -> /home/br-user/work/instance-0/output-1/host/lib64/libssl.so.1.1 install libcrypto.pc -> /home/br-user/work/instance-0/output-1/host/lib64/pkgconfig/libcrypto.pc install libssl.pc -> /home/br-user/work/instance-0/output-1/host/lib64/pkgconfig/libssl.pc install openssl.pc -> /home/br-user/work/instance-0/output-1/host/lib64/pkgconfig/openssl.pc make[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/host-libopenssl-1.1.1q' >>> host-openssl Extracting >>> host-openssl Patching >>> host-openssl Configuring >>> host-openssl Building >>> host-openssl Installing to host directory >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Downloading GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git init . Reinitialized existing Git repository in /home/br-user/work/instance-0/dl/vboot-utils/git/.git/ GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git remote set-url origin 'https://chromium.googlesource.com/chromiumos/platform/vboot_reference' Fetching all references GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git fetch origin GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git fetch origin -t Could not fetch special ref 'bbdd62f9b030db7ad8eef789aaf58a7ff9a25656'; assuming it is not special. GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git checkout -f -q 'bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' warning: refname 'bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' is ambiguous. Git normally never creates a ref that ends with 40 hex characters because it will be ignored when you just specify 40-hex. These refs may be created by mistake. For example, git switch -c $br $(git rev-parse ...) where "$br" is somehow empty and a 40-hex ref is created. Please examine these refs and maybe delete them. Turn this message off by running "git config advice.objectNameWarning false" GIT_DIR=/home/br-user/work/instance-0/dl/vboot-utils/git/.git git clean -ffdx vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656-br1.tar.gz: OK (sha256: 9cdeaa2e4e1190c0cd200e1b07d394e5d24f57cc0efffdce861d5de934035bf7) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Extracting gzip -d -c /home/br-user/work/instance-0/dl/vboot-utils/vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656-br1.tar.gz | tar --strip-components=1 -C /home/br-user/work/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="/home/br-user/work/instance-0/output-1/host/bin:/home/br-user/work/instance-0/output-1/host/sbin:/home/br-user/.local/bin:/home/br-user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/br-user/work/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="/home/br-user/work/instance-0/output-1/host/lib/pkgconfig:/home/br-user/work/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/br-user/work/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 CC="/usr/bin/gcc" CFLAGS="-O2 -I/home/br-user/work/instance-0/output-1/host/include -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" LDFLAGS="-L/home/br-user/work/instance-0/output-1/host/lib -Wl,-rpath,/home/br-user/work/instance-0/output-1/host/lib" ARCH=arm futil cgpt make[1]: Entering directory '/home/br-user/work/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 CC futility/cmd_dump_kernel_config.o CC futility/cmd_load_fmap.o CC futility/cmd_pcr.o futility/cmd_create.c: In function 'vb1_make_keypair': futility/cmd_create.c:123:34: 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_show.o CC futility/cmd_sign.o CC futility/cmd_vbutil_firmware.o CC futility/cmd_vbutil_kernel.o futility/cmd_show.c: In function 'ft_show_privkey': futility/cmd_show.c:115:29: 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:29: 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: /home/br-user/work/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_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:29: 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:29: 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: /home/br-user/work/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 cgpt/cgpt_create.o CC cgpt/cgpt_add.o CC cgpt/cgpt_boot.o CC cgpt/cgpt_show.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_repair.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_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 CC host/lib/host_keyblock.o CC host/lib/host_misc.o CC host/lib/util_misc.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 /home/br-user/work/instance-0/output-1/host/include/openssl/x509.h:25, from /home/br-user/work/instance-0/output-1/host/include/openssl/pem.h:17, from host/lib/host_key.c:10: /home/br-user/work/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 * In file included from /home/br-user/work/instance-0/output-1/host/include/openssl/objects.h:15, from /home/br-user/work/instance-0/output-1/host/include/openssl/evp.h:28, from /home/br-user/work/instance-0/output-1/host/include/openssl/pem.h:16: /home/br-user/work/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 *' 237 | int i2d_##name(const type *a, unsigned char **out); \ | ~~~~~~~~~~~~^ /home/br-user/work/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_signature.o CC host/lib/signature_digest.o host/lib/util_misc.c: In function 'PrintPrivKeySha1Sum': host/lib/util_misc.c:39:33: 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 firmware/lib/cryptolib/padding.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 * In file included from host/lib/host_signature.c:10: /home/br-user/work/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 *' 258 | unsigned char *to, RSA *rsa, int padding); | ~~~~~^~~ 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 CC firmware/stub/utility_stub.o CC firmware/stub/vboot_api_stub_init.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/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:41: 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 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:30: 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 CC cgpt/cgpt.o CC cgpt/cgpt_find.o CC cgpt/cgpt_legacy.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_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 RM libvboot_util.a AR libvboot_util.a CC cgpt/cgpt_wrapper.o CC gen/futility_cmds.o RM libvboot_util21.a AR libvboot_util21.a LDcgpt cgpt/cgpt LD futility/futility LD cgpt/cgpt_wrapper make[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/home/br-user/work/instance-0/output-1/host/bin:/home/br-user/work/instance-0/output-1/host/sbin:/home/br-user/.local/bin:/home/br-user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/br-user/work/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="/home/br-user/work/instance-0/output-1/host/lib/pkgconfig:/home/br-user/work/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/br-user/work/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/home/br-user/work/instance-0/output-1/host futil_install cgpt_install devkeys_install make[1]: Entering directory '/home/br-user/work/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 '/home/br-user/work/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' whetstone.c: OK (sha256: 333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf) >>> whetstone 1.2 Extracting cp /home/br-user/work/instance-0/dl/whetstone/whetstone.c /home/br-user/work/instance-0/output-1/build/whetstone-1.2/ >>> whetstone 1.2 Patching >>> whetstone 1.2 Configuring >>> whetstone 1.2 Building PATH="/home/br-user/work/instance-0/output-1/host/bin:/home/br-user/work/instance-0/output-1/host/sbin:/home/br-user/.local/bin:/home/br-user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc-ar" AS="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-as" LD="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-ld" NM="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc-nm" CC="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc" GCC="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc" CPP="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-cpp" CXX="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-g++" FC="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gfortran" F77="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gfortran" RANLIB="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc-ranlib" READELF="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-readelf" STRIP="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-strip" OBJCOPY="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-objcopy" OBJDUMP="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/br-user/work/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/br-user/work/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/br-user/work/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/br-user/work/instance-0/output-1/host/lib -Wl,-rpath,/home/br-user/work/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-as" DEFAULT_LINKER="/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -g0 -static" FFLAGS=" -O2 -g0 -static" PKG_CONFIG="/home/br-user/work/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/br-user/work/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 LDLIBS="-lm" -C /home/br-user/work/instance-0/output-1/build/whetstone-1.2 whetstone make[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/whetstone-1.2' /home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static whetstone.c -lm -o whetstone make[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/whetstone-1.2' >>> whetstone 1.2 Installing to target /usr/bin/install -D /home/br-user/work/instance-0/output-1/build/whetstone-1.2/whetstone /home/br-user/work/instance-0/output-1/target/usr/bin/whetstone >>> Finalizing host directory >>> Finalizing target directory mkdir -p /home/br-user/work/instance-0/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%'-static'@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static', '-static'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_FCFLAGS@%'-O2', '-g0', '-static'@PKG_TARGET_FCFLAGS@%g" -e "s%@TARGET_CC@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc%g" -e "s%@TARGET_CXX@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-g++%g" -e "s%@TARGET_AR@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-strip%g" -e "s%@TARGET_ARCH@%riscv64%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%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@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/br-user/work/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/br-user/work/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/br-user/work/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot%g" -e "s%@STATIC@%true%g" /home/br-user/work/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/br-user/work/instance-0/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc%g" -e "s%@TARGET_CXX@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-g++%g" -e "s%@TARGET_AR@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-strip%g" -e "s%@TARGET_ARCH@%riscv64%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%'-O2', '-g0', '-static'%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static'%g" -e "s%@TARGET_LDFLAGS@%'-static'%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static', '-static'%g" -e "s%@BR2_CMAKE@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/br-user/work/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/br-user/work/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/br-user/work/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot%g" -e "s%@STATIC@%true%g" /home/br-user/work/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/br-user/work/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 #~' /home/br-user/work/instance-0/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /home/br-user/work/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /home/br-user/work/instance-0/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /home/br-user/work/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /home/br-user/work/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /home/br-user/work/instance-0/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /home/br-user/work/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /home/br-user/work/instance-0/output-1/target/etc/shells; fi mkdir -p /home/br-user/work/instance-0/output-1/target/etc echo "buildroot" > /home/br-user/work/instance-0/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/br-user/work/instance-0/output-1/target/etc/hosts mkdir -p /home/br-user/work/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /home/br-user/work/instance-0/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /home/br-user/work/instance-0/output-1/target/etc/shadow rm -f /home/br-user/work/instance-0/output-1/target/bin/sh if [ -x /home/br-user/work/instance-0/output-1/target/sbin/swapon -a -x /home/br-user/work/instance-0/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /home/br-user/work/instance-0/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /home/br-user/work/instance-0/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /home/br-user/work/instance-0/output-1/build/locales.nopurge for dir in /home/br-user/work/instance-0/output-1/target/usr/share/locale /home/br-user/work/instance-0/output-1/target/usr/share/X11/locale /home/br-user/work/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##*/}" /home/br-user/work/instance-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/br-user/work/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/br-user/work/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/br-user/work/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/br-user/work/instance-0/output-1/target/usr/include /home/br-user/work/instance-0/output-1/target/usr/share/aclocal \ /home/br-user/work/instance-0/output-1/target/usr/lib/pkgconfig /home/br-user/work/instance-0/output-1/target/usr/share/pkgconfig \ /home/br-user/work/instance-0/output-1/target/usr/lib/cmake /home/br-user/work/instance-0/output-1/target/usr/share/cmake \ /home/br-user/work/instance-0/output-1/target/usr/lib/rpm /home/br-user/work/instance-0/output-1/target/usr/doc find /home/br-user/work/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/br-user/work/instance-0/output-1/target/lib/ /home/br-user/work/instance-0/output-1/target/usr/lib/ /home/br-user/work/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/home/br-user/work/instance-0/output-1/target/usr/libexec/': No such file or directory rm -rf /home/br-user/work/instance-0/output-1/target/usr/share/gdb rm -rf /home/br-user/work/instance-0/output-1/target/usr/share/bash-completion rm -rf /home/br-user/work/instance-0/output-1/target/etc/bash_completion.d rm -rf /home/br-user/work/instance-0/output-1/target/usr/share/zsh rm -rf /home/br-user/work/instance-0/output-1/target/usr/man /home/br-user/work/instance-0/output-1/target/usr/share/man rm -rf /home/br-user/work/instance-0/output-1/target/usr/info /home/br-user/work/instance-0/output-1/target/usr/share/info rm -rf /home/br-user/work/instance-0/output-1/target/usr/doc /home/br-user/work/instance-0/output-1/target/usr/share/doc rm -rf /home/br-user/work/instance-0/output-1/target/usr/share/gtk-doc rmdir /home/br-user/work/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /home/br-user/work/instance-0/output-1/target/lib/debug /home/br-user/work/instance-0/output-1/target/usr/lib/debug find /home/br-user/work/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 /home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/br-user/work/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/br-user/work/instance-0/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/br-user/work/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 /home/br-user/work/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 /home/br-user/work/instance-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2022.11-266-gf298729fc3"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2023.02-git"; \ echo "PRETTY_NAME=\"Buildroot 2023.02-git\"" \ ) > /home/br-user/work/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/br-user/work/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/home/br-user/work/instance-0/output-1/per-package /home/br-user/work/instance-0/buildroot/support/scripts/fix-rpath target touch /home/br-user/work/instance-0/output-1/target/usr ln -snf /home/br-user/work/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot /home/br-user/work/instance-0/output-1/staging make: Leaving directory '/home/br-user/work/instance-0/buildroot' make: Entering directory '/home/br-user/work/instance-0/buildroot' >>> Buildroot 2022.11-266-gf298729fc3 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> musl-compat-headers Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-bootlin 2021.11-1 Collecting legal info >>> toolchain Collecting legal info >>> busybox 1.35.0 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> cups 2.4.2 Collecting legal info LICENSE: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) NOTICE: OK (sha256: 7a7bd639e3a8457ae40b0dcfb74ea3cc6a8132b06c726142e993625d33eb6de5) >>> host-autoconf 2.71 Collecting legal info COPYINGv3: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) COPYING.EXCEPTION: OK (sha256: 1f1cde9fb68b9b3cff18c420894bec5bd4defacd700b7d13df54a887301e5350) >>> 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-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> zlib Collecting legal info >>> libzlib 1.2.13 Collecting legal info LICENSE: OK (sha256: 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243) >>> docker-proxy f6ccccb1c082a432c2a5814aaedaca56af33d9ea Collecting legal info LICENSE: OK (sha256: cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14) >>> host-go 1.19.3 Collecting legal info LICENSE: OK (sha256: 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067) >>> host-go-bootstrap 1.4-bootstrap-20171003 Collecting legal info LICENSE: OK (sha256: dd26a7abddd02e2d0aba97805b31f248ef7835d9e10da289b22e3b8ab78b324d) >>> initscripts Collecting legal info >>> iozone 3.493 Collecting legal info >>> json-for-modern-cpp 3.10.5 Collecting legal info LICENSE.MIT: OK (sha256: 86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14) >>> libosip2 5.3.1 Collecting legal info COPYING: OK (sha256: 8d9e95ed0e48df46dc758eb0d86df611f771eab4eed94bebb77dca87f1c897de) >>> libubootenv 0.3.3 Collecting legal info LICENSES/CC0-1.0.txt: OK (sha256: 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192) LICENSES/LGPL-2.1-or-later.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) LICENSES/MIT.txt: OK (sha256: 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e) >>> host-patchelf 0.13 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-python-lxml 4.9.1 Collecting legal info LICENSES.txt: OK (sha256: 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392) doc/licenses/BSD.txt: OK (sha256: 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a) doc/licenses/elementtree.txt: OK (sha256: 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e) src/lxml/isoschematron/resources/rng/iso-schematron.rng: OK (sha256: 56c5b13f28b78958890c36e3249c34c169041e42ebcfdce8080f3324ba2bf4de) >>> host-libxml2 2.10.3 Collecting legal info Copyright: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> host-libxslt 1.1.37 Collecting legal info COPYING: OK (sha256: 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819) >>> host-python-setuptools 65.5.1 Collecting legal info LICENSE: OK (sha256: db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8) >>> host-python3 3.11.0 Collecting legal info LICENSE: OK (sha256: f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b) >>> host-autoconf-archive 2021.02.19 Collecting legal info COPYING: OK (sha256: e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-automake 1.16.5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-expat 2.5.0 Collecting legal info COPYING: OK (sha256: 122f2c27000472a201d337b9b31f7eb2b52d091b02857061a8880371612d9534) >>> host-libffi 3.4.4 Collecting legal info LICENSE: OK (sha256: 2c9c2acb9743e6b007b91350475308aee44691d96aa20eacef8e199988c8c388) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.13 Collecting legal info LICENSE: OK (sha256: 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243) >>> host-util-linux 2.38 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) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Collecting legal info LICENSE: OK (sha256: cb9dc8e96aedf9120b6757a60387db10f3c1a8e3fd97bb9d0f11327be5a7ed4d) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1q Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> whetstone 1.2 Collecting legal info WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-bootlin-2021.11-1: cannot save license (TOOLCHAIN_EXTERNAL_BOOTLIN_LICENSE_FILES not defined) WARNING: iozone-3.493: cannot save license (IOZONE_LICENSE_FILES not defined) WARNING: whetstone-1.2: cannot save license (WHETSTONE_LICENSE_FILES not defined) Legal info produced in /home/br-user/work/instance-0/output-1/legal-info make: Leaving directory '/home/br-user/work/instance-0/buildroot'