>>> optee-client 3.19.0 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-12/output-1/build/.optee-client-3.19.0.tar.gz.iuWgDv/output' 'https://github.com/OP-TEE/optee_client/archive/3.19.0/optee-client-3.19.0.tar.gz' --2023-01-30 18:02:55-- 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-01-30 18:02:55-- 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.9 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-12/output-1/build/.optee-client-3.19.0.tar.gz.iuWgDv/output' 0K .......... .......... .......... .......... .......... 481K 50K .......... .......... .......... .......... .......... 994K 100K . 19.9M=0.2s 2023-01-30 18:02:56 (658 KB/s) - '/home/autobuild/autobuild/instance-12/output-1/build/.optee-client-3.19.0.tar.gz.iuWgDv/output' saved [103903] ERROR: optee-client-3.19.0.tar.gz has wrong sha256 hash: ERROR: expected: 5f0d02efa0e496964e86ca9dd2461ada923d1f9e11a4b9cafb5393bd08337644 ERROR: got : f9cdced0bf7f509d3c07f536291a4d05862031a2bfcf67b4de078256d4fcaed6 ERROR: Incomplete download, or man-in-the-middle (MITM) attack wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-12/output-1/build/.optee-client-3.19.0.tar.gz.y9wf3M/output' 'http://sources.buildroot.net/optee-client/optee-client-3.19.0.tar.gz' --2023-01-30 18:02:56-- http://sources.buildroot.net/optee-client/optee-client-3.19.0.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 172.67.72.56, 104.26.1.37, ... Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 103885 (101K) [application/x-gtar-compressed] Saving to: '/home/autobuild/autobuild/instance-12/output-1/build/.optee-client-3.19.0.tar.gz.y9wf3M/output' 0K .......... .......... .......... .......... .......... 49% 838K 0s 50K .......... .......... .......... .......... .......... 98% 8.81M 0s 100K . 100% 2.70T=0.07s 2023-01-30 18:02:56 (1.52 MB/s) - '/home/autobuild/autobuild/instance-12/output-1/build/.optee-client-3.19.0.tar.gz.y9wf3M/output' saved [103885/103885] optee-client-3.19.0.tar.gz: OK (sha256: 5f0d02efa0e496964e86ca9dd2461ada923d1f9e11a4b9cafb5393bd08337644) >>> optee-client 3.19.0 Extracting gzip -d -c /home/autobuild/autobuild/instance-12/dl/optee-client/optee-client-3.19.0.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-12/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 /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/ && cd /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-12/output-1/host/bin:/home/autobuild/autobuild/instance-12/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/autobuild/instance-12/output-1/host/bin/cmake /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-12/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=ON -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: /home/autobuild/autobuild/instance-12/output-1/host/bin/arc-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: /home/autobuild/autobuild/instance-12/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: /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0 >>> optee-client 3.19.0 Building PATH="/home/autobuild/autobuild/instance-12/output-1/host/bin:/home/autobuild/autobuild/instance-12/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 /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/ make[1]: Entering directory '/home/autobuild/autobuild/instance-12/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 /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/tee-supplicant/src/prof.c: In function 'prof_process': /home/autobuild/autobuild/instance-12/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); | ^~ /home/autobuild/autobuild/instance-12/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); | ^~~~~ /home/autobuild/autobuild/instance-12/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 /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/libteeacl/src/group.c: In function 'teeacl_user_is_member_of': /home/autobuild/autobuild/instance-12/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)); | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/libteeacl/src/group.c:75:12: warning: nested extern declaration of 'reallocarray' [-Wnested-externs] /home/autobuild/autobuild/instance-12/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 '/home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-12/output-1/build/optee-client-3.19.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-12/buildroot'