>>> optee-client 3.4.0 Downloading --2019-03-20 13:38:04-- 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.113, 192.30.253.112 Connecting to github.com (github.com)|192.30.253.113|: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-20 13:38:05-- 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/peko/autobuild/instance-1/output/build/.optee-client-3.4.0.tar.gz.8jTmWS/output' 0K .......... .......... .......... .......... ......... 195K=0.3s 2019-03-20 13:38:05 (195 KB/s) - '/home/peko/autobuild/instance-1/output/build/.optee-client-3.4.0.tar.gz.8jTmWS/output' saved [50194] optee-client-3.4.0.tar.gz: OK (sha256: 7c131a44f4d73acb8816fba88bcd7e6a18537f0a522ae426a20e2ca7dc46a6ec) >>> optee-client 3.4.0 Extracting gzip -d -c /home/peko/autobuild/instance-1/dl/optee-client/optee-client-3.4.0.tar.gz | tar --strip-components=1 -C /home/peko/autobuild/instance-1/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/peko/autobuild/instance-1/output/build/optee-client-3.4.0/ && cd /home/peko/autobuild/instance-1/output/build/optee-client-3.4.0/ && rm -f CMakeCache.txt && PATH="/home/peko/autobuild/instance-1/output/host/bin:/home/peko/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/peko/autobuild/instance-1/output/host/bin/cmake /home/peko/autobuild/instance-1/output/build/optee-client-3.4.0/ -DCMAKE_TOOLCHAIN_FILE="/home/peko/autobuild/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/peko/autobuild/instance-1/output/host/bin/nios2-linux-gcc -- Check for working C compiler: /home/peko/autobuild/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/peko/autobuild/instance-1/output/build/optee-client-3.4.0 >>> optee-client 3.4.0 Building PATH="/home/peko/autobuild/instance-1/output/host/bin:/home/peko/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j6 -C /home/peko/autobuild/instance-1/output/build/optee-client-3.4.0/ make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0' make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0' Scanning dependencies of target teec make[3]: Leaving directory '/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0' [ 8%] 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/peko/autobuild/instance-1/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_OpenSession': /home/peko/autobuild/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/peko/autobuild/instance-1/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_InvokeCommand': /home/peko/autobuild/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/peko/autobuild/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/peko/autobuild/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/peko/autobuild/instance-1/output/build/optee-client-3.4.0' package/pkg-generic.mk:238: recipe for target '/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0/.stamp_built' failed make: *** [/home/peko/autobuild/instance-1/output/build/optee-client-3.4.0/.stamp_built] Error 2 make: Leaving directory '/home/peko/autobuild/instance-1/buildroot'