>>> optee-client 3.19.0 Downloading wget --passive-ftp -nd -t 3 -O '/tmp/instance-18/output-1/build/.optee-client-3.19.0.tar.gz.cTc5go/output' 'https://github.com/OP-TEE/optee_client/archive/3.19.0/optee-client-3.19.0.tar.gz' --2023-02-08 14:24:02-- 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.113.4 Connecting to github.com (github.com)|140.82.113.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] --2023-02-08 14:24:03-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/refs/tags/3.19.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-18/output-1/build/.optee-client-3.19.0.tar.gz.cTc5go/output' 0K .......... .......... .......... .......... .......... 514K 50K .......... .......... .......... .......... .......... 1.01M 100K . 46.0M=0.1s 2023-02-08 14:24:03 (696 KB/s) - '/tmp/instance-18/output-1/build/.optee-client-3.19.0.tar.gz.cTc5go/output' saved [103885] optee-client-3.19.0.tar.gz: OK (sha256: 5f0d02efa0e496964e86ca9dd2461ada923d1f9e11a4b9cafb5393bd08337644) >>> optee-client 3.19.0 Extracting gzip -d -c /tmp/instance-18/dl/optee-client/optee-client-3.19.0.tar.gz | tar --strip-components=1 -C /tmp/instance-18/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-18/output-1/build/optee-client-3.19.0/ && cd /tmp/instance-18/output-1/build/optee-client-3.19.0/ && rm -f CMakeCache.txt && PATH="/tmp/instance-18/output-1/host/bin:/tmp/instance-18/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /tmp/instance-18/output-1/host/bin/cmake /tmp/instance-18/output-1/build/optee-client-3.19.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-18/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=ON -DWITH_TEEACL=ON ) -- The C compiler identification is GNU 11.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/instance-18/output-1/host/bin/m68k-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-18/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-18/output-1/build/optee-client-3.19.0 >>> optee-client 3.19.0 Building PATH="/tmp/instance-18/output-1/host/bin:/tmp/instance-18/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-18/output-1/build/optee-client-3.19.0/ make[1]: Entering directory '/tmp/instance-18/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 [ 10%] Linking C shared library libteec.so [ 10%] Built target teec [ 14%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/handle.c.o [ 17%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/hmac_sha2.c.o [ 21%] 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 [ 28%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supp_fs.c.o [ 32%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o [ 35%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/teec_ta_load.c.o [ 39%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_socket.c.o [ 42%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/prof.c.o /tmp/instance-18/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c: In function 'prof_process': /tmp/instance-18/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c:100:56: 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-18/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c:100:54: note: directive argument in the range [1, 2147483646] 100 | snprintf(vers, sizeof(vers), ".%d", id - 1); | ^~~~~ /tmp/instance-18/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c:100:25: note: 'snprintf' output between 3 and 12 bytes into a destination of size 5 100 | snprintf(vers, sizeof(vers), ".%d", id - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/plugin.c.o [ 50%] Linking C executable tee-supplicant [ 50%] Built target tee-supplicant [ 53%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_api.c.o [ 57%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_debug.c.o [ 60%] Building C object libckteec/CMakeFiles/ckteec.dir/src/ck_helpers.c.o [ 64%] Building C object libckteec/CMakeFiles/ckteec.dir/src/invoke_ta.c.o [ 67%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_processing.c.o [ 71%] Building C object libckteec/CMakeFiles/ckteec.dir/src/pkcs11_token.c.o [ 75%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serializer.c.o [ 78%] Building C object libckteec/CMakeFiles/ckteec.dir/src/serialize_ck.c.o [ 82%] Linking C shared library libckteec.so [ 82%] Built target ckteec [ 85%] Building C object libteeacl/CMakeFiles/teeacl.dir/src/group.c.o /tmp/instance-18/output-1/build/optee-client-3.19.0/libteeacl/src/group.c: In function 'teeacl_user_is_member_of': /tmp/instance-18/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:26: error: implicit declaration of function 'reallocarray' [-Werror=implicit-function-declaration] 75 | groups = reallocarray(groups, grouplistsize, sizeof(gid_t)); | ^~~~~~~~~~~~ /tmp/instance-18/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:26: warning: nested extern declaration of 'reallocarray' [-Wnested-externs] /tmp/instance-18/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:24: 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-18/output-1/build/optee-client-3.19.0' make: *** [package/pkg-generic.mk:293: /tmp/instance-18/output-1/build/optee-client-3.19.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-18/buildroot'