>>> optee-client 4.0.0 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-15/output-1/build/.optee-client-4.0.0.tar.gz.wyt84x/output' 'https://github.com/OP-TEE/optee_client/archive/4.0.0/optee-client-4.0.0.tar.gz' --2024-01-04 20:10:07-- 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.112.4 Connecting to github.com (github.com)|140.82.112.4|: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] --2024-01-04 20:10:08-- 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.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-15/output-1/build/.optee-client-4.0.0.tar.gz.wyt84x/output' 0K .......... .......... .......... .......... .......... 555K 50K .......... .......... .......... .......... .......... 1.11M 100K .. 59.5M=0.1s 2024-01-04 20:10:08 (765 KB/s) - '/home/autobuild/autobuild/instance-15/output-1/build/.optee-client-4.0.0.tar.gz.wyt84x/output' saved [105161] optee-client-4.0.0.tar.gz: OK (sha256: bcdac9c3a9f2e93c64d114667cc6d1feddf9f978992cdc2d59745885f9bd8fbe) >>> optee-client 4.0.0 Extracting mkdir -p /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-tar/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-tar/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host mkdir -p /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-tar/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-tar/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target gzip -d -c /home/autobuild/autobuild/instance-15/dl/optee-client/optee-client-4.0.0.tar.gz | /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-15/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-15/output-1/per-package/optee-client/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-cmake/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-cmake/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-pkgconf/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-pkgconf/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host mkdir -p /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-cmake/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-cmake/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-pkgconf/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-pkgconf/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-15/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/target (mkdir -p /home/autobuild/autobuild/instance-15/output-1/build/optee-client-4.0.0/ && cd /home/autobuild/autobuild/instance-15/output-1/build/optee-client-4.0.0/ && rm -f CMakeCache.txt && PATH="/home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host/bin:/home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/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-15/output-1/per-package/optee-client/host/bin/cmake /home/autobuild/autobuild/instance-15/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-15/output-1/per-package/optee-client/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-15/output-1/per-package/optee-client/host/bin/m68k-buildroot-linux-uclibc-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.3s) -- 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-15/output-1/build/optee-client-4.0.0 >>> optee-client 4.0.0 Building PATH="/home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/host/bin:/home/autobuild/autobuild/instance-15/output-1/per-package/optee-client/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-15/output-1/per-package/optee-client/host/bin/cmake --build /home/autobuild/autobuild/instance-15/output-1/build/optee-client-4.0.0/ -j1 -- make[1]: Entering directory '/home/autobuild/autobuild/instance-15/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-15/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'register_local_shm': /home/autobuild/autobuild/instance-15/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-15/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-15/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-15/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-15/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'process_alloc': /home/autobuild/autobuild/instance-15/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-15/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'find_params': /home/autobuild/autobuild/instance-15/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-15/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'process_one_request': /home/autobuild/autobuild/instance-15/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-15/output-1/build/optee-client-4.0.0' make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-15/output-1/build/optee-client-4.0.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-15/buildroot'