>>> optee-client 3.19.0 Downloading wget --passive-ftp -nd -t 3 -O '/tmp/instance-20/output-1/build/.optee-client-3.19.0.tar.gz.45FGNh/output' 'https://github.com/OP-TEE/optee_client/archive/3.19.0/optee-client-3.19.0.tar.gz' --2022-12-10 17:58:06-- https://github.com/OP-TEE/optee_client/archive/3.19.0/optee-client-3.19.0.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OP-TEE/optee_client/tar.gz/refs/tags/3.19.0 [following] --2022-12-10 17:58:06-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/refs/tags/3.19.0 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/tmp/instance-20/output-1/build/.optee-client-3.19.0.tar.gz.45FGNh/output' 0K .......... .......... .......... .......... .......... 516K 50K .......... .......... .......... .......... .......... 1002K 100K . 28.7M=0.1s 2022-12-10 17:58:07 (691 KB/s) - '/tmp/instance-20/output-1/build/.optee-client-3.19.0.tar.gz.45FGNh/output' saved [103885] optee-client-3.19.0.tar.gz: OK (sha256: 5f0d02efa0e496964e86ca9dd2461ada923d1f9e11a4b9cafb5393bd08337644) >>> optee-client 3.19.0 Extracting gzip -d -c /tmp/instance-20/dl/optee-client/optee-client-3.19.0.tar.gz | tar --strip-components=1 -C /tmp/instance-20/output-1/build/optee-client-3.19.0 -xf - >>> optee-client 3.19.0 Patching Applying 0001-libteeacl-condition-libteeacl-with-WITH_TEEACL.patch using patch: patching file CMakeLists.txt patching file Makefile >>> optee-client 3.19.0 Configuring (mkdir -p /tmp/instance-20/output-1/build/optee-client-3.19.0/ && cd /tmp/instance-20/output-1/build/optee-client-3.19.0/ && rm -f CMakeCache.txt && PATH="/tmp/instance-20/output-1/host/bin:/tmp/instance-20/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /tmp/instance-20/output-1/host/bin/cmake /tmp/instance-20/output-1/build/optee-client-3.19.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-20/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -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 -DRPMB_EMU=OFF -DCFG_TEE_SUPP_PLUGINS=OFF -DWITH_TEEACL=ON ) -- The C compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/instance-20/output-1/host/bin/arceb-buildroot-linux-uclibc-gcc - skipped -- 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 -- Found PkgConfig: /tmp/instance-20/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'uuid' -- Found uuid, version 2.38.0 -- 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-20/output-1/build/optee-client-3.19.0 >>> optee-client 3.19.0 Building PATH="/tmp/instance-20/output-1/host/bin:/tmp/instance-20/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/make/make -j1 -C /tmp/instance-20/output-1/build/optee-client-3.19.0/ make[1]: Entering directory '/tmp/instance-20/output-1/build/optee-client-3.19.0' [ 3%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o [ 7%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o [ 11%] Linking C shared library libteec.so [ 11%] Built target teec [ 14%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/handle.c.o [ 18%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/hmac_sha2.c.o [ 22%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/rpmb.c.o [ 25%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/sha2.c.o [ 29%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supp_fs.c.o [ 33%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o [ 37%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/teec_ta_load.c.o [ 40%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_socket.c.o [ 44%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/prof.c.o /tmp/instance-20/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c: In function 'prof_process': /tmp/instance-20/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c:100:35: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] 100 | snprintf(vers, sizeof(vers), ".%d", id - 1); | ^~ /tmp/instance-20/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c:100:33: note: directive argument in the range [1, 2147483646] 100 | snprintf(vers, sizeof(vers), ".%d", id - 1); | ^~~~~ /tmp/instance-20/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c:100:4: note: 'snprintf' output between 3 and 12 bytes into a destination of size 5 100 | snprintf(vers, sizeof(vers), ".%d", id - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 48%] Linking C executable tee-supplicant [ 48%] Built target tee-supplicant [ 51%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_api.c.o [ 55%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_debug.c.o [ 59%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_helpers.c.o [ 62%] Building C object libckteec/CMakeFiles/ckteec.dir/src/invoke_ta.c.o [ 66%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_processing.c.o [ 70%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_token.c.o [ 74%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serializer.c.o [ 77%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serialize_ck.c.o [ 81%] Linking C shared library libckteec.so [ 81%] Built target ckteec [ 85%] Building C object libteeacl/CMakeFiles/teeacl.dir/src/group.c.o /tmp/instance-20/output-1/build/optee-client-3.19.0/libteeacl/src/group.c: In function 'teeacl_user_is_member_of': /tmp/instance-20/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:12: error: implicit declaration of function 'reallocarray' [-Werror=implicit-function-declaration] 75 | groups = reallocarray(groups, grouplistsize, sizeof(gid_t)); | ^~~~~~~~~~~~ /tmp/instance-20/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:12: warning: nested extern declaration of 'reallocarray' [-Wnested-externs] /tmp/instance-20/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:10: warning: assignment to 'gid_t *' {aka 'unsigned int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 75 | groups = reallocarray(groups, grouplistsize, sizeof(gid_t)); | ^ cc1: some warnings being treated as errors make[3]: *** [libteeacl/CMakeFiles/teeacl.dir/build.make:76: libteeacl/CMakeFiles/teeacl.dir/src/group.c.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:300: libteeacl/CMakeFiles/teeacl.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/tmp/instance-20/output-1/build/optee-client-3.19.0' make: *** [package/pkg-generic.mk:293: /tmp/instance-20/output-1/build/optee-client-3.19.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-20/buildroot'