>>> optee-client 3.13.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-0/output-1/build/.optee-client-3.13.0.tar.gz.VTKdbq/output' 'https://github.com/OP-TEE/optee_client/archive/3.13.0/optee-client-3.13.0.tar.gz' --2021-07-30 21:11:28-- https://github.com/OP-TEE/optee_client/archive/3.13.0/optee-client-3.13.0.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.13.0 [following] --2021-07-30 21:11:28-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.13.0 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 92002 (90K) [application/x-gzip] Saving to: '/tmp/instance-0/output-1/build/.optee-client-3.13.0.tar.gz.VTKdbq/output' 0K .......... .......... .......... .......... .......... 55% 3.09M 0s 50K .......... .......... .......... ......... 100% 5.00M=0.02s 2021-07-30 21:11:28 (3.72 MB/s) - '/tmp/instance-0/output-1/build/.optee-client-3.13.0.tar.gz.VTKdbq/output' saved [92002/92002] optee-client-3.13.0.tar.gz: OK (sha256: 2ec6f05f833dce458f0358104e83e28e9a7643b81cfd96db32a7a1fadcc1e3af) >>> optee-client 3.13.0 Extracting gzip -d -c /tmp/instance-0/dl/optee-client/optee-client-3.13.0.tar.gz | tar --strip-components=1 -C /tmp/instance-0/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-0/output-1/build/optee-client-3.13.0/ && cd /tmp/instance-0/output-1/build/optee-client-3.13.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" /tmp/instance-0/output-1/host/bin/cmake /tmp/instance-0/output-1/build/optee-client-3.13.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=OFF -DCFG_TEE_FS_PARENT_PATH="/data/tee" -DCFG_WERROR=OFF ) -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/arm-linux-gcc -- Check for working C compiler: /tmp/instance-0/output-1/host/bin/arm-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-0/output-1/build/optee-client-3.13.0 >>> optee-client 3.13.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 -j96 -C /tmp/instance-0/output-1/build/optee-client-3.13.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[2]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' Scanning dependencies of target teec make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-0/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-0/output-1/build/optee-client-3.13.0' [ 13%] Built target teec make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.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.13.0' make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[3]: Entering directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' [ 17%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_api.c.o [ 21%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_helpers.c.o [ 26%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/hmac_sha2.c.o [ 34%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_processing.c.o [ 34%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_debug.c.o [ 43%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_token.c.o [ 43%] Building C object libckteec/CMakeFiles/ckteec.dir/src/invoke_ta.c.o [ 47%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/rpmb.c.o [ 56%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serialize_ck.c.o [ 60%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/handle.c.o [ 65%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/sha2.c.o [ 65%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supp_fs.c.o [ 78%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/prof.c.o [ 78%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o [ 82%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serializer.c.o [ 82%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/teec_ta_load.c.o [ 91%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_socket.c.o [ 91%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/plugin.c.o /tmp/instance-0/output-1/build/optee-client-3.13.0/tee-supplicant/src/plugin.c:8:10: fatal error: dlfcn.h: No such file or directory 8 | #include | ^~~~~~~~~ compilation terminated. make[3]: *** [tee-supplicant/CMakeFiles/tee-supplicant.dir/build.make:157: tee-supplicant/CMakeFiles/tee-supplicant.dir/src/plugin.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[2]: *** [CMakeFiles/Makefile2:207: tee-supplicant/CMakeFiles/tee-supplicant.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 95%] Linking C static library libckteec.a make[3]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' [ 95%] Built target ckteec make[2]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make[1]: *** [Makefile:133: all] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/optee-client-3.13.0' make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/optee-client-3.13.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'