libtool: install: /usr/bin/install -c mcookie /home/buildroot/autobuild/instance-3/output-1/host/bin/mcookie libtool: install: /usr/bin/install -c namei /home/buildroot/autobuild/instance-3/output-1/host/bin/namei make[5]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' make[5]: Nothing to be done for 'install-data-hook'. make[5]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' libtool: install: /usr/bin/install -c whereis /home/buildroot/autobuild/instance-3/output-1/host/bin/whereis libtool: install: /usr/bin/install -c lslocks /home/buildroot/autobuild/instance-3/output-1/host/bin/lslocks libtool: install: /usr/bin/install -c uuidgen /home/buildroot/autobuild/instance-3/output-1/host/bin/uuidgen libtool: install: /usr/bin/install -c uuidparse /home/buildroot/autobuild/instance-3/output-1/host/bin/uuidparse libtool: install: /usr/bin/install -c rename /home/buildroot/autobuild/instance-3/output-1/host/bin/rename libtool: install: /usr/bin/install -c getopt /home/buildroot/autobuild/instance-3/output-1/host/bin/getopt libtool: install: /usr/bin/install -c fincore /home/buildroot/autobuild/instance-3/output-1/host/bin/fincore libtool: install: /usr/bin/install -c hardlink /home/buildroot/autobuild/instance-3/output-1/host/bin/hardlink libtool: install: /usr/bin/install -c isosize /home/buildroot/autobuild/instance-3/output-1/host/bin/isosize /usr/bin/make install-exec-hook make[5]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' if test "/home/buildroot/autobuild/instance-3/output-1/host/lib" != "/home/buildroot/autobuild/instance-3/output-1/host/lib" -a -f "/home/buildroot/autobuild/instance-3/output-1/host/lib/libuuid.so"; then \ /bin/mkdir -p /home/buildroot/autobuild/instance-3/output-1/host/lib; \ mv /home/buildroot/autobuild/instance-3/output-1/host/lib/libuuid.so.* /home/buildroot/autobuild/instance-3/output-1/host/lib; \ so_img_name=$(readlink /home/buildroot/autobuild/instance-3/output-1/host/lib/libuuid.so); \ so_img_rel_target=$(echo /home/buildroot/autobuild/instance-3/output-1/host/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ (cd /home/buildroot/autobuild/instance-3/output-1/host/lib && \ rm -f libuuid.so && \ ln -s $so_img_rel_target/home/buildroot/autobuild/instance-3/output-1/host/lib/$so_img_name libuuid.so); \ fi if test "/home/buildroot/autobuild/instance-3/output-1/host/lib" != "/home/buildroot/autobuild/instance-3/output-1/host/lib" -a -f "/home/buildroot/autobuild/instance-3/output-1/host/lib/libblkid.so"; then \ /bin/mkdir -p /home/buildroot/autobuild/instance-3/output-1/host/lib; \ mv /home/buildroot/autobuild/instance-3/output-1/host/lib/libblkid.so.* /home/buildroot/autobuild/instance-3/output-1/host/lib; \ so_img_name=$(readlink /home/buildroot/autobuild/instance-3/output-1/host/lib/libblkid.so); \ so_img_rel_target=$(echo /home/buildroot/autobuild/instance-3/output-1/host/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ (cd /home/buildroot/autobuild/instance-3/output-1/host/lib && \ rm -f libblkid.so && \ ln -s $so_img_rel_target/home/buildroot/autobuild/instance-3/output-1/host/lib/$so_img_name libblkid.so); \ fi if test "/home/buildroot/autobuild/instance-3/output-1/host/lib" != "/home/buildroot/autobuild/instance-3/output-1/host/lib" -a -f "/home/buildroot/autobuild/instance-3/output-1/host/lib/libmount.so"; then \ /bin/mkdir -p /home/buildroot/autobuild/instance-3/output-1/host/lib; \ mv /home/buildroot/autobuild/instance-3/output-1/host/lib/libmount.so.* /home/buildroot/autobuild/instance-3/output-1/host/lib; \ so_img_name=$(readlink /home/buildroot/autobuild/instance-3/output-1/host/lib/libmount.so); \ so_img_rel_target=$(echo /home/buildroot/autobuild/instance-3/output-1/host/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ (cd /home/buildroot/autobuild/instance-3/output-1/host/lib && \ rm -f libmount.so && \ ln -s $so_img_rel_target/home/buildroot/autobuild/instance-3/output-1/host/lib/$so_img_name libmount.so); \ fi if test "/home/buildroot/autobuild/instance-3/output-1/host/lib" != "/home/buildroot/autobuild/instance-3/output-1/host/lib" -a -f "/home/buildroot/autobuild/instance-3/output-1/host/lib/libsmartcols.so"; then \ /bin/mkdir -p /home/buildroot/autobuild/instance-3/output-1/host/lib; \ mv /home/buildroot/autobuild/instance-3/output-1/host/lib/libsmartcols.so.* /home/buildroot/autobuild/instance-3/output-1/host/lib; \ so_img_name=$(readlink /home/buildroot/autobuild/instance-3/output-1/host/lib/libsmartcols.so); \ so_img_rel_target=$(echo /home/buildroot/autobuild/instance-3/output-1/host/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ (cd /home/buildroot/autobuild/instance-3/output-1/host/lib && \ rm -f libsmartcols.so && \ ln -s $so_img_rel_target/home/buildroot/autobuild/instance-3/output-1/host/lib/$so_img_name libsmartcols.so); \ fi if test "/home/buildroot/autobuild/instance-3/output-1/host/lib" != "/home/buildroot/autobuild/instance-3/output-1/host/lib" -a -f "/home/buildroot/autobuild/instance-3/output-1/host/lib/libfdisk.so"; then \ /bin/mkdir -p /home/buildroot/autobuild/instance-3/output-1/host/lib; \ mv /home/buildroot/autobuild/instance-3/output-1/host/lib/libfdisk.so.* /home/buildroot/autobuild/instance-3/output-1/host/lib; \ so_img_name=$(readlink /home/buildroot/autobuild/instance-3/output-1/host/lib/libfdisk.so); \ so_img_rel_target=$(echo /home/buildroot/autobuild/instance-3/output-1/host/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ (cd /home/buildroot/autobuild/instance-3/output-1/host/lib && \ rm -f libfdisk.so && \ ln -s $so_img_rel_target/home/buildroot/autobuild/instance-3/output-1/host/lib/$so_img_name libfdisk.so); \ fi cd /home/buildroot/autobuild/instance-3/output-1/host/bin && ln -sf last lastb for I in uname26 linux32 linux64 i386 x86_64 ; do \ cd /home/buildroot/autobuild/instance-3/output-1/host/bin && ln -sf setarch $I ; \ done chmod 4755 /home/buildroot/autobuild/instance-3/output-1/host/bin/mount chmod 4755 /home/buildroot/autobuild/instance-3/output-1/host/bin/umount make[5]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' make[4]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-util-linux-2.37.4' vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656-br1.tar.gz: OK (sha256: 9cdeaa2e4e1190c0cd200e1b07d394e5d24f57cc0efffdce861d5de934035bf7) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/vboot-utils/vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656-br1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-3/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 CC="/usr/bin/gcc" CFLAGS="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" LDFLAGS="-L/home/buildroot/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-3/output-1/host/lib" ARCH=arm futil cgpt make[1]: Entering directory '/home/buildroot/autobuild/instance-3/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:27: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] privkey->rsa_private_key = rsa_key; ^ CC futility/cmd_show.o CC futility/cmd_sign.o futility/cmd_show.c: In function 'ft_show_privkey': futility/cmd_show.c:115:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, len); ^ futility/cmd_show.c:125:12: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] RSA_free(key.rsa_private_key); ^~~ In file included from futility/cmd_show.c:8:0: /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/rsa.h:263:6: note: expected 'RSA * {aka struct rsa_st *}' but argument is of type 'struct rsa_rt *' void RSA_free(RSA *r); ^~~~~~~~ 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 CC futility/vb2_helper.o GEN gen/futility_cmds.c futility/vb1_helper.c: In function 'ft_recognize_vb1_key': futility/vb1_helper.c:764:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, ^ futility/vb1_helper.c:768:12: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] RSA_free(key.rsa_private_key); ^~~ In file included from futility/vb1_helper.c:12:0: /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/rsa.h:263:6: note: expected 'RSA * {aka struct rsa_st *}' but argument is of type 'struct rsa_rt *' void RSA_free(RSA *r); ^~~~~~~~ CC cgpt/cgpt_create.o CC cgpt/cgpt_add.o CC cgpt/cgpt_boot.o CC cgpt/cgpt_show.o 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 CC host/lib/host_keyblock.o CC host/lib/host_misc.o CC host/lib/util_misc.o 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:23: warning: passing argument 1 of 'vb_keyb_from_rsa' from incompatible pointer type [-Wincompatible-pointer-types] if (vb_keyb_from_rsa(key->rsa_private_key, &buf, &buflen)) { ^~~ In file included from host/lib/util_misc.c:19:0: host/lib/include/util_misc.h:42:5: note: expected 'struct rsa_st *' but argument is of type 'struct rsa_rt *' int vb_keyb_from_rsa(struct rsa_st *rsa_private_key, ^~~~~~~~~~~~~~~~ host/lib/host_key.c: In function 'PrivateKeyReadPem': host/lib/host_key.c:54:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] key->rsa_private_key = rsa_key; ^ host/lib/host_key.c: In function 'PrivateKeyFree': host/lib/host_key.c:66:14: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] RSA_free(key->rsa_private_key); ^~~ In file included from /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/x509.h:25:0, from /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/pem.h:17, from host/lib/host_key.c:10: /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/rsa.h:263:6: note: expected 'RSA * {aka struct rsa_st *}' but argument is of type 'struct rsa_rt *' void RSA_free(RSA *r); ^~~~~~~~ host/lib/host_key.c: In function 'PrivateKeyWrite': host/lib/host_key.c:77:30: warning: passing argument 1 of 'i2d_RSAPrivateKey' from incompatible pointer type [-Wincompatible-pointer-types] buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); ^~~ In file included from /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/objects.h:15:0, from /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/evp.h:28, from /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/pem.h:16, from host/lib/host_key.c:10: /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/asn1.h:237:13: note: expected 'const RSA * {aka const struct rsa_st *}' but argument is of type 'struct rsa_rt * const' int i2d_##name(const type *a, unsigned char **out); \ ^ /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/rsa.h:281:1: note: in expansion of macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_const' DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey) ^ host/lib/host_key.c: In function 'PrivateKeyRead': host/lib/host_key.c:131:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] key->rsa_private_key = d2i_RSAPrivateKey(0, &start, ^ CC firmware/lib/cryptolib/padding.o host/lib/host_signature.c: In function 'CalculateSignature': host/lib/host_signature.c:146:28: warning: passing argument 4 of 'RSA_private_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] key->rsa_private_key, /* Key to use */ ^~~ In file included from host/lib/host_signature.c:10:0: /home/buildroot/autobuild/instance-3/output-1/host/include/openssl/rsa.h:257:5: note: expected 'RSA * {aka struct rsa_st *}' but argument is of type 'struct rsa_rt * const' int RSA_private_encrypt(int flen, const unsigned char *from, ^~~~~~~~~~~~~~~~~~~ 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 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] assert( ^~~~~~ 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 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 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 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_show.o RM libvboot_util.a CC cgpt/cmd_repair.o AR libvboot_util.a CC cgpt/cgpt_wrapper.o CC gen/futility_cmds.o RM libvboot_util21.a LD cgpt/cgpt_wrapper LDcgpt cgpt/cgpt AR libvboot_util21.a LD futility/futility make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-3/output-1/host/share/pkgconfig" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/home/buildroot/autobuild/instance-3/output-1/host futil_install cgpt_install devkeys_install make[1]: Entering directory '/home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /home/buildroot/autobuild/instance-3/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-gcc-ar%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/instance-3/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_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/instance-3/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-3/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-musl/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-3/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-gcc-ar%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/instance-3/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_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/instance-3/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-3/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-musl/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-3/output-1/host/etc/meson/cross-compilation.conf /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /home/buildroot/autobuild/instance-3/output-1/target/etc/inittab /bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /home/buildroot/autobuild/instance-3/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /home/buildroot/autobuild/instance-3/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /home/buildroot/autobuild/instance-3/output-1/target/etc/shells || echo "/bin/ash" >> /home/buildroot/autobuild/instance-3/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /home/buildroot/autobuild/instance-3/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /home/buildroot/autobuild/instance-3/output-1/target/etc/shells || echo "/bin/hush" >> /home/buildroot/autobuild/instance-3/output-1/target/etc/shells; fi mkdir -p /home/buildroot/autobuild/instance-3/output-1/target/etc echo "buildroot" > /home/buildroot/autobuild/instance-3/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/buildroot/autobuild/instance-3/output-1/target/etc/hosts mkdir -p /home/buildroot/autobuild/instance-3/output-1/target/etc echo "Welcome to Buildroot" > /home/buildroot/autobuild/instance-3/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /home/buildroot/autobuild/instance-3/output-1/target/etc/shadow rm -f /home/buildroot/autobuild/instance-3/output-1/target/bin/sh if [ -x /home/buildroot/autobuild/instance-3/output-1/target/sbin/swapon -a -x /home/buildroot/autobuild/instance-3/output-1/target/sbin/swapoff ]; then /bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /home/buildroot/autobuild/instance-3/output-1/target/etc/inittab; else /bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /home/buildroot/autobuild/instance-3/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /home/buildroot/autobuild/instance-3/output-1/build/locales.nopurge for dir in /home/buildroot/autobuild/instance-3/output-1/target/usr/share/locale /home/buildroot/autobuild/instance-3/output-1/target/usr/share/X11/locale /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/buildroot/autobuild/instance-3/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/buildroot/autobuild/instance-3/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/buildroot/autobuild/instance-3/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/include /home/buildroot/autobuild/instance-3/output-1/target/usr/share/aclocal \ /home/buildroot/autobuild/instance-3/output-1/target/usr/lib/pkgconfig /home/buildroot/autobuild/instance-3/output-1/target/usr/share/pkgconfig \ /home/buildroot/autobuild/instance-3/output-1/target/usr/lib/cmake /home/buildroot/autobuild/instance-3/output-1/target/usr/share/cmake \ /home/buildroot/autobuild/instance-3/output-1/target/usr/doc find /home/buildroot/autobuild/instance-3/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/buildroot/autobuild/instance-3/output-1/target/lib/ /home/buildroot/autobuild/instance-3/output-1/target/usr/lib/ /home/buildroot/autobuild/instance-3/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/home/buildroot/autobuild/instance-3/output-1/target/usr/libexec/': No such file or directory rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/share/gdb rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/share/bash-completion rm -rf /home/buildroot/autobuild/instance-3/output-1/target/etc/bash_completion.d rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/share/zsh rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/man /home/buildroot/autobuild/instance-3/output-1/target/usr/share/man rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/info /home/buildroot/autobuild/instance-3/output-1/target/usr/share/info rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/doc /home/buildroot/autobuild/instance-3/output-1/target/usr/share/doc rm -rf /home/buildroot/autobuild/instance-3/output-1/target/usr/share/gtk-doc rmdir /home/buildroot/autobuild/instance-3/output-1/target/usr/share 2>/dev/null || true rm -rf /home/buildroot/autobuild/instance-3/output-1/target/lib/debug /home/buildroot/autobuild/instance-3/output-1/target/usr/lib/debug find /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/buildroot/autobuild/instance-3/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/buildroot/autobuild/instance-3/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-5018-g60ff1d619d"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.02.1"; \ echo "PRETTY_NAME=\"Buildroot 2022.02.1\"" \ ) > /home/buildroot/autobuild/instance-3/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/buildroot/autobuild/instance-3/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/home/buildroot/autobuild/instance-3/output-1/per-package /home/buildroot/autobuild/instance-3/buildroot/support/scripts/fix-rpath target touch /home/buildroot/autobuild/instance-3/output-1/target/usr ln -snf /home/buildroot/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-musl/sysroot /home/buildroot/autobuild/instance-3/output-1/staging make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot' make: Entering directory '/home/buildroot/autobuild/instance-3/buildroot' >>> Buildroot 2021.05-5018-g60ff1d619d 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) >>> e2fsprogs 1.46.5 Collecting legal info NOTICE: OK (sha256: 5da5ef153e559c1d990d4c3eedbedd4442db892d37eae1f35fff069de8ec9020) lib/ss/mit-sipb-copyright.h: OK (sha256: 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d) lib/et/internal.h: OK (sha256: 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> util-linux 2.37.4 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) >>> zlib Collecting legal info >>> libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> erlang 22.3.4.22 Collecting legal info LICENSE.txt: OK (sha256: 809fa1ed21450f59827d1e9aec720bbc4b687434fa22283c6cb5dd82a47ab9c0) >>> 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-erlang 22.3.4.22 Collecting legal info LICENSE.txt: OK (sha256: 809fa1ed21450f59827d1e9aec720bbc4b687434fa22283c6cb5dd82a47ab9c0) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1n Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> ftop 1.0 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> gensio 2.2.9 Collecting legal info COPYING.LIB: OK (sha256: dcac7d447dd81ab96d28dce00a07a6486e623f7ded94e2a2a8e83312405cdf89) COPYING: OK (sha256: 501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1) >>> giflib 5.2.1 Collecting legal info COPYING: OK (sha256: 0c9b7990ecdca88b676db232c226548ac408b279f550d424d996f0d83591dd8e) >>> hwloc 2.7.0 Collecting legal info COPYING: OK (sha256: d79a936a42f3c6cb7c8375a023d43f4435f4664d3a5a2ea6b4623cff83c7fc06) >>> initscripts Collecting legal info >>> libasplib be7fac89218a84b75f7598e3d76625ece99296f2 Collecting legal info LICENSE: OK (sha256: 12ac5047f2af0522f06798b1589ffc4599bc29c91f954d7874e0320634e777c0) >>> libevent 2.1.12 Collecting legal info LICENSE: OK (sha256: ff02effc9b331edcdac387d198691bfa3e575e7d244ad10cb826aa51ef085670) >>> libhttpserver 0.18.2 Collecting legal info COPYING.LESSER: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> host-automake 1.16.5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> libmicrohttpd 0.9.75 Collecting legal info COPYING: OK (sha256: 7399547209438c93f9b90297954698773d4846cea44cde5ca982c84c45952a3b) >>> libiec61850 1.5.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libnetfilter_queue 1.0.5 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> libnfnetlink 1.0.1 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> libuev 2.4.0 Collecting legal info LICENSE: OK (sha256: 694a734d9c1b46ae203314ed1c744a1acebd4fe5fc964b761703772546f0d3ab) >>> lldpd 1.0.9 Collecting legal info LICENSE: OK (sha256: 0e96a5aea65f16e2239231ce4ab90497f8bc3bb8fe6abe9299aade4726ff7c8d) >>> opentracing-cpp 1.5.1 Collecting legal info LICENSE: OK (sha256: 076d03156735d5ff2df2ea0f8b12351ef65e5e9222b5c8c6a35101dadb41e717) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> uredir 3.3 Collecting legal info LICENSE: OK (sha256: e4b8fd3375ce44e5e03be199724a8785510ea5fa58ed92a7a34fd0ccbd35db10) >>> host-util-linux 2.37.4 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) 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) Legal info produced in /home/buildroot/autobuild/instance-3/output-1/legal-info make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'