echo installing gost; \ pfx=lib; \ if expr "linux-x86_64" : "Cygwin" >/dev/null; then \ sfx=".so"; \ cp cyggost.dll /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/engines/${pfx}gost$sfx.new; \ else \ case "-I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM" in \ *DSO_BEOS*) sfx=".so";; \ *DSO_DLFCN*) sfx=`expr ".so.1.0.0" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \ *DSO_DL*) sfx=".sl";; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ *) sfx=".bad";; \ esac; \ cp ${pfx}gost$sfx /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/engines/${pfx}gost$sfx.new; \ fi; \ chmod 555 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/engines/${pfx}gost$sfx.new; \ mv -f /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/engines/${pfx}gost$sfx.new /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/engines/${pfx}gost$sfx; \ fi installing gost make[3]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/engines/ccgost' make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/engines' making install in apps... make[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/apps' installing openssl installing CA.sh installing CA.pl installing tsget make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/apps' making install in test... make[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/test' make[2]: Nothing to be done for `install'. make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/test' making install in tools... make[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/tools' make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m/tools' installing libcrypto.a installing libssl.a installing libcrypto.so.1.0.0 installing libssl.so.1.0.0 make[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib' make[3]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib' make[3]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib' make[3]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib' make[3]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib' make[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib' OpenSSL shared libraries have been installed in: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host If this directory is not in a standard system path for dynamic/shared libraries, then you will have problems linking and executing applications that use OpenSSL libraries UNLESS: * you link with static (archive) libraries. If you are truly paranoid about security, you should use static libraries. * you use the GNU libtool code during linking (http://www.gnu.org/software/libtool/libtool.html) * you use pkg-config during linking (this requires that PKG_CONFIG_PATH includes the path to the OpenSSL shared library directory), and make use of -R or -rpath. (http://www.freedesktop.org/software/pkgconfig/) * you specify the system-wide link path via a command such as crle(1) on Solaris systems. * you add the OpenSSL shared library directory to /etc/ld.so.conf and run ldconfig(8) on Linux systems. * you define the LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH (HP), DYLD_LIBRARY_PATH (MacOS X) or PATH (Cygwin and DJGPP) environment variable and add the OpenSSL shared library directory to it. One common tool to check the dynamic dependencies of an executable 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 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/pkgconfig chmod 644 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/pkgconfig/libcrypto.pc cp libssl.pc /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/pkgconfig chmod 644 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/pkgconfig/libssl.pc cp openssl.pc /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/pkgconfig chmod 644 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host//lib/pkgconfig/openssl.pc make[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-libopenssl-1.0.2m' >>> 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 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/dl/vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656.tar.gz | tar --strip-components=1 -C /usr/lfs/v0/rc-buildroot-test/scripts/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 >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Configuring >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Building PATH="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin:/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin" PKG_CONFIG="/usr/lfs/v0/rc-buildroot-test/scripts/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="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib/pkgconfig:/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/share/pkgconfig" /usr/bin/make -j8 -C /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 CC="/usr/bin/gcc" CFLAGS="-O2 -I/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include -D_LARGEFILE64_SOURCE -D_GNU_SOURCE" LDFLAGS="-L/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib -Wl,-rpath,/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib" futil cgpt 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 '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 'world', not found make[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' CC futility/ryu_root_header.o CC futility/futility.o CC futility/misc.o CC futility/cmd_gbb_utility.o CC futility/cmd_dump_kernel_config.o CC futility/cmd_load_fmap.o CC futility/cmd_create.o CC futility/cmd_dump_fmap.o CC futility/cmd_pcr.o CC futility/cmd_show.o CC futility/cmd_sign.o CC futility/cmd_vbutil_firmware.o CC futility/cmd_vbutil_kernel.o futility/cmd_show.c: In function 'ft_show_privkey': futility/cmd_show.c:115:22: warning: assignment from incompatible pointer type [enabled by default] key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, len); ^ futility/cmd_show.c:125:3: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [enabled by default] RSA_free(key.rsa_private_key); ^ In file included from futility/cmd_show.c:8:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/rsa.h:343:6: note: expected 'struct RSA *' but argument is of type 'struct rsa_rt *' void RSA_free(RSA *r); ^ futility/cmd_create.c: In function 'vb1_make_keypair': futility/cmd_create.c:122:27: warning: assignment from incompatible pointer type [enabled by default] privkey->rsa_private_key = rsa_key; ^ 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 CC cgpt/cgpt_create.o CC cgpt/cgpt_add.o CC cgpt/cgpt_boot.o futility/vb1_helper.c: In function 'ft_recognize_vb1_key': futility/vb1_helper.c:764:22: warning: assignment from incompatible pointer type [enabled by default] key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, ^ futility/vb1_helper.c:768:3: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [enabled by default] RSA_free(key.rsa_private_key); ^ In file included from futility/vb1_helper.c:12:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/rsa.h:343:6: note: expected 'struct RSA *' but argument is of type 'struct rsa_rt *' void RSA_free(RSA *r); ^ 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/x86_64/lib/crossystem_arch.o CC host/lib/crossystem.o CC host/lib/file_keys.o CC host/lib/fmap.o CC host/lib/host_common.o CC host/lib/host_key.o CC host/lib/host_keyblock.o CC host/lib/host_misc.o CC host/lib/util_misc.o CC host/lib/host_signature.o CC host/lib/signature_digest.o CC firmware/lib/cryptolib/padding.o host/lib/host_key.c: In function 'PrivateKeyReadPem': host/lib/host_key.c:54:24: warning: assignment from incompatible pointer type [enabled by default] key->rsa_private_key = rsa_key; ^ host/lib/host_key.c: In function 'PrivateKeyFree': host/lib/host_key.c:66:5: warning: passing argument 1 of 'RSA_free' from incompatible pointer type [enabled by default] RSA_free(key->rsa_private_key); ^ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/x509.h:96:0, from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/pem.h:70, from host/lib/host_key.c:10: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/rsa.h:343:6: note: expected 'struct RSA *' 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:3: warning: passing argument 1 of 'i2d_RSAPrivateKey' from incompatible pointer type [enabled by default] buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); ^ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/objects.h:965:0, from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/evp.h:94, from /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/pem.h:69, from host/lib/host_key.c:10: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/asn1.h:323:13: note: expected 'const struct RSA *' but argument is of type 'struct rsa_rt * const' int i2d_##name(const type *a, unsigned char **out); \ ^ /usr/lfs/v0/rc-buildroot-test/scripts/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 from incompatible pointer type [enabled by default] key->rsa_private_key = d2i_RSAPrivateKey(0, &start, ^ host/lib/host_signature.c: In function 'CalculateSignature': host/lib/host_signature.c:147:28: warning: passing argument 4 of 'RSA_private_encrypt' from incompatible pointer type [enabled by default] RSA_PKCS1_PADDING); /* Padding to use */ ^ In file included from host/lib/host_signature.c:10:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/include/openssl/rsa.h:337:5: note: expected 'struct RSA *' but argument is of type 'struct rsa_rt * const' int RSA_private_encrypt(int flen, const unsigned char *from, ^ host/lib/util_misc.c: In function 'PrintPrivKeySha1Sum': host/lib/util_misc.c:38:2: warning: passing argument 1 of 'vb_keyb_from_rsa' from incompatible pointer type [enabled by default] if (vb_keyb_from_rsa(key->rsa_private_key, &buf, &buflen)) { ^ In file included from host/lib/util_misc.c:18:0: host/lib/include/util_misc.h:42:5: note: expected 'struct rsa_st *' but argument is of type 'struct rsa_rt *' int vb_keyb_from_rsa(struct rsa_st *rsa_private_key, ^ CC firmware/lib/cryptolib/rsa.o CC firmware/lib/cryptolib/rsa_utility.o CC firmware/lib/cryptolib/sha1.o CC firmware/lib/cryptolib/sha256.o CC firmware/lib/cryptolib/sha512.o CC firmware/lib/cryptolib/sha_utility.o CC firmware/lib/stateful_util.o CC firmware/lib/vboot_api_firmware.o CC firmware/lib/vboot_common.o CC firmware/lib/vboot_firmware.o CC firmware/lib/region-fw.o CC firmware/lib/tpm_bootmode.o CC firmware/stub/vboot_api_stub_sf.o CC firmware/lib/crc8.o CC firmware/lib/utility.o CC firmware/lib/vboot_api_init.o CC firmware/lib/vboot_common_init.o CC firmware/lib/vboot_nvstorage.o CC firmware/lib/vboot_nvstorage_rollback.o CC firmware/lib/region-init.o CC firmware/lib/rollback_index.o CC firmware/lib/tpm_lite/tlcl.o CC firmware/stub/tpm_lite_stub.o CC firmware/stub/utility_stub.o CC firmware/stub/vboot_api_stub_region.o CC firmware/stub/vboot_api_stub_init.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 LD futility/futility LDcgpt cgpt/cgpt LD cgpt/cgpt_wrapper make[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Installing to host directory PATH="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin:/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin" PKG_CONFIG="/usr/lfs/v0/rc-buildroot-test/scripts/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="/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/lib/pkgconfig:/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/share/pkgconfig" /usr/bin/make -j8 -C /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 DESTDIR=/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host futil_install cgpt_install devkeys_install 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 '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 'world', not found make[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' INSTALL futility INSTALL CGPT INSTALL DEVKEYS make[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/host-vboot-utils-bbdd62f9b030db7ad8eef789aaf58a7ff9a25656' >>> Finalizing target directory mkdir -p /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc echo "buildroot" > /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc/hosts mkdir -p /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc echo "Welcome to Buildroot" > /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc/shadow rm -f /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/bin/sh rm -f /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/include /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/aclocal \ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/lib/pkgconfig /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/pkgconfig \ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/lib/cmake /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/cmake find /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/lib/ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/lib/ /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: '/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/libexec/': No such file or directory rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/gdb rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/bash-completion rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/zsh rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/man /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/man rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/info /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/info rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/doc /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/doc rm -rf /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share/gtk-doc rmdir /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/usr/share 2>/dev/null || true find /usr/lfs/v0/rc-buildroot-test/scripts/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 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/lib/ -type f -name 'libpthread*.so*' | \ xargs -r /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug find /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/lib/ -type f -name 'ld-*.so*' | \ xargs -r /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug test -f /usr/lfs/v0/rc-buildroot-test/scripts/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 /usr/lfs/v0/rc-buildroot-test/scripts/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 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2017.11-rc1-01026-ga7e1971"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2017.11-rc1"; \ echo "PRETTY_NAME=\"Buildroot 2017.11-rc1\"" \ ) > /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/target/etc/os-release >>> Sanitizing RPATH in target tree /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/buildroot/support/scripts/fix-rpath target make: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/buildroot' make: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/buildroot' >>> Buildroot 2017.11-rc1-01026-ga7e1971 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> host-lzip 1.19 Collecting legal info ERROR: No hash found for COPYING >>> toolchain-external Collecting legal info >>> musl-compat-headers Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> boost 1.65.1 Collecting legal info LICENSE_1_0.txt: OK (sha256: c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566) >>> cgroupfs-mount 1.4 Collecting legal info ERROR: No hash found for debian/copyright >>> darkhttpd 1.12 Collecting legal info >>> dosfstools 4.1 Collecting legal info ERROR: No hash found for COPYING >>> expat 2.2.4 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-pkgconf 0.9.12 Collecting legal info ERROR: No hash found for COPYING >>> fb-test-app rosetta-1.1.0 Collecting legal info ERROR: No hash found for COPYING >>> ffmpeg 3.3.5 Collecting legal info ERROR: No hash found for LICENSE.md ERROR: No hash found for COPYING.LGPLv2.1 >>> opus 1.2.1 Collecting legal info ERROR: No hash found for COPYING >>> speex 1.2rc1 Collecting legal info ERROR: No hash found for COPYING >>> libogg 1.3.2 Collecting legal info ERROR: No hash found for COPYING >>> zlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> fis 2892 Collecting legal info WARNING: no hash file for fis.c >>> flann 1.9.1 Collecting legal info ERROR: No hash found for COPYING >>> host-cmake 3.8.2 Collecting legal info ERROR: No hash found for Copyright.txt >>> gmp 6.1.2 Collecting legal info ERROR: No hash found for COPYING.LESSERv3 ERROR: No hash found for COPYINGv2 >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> gnuradio 3.7.11 Collecting legal info ERROR: No hash found for COPYING >>> host-python-cheetah 2.4.4 Collecting legal info >>> host-python 2.7.14 Collecting legal info LICENSE: OK (sha256: d2d17b17388da74dc9c6bdbf78eb7237432c3f8a0c87852df740ec99de2ec680) >>> 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-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-expat 2.2.4 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-zlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python-markdown 2.6.8 Collecting legal info ERROR: No hash found for LICENSE.md >>> host-python-setuptools v36.0.1 Collecting legal info ERROR: No hash found for LICENSE >>> host-swig 3.0.12 Collecting legal info ERROR: No hash found for LICENSE ERROR: No hash found for LICENSE-GPL ERROR: No hash found for LICENSE-UNIVERSITIES >>> host-bison 3.0.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> ibrcommon 1.0.1 Collecting legal info ERROR: No hash found for COPYING ERROR: No hash found for README >>> ibrdtn-tools 1.0.1 Collecting legal info ERROR: No hash found for COPYING >>> ibrdtn 1.0.1 Collecting legal info ERROR: No hash found for COPYING >>> libcap 2.25 Collecting legal info ERROR: No hash found for License >>> host-gperf 3.0.4 Collecting legal info ERROR: No hash found for COPYING >>> host-libcap 2.25 Collecting legal info ERROR: No hash found for License >>> liblog4c-localtime v1.0 Collecting legal info ERROR: No hash found for COPYING >>> libpng 1.6.32 Collecting legal info ERROR: No hash found for LICENSE >>> libtirpc 1.0.2 Collecting legal info ERROR: No hash found for COPYING >>> mpfr 3.1.6 Collecting legal info ERROR: No hash found for COPYING.LESSER >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> quota 4.01 Collecting legal info >>> sdl2 2.0.7 Collecting legal info COPYING.txt: OK (sha256: bbd2edb1789c33de29bb9f8d1dbe2774584a9ce8c4e3162944b7a3a447f5e85d) >>> stella 5.0.2 Collecting legal info ERROR: No hash found for Copyright.txt ERROR: No hash found for License.txt >>> host-util-linux 2.31 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) sys-utils/rfkill.c: OK (sha256: 996126b78a42dd2eeea1256d78b7fd6dec090ea196365c0ccb46adc32bc92460) >>> host-vboot-utils bbdd62f9b030db7ad8eef789aaf58a7ff9a25656 Collecting legal info ERROR: No hash found for LICENSE >>> host-openssl Collecting legal info >>> host-libopenssl 1.0.2m Collecting legal info ERROR: No hash found for LICENSE WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) WARNING: darkhttpd-1.12: cannot save license (DARKHTTPD_LICENSE_FILES not defined) WARNING: python-cheetah-2.4.4: cannot save license (HOST_PYTHON_CHEETAH_LICENSE_FILES not defined) WARNING: quota-4.01: cannot save license (QUOTA_LICENSE_FILES not defined) Legal info produced in /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/legal-info make: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/buildroot'