>>> optee-client 3.4.0 Downloading --2019-03-12 21:04: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.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.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-12 21:04:29-- https://codeload.github.com/OP-TEE/optee_client/tar.gz/3.4.0 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/run/instance-1/output/build/.optee-client-3.4.0.tar.gz.etDK8Y/output' 0K .......... .......... .......... .......... ......... 298K=0.2s 2019-03-12 21:04:29 (298 KB/s) - '/home/buildroot/autobuild/run/instance-1/output/build/.optee-client-3.4.0.tar.gz.etDK8Y/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/run/instance-1/dl/optee-client/optee-client-3.4.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0 -xf - >>> optee-client 3.4.0 Patching >>> optee-client 3.4.0 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/ && cd /home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake /home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/host/bin/nios2-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/nios2-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 - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - 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/run/instance-1/output/build/optee-client-3.4.0 >>> optee-client 3.4.0 Building PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/ make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0' Scanning dependencies of target teec make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0' [ 8%] Building C object libteec/CMakeFiles/teec.dir/src/teec_trace.c.o [ 16%] Building C object libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o /home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_OpenSession': /home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_InvokeCommand': /home/buildroot/autobuild/run/instance-1/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/run/instance-1/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/run/instance-1/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/run/instance-1/output/build/optee-client-3.4.0' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output/build/optee-client-3.4.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'