or dynamic library is ldd(1) on most UNIX systems. See any operating system documentation and manpages about shared libraries for your version of UNIX. The following manpages may be helpful: ld(1), ld.so(1), ld.so.1(1) [Solaris], dld.sl(1) [HP], ldd(1), crle(1) [Solaris], pldd(1) [Solaris], ldconfig(8) [Linux], chatr(1) [HP]. cp libcrypto.pc /data/buildroot/buildroot-test/instance-0/output/host//lib/pkgconfig chmod 644 /data/buildroot/buildroot-test/instance-0/output/host//lib/pkgconfig/libcrypto.pc cp libssl.pc /data/buildroot/buildroot-test/instance-0/output/host//lib/pkgconfig chmod 644 /data/buildroot/buildroot-test/instance-0/output/host//lib/pkgconfig/libssl.pc cp openssl.pc /data/buildroot/buildroot-test/instance-0/output/host//lib/pkgconfig chmod 644 /data/buildroot/buildroot-test/instance-0/output/host//lib/pkgconfig/openssl.pc make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-libopenssl-1.0.2q' >>> host-openssl Extracting >>> host-openssl Patching >>> host-openssl Configuring >>> host-openssl Building >>> host-openssl Installing to host directory vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656.tar.gz: OK (sha256: d95b64b1f1de4a3ffa5c2e446d7c8e92aa197aee10de24206b2ea2deb5a8b947) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/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. >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Configuring >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Building PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" /usr/bin/make -j4 -C /data/buildroot/buildroot-test/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 CC="/usr/bin/gcc" CFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" LDFLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" ARCH=arm futil cgpt make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' Using qemu for testing. 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 '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 CC futility/cmd_show.o futility/cmd_create.c: In function 'vb1_make_keypair': futility/cmd_create.c:122:27: warning: assignment to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] privkey->rsa_private_key = rsa_key; ^ 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] 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] RSA_free(key.rsa_private_key); ~~~^~~~~~~~~~~~~~~~ In file included from futility/cmd_show.c:8: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:343:20: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt *' 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 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 to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] 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] RSA_free(key.rsa_private_key); ~~~^~~~~~~~~~~~~~~~ In file included from futility/vb1_helper.c:12: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:343:20: 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 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] 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] RSA_free(key->rsa_private_key); ~~~^~~~~~~~~~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/x509.h:96, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/pem.h:70, from host/lib/host_key.c:10: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:343:20: 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:33: 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 /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/objects.h:965, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/evp.h:94, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/pem.h:69, from host/lib/host_key.c:10: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/asn1.h:323:36: 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); \ ~~~~~~~~~~~~^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:363: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 to 'struct rsa_rt *' from incompatible pointer type 'RSA *' {aka 'struct rsa_st *'} [-Wincompatible-pointer-types] key->rsa_private_key = d2i_RSAPrivateKey(0, &start, ^ CC host/lib/host_signature.o CC host/lib/signature_digest.o host/lib/util_misc.c: In function 'PrintPrivKeySha1Sum': host/lib/util_misc.c:38:26: 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:18: host/lib/include/util_misc.h:42:37: note: expected 'struct rsa_st *' but argument is of type 'struct rsa_rt *' int vb_keyb_from_rsa(struct rsa_st *rsa_private_key, ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ CC firmware/lib/cryptolib/padding.o CC firmware/lib/cryptolib/rsa.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] key->rsa_private_key, /* Key to use */ ~~~^~~~~~~~~~~~~~~~~ In file included from host/lib/host_signature.c:10: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:338:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'struct rsa_rt * const' unsigned char *to, RSA *rsa, int padding); ~~~~~^~~ 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( ^~~~~~ firmware/stub/tpm_lite_stub.c:239:3: note: 'assert' is defined in header ''; did you forget to '#include '? firmware/stub/tpm_lite_stub.c:28:1: +#include firmware/stub/tpm_lite_stub.c:239:3: 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_repair.o CC cgpt/cmd_show.o RM libvboot_util.a AR libvboot_util.a CC cgpt/cgpt_wrapper.o CC gen/futility_cmds.o RM libvboot_util21.a AR libvboot_util21.a LDcgpt cgpt/cgpt LD futility/futility LD cgpt/cgpt_wrapper make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" /usr/bin/make -j4 -C /data/buildroot/buildroot-test/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/data/buildroot/buildroot-test/instance-0/output/host futil_install cgpt_install devkeys_install make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' 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 'world', not found INSTALL futility INSTALL CGPT INSTALL DEVKEYS make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> Finalizing target directory # Check files that are touched by more than one package ./support/scripts/check-uniq-files -t target /data/buildroot/buildroot-test/instance-0/output/build/packages-file-list.txt Warning: target file "./usr/lib/charset.alias" is touched by more than one package: [u'libiconv', u'dc3dd'] ./support/scripts/check-uniq-files -t staging /data/buildroot/buildroot-test/instance-0/output/build/packages-file-list-staging.txt Warning: staging file "./usr/lib/libexslt.la" is touched by more than one package: [u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/apr-util-1/apr_crypto_openssl.la" is touched by more than one package: [u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libapr-1.la" is touched by more than one package: [u'apr', u'expat', u'libiconv', u'libzlib', u'libopenssl', u'sqlite', u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libevdev.la" is touched by more than one package: [u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libjpeg.la" is touched by more than one package: [u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libpopt.la" is touched by more than one package: [u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libxslt.la" is touched by more than one package: [u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libsqlite3.la" is touched by more than one package: [u'sqlite', u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/apr-util-1/apr_dbd_sqlite3.la" is touched by more than one package: [u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libexpat.la" is touched by more than one package: [u'expat', u'libiconv', u'libzlib', u'libopenssl', u'sqlite', u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libaprutil-1.la" is touched by more than one package: [u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libuv.la" is touched by more than one package: [u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libraptor2.la" is touched by more than one package: [u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libiconv.la" is touched by more than one package: [u'libiconv', u'libzlib', u'libopenssl', u'sqlite', u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libxml2.la" is touched by more than one package: [u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] Warning: staging file "./usr/lib/libcharset.la" is touched by more than one package: [u'libiconv', u'libzlib', u'libopenssl', u'sqlite', u'apr-util', u'libevdev', u'jimtcl', u'libjpeg', u'libpthread-stubs', u'libuv', u'libxml2', u'libxslt', u'lzo', u'popt', u'raptor', u'skalibs', u'tinycbor', u'trace-cmd', u'trousers'] ./support/scripts/check-uniq-files -t host /data/buildroot/buildroot-test/instance-0/output/build/packages-file-list-host.txt Warning: host file "./lib/python2.7/site-packages/easy-install.pth" is touched by more than one package: [u'host-python-setuptools', u'host-python-six'] Warning: host file "./share/info/dir" is touched by more than one package: [u'host-tar', u'host-lzip', u'host-m4', u'host-libtool', u'host-autoconf', u'host-automake', u'host-gettext', u'host-bison'] /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc echo "buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /data/buildroot/buildroot-test/instance-0/output/target/etc/hosts mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc echo "Welcome to Buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /data/buildroot/buildroot-test/instance-0/output/target/etc/shadow rm -f /data/buildroot/buildroot-test/instance-0/output/target/bin/sh rm -f /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/include /data/buildroot/buildroot-test/instance-0/output/target/usr/share/aclocal \ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/pkgconfig /data/buildroot/buildroot-test/instance-0/output/target/usr/share/pkgconfig \ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/cmake /data/buildroot/buildroot-test/instance-0/output/target/usr/share/cmake find /data/buildroot/buildroot-test/instance-0/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /data/buildroot/buildroot-test/instance-0/output/target/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gdb rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/bash-completion rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/zsh rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/man /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/info /data/buildroot/buildroot-test/instance-0/output/target/usr/share/info rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/doc /data/buildroot/buildroot-test/instance-0/output/target/usr/share/doc rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gtk-doc rmdir /data/buildroot/buildroot-test/instance-0/output/target/usr/share 2>/dev/null || true find /data/buildroot/buildroot-test/instance-0/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /data/buildroot/buildroot-test/instance-0/output/target/lib/ -type f -name 'libpthread*.so*' | \ xargs -r /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug find /data/buildroot/buildroot-test/instance-0/output/target/lib/ -type f -name 'ld-*.so*' | \ xargs -r /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug test -f /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2018.02.9"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2018.02.9"; \ echo "PRETTY_NAME=\"Buildroot 2018.02.9\"" \ ) > /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /data/buildroot/buildroot-test/instance-0/output/target/etc >>> Sanitizing RPATH in target tree /data/buildroot/buildroot-test/instance-0/buildroot/support/scripts/fix-rpath target touch /data/buildroot/buildroot-test/instance-0/output/target/usr make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot' make: Entering directory '/data/buildroot/buildroot-test/instance-0/buildroot' >>> Buildroot 2018.02.9 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> host-tar 1.29 Collecting legal info ERROR: No hash found for COPYING >>> host-lzip 1.19 Collecting legal info ERROR: No hash found for COPYING >>> toolchain-external 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 >>> apr-util 1.6.1 Collecting legal info LICENSE: OK (sha256: ef5609d18601645ad6fe22c6c122094be40e976725c1d0490778abacc836e7a2) >>> apr 1.6.3 Collecting legal info LICENSE: OK (sha256: f854aeef66ecd55a126226e82b3f26793fc3b1c584647f6a0edc5639974c38ad) >>> host-autoconf 2.69 Collecting legal info ERROR: No hash found for COPYINGv3 ERROR: No hash found for COPYING.EXCEPTION >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> expat 2.2.5 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-pkgconf 0.9.12 Collecting legal info ERROR: No hash found for COPYING >>> libiconv 1.15 Collecting legal info ERROR: No hash found for COPYING ERROR: No hash found for COPYING.LIB >>> openssl Collecting legal info >>> libopenssl 1.0.2q Collecting legal info LICENSE: OK (sha256: c8f60f4842bbad0353f5d81620e72b168b5638ca3a0a999f5da113b22491612e) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> sqlite 3210000 Collecting legal info tea/license.terms: OK (sha256: 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9) >>> busybox 1.27.2 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) >>> dc3dd 7.2.641 Collecting legal info ERROR: No hash found for COPYING >>> host-gettext 0.19.8.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) ERROR: No hash found for gettext-runtime/intl/COPYING.LIB >>> host-libxml2 2.9.7 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> host-dos2unix 7.4.0 Collecting legal info COPYING.txt: OK (sha256: 49224e841621b52a72aa38d8ac895a396cd3fa1395190bdfc9252378001eb3c0) >>> evemu 2.7.0 Collecting legal info ERROR: No hash found for COPYING >>> libevdev 1.5.8 Collecting legal info ERROR: No hash found for COPYING >>> fis 2892 Collecting legal info WARNING: no hash file for fis.c >>> flashbench 2e30b1968a66147412f21002ea844122a0d5e2f0 Collecting legal info ERROR: No hash found for COPYING >>> genromfs 0.5.2 Collecting legal info ERROR: No hash found for COPYING >>> initscripts Collecting legal info >>> jimtcl 0.75 Collecting legal info ERROR: No hash found for LICENSE >>> jpeg Collecting legal info >>> libjpeg 9b Collecting legal info ERROR: No hash found for README >>> libpthread-stubs 0.4 Collecting legal info ERROR: No hash found for COPYING >>> libuv v1.19.2 Collecting legal info LICENSE: OK (sha256: 6d20216ae022fbeed23916f48508fd807ece3d8464992330643b0e64e5c0c24b) >>> libxml2 2.9.7 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> libxslt 1.1.32 Collecting legal info COPYING: OK (sha256: 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819) >>> lzo 2.10 Collecting legal info ERROR: No hash found for COPYING >>> host-cmake 3.8.2 Collecting legal info ERROR: No hash found for Copyright.txt >>> mjpg-streamer bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b Collecting legal info ERROR: No hash found for LICENSE >>> host-mkpasswd Collecting legal info >>> olsr 0.9.6.1 Collecting legal info ERROR: No hash found for license.txt ERROR: No hash found for lib/pud/nmealib/LICENSE >>> host-bison 3.0.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> open-plc-utils 1be781d1ea81827e5f6c1a35961c65dd4d15472c Collecting legal info ERROR: No hash found for LICENSE >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> popt 1.16 Collecting legal info ERROR: No hash found for COPYING >>> host-python-six 1.11.0 Collecting legal info LICENSE: OK (sha256: 63478682e84e8c98f4c46308995f1f521a6886976e25421827d2a2be03581328) >>> host-python 2.7.15 Collecting legal info LICENSE: OK (sha256: b9a6d9320b8f2693e8d41e496ce56caadacaddcca9be2a64a61749278f425cf2) >>> host-expat 2.2.5 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python-setuptools v38.4.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> raptor 2.0.15 Collecting legal info ERROR: No hash found for LICENSE.txt >>> rsh-redone 85 Collecting legal info ERROR: No hash found for rsh.c >>> rtptools 1.20 Collecting legal info ERROR: No hash found for COPYRIGHT >>> s6-linux-utils 2.4.0.1 Collecting legal info COPYING: OK (sha256: 6ee77e7199d69b707ab864ea7a838f9562717aaa41c89413bdb2cf835f95052f) >>> skalibs 2.6.3.1 Collecting legal info COPYING: OK (sha256: 3eadcf980c40da0f257b8292d805ff41e5e5a908c1942315d9a627732e1aa012) >>> host-squashfs e38956b92f738518c29734399629e7cdb33072d3 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-lz4 v1.7.5 Collecting legal info ERROR: No hash found for lib/LICENSE ERROR: No hash found for programs/COPYING >>> host-lzo 2.10 Collecting legal info ERROR: No hash found for COPYING >>> host-xz 5.2.3 Collecting legal info ERROR: No hash found for COPYING.GPLv2 ERROR: No hash found for COPYING.GPLv3 ERROR: No hash found for COPYING.LGPLv2.1 >>> subversion 1.9.7 Collecting legal info ERROR: No hash found for LICENSE >>> tinc 1.0.35 Collecting legal info COPYING: OK (sha256: 3a112fd37b47d624e89b130d0e158bb8d14ec5bc9ecf5f18b448d2c07626e43d) COPYING.README: OK (sha256: 9bf76a8aa304d807df20bf3d221c21d259764be63e39b58f299b80ba3ac14b5b) >>> tinycbor v0.4.2 Collecting legal info LICENSE: OK (sha256: 3c6ba0b5bfa7830505301ffb336a17b0748e0d61c4d34216e9dc98f10e40395e) >>> trace-cmd trace-cmd-v2.6.1 Collecting legal info ERROR: No hash found for COPYING ERROR: No hash found for COPYING.LIB >>> trousers 0.3.13 Collecting legal info ERROR: No hash found for LICENSE >>> host-util-linux 2.31.1 Collecting legal info README.licensing: OK (sha256: 1e4b65802b0df8115395c697029d03339f983d451a473a08643309c684410d9a) Documentation/licenses/COPYING.GPLv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.UCB: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.LGPLv2.1: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) Documentation/licenses/COPYING.BSD-3: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Collecting legal info ERROR: No hash found for LICENSE >>> host-openssl Collecting legal info >>> host-libopenssl 1.0.2q Collecting legal info LICENSE: OK (sha256: c8f60f4842bbad0353f5d81620e72b168b5638ca3a0a999f5da113b22491612e) 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 /data/buildroot/buildroot-test/instance-0/output/legal-info make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'