>>> optee-client 4.0.0 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-11/output-1/build/.optee-client-4.0.0.tar.gz.7Hvh5F/output' 'https://github.com/OP-TEE/optee_client/archive/4.0.0/optee-client-4.0.0.tar.gz' --2023-11-22 11:03:40-- https://github.com/OP-TEE/optee_client/archive/4.0.0/optee-client-4.0.0.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OP-TEE/optee_client/tar.gz/refs/tags/4.0.0 [following] --2023-11-22 11:03:40-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/refs/tags/4.0.0 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-11/output-1/build/.optee-client-4.0.0.tar.gz.7Hvh5F/output' 0K .......... .......... .......... .......... .......... 513K 50K .......... .......... .......... .......... .......... 1.01M 100K .. 74.3M=0.1s 2023-11-22 11:03:41 (704 KB/s) - '/home/autobuild/autobuild/instance-11/output-1/build/.optee-client-4.0.0.tar.gz.7Hvh5F/output' saved [105161] optee-client-4.0.0.tar.gz: OK (sha256: bcdac9c3a9f2e93c64d114667cc6d1feddf9f978992cdc2d59745885f9bd8fbe) >>> optee-client 4.0.0 Extracting gzip -d -c /home/autobuild/autobuild/instance-11/dl/optee-client/optee-client-4.0.0.tar.gz | /home/autobuild/autobuild/instance-11/output-1/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0 -xf - >>> optee-client 4.0.0 Patching >>> optee-client 4.0.0 Configuring (mkdir -p /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/ && cd /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-11/output-1/host/bin:/home/autobuild/autobuild/instance-11/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/autobuild/instance-11/output-1/host/bin/cmake /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/home/autobuild/make/make" -DCMAKE_TOOLCHAIN_FILE="/home/autobuild/autobuild/instance-11/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=OFF ) CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/autobuild/autobuild/instance-11/output-1/host/bin/arm-buildroot-linux-gnueabi-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (0.6s) -- Generating done (0.0s) 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-11/output-1/build/optee-client-4.0.0 >>> optee-client 4.0.0 Building PATH="/home/autobuild/autobuild/instance-11/output-1/host/bin:/home/autobuild/autobuild/instance-11/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/autobuild/autobuild/instance-11/output-1/host/bin/cmake --build /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/ -j1 -- make[1]: Entering directory '/home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0' [ 4%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o [ 8%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o [ 12%] Linking C shared library libteec.so [ 12%] Built target teec [ 16%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/handle.c.o [ 20%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/hmac_sha2.c.o [ 25%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/rpmb.c.o [ 29%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/sha2.c.o [ 33%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supp_fs.c.o [ 37%] Building C object tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'register_local_shm': /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:356:44: error: storage size of 'data' isn't known 356 | struct tee_ioctl_shm_register_data data; | ^~~~ /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:373:29: error: 'TEE_IOC_SHM_REGISTER' undeclared (first use in this function) 373 | shm->fd = ioctl(fd, TEE_IOC_SHM_REGISTER, &data); | ^~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:373:29: note: each undeclared identifier is reported only once for each function it appears in /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:356:44: warning: unused variable 'data' [-Wunused-variable] 356 | struct tee_ioctl_shm_register_data data; | ^~~~ /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'process_alloc': /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:396:29: error: 'TEE_GEN_CAP_REG_MEM' undeclared (first use in this function); did you mean 'TEE_GEN_CAP_GP'? 396 | if (arg->gen_caps & TEE_GEN_CAP_REG_MEM) | ^~~~~~~~~~~~~~~~~~~ | TEE_GEN_CAP_GP /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'find_params': /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:565:35: error: 'TEE_IOCTL_PARAM_ATTR_META' undeclared (first use in this function); did you mean 'TEE_IOCTL_PARAM_ATTR_TYPE_MASK'? 565 | if (!(p[n].attr & TEE_IOCTL_PARAM_ATTR_META)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | TEE_IOCTL_PARAM_ATTR_TYPE_MASK /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'process_one_request': /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:629:24: error: 'TEE_IOCTL_PARAM_ATTR_META' undeclared (first use in this function); did you mean 'TEE_IOCTL_PARAM_ATTR_TYPE_MASK'? 629 | params->attr = TEE_IOCTL_PARAM_ATTR_META; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | TEE_IOCTL_PARAM_ATTR_TYPE_MASK make[3]: *** [tee-supplicant/CMakeFiles/tee-supplicant.dir/build.make:146: tee-supplicant/CMakeFiles/tee-supplicant.dir/src/tee_supplicant.c.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:212: tee-supplicant/CMakeFiles/tee-supplicant.dir/all] Error 2 make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0' make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-11/output-1/build/optee-client-4.0.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-11/buildroot'