>>> optee-client 3.4.0 Downloading --2019-03-21 09:32:28-- https://github.com/OP-TEE/optee_client/archive/3.4.0/optee-client-3.4.0.tar.gz Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113 Connecting to github.com (github.com)|192.30.255.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.4.0 [following] --2019-03-21 09:32:29-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.4.0 Resolving codeload.github.com (codeload.github.com)... 192.30.255.121, 192.30.255.120 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-2/output/build/.optee-client-3.4.0.tar.gz.WYek0o/output' 0K .......... .......... .......... .......... ......... 1.70M=0.03s 2019-03-21 09:32:29 (1.70 MB/s) - '/home/buildroot/autobuild/instance-2/output/build/.optee-client-3.4.0.tar.gz.WYek0o/output' saved [50194] optee-client-3.4.0.tar.gz: OK (sha256: 7c131a44f4d73acb8816fba88bcd7e6a18537f0a522ae426a20e2ca7dc46a6ec) >>> optee-client 3.4.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/optee-client/optee-client-3.4.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0 -xf - >>> optee-client 3.4.0 Patching Applying 0002-cmake-support-BUILD_STATIC_LIBS-BUILD_SHARED_LIBS.patch using patch: patching file libteec/CMakeLists.txt patching file tee-supplicant/CMakeLists.txt >>> optee-client 3.4.0 Configuring (mkdir -p /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/ && cd /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-2/output/host/bin:/home/buildroot/autobuild/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/buildroot/autobuild/instance-2/output/host/bin/cmake /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-2/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -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 ) -- The C compiler identification is GNU 7.4.0 -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output/host/bin/sh4-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output/host/bin/sh4-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- 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/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0 >>> optee-client 3.4.0 Building PATH="/home/buildroot/autobuild/instance-2/output/host/bin:/home/buildroot/autobuild/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' Scanning dependencies of target teec make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' [ 16%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o [ 16%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_OpenSession': /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c:507:8: error: cast increases required alignment of target type [-Werror=cast-align] arg = (struct tee_ioctl_open_session_arg *)buf; ^ /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_InvokeCommand': /home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c:581:8: error: cast increases required alignment of target type [-Werror=cast-align] arg = (struct tee_ioctl_invoke_arg *)buf; ^ cc1: all warnings being treated as errors libteec/CMakeFiles/teec.dir/build.make:62: recipe for target 'libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o' failed make[3]: *** [libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' CMakeFiles/Makefile2:85: recipe for target 'libteec/CMakeFiles/teec.dir/all' failed make[2]: *** [libteec/CMakeFiles/teec.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output/build/optee-client-3.4.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'