>>> optee-client 3.4.0 Extracting gzip -d -c /home/naourr/work/instance-0/dl/optee-client/optee-client-3.4.0.tar.gz | /home/naourr/work/instance-0/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-0/output/build/optee-client-3.4.0 -xf - >>> optee-client 3.4.0 Patching >>> optee-client 3.4.0 Configuring (mkdir -p /home/naourr/work/instance-0/output/build/optee-client-3.4.0/ && cd /home/naourr/work/instance-0/output/build/optee-client-3.4.0/ && rm -f CMakeCache.txt && PATH="/home/naourr/work/instance-0/output/host/bin:/home/naourr/work/instance-0/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/cmake /home/naourr/work/instance-0/output/build/optee-client-3.4.0/ -DCMAKE_TOOLCHAIN_FILE="/home/naourr/work/instance-0/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/naourr/work/instance-0/output/host/bin/sh4-linux-gcc -- Check for working C compiler: /home/naourr/work/instance-0/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/naourr/work/instance-0/output/build/optee-client-3.4.0 >>> optee-client 3.4.0 Building PATH="/home/naourr/work/instance-0/output/host/bin:/home/naourr/work/instance-0/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 -C /home/naourr/work/instance-0/output/build/optee-client-3.4.0/ make[1]: Entering directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' make[2]: Entering directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' Scanning dependencies of target teec make[3]: Leaving directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' make[3]: Entering directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' [ 16%] 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/naourr/work/instance-0/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_OpenSession': /home/naourr/work/instance-0/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/naourr/work/instance-0/output/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_InvokeCommand': /home/naourr/work/instance-0/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 make[3]: *** [libteec/CMakeFiles/teec.dir/build.make:63: libteec/CMakeFiles/teec.dir/src/tee_client_api.c.o] Error 1 make[3]: Leaving directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' make[2]: *** [CMakeFiles/Makefile2:91: libteec/CMakeFiles/teec.dir/all] Error 2 make[2]: Leaving directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' make[1]: *** [Makefile:130: all] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-0/output/build/optee-client-3.4.0' make: *** [package/pkg-generic.mk:241: /home/naourr/work/instance-0/output/build/optee-client-3.4.0/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-0/buildroot'