>>> optee-client 3.13.0 Extracting gzip -d -c /tmp/instance-2/dl/optee-client/optee-client-3.13.0.tar.gz | tar --strip-components=1 -C /tmp/instance-2/output-1/build/optee-client-3.13.0 -xf - >>> optee-client 3.13.0 Patching >>> optee-client 3.13.0 Configuring (mkdir -p /tmp/instance-2/output-1/build/optee-client-3.13.0/ && cd /tmp/instance-2/output-1/build/optee-client-3.13.0/ && rm -f CMakeCache.txt && PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /tmp/instance-2/output-1/host/bin/cmake /tmp/instance-2/output-1/build/optee-client-3.13.0/ -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-2/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=OFF -DCFG_TEE_FS_PARENT_PATH="/data/tee" -DCFG_WERROR=OFF ) -- The C compiler identification is GNU 10.2.0 -- Check for working C compiler: /tmp/instance-2/output-1/host/bin/riscv64-linux-gcc -- Check for working C compiler: /tmp/instance-2/output-1/host/bin/riscv64-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 - Success -- 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-2/output-1/build/optee-client-3.13.0 >>> optee-client 3.13.0 Building PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-2/output-1/build/optee-client-3.13.0/ make[1]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make[2]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' Scanning dependencies of target teec make[3]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' [ 8%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o [ 8%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o [ 13%] Linking C static library libteec.a make[3]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' [ 13%] Built target teec make[3]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' Scanning dependencies of target tee-supplicant make[3]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' Scanning dependencies of target ckteec make[3]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' [ 17%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/handle.c.o [ 21%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/hmac_sha2.c.o [ 26%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/rpmb.c.o [ 30%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/sha2.c.o make[3]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' [ 34%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supp_fs.c.o [ 39%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_api.c.o [ 43%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_debug.c.o [ 47%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o [ 52%] Building C object libckteec/CMakeFiles/ckteec.dir/src/invoke_ta.c.o [ 56%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_helpers.c.o [ 60%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/teec_ta_load.c.o [ 65%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_processing.c.o [ 69%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_token.c.o [ 73%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serializer.c.o [ 78%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/plugin.c.o [ 82%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_socket.c.o [ 86%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serialize_ck.c.o [ 91%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/prof.c.o [ 95%] Linking C executable tee-supplicant make[3]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' [ 95%] Built target tee-supplicant [100%] Linking C static library libckteec.a make[3]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' [100%] Built target ckteec make[2]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make[1]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' >>> optee-client 3.13.0 Installing to staging directory PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot install/fast -C /tmp/instance-2/output-1/build/optee-client-3.13.0/ make[1]: Entering directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' Install the project... -- Install configuration: "Release" -- Installing: /tmp/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libteec.a -- Installing: /tmp/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/sbin/tee-supplicant CMake Error at tee-supplicant/cmake_install.cmake:50 (file): file RPATH_CHANGE could not write new RPATH: /usr/lib/tee-supplicant/plugins/ to the file: /tmp/instance-2/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/sbin/tee-supplicant No valid ELF RPATH or RUNPATH entry exists in the file; Call Stack (most recent call first): cmake_install.cmake:43 (include) make[1]: *** [Makefile:95: install/fast] Error 1 make[1]: Leaving directory '/tmp/instance-2/output-1/build/optee-client-3.13.0' make: *** [package/pkg-generic.mk:309: /tmp/instance-2/output-1/build/optee-client-3.13.0/.stamp_staging_installed] Error 2 make: Leaving directory '/tmp/instance-2/buildroot'