symeon@ubuntu:~/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1$ bitbake optee-examples NOTE: Started PRServer with DBfile: /home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/cache/prserv.sqlite3, Address: 127.0.0.1:34925, PID: 24028 Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00 Loaded 5246 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-ostl-linux-gnueabi" MACHINE = "stm32mp1" DISTRO = "openstlinux-weston" DISTRO_VERSION = "5.0.3-snapshot-20241220" TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard" TARGET_FPU = "hard" DISTRO_CODENAME = "scarthgap" ACCEPT_EULA_stm32mp1 = "1" GCCVERSION = "13.%" PREFERRED_PROVIDER_virtual/kernel = "linux-stm32mp" meta-python meta-oe meta-gnome meta-multimedia meta-networking meta-webserver = "HEAD:1235dd4ed4a57e67683c045ad76b6a0f9e896b45" meta-st-stm32mp = "HEAD:dd13b8318b78f956086efade81de9c72c0e97187" meta-st-openstlinux = "HEAD:a25d4806880cdc73471e3c1824a87901b5a4e44f" meta = "HEAD:236ac1b43308df722a78d3aa20aef065dfae5b2b" meta-filesystems = "HEAD:1235dd4ed4a57e67683c045ad76b6a0f9e896b45" meta-selinux = "scarthgap:3aff015697fa056b4af83b1c9ba44eca346a8a37" meta-virtualization = "scarthgap:450941a1b6df96285691e8c23d4f332d3c88a994" Sstate summary: Wanted 52 Local 45 Mirrors 0 Missed 7 Current 1190 (86% match, 99% complete)###################################################################################### | ETA: 0:00:00 Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:01 NOTE: Executing Tasks ERROR: optee-examples-3.19.0+git-r0 do_compile: oe_runmake failed ERROR: optee-examples-3.19.0+git-r0 do_compile: ExecutionError('/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/temp/run.do_compile.24459', 1, None, None) ERROR: Logfile of failure stored in: /home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/temp/log.do_compile.24459 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 8 TA_DEV_KIT_DIR=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr/include/optee/export-user_ta OPTEE_CLIENT_EXPORT=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr TEEC_EXPORT=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr HOST_CROSS_COMPILE=arm-ostl-linux-gnueabi- TA_CROSS_COMPILE=arm-ostl-linux-gnueabi- V=1 | make[1]: Entering directory '/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git/acipher' | make -C host CROSS_COMPILE="arm-ostl-linux-gnueabi-" --no-builtin-variables | make[2]: Entering directory '/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git/acipher/host' | make[2]: Nothing to be done for 'all'. | make[2]: Leaving directory '/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git/acipher/host' | make -C ta CROSS_COMPILE="arm-ostl-linux-gnueabi-" LDFLAGS="" | make[2]: Entering directory '/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git/acipher/ta' | mkdir -p ./ | arm-ostl-linux-gnueabi-gcc -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git=/usr/src/debug/optee-examples/3.19.0+git -fdebug-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git=/usr/src/debug/optee-examples/3.19.0+git -fmacro-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git=/usr/src/debug/optee-examples/3.19.0+git -fdebug-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git=/usr/src/debug/optee-examples/3.19.0+git -fdebug-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot= -fmacro-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot= -fdebug-prefix-map=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot-native= --sysroot=/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot -std=gnu11 -fdiagnostics-show-option -Wall -Wcast-align -Werror-implicit-function-declaration -Wextra -Wfloat-equal -Wformat-nonliteral -Wformat-security -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wwrite-strings -Wno-missing-field-initializers -Wno-format-zero-length -Wno-c2x-extensions -Wpacked-not-aligned -Waddress-of-packed-member -Wredundant-decls -Wold-style-definition -Wstrict-aliasing=2 -Wundef -mcpu=cortex-a7 -Os -g3 -fpic -mthumb -fno-short-enums -fno-common -mno-unaligned-access -mfloat-abi=hard -funsafe-math-optimizations -fstack-protector-strong -MD -MF ./.acipher_ta.o.d -MT acipher_ta.o -nostdinc -isystem /home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi/../../lib/arm-ostl-linux-gnueabi/gcc/arm-ostl-linux-gnueabi/13.3.0/include -I./include -I./. -DARM32=1 -D__ILP32__=1 -DMBEDTLS_SELF_TEST -DTRACE_LEVEL=4 -I. -I/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr/include/optee/export-user_ta/include -DCFG_WITH_TUI=1 -DCFG_TA_MBEDTLS_SELF_TEST=1 -DCFG_TA_MBEDTLS=1 -DCFG_ARM32_ta_arm32=1 -DCFG_TA_BGET_TEST=1 -DCFG_TA_MBEDTLS_MPI=1 -DCFG_TEE_TA_LOG_LEVEL=4 -DCFG_SYSTEM_PTA=1 -DCFG_TA_FLOAT_SUPPORT=1 -D__FILE_ID__=acipher_ta_c -c acipher_ta.c -o acipher_ta.o | echo "{" >dyn_list.tmp | echo "__elf_phdr_info;" >>dyn_list.tmp | echo "trace_ext_prefix;" >>dyn_list.tmp | echo "trace_level;" >>dyn_list.tmp | echo "ta_head;" >>dyn_list.tmp | echo "};" >>dyn_list.tmp | if cmp -s dyn_list dyn_list.tmp; then rm -f dyn_list.tmp; else true ' UPD dyn_list'; mv dyn_list.tmp dyn_list; fi | acipher_ta.c: In function 'cmd_enc': | acipher_ta.c:85:45: error: 'TEE_ObjectInfo' has no member named 'keySize' | 85 | key_info.keySize); | | ^ | In file included from /home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr/include/optee/export-user_ta/include/tee_internal_api.h:18, | from acipher_ta.c:8: | acipher_ta.c:87:116: error: 'TEE_ObjectInfo' has no member named 'keySize' | 87 | EMSG("TEE_AllocateOperation(TEE_MODE_ENCRYPT, %#" PRIx32 ", %" PRId32 "): %#" PRIx32, alg, key_info.keySize, res); | | ^ | /home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr/include/optee/export-user_ta/include/trace.h:41:22: note: in definition of macro 'trace_printf_helper' | 41 | __VA_ARGS__) | | ^~~~~~~~~~~ | acipher_ta.c:87:17: note: in expansion of macro 'EMSG' | 87 | EMSG("TEE_AllocateOperation(TEE_MODE_ENCRYPT, %#" PRIx32 ", %" PRId32 "): %#" PRIx32, alg, key_info.keySize, res); | | ^~~~ | At top level: | cc1: note: unrecognized command-line option '-Wno-c2x-extensions' may have been intended to silence earlier diagnostics | make[2]: *** [/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/recipe-sysroot/usr/include/optee/export-user_ta/mk/compile.mk:165: acipher_ta.o] Error 1 | make[2]: Leaving directory '/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git/acipher/ta' | make[1]: *** [Makefile:10: all] Error 2 | make[1]: Leaving directory '/home/symeon/Files/STM32MP1/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/optee-examples/3.19.0+git/git/acipher' | make: *** [Makefile:14: examples] Error 1 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/symeon/Files/STM32MP1/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-security/optee/optee-examples_3.19.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 2835 tasks of which 2834 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 1 seconds Summary: 1 task failed: /home/symeon/Files/STM32MP1/Distribution-Package/layers/meta-st/meta-st-openstlinux/recipes-security/optee/optee-examples_3.19.bb:do_compile Summary: There were 2 ERROR messages, returning a non-zero exit code.