make[1]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5' Making install in include make[2]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/include' make[3]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/include' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/include' /usr/bin/install -c -m 644 yaml.h '/tmp/instance-0/output-1/target/usr/include/.' make[3]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/include' make[2]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/include' Making install in src make[2]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/src' make[3]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/src' /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libyaml.la '/tmp/instance-0/output-1/target/usr/lib' make[3]: Nothing to be done for 'install-data-am'. libtool: install: /usr/bin/install -c .libs/libyaml-0.so.2.0.9 /tmp/instance-0/output-1/target/usr/lib/libyaml-0.so.2.0.9 libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f libyaml-0.so.2.0.9 libyaml-0.so.2 || { rm -f libyaml-0.so.2 && ln -s libyaml-0.so.2.0.9 libyaml-0.so.2; }; }) libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f libyaml-0.so.2.0.9 libyaml.so || { rm -f libyaml.so && ln -s libyaml-0.so.2.0.9 libyaml.so; }; }) libtool: install: /usr/bin/install -c .libs/libyaml.lai /tmp/instance-0/output-1/target/usr/lib/libyaml.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/src' Making install in . make[2]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5' make[3]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' /usr/bin/install -c -m 644 yaml-0.1.pc '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' make[3]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5' make[2]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5' Making install in tests make[2]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/tests' make[3]: Entering directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/tests' make[2]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5/tests' make[1]: Leaving directory '/tmp/instance-0/output-1/build/libyaml-0.2.5' >>> optee-client 3.11.0 Downloading --2021-04-11 15:30:48-- https://github.com/OP-TEE/optee_client/archive/3.11.0/optee-client-3.11.0.tar.gz Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.11.0 [following] --2021-04-11 15:30:48-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.11.0 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/tmp/instance-0/output-1/build/.optee-client-3.11.0.tar.gz.P0Ag26/output' 0K .......... .......... .......... .......... .......... 473K 50K .......... .......... ......... 134M=0.1s 2021-04-11 15:30:48 (752 KB/s) - '/tmp/instance-0/output-1/build/.optee-client-3.11.0.tar.gz.P0Ag26/output' saved [81653] optee-client-3.11.0.tar.gz: OK (sha256: 91f8ec191cd999ee666b6203ec376415d5dc90a8a9955f3d5fce1f48df77169b) >>> optee-client 3.11.0 Extracting gzip -d -c /tmp/instance-0/dl/optee-client/optee-client-3.11.0.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/optee-client-3.11.0 -xf - >>> optee-client 3.11.0 Patching Applying 0001-libckteec-replace-initializer.patch using patch: patching file libckteec/src/pkcs11_processing.c patching file libckteec/src/serialize_ck.c patching file libckteec/src/serializer.c >>> optee-client 3.11.0 Configuring (mkdir -p /tmp/instance-0/output-1/build/optee-client-3.11.0/ && cd /tmp/instance-0/output-1/build/optee-client-3.11.0/ && rm -f CMakeCache.txt && 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/cmake /tmp/instance-0/output-1/build/optee-client-3.11.0/ -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DCFG_TEE_FS_PARENT_PATH="/data/tee" -DCFG_WERROR=OFF ) -- The C compiler identification is GNU 8.0.1 -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /tmp/instance-0/output-1/build/optee-client-3.11.0 >>> optee-client 3.11.0 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 -j32 -C /tmp/instance-0/output-1/build/optee-client-3.11.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[2]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' Scanning dependencies of target teec make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' [ 9%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o [ 9%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o [ 13%] Linking C shared library libteec.so make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' [ 13%] Built target teec make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' Scanning dependencies of target ckteec Scanning dependencies of target tee-supplicant make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' [ 18%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_api.c.o [ 22%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_debug.c.o [ 27%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/handle.c.o [ 31%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_helpers.c.o [ 36%] Building C object libckteec/CMakeFiles/ckteec.dir/src/invoke_ta.c.o [ 40%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/hmac_sha2.c.o [ 45%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/rpmb.c.o [ 50%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_processing.c.o [ 54%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/sha2.c.o [ 59%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o [ 63%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/teec_ta_load.c.o [ 68%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_socket.c.o [ 72%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/prof.c.o [ 77%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serializer.c.o [ 81%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supp_fs.c.o [ 86%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_token.c.o [ 90%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serialize_ck.c.o [ 95%] Linking C shared library libckteec.so [100%] Linking C executable tee-supplicant make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' [100%] Built target ckteec make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' [100%] Built target tee-supplicant make[2]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' make[1]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' >>> optee-client 3.11.0 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 -j32 DESTDIR=/tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot install/fast -C /tmp/instance-0/output-1/build/optee-client-3.11.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' Install the project... -- Install configuration: "Release" -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libteec.so.1.0.0 -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libteec.so.1 -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libteec.so -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/sbin/tee-supplicant -- Set runtime path of "/tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/sbin/tee-supplicant" to "" -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/tee_bench.h -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/tee_client_api.h -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/tee_client_api_extensions.h -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/teec_trace.h -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libckteec.so.0.1.0 -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libckteec.so.0 -- Set runtime path of "/tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libckteec.so.0.1.0" to "" -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib/libckteec.so -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/ck_debug.h -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/pkcs11.h -- Installing: /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/include/pkcs11_ta.h make[1]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' >>> optee-client 3.11.0 Fixing libtool files for la in $(find /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /bin/sed -i -e "s:/tmp/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/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/nds32le-buildroot-linux-gnu/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 >>> optee-client 3.11.0 Installing to target 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 -j32 DESTDIR=/tmp/instance-0/output-1/target install/fast -C /tmp/instance-0/output-1/build/optee-client-3.11.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' Install the project... -- Install configuration: "Release" -- Installing: /tmp/instance-0/output-1/target/usr/lib/libteec.so.1.0.0 -- Installing: /tmp/instance-0/output-1/target/usr/lib/libteec.so.1 -- Installing: /tmp/instance-0/output-1/target/usr/lib/libteec.so -- Installing: /tmp/instance-0/output-1/target/usr/sbin/tee-supplicant -- Set runtime path of "/tmp/instance-0/output-1/target/usr/sbin/tee-supplicant" to "" -- Installing: /tmp/instance-0/output-1/target/usr/include/tee_bench.h -- Installing: /tmp/instance-0/output-1/target/usr/include/tee_client_api.h -- Installing: /tmp/instance-0/output-1/target/usr/include/tee_client_api_extensions.h -- Installing: /tmp/instance-0/output-1/target/usr/include/teec_trace.h -- Installing: /tmp/instance-0/output-1/target/usr/lib/libckteec.so.0.1.0 -- Installing: /tmp/instance-0/output-1/target/usr/lib/libckteec.so.0 -- Set runtime path of "/tmp/instance-0/output-1/target/usr/lib/libckteec.so.0.1.0" to "" -- Installing: /tmp/instance-0/output-1/target/usr/lib/libckteec.so -- Installing: /tmp/instance-0/output-1/target/usr/include/ck_debug.h -- Installing: /tmp/instance-0/output-1/target/usr/include/pkcs11.h -- Installing: /tmp/instance-0/output-1/target/usr/include/pkcs11_ta.h make[1]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.11.0' /usr/bin/install -m 0755 -D package/optee-client//S30optee /tmp/instance-0/output-1/target/etc/init.d/S30optee optee-benchmark-3.11.0.tar.gz: OK (sha256: 34c314a5cda1e9e3b92f01759585722b44503d9eea19f6b936fc951f5acbac16) >>> optee-benchmark 3.11.0 Extracting gzip -d -c /tmp/instance-0/dl/optee-benchmark/optee-benchmark-3.11.0.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/optee-benchmark-3.11.0 -xf - >>> optee-benchmark 3.11.0 Patching Applying 0001-main-fix-typo.patch using patch: patching file main.c >>> optee-benchmark 3.11.0 Configuring (mkdir -p /tmp/instance-0/output-1/build/optee-benchmark-3.11.0/ && cd /tmp/instance-0/output-1/build/optee-benchmark-3.11.0/ && rm -f CMakeCache.txt && 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/cmake /tmp/instance-0/output-1/build/optee-benchmark-3.11.0/ -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON ) -- The C compiler identification is GNU 8.0.1 -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /tmp/instance-0/output-1/build/optee-benchmark-3.11.0 >>> optee-benchmark 3.11.0 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 -j32 -C /tmp/instance-0/output-1/build/optee-benchmark-3.11.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' make[2]: Entering directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' Scanning dependencies of target benchmark make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' [ 33%] Building C object CMakeFiles/benchmark.dir/main.c.o [ 66%] Building C object CMakeFiles/benchmark.dir/benchmark_aux.c.o [100%] Linking C executable benchmark make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' [100%] Built target benchmark make[2]: Leaving directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' make[1]: Leaving directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' >>> optee-benchmark 3.11.0 Installing to target 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 -j32 DESTDIR=/tmp/instance-0/output-1/target install/fast -C /tmp/instance-0/output-1/build/optee-benchmark-3.11.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' Install the project... -- Install configuration: "Release" -- Installing: /tmp/instance-0/output-1/target/usr/bin/benchmark make[1]: Leaving directory '/tmp/instance-0/output-1/build/optee-benchmark-3.11.0' patchelf-0.9.tar.bz2: OK (sha256: a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83) >>> host-patchelf 0.9 Extracting bzcat /tmp/instance-0/dl/patchelf/patchelf-0.9.tar.bz2 | tar --strip-components=1 -C /tmp/instance-0/output-1/build/host-patchelf-0.9 -xf - >>> host-patchelf 0.9 Patching Applying 0001-Remove-apparently-incorrect-usage-of-static.patch using patch: patching file src/patchelf.cc Applying 0002-Extract-a-function-for-splitting-a-colon-separated-s.patch using patch: patching file src/patchelf.cc Applying 0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch using patch: patching file src/patchelf.cc Applying 0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch using patch: patching file src/patchelf.cc Hunk #1 succeeded at 1309 (offset -6 lines). Applying 0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch using patch: patching file src/patchelf.cc Applying 0006-Fix-shared-library-corruption-when-rerunning-patchel.patch using patch: patching file src/patchelf.cc Applying 0007-fix-adjusting-startPage.patch using patch: patching file src/patchelf.cc Applying 0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch using patch: patching file src/patchelf.cc Applying 0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch using patch: patching file src/patchelf.cc Applying 0010-Fix-endianness-issues-for-powerpc-PIE.patch using patch: patching file src/patchelf.cc >>> host-patchelf 0.9 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-0/output-1/build/host-patchelf-0.9 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-patchelf 0.9 Patching libtool >>> host-patchelf 0.9 Configuring (cd /tmp/instance-0/output-1/build/host-patchelf-0.9/ && 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" 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" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/tmp/instance-0/output-1/host/include" CFLAGS="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/tmp/instance-0/output-1/host" --sysconfdir="/tmp/instance-0/output-1/host/etc" --localstatedir="/tmp/instance-0/output-1/host/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking ) configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether /usr/bin/gcc understands -c and -o together... yes checking dependency style of /usr/bin/gcc... none checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking dependency style of /usr/bin/g++... none Setting page size to 4096 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls >>> host-patchelf 0.9 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" 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 -j32 -C /tmp/instance-0/output-1/build/host-patchelf-0.9/ make[1]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' Making all in src make[2]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/src' /usr/bin/g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096 -I. -I/tmp/instance-0/output-1/host/include -Wall -O2 -I/tmp/instance-0/output-1/host/include -c -o patchelf.o patchelf.cc /usr/bin/g++ -Wall -O2 -I/tmp/instance-0/output-1/host/include -L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib -o patchelf patchelf.o make[2]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/src' Making all in tests make[2]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/tests' make[2]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' make[1]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' >>> host-patchelf 0.9 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 -j32 install -C /tmp/instance-0/output-1/build/host-patchelf-0.9/ make[1]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' Making install in src make[2]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/src' make[3]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/src' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/tmp/instance-0/output-1/host/bin' /usr/bin/install -c patchelf '/tmp/instance-0/output-1/host/bin' make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/src' Making install in tests make[2]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/tests' make[3]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/tests' make[2]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9/tests' make[2]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' make[3]: Entering directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/instance-0/output-1/host/share/doc/patchelf' /bin/mkdir -p '/tmp/instance-0/output-1/host/share/man/man1' /usr/bin/install -c -m 644 README '/tmp/instance-0/output-1/host/share/doc/patchelf' /usr/bin/install -c -m 644 patchelf.1 '/tmp/instance-0/output-1/host/share/man/man1' make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' make[2]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' make[1]: Leaving directory '/tmp/instance-0/output-1/build/host-patchelf-0.9' >>> 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/nds32le-linux-%g' -e 's%@TARGET_ARCH@%nds32le%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=2'@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', '-D_FORTIFY_SOURCE=2'@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/nds32le-buildroot-linux-gnu/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 /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-0/output-1/target/etc/inittab /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.33.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.33.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 /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 /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 /bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-0/output-1/target/etc/inittab; else /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/nds32le-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/nds32le-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.02-226-g09714c8d52"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.02.1"; \ echo "PRETTY_NAME=\"Buildroot 2021.02.1\"" \ ) > /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/nds32le-buildroot-linux-gnu/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2021.02-226-g09714c8d52 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-andes-nds32 Collecting legal info >>> toolchain Collecting legal info >>> atftp 0.7.4 Collecting legal info LICENSE: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> busybox 1.33.0 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> initscripts Collecting legal info >>> jquery 3.5.1 Collecting legal info >>> json-javascript 3d7767b6b1f3da363c625ff54e63bbf20e9e83ac Collecting legal info json2.js: OK (sha256: 925947d3d711c4441a9db20f51215fbf5c119d2a3b51cadb2c9031907d8014b5) >>> libcli 1.10.4 Collecting legal info COPYING: OK (sha256: 376b54d4c5f4aa99421823fa4da93e3ab73096fce2400e89858632aa7da24a14) >>> libid3tag 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYRIGHT: OK (sha256: 7f12ad28dc075763e91b91bfa60fad04062380011ddad8f6bac21dd7b1f44367) >>> 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.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gperf 3.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> libubox 723730214732862de7e892bae2f7a7889e66bf1b Collecting legal info >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> libuci 49ec6efbdac4819033d34f08927d795f83a3932d Collecting legal info >>> libyaml 0.2.5 Collecting legal info License: OK (sha256: c40112449f254b9753045925248313e9270efa36d226b22d82d4cc6c43c57f29) >>> optee-benchmark 3.11.0 Collecting legal info LICENSE: OK (sha256: 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383) >>> optee-client 3.11.0 Collecting legal info LICENSE: OK (sha256: fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-andes-nds32: cannot save license (TOOLCHAIN_EXTERNAL_ANDES_NDS32_LICENSE_FILES not defined) WARNING: jquery-3.5.1: cannot save license (JQUERY_LICENSE_FILES not defined) WARNING: libubox-723730214732862de7e892bae2f7a7889e66bf1b: cannot save license (LIBUBOX_LICENSE_FILES not defined) WARNING: libuci-49ec6efbdac4819033d34f08927d795f83a3932d: cannot save license (LIBUCI_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'