CC cgpt/cgpt_create.o CC cgpt/cgpt_add.o cgpt/cgpt_add.c: In function 'GptSetEntryAttributes': cgpt/cgpt_add.c:89:63: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 89 | if (CGPT_OK != UTF8ToUTF16((uint8_t *)params->label, entry->name, | ~~~~~^~~~~~ CC cgpt/cgpt_boot.o CC cgpt/cgpt_show.o cgpt/cgpt_show.c: In function 'EntryDetails': cgpt/cgpt_show.c:104:20: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 104 | UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]), | ~~~~~^~~~~~ cgpt/cgpt_show.c: In function 'GptShow': cgpt/cgpt_show.c:199:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 199 | UTF16ToUTF8(entry->name, sizeof(entry->name) / sizeof(entry->name[0]), | ~~~~~^~~~~~ CC cgpt/cgpt_repair.o CC cgpt/cgpt_prioritize.o CC cgpt/cgpt_common.o CC futility/dump_kernel_config_lib.o CC host/arch/arm/lib/crossystem_arch.o CC host/lib/crossystem.o CC host/lib/file_keys.o CC host/lib/fmap.o CC host/lib/host_common.o CC host/lib/host_key.o host/lib/host_key.c: In function 'PrivateKeyReadPem': host/lib/host_key.c:54:24: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 54 | key->rsa_private_key = rsa_key; | ^ host/lib/host_key.c: In function 'PrivateKeyFree': host/lib/host_key.c:66:17: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [-Wincompatible-pointer-types] 66 | RSA_free(key->rsa_private_key); | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * In file included from /tmp/instance-0/output-1/host/include/openssl/x509.h:25, from /tmp/instance-0/output-1/host/include/openssl/pem.h:17, from host/lib/host_key.c:10: /tmp/instance-0/output-1/host/include/openssl/rsa.h:263:20: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt *' 263 | void RSA_free(RSA *r); | ~~~~~^ host/lib/host_key.c: In function 'PrivateKeyWrite': host/lib/host_key.c:77:33: warning: passing argument 1 of 'i2d_RSAPrivateKey' from incompatible pointer type [-Wincompatible-pointer-types] 77 | buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * const In file included from /tmp/instance-0/output-1/host/include/openssl/objects.h:15, from /tmp/instance-0/output-1/host/include/openssl/evp.h:28, from /tmp/instance-0/output-1/host/include/openssl/pem.h:16, from host/lib/host_key.c:10: /tmp/instance-0/output-1/host/include/openssl/asn1.h:237:36: note: expected 'const RSA *' {aka 'const struct rsa_st *'} but argument is of type 'struct rsa_rt * const' 237 | int i2d_##name(const type *a, unsigned char **out); \ | ~~~~~~~~~~~~^ /tmp/instance-0/output-1/host/include/openssl/rsa.h:281:1: note: in expansion of macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_const' 281 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host/lib/host_key.c: In function 'PrivateKeyRead': host/lib/host_key.c:131:24: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 131 | key->rsa_private_key = d2i_RSAPrivateKey(0, &start, | ^ CC host/lib/host_keyblock.o CC host/lib/host_misc.o CC host/lib/util_misc.o host/lib/util_misc.c: In function 'PrintPrivKeySha1Sum': host/lib/util_misc.c:39:26: warning: passing argument 1 of 'vb_keyb_from_rsa' from incompatible pointer type [-Wincompatible-pointer-types] 39 | if (vb_keyb_from_rsa(key->rsa_private_key, &buf, &buflen)) { | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * In file included from host/lib/util_misc.c:19: host/lib/include/util_misc.h:42:37: note: expected 'struct rsa_st *' but argument is of type 'struct rsa_rt *' 42 | int vb_keyb_from_rsa(struct rsa_st *rsa_private_key, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ CC host/lib/host_signature.o host/lib/host_signature.c: In function 'CalculateSignature': host/lib/host_signature.c:146:31: warning: passing argument 4 of 'RSA_private_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] 146 | key->rsa_private_key, /* Key to use */ | ~~~^~~~~~~~~~~~~~~~~ | | | struct rsa_rt * const In file included from host/lib/host_signature.c:10: /tmp/instance-0/output-1/host/include/openssl/rsa.h:258:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt * const' 258 | unsigned char *to, RSA *rsa, int padding); | ~~~~~^~~ CC host/lib/signature_digest.o CC firmware/lib/cryptolib/padding.o CC firmware/lib/cryptolib/rsa.o CC firmware/lib/cryptolib/rsa_utility.o CC firmware/lib/cryptolib/sha1.o CC firmware/lib/cryptolib/sha256.o CC firmware/lib/cryptolib/sha512.o CC firmware/lib/cryptolib/sha_utility.o CC firmware/lib/stateful_util.o CC firmware/lib/vboot_api_firmware.o CC firmware/lib/vboot_common.o CC firmware/lib/vboot_firmware.o CC firmware/lib/region-fw.o CC firmware/lib/tpm_bootmode.o CC firmware/stub/vboot_api_stub_sf.o CC firmware/lib/crc8.o CC firmware/lib/utility.o CC firmware/lib/vboot_api_init.o CC firmware/lib/vboot_common_init.o CC firmware/lib/vboot_nvstorage.o CC firmware/lib/vboot_nvstorage_rollback.o CC firmware/lib/region-init.o CC firmware/lib/rollback_index.o CC firmware/lib/tpm_lite/tlcl.o CC firmware/stub/tpm_lite_stub.o firmware/stub/tpm_lite_stub.c: In function 'VbExTpmSendReceive': firmware/stub/tpm_lite_stub.c:239:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] 239 | assert( | ^~~~~~ firmware/stub/tpm_lite_stub.c:28:1: note: 'assert' is defined in header ''; did you forget to '#include '? 27 | #include +++ |+#include 28 | CC firmware/stub/utility_stub.o CC firmware/stub/vboot_api_stub_init.o CC firmware/stub/vboot_api_stub_region.o CC firmware/lib/cgptlib/cgptlib.o CC firmware/lib/cgptlib/cgptlib_internal.o CC firmware/lib/cgptlib/crc32.o CC firmware/lib/gpt_misc.o CC firmware/lib/utility_string.o CC firmware/lib/vboot_api_kernel.o firmware/lib/vboot_api_kernel.c: In function 'VbSelectAndLoadKernel': firmware/lib/vboot_api_kernel.c:1056:34: warning: taking address of packed member of 'struct VbSharedDataHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1056 | tpm_status = RollbackKernelRead(&shared->kernel_version_tpm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC firmware/lib/vboot_audio.o CC firmware/lib/vboot_display.o CC firmware/lib/vboot_kernel.o CC firmware/lib/region-kernel.o CC firmware/stub/vboot_api_stub.o CC firmware/stub/vboot_api_stub_disk.o CC firmware/stub/vboot_api_stub_stream.o RM libvboot_util.a AR libvboot_util.a CC host/lib21/host_fw_preamble.o CC host/lib21/host_key.o CC host/lib21/host_keyblock.o CC host/lib21/host_misc.o CC host/lib21/host_signature.o CC firmware/2lib/2api.o CC firmware/2lib/2common.o CC firmware/2lib/2crc8.o CC firmware/2lib/2misc.o CC firmware/2lib/2nvstorage.o CC firmware/2lib/2rsa.o CC firmware/2lib/2secdata.o firmware/2lib/2secdata.c: In function 'vb2_secdata_init': firmware/2lib/2secdata.c:61:9: warning: taking address of packed member of 'struct vb2_shared_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 61 | &sd->fw_version_secdata); | ^~~~~~~~~~~~~~~~~~~~~~~ CC firmware/2lib/2secdatak.o CC firmware/2lib/2sha1.o CC firmware/2lib/2sha256.o CC firmware/2lib/2sha512.o CC firmware/2lib/2sha_utility.o CC firmware/2lib/2tpm_bootmode.o CC firmware/2lib/2stub.o CC firmware/lib21/api.o CC firmware/lib21/common.o CC firmware/lib21/misc.o CC firmware/lib21/packed_key.o RM libvboot_util21.a AR libvboot_util21.a LD futility/futility CC cgpt/cgpt.o CC cgpt/cgpt_find.o cgpt/cgpt_find.c: In function 'gpt_search': cgpt/cgpt_find.c:132:39: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 132 | if (CGPT_OK != UTF16ToUTF8(entry->name, | ~~~~~^~~~~~ CC cgpt/cgpt_legacy.o CC cgpt/cgpt_nor.o CC cgpt/cmd_add.o CC cgpt/cmd_boot.o CC cgpt/cmd_create.o CC cgpt/cmd_find.o CC cgpt/cmd_legacy.o CC cgpt/cmd_prioritize.o CC cgpt/cmd_repair.o CC cgpt/cmd_show.o LDcgpt cgpt/cgpt CC cgpt/cgpt_wrapper.o LD cgpt/cgpt_wrapper make[1]: Leaving directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/tmp/instance-0/output-1/host/lib/pkgconfig:/tmp/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/tmp/instance-0/output-1/host futil_install cgpt_install devkeys_install make[1]: Entering directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' Package liblzma was not found in the pkg-config search path. Perhaps you should add the directory containing `liblzma.pc' to the PKG_CONFIG_PATH environment variable Package 'liblzma', required by 'virtual:world', not found Package yaml-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `yaml-0.1.pc' to the PKG_CONFIG_PATH environment variable Package 'yaml-0.1', required by 'virtual:world', not found INSTALL futility INSTALL CGPT INSTALL DEVKEYS make[1]: Leaving directory '/tmp/instance-0/output-1/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' util-macros-1.19.3.tar.bz2: OK (sha256: 0f812e6e9d2786ba8f54b960ee563c0663ddbe2434bf24ff193f5feab1f31971) util-macros-1.19.3.tar.bz2: OK (sha512: b9c7398a912c688a782eab5b1e0f6da2df11a430775c5c98fc3269f73a665de6eeb60d300a849e38d345714a6e51f74e9334cb6039767304cca4b93d823a53a2) >>> xutil_util-macros 1.19.3 Extracting bzcat /tmp/instance-0/dl/xutil_util-macros/util-macros-1.19.3.tar.bz2 | tar --strip-components=1 -C /tmp/instance-0/output-1/build/xutil_util-macros-1.19.3 -xf - >>> xutil_util-macros 1.19.3 Patching >>> xutil_util-macros 1.19.3 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-0/output-1/build/xutil_util-macros-1.19.3 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xutil_util-macros 1.19.3 Patching libtool >>> xutil_util-macros 1.19.3 Configuring (cd /tmp/instance-0/output-1/build/xutil_util-macros-1.19.3/ && rm -rf config.cache && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-linux-ar" AS="/tmp/instance-0/output-1/host/bin/arm-linux-as" LD="/tmp/instance-0/output-1/host/bin/arm-linux-ld" NM="/tmp/instance-0/output-1/host/bin/arm-linux-nm" CC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-linux-g++" FC="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-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/tmp/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-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 -Os -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-uclibcgnueabihf --host=arm-buildroot-linux-uclibcgnueabihf --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-uclibcgnueabihf-strip... /tmp/instance-0/output-1/host/bin/arm-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating xorg-macros.pc config.status: creating Makefile config.status: creating xorg-macros.m4 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared >>> xutil_util-macros 1.19.3 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /tmp/instance-0/output-1/build/xutil_util-macros-1.19.3/ make[1]: Entering directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' >>> xutil_util-macros 1.19.3 Installing to staging directory PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 DESTDIR=/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot install -C /tmp/instance-0/output-1/build/xutil_util-macros-1.19.3/ make[1]: Entering directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' make[2]: Entering directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/aclocal' /usr/bin/install -c -m 644 xorg-macros.m4 '/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/aclocal' /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/util-macros' /usr/bin/install -c -m 644 INSTALL '/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/util-macros' /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/pkgconfig' /usr/bin/install -c -m 644 xorg-macros.pc '/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/pkgconfig' /usr/bin/make install-data-hook make[3]: Entering directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' rm -f /tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/share/aclocal/xorgversion.m4 make[3]: Leaving directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' make[2]: Leaving directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' make[1]: Leaving directory '/tmp/instance-0/output-1/build/xutil_util-macros-1.19.3' >>> xutil_util-macros 1.19.3 Fixing libtool files for la in $(find /tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/tmp/instance-0/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-0/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-0/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/arm-linux-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm1176jzf-s%g' -e 's%@TARGET_ENDIAN@%little%g' -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_CFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' -e 's%@PKG_TARGET_LDFLAGS@%%g' -e 's%@PKG_TARGET_CXXFLAGS@%%g' /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-0/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-0/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-0/output-1/build/busybox-1.34.0/.config; then grep -qsE '^/bin/ash$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-0/output-1/build/busybox-1.34.0/.config; then grep -qsE '^/bin/hush$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-0/output-1/target/etc/shells; fi mkdir -p /tmp/instance-0/output-1/target/etc echo "buildroot" > /tmp/instance-0/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-0/output-1/target/etc/hosts mkdir -p /tmp/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-0/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-0/output-1/target/etc/shadow rm -f /tmp/instance-0/output-1/target/bin/sh if [ -x /tmp/instance-0/output-1/target/sbin/swapon -a -x /tmp/instance-0/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-0/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-0/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-0/output-1/build/locales.nopurge for dir in /tmp/instance-0/output-1/target/usr/share/locale /tmp/instance-0/output-1/target/usr/share/X11/locale /tmp/instance-0/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-0/output-1/target/usr/include /tmp/instance-0/output-1/target/usr/share/aclocal \ /tmp/instance-0/output-1/target/usr/lib/pkgconfig /tmp/instance-0/output-1/target/usr/share/pkgconfig \ /tmp/instance-0/output-1/target/usr/lib/cmake /tmp/instance-0/output-1/target/usr/share/cmake \ /tmp/instance-0/output-1/target/usr/doc find /tmp/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-0/output-1/target/lib/ /tmp/instance-0/output-1/target/usr/lib/ /tmp/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-0/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-0/output-1/target/usr/share/gdb rm -rf /tmp/instance-0/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-0/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-0/output-1/target/usr/share/zsh rm -rf /tmp/instance-0/output-1/target/usr/man /tmp/instance-0/output-1/target/usr/share/man rm -rf /tmp/instance-0/output-1/target/usr/info /tmp/instance-0/output-1/target/usr/share/info rm -rf /tmp/instance-0/output-1/target/usr/doc /tmp/instance-0/output-1/target/usr/share/doc rm -rf /tmp/instance-0/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-0/output-1/target/lib/debug /tmp/instance-0/output-1/target/usr/lib/debug find /tmp/instance-0/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-0/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-0/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-0/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-0/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.08-rc1-665-gdb7d786140"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.11-git"; \ echo "PRETTY_NAME=\"Buildroot 2021.11-git\"" \ ) > /tmp/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-0/output-1/per-package /tmp/instance-0/buildroot/support/scripts/fix-rpath target touch /tmp/instance-0/output-1/target/usr ln -snf /tmp/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2021.08-rc1-665-gdb7d786140 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> arp-scan 1.9.7 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> libpcap 1.10.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-bison 3.8.1 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> 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) >>> arptables 0.0.5 Collecting legal info COPYING: OK (sha256: ebdb8ae564c952792017ec680e2edd30443642216eb9f8a3d8fa166c0cb628c1) >>> host-asn1c 0.9.28 Collecting legal info LICENSE: OK (sha256: bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48b) >>> attr 2.5.1 Collecting legal info doc/COPYING: OK (sha256: 98f318493be6b08bff3cd295791cde06c54e17882a3c74a1ed245eaa02533d52) doc/COPYING.LGPL: OK (sha256: 5decad7e58d90d44335bf2f45ce27563bd911065c6a1a02dfa7647c4efee75c8) >>> bc 1.07.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) >>> binutils 2.36.1 Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Collecting legal info COPYING: OK (sha256: 26324f5c563b7e338c2876c8abe90c3681c1e9a6163fc59b494c94ad6493eda4) >>> bridge-utils 1.7.1 Collecting legal info COPYING: OK (sha256: 995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91) >>> bubblewrap 0.5.0 Collecting legal info COPYING: OK (sha256: b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c) >>> libcap 2.52 Collecting legal info License: OK (sha256: f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b) >>> host-gperf 3.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-libcap 2.52 Collecting legal info License: OK (sha256: f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b) >>> busybox 1.34.0 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> gloox 1.0.24 Collecting legal info LICENSE: OK (sha256: 40a20c41c8dabb8ba61bea983fa8f2f6989e67fac56bb62c2249053807fd26af) >>> mpc 1.2.1 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> mpfr 4.1.0 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> graphite2 1.3.14 Collecting legal info LICENSE: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> heirloom-mailx 12.5 Collecting legal info COPYING: OK (sha256: 5ddc00aed98a0cf75fc7edfd9f3aeb1e919ae0ad5e9ff55d61f643d62d802b07) >>> host-imx-mkimage rel_imx_5.4.70_2.3.0 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> initscripts Collecting legal info >>> input-event-daemon 0.1.3 Collecting legal info README: OK (sha256: 56f6614c63a023e4d486332968bfa7933f06ea7c785ef85f403448022ae7f912) >>> jpeg Collecting legal info >>> libjpeg 9d Collecting legal info README: OK (sha256: 3dc4e4a145c907a96bd6a0e40be3f722fecf061951909143cdff5365cba9c78c) >>> lbreakout2 2.6.5 Collecting legal info COPYING: OK (sha256: 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34) >>> libpng 1.6.37 Collecting legal info LICENSE: OK (sha256: bf5e22b9dce8464064ae17a48ea1133c3369ac9e1d80ef9e320e5219aa14ea9b) >>> sdl 1.2.15 Collecting legal info COPYING: OK (sha256: bb117c0fbd7f57f64170b690285d7df07c2371b578e3b3cd3aa2e1155ef461a0) >>> sdl_net 620b0ba7dd84a0fdbd4cc8ef1b2be1cc10f90ae3 Collecting legal info COPYING: OK (sha256: e542f822a6cd82deccf82cf0f50192917b0158d725a6bc6348ab1ccdd890ecbe) >>> libargtable2 2.13 Collecting legal info COPYING: OK (sha256: d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f) >>> libassuan 2.5.5 Collecting legal info COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) COPYING: OK (sha256: fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7) >>> libgpg-error 1.42 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libconfig 1.7.3 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libdcadec 0.2.0 Collecting legal info COPYING.LGPLv2.1: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libhtp 0.5.38 Collecting legal info LICENSE: OK (sha256: 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15) >>> liblog4c-localtime 1.0 Collecting legal info COPYING: OK (sha256: a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libmspack 0.10.1alpha Collecting legal info COPYING.LIB: OK (sha256: a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7) >>> libnetfilter_acct 1.0.3 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libogg 1.3.5 Collecting legal info COPYING: OK (sha256: d2ab5758336489da61c12cc5bb757da5339c4ae9001f9bb0562b4370249af814) >>> liboping 1.10.0 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libsigsegv 2.13 Collecting legal info COPYING: OK (sha256: 8f2983e9a940367f48999881c14775db725ee643bce1e2f1ba195eb629a33cde) >>> libucl 0.8.1 Collecting legal info COPYING: OK (sha256: 1bf976835764c1d827e07472a0a75adb098682df56681878af05fc0db7439b03) >>> libyaml 0.2.5 Collecting legal info License: OK (sha256: c40112449f254b9753045925248313e9270efa36d226b22d82d4cc6c43c57f29) >>> logrotate 3.18.0 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> popt 1.18 Collecting legal info COPYING: OK (sha256: 518d4f2a05064cb9a8ec0ea02e86408af4feed6916f78ef42171465db8b383c5) >>> msgpack 3.3.0 Collecting legal info COPYING: OK (sha256: 664550b43996452a5a2c7471bb0ff77185a58c69ccafa60f983dc4c162e1ee22) LICENSE_1_0.txt: OK (sha256: c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566) >>> nanocom 1.0 Collecting legal info COPYING: OK (sha256: e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4) >>> netsnmp 5.9 Collecting legal info COPYING: OK (sha256: ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59) >>> openresolv 3.12.0 Collecting legal info LICENSE: OK (sha256: 384740bf5e19e7628d20f4dcc22925062fdc6020e9a6f074e567d4d797be57a0) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> popperjs 1.16.0 Collecting legal info LICENSE.md: OK (sha256: 2961310ed05cd9373a08b8191c071425a7fede0ca5d807ca38fa5f5f61c5b834) >>> pwgen 2.08 Collecting legal info debian/copyright: OK (sha256: 5d3e49e01ef782be5841d5d1f7fb64d290cd86459598a913818584a46a2f81a1) >>> tremor 7c30a66346199f3f09017a09567c6c8a3a0eedc8 Collecting legal info COPYING: OK (sha256: d2ab5758336489da61c12cc5bb757da5339c4ae9001f9bb0562b4370249af814) >>> host-util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Collecting legal info LICENSE: OK (sha256: cb9dc8e96aedf9120b6757a60387db10f3c1a8e3fd97bb9d0f11327be5a7ed4d) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1l Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> xutil_util-macros 1.19.3 Collecting legal info COPYING: OK (sha256: 489b630a75e3255485732eae3d50ff4d29d3feb66760bb3acb04f897e4d9e375) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'