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="/nvmedata/autobuild/instance-4/output-1/host/bin:/nvmedata/autobuild/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-4/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvmedata/autobuild/instance-4/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-4/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-4/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 CC="/nvmedata/autobuild/instance-4/output-1/host/bin/ccache /usr/bin/gcc" CFLAGS="-O2 -I/nvmedata/autobuild/instance-4/output-1/host/include -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" LDFLAGS="-L/nvmedata/autobuild/instance-4/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-4/output-1/host/lib" ARCH=arm futil cgpt make[1]: Entering directory '/nvmedata/autobuild/instance-4/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: /nvmedata/autobuild/instance-4/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: /nvmedata/autobuild/instance-4/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 /nvmedata/autobuild/instance-4/output-1/host/include/openssl/x509.h:25, from /nvmedata/autobuild/instance-4/output-1/host/include/openssl/pem.h:17, from host/lib/host_key.c:10: /nvmedata/autobuild/instance-4/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 /nvmedata/autobuild/instance-4/output-1/host/include/openssl/objects.h:15, from /nvmedata/autobuild/instance-4/output-1/host/include/openssl/evp.h:28, from /nvmedata/autobuild/instance-4/output-1/host/include/openssl/pem.h:16, from host/lib/host_key.c:10: /nvmedata/autobuild/instance-4/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); \ | ~~~~~~~~~~~~^ /nvmedata/autobuild/instance-4/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: /nvmedata/autobuild/instance-4/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 '/nvmedata/autobuild/instance-4/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/nvmedata/autobuild/instance-4/output-1/host/bin:/nvmedata/autobuild/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-4/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvmedata/autobuild/instance-4/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-4/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-4/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/nvmedata/autobuild/instance-4/output-1/host futil_install cgpt_install devkeys_install make[1]: Entering directory '/nvmedata/autobuild/instance-4/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 '/nvmedata/autobuild/instance-4/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /nvmedata/autobuild/instance-4/output-1/host/etc/meson sed -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_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_CC@%/nvmedata/autobuild/instance-4/output-1/host/bin/nios2-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/nvmedata/autobuild/instance-4/output-1/host/bin/nios2-buildroot-linux-gnu-g++%g" -e "s%@TARGET_AR@%/nvmedata/autobuild/instance-4/output-1/host/bin/nios2-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%nios2%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@%/nvmedata/autobuild/instance-4/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/nvmedata/autobuild/instance-4/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/nvmedata/autobuild/instance-4/output-1/host/nios2-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /nvmedata/autobuild/instance-4/buildroot/support/misc/cross-compilation.conf.in > /nvmedata/autobuild/instance-4/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/nvmedata/autobuild/instance-4/output-1/host/bin/nios2-buildroot-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/nvmedata/autobuild/instance-4/output-1/host/bin/nios2-buildroot-linux-gnu-g++%g" -e "s%@TARGET_AR@%/nvmedata/autobuild/instance-4/output-1/host/bin/nios2-buildroot-linux-gnu-gcc-ar%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%nios2%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'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/nvmedata/autobuild/instance-4/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/nvmedata/autobuild/instance-4/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/nvmedata/autobuild/instance-4/output-1/host/nios2-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /nvmedata/autobuild/instance-4/buildroot/support/misc/cross-compilation.conf.in > /nvmedata/autobuild/instance-4/output-1/host/etc/meson/cross-compilation.conf grep -qsE '^/bin/dash$' /nvmedata/autobuild/instance-4/output-1/target/etc/shells || echo "/bin/dash" >> /nvmedata/autobuild/instance-4/output-1/target/etc/shells rm -f -r /nvmedata/autobuild/instance-4/output-1/target/usr/share/openrc { echo "baud=\"0\""; echo "term_type=\"vt100\"" ; echo "agetty_options=\"-L \""; } > /nvmedata/autobuild/instance-4/output-1/target/etc/conf.d/agetty.console ln -sf agetty /nvmedata/autobuild/instance-4/output-1/target/etc/init.d/agetty.console ln -sf /etc/init.d/agetty.console /nvmedata/autobuild/instance-4/output-1/target/etc/runlevels/default/agetty.console mkdir -p /nvmedata/autobuild/instance-4/output-1/target/etc echo "buildroot" > /nvmedata/autobuild/instance-4/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /nvmedata/autobuild/instance-4/output-1/target/etc/hosts mkdir -p /nvmedata/autobuild/instance-4/output-1/target/etc echo "Welcome to Buildroot" > /nvmedata/autobuild/instance-4/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /nvmedata/autobuild/instance-4/output-1/target/etc/shadow grep -qsE '^/bin/sh$' /nvmedata/autobuild/instance-4/output-1/target/etc/shells || echo "/bin/sh" >> /nvmedata/autobuild/instance-4/output-1/target/etc/shells ln -sf dash /nvmedata/autobuild/instance-4/output-1/target/bin/sh /bin/sed -i -e '/^root:/s,[^/]*$,dash,' /nvmedata/autobuild/instance-4/output-1/target/etc/passwd rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/include /nvmedata/autobuild/instance-4/output-1/target/usr/share/aclocal \ /nvmedata/autobuild/instance-4/output-1/target/usr/lib/pkgconfig /nvmedata/autobuild/instance-4/output-1/target/usr/share/pkgconfig \ /nvmedata/autobuild/instance-4/output-1/target/usr/lib/cmake /nvmedata/autobuild/instance-4/output-1/target/usr/share/cmake \ /nvmedata/autobuild/instance-4/output-1/target/usr/doc find /nvmedata/autobuild/instance-4/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /nvmedata/autobuild/instance-4/output-1/target/lib/ /nvmedata/autobuild/instance-4/output-1/target/usr/lib/ /nvmedata/autobuild/instance-4/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/share/gdb rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/share/bash-completion rm -rf /nvmedata/autobuild/instance-4/output-1/target/etc/bash_completion.d rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/share/zsh rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/man /nvmedata/autobuild/instance-4/output-1/target/usr/share/man rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/info /nvmedata/autobuild/instance-4/output-1/target/usr/share/info rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/doc /nvmedata/autobuild/instance-4/output-1/target/usr/share/doc rm -rf /nvmedata/autobuild/instance-4/output-1/target/usr/share/gtk-doc rmdir /nvmedata/autobuild/instance-4/output-1/target/usr/share 2>/dev/null || true rm -rf /nvmedata/autobuild/instance-4/output-1/target/lib/debug /nvmedata/autobuild/instance-4/output-1/target/usr/lib/debug find /nvmedata/autobuild/instance-4/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /bin/true 2>/dev/null || true find /nvmedata/autobuild/instance-4/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /bin/true 2>/dev/null || true test -f /nvmedata/autobuild/instance-4/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /nvmedata/autobuild/instance-4/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /nvmedata/autobuild/instance-4/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2022.02-441-g8f3cfe4196"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.05-git"; \ echo "PRETTY_NAME=\"Buildroot 2022.05-git\"" \ ) > /nvmedata/autobuild/instance-4/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /nvmedata/autobuild/instance-4/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/nvmedata/autobuild/instance-4/output-1/per-package /nvmedata/autobuild/instance-4/buildroot/support/scripts/fix-rpath target touch /nvmedata/autobuild/instance-4/output-1/target/usr ln -snf /nvmedata/autobuild/instance-4/output-1/host/nios2-buildroot-linux-gnu/sysroot /nvmedata/autobuild/instance-4/output-1/staging make: Leaving directory '/nvmedata/autobuild/instance-4/buildroot' make: Entering directory '/nvmedata/autobuild/instance-4/buildroot' >>> Buildroot 2022.02-441-g8f3cfe4196 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> host-asn1c 0.9.28 Collecting legal info LICENSE: OK (sha256: bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48b) >>> host-ccache 3.7.12 Collecting legal info LICENSE.adoc: OK (sha256: 4f63223bcdee822d55a6768cc8399ffe06401d7a03cfe79e1dc305f50dc22c59) GPL-3.0.txt: OK (sha256: ec6b1a326ff93b2cc21df88a697ae470ff6927a55b8929e7e491b315e1563361) >>> host-skeleton Collecting legal info >>> dash 0.5.11.5 Collecting legal info COPYING: OK (sha256: 254a7894923ff62e69184a991dcbccae97edee58a1105e8efbe78caf10595d72) >>> skeleton Collecting legal info >>> skeleton-init-openrc Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain Collecting legal info >>> toolchain-buildroot Collecting legal info >>> host-gcc-final 9.4.0 Collecting legal info >>> glibc 2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) LICENSES: OK (sha256: b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc) >>> host-bison 3.8.2 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-m4 1.4.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-gawk 5.1.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-gcc-initial 9.4.0 Collecting legal info >>> host-binutils 2.36.1 Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> host-gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-mpc 1.2.1 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-mpfr 4.1.0 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> linux-headers 4.19.235 Collecting legal info >>> dhcpdump 1.8 Collecting legal info LICENSE: OK (sha256: bab6ca76b7e93885396513689b1248dfb0e8fd662695b8bd1b26784ef71a0192) >>> libpcap 1.10.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> 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-automake 1.16.5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-fwup 1.9.0 Collecting legal info LICENSE: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-libarchive 3.5.3 Collecting legal info COPYING: OK (sha256: b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> host-libconfuse 3.3 Collecting legal info LICENSE: OK (sha256: dc3ff4b62f851dd2e94a151061ffeb7d28ddfc880a442068dc5283dbaa927306) >>> host-gptfdisk 1.0.8 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) >>> host-popt 1.18 Collecting legal info COPYING: OK (sha256: 518d4f2a05064cb9a8ec0ea02e86408af4feed6916f78ef42171465db8b383c5) >>> 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) >>> ifplugd 0.28 Collecting legal info LICENSE: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> libdaemon 0.14 Collecting legal info LICENSE: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> kmod 29 Collecting legal info libkmod/COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> openssl Collecting legal info >>> libopenssl 1.1.1n Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> zlib Collecting legal info >>> libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> libhdhomerun 20210624 Collecting legal info LICENSE: OK (sha256: 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9) >>> libndp 1.8 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> netplug 1.2.9.2 Collecting legal info COPYING: OK (sha256: 08ce3ddda499d6befdc80161c7cc82e90da05c31eb1047dae41ef531d5170e9b) >>> openrc 0.43.3 Collecting legal info LICENSE: OK (sha256: 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> pciutils 3.7.0 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> pppd 2.4.9 Collecting legal info pppd/tdb.c: OK (sha256: 3990c65c506885f7bb75455d1d6188743a14ad46f5b62e136ef3739aed52c532) pppd/plugins/pppoatm/COPYING: OK (sha256: 1822ead9d2854adfbd282322b29730a3fec4cc67f6f6a2e487aad3476e3afd59) pppdump/bsd-comp.c: OK (sha256: d759ec16875a69c2d5529f8cb3c040fef8fe38d26f70457aadb73c91b72746c8) pppd/ccp.c: OK (sha256: c0d0f14b6ec9948332f10ded741293ed1f3b96e0d266e4903b605a6e1f8af7cd) pppd/plugins/passprompt.c: OK (sha256: 367f334c509db2b293aea5ce9f54284d9a9f6e0a9e0c6e305d544079baf8ab63) >>> host-python-cython 0.29.27 Collecting legal info COPYING.txt: OK (sha256: e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7) LICENSE.txt: OK (sha256: a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9) >>> host-python-setuptools 60.9.3 Collecting legal info LICENSE: OK (sha256: db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8) >>> host-python3 3.10.2 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-expat 2.4.7 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> host-python-greenlet 1.1.2 Collecting legal info LICENSE: OK (sha256: 769831d6e5dfaf2c20802faccff1fafb4c2025dd8f6253dfa47fcad59d4d0979) LICENSE.PSF: OK (sha256: e5ff3c23c110e494cd7d736c10fd96d462457bafeca310840db6527298c7d46b) >>> rp-pppoe 3.15 Collecting legal info doc/LICENSE: OK (sha256: 464006ba771074f4022db14f58a29a0b447b6fdde9529cf0331be396b6279162) >>> smstools3 3.1.21 Collecting legal info doc/license.html: OK (sha256: 884d8f0377259f291432f4fa31d5a9720eefa0e0d797652ae686b6325a434624) LICENSE: OK (sha256: 786b4da4dd900cad87a7dc17769458607bdeae575d62e6e98ad7144e9225f8d3) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Collecting legal info LICENSE: OK (sha256: cb9dc8e96aedf9120b6757a60387db10f3c1a8e3fd97bb9d0f11327be5a7ed4d) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1n Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) WARNING: the Buildroot source code has not been saved WARNING: gcc-final-9.4.0: cannot save license (HOST_GCC_FINAL_LICENSE_FILES not defined) WARNING: gcc-initial-9.4.0: cannot save license (HOST_GCC_INITIAL_LICENSE_FILES not defined) WARNING: linux-headers-4.19.235: cannot save license (LINUX_HEADERS_LICENSE_FILES not defined) Legal info produced in /nvmedata/autobuild/instance-4/output-1/legal-info make: Leaving directory '/nvmedata/autobuild/instance-4/buildroot'