-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
embeddedcontainers/examples-zephyr-helloworld
#4Description
Originally I created a new issue here: embeddedcontainers/examples-zephyr-helloworld#3
But then I also checked with ghcr.io/embeddedcontainers/zephyr:arm-0.17.0SDK directly and it has the same problem.
Since 4-May-2025 the build (from scratch) is not working anymore due to probably not including a directory anymore:
root@a4b942fd9bd9:/workspace# west build -b nucleo_f429zi app -c
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /workspace/app
-- CMake version: 3.25.1
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 4.1.99 (/workspace/deps/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nucleo_f429zi, qualifiers: stm32f429xx
-- Found host-tools: zephyr 0.16.4 (/opt/toolchains/zephyr-sdk-0.16.4)
-- Found toolchain: zephyr 0.16.4 (/opt/toolchains/zephyr-sdk-0.16.4)
-- Found BOARD.dts: /workspace/deps/zephyr/boards/st/nucleo_f429zi/nucleo_f429zi.dts
-- Generated zephyr.dts: /workspace/build/zephyr/zephyr.dts
-- Generated pickled edt: /workspace/build/zephyr/edt.pickle
-- Generated devicetree_generated.h: /workspace/build/zephyr/include/generated/zephyr/devicetree_generated.h
Parsing /workspace/deps/zephyr/Kconfig
Loaded configuration '/workspace/build/zephyr/.config'
No change to configuration in '/workspace/build/zephyr/.config'
No change to Kconfig header in '/workspace/build/zephyr/include/generated/zephyr/autoconf.h'
-- Found gen_kobject_list: /workspace/deps/zephyr/scripts/build/gen_kobject_list.py
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/build
-- west build: building application
[2/132] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
/opt/toolchains/zephyr-sdk-0.16.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCORE_CM4 -DHSE_VALUE=8000000 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DSTM32F429xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR__=1 -I/workspace/deps/zephyr/kernel/include -I/workspace/deps/zephyr/arch/arm/include -I/workspace/build/zephyr/include/generated/zephyr -I/workspace/deps/zephyr/include -I/workspace/build/zephyr/include/generated -I/workspace/deps/zephyr/soc/st/stm32 -I/workspace/deps/zephyr/soc/st/stm32/common/. -I/workspace/deps/zephyr/drivers -I/workspace/deps/zephyr/soc/st/stm32/stm32f4x/. -I/workspace/deps/modules/hal/stm32/stm32cube/stm32f4xx/soc -I/workspace/deps/modules/hal/stm32/stm32cube/stm32f4xx/drivers/include -I/workspace/deps/modules/hal/stm32/stm32cube/common_ll/include -isystem /workspace/deps/zephyr/lib/libc/common/include -fno-strict-aliasing -Os -imacros /workspace/build/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=/opt/toolchains/zephyr-sdk-0.16.4/arm-zephyr-eabi/arm-zephyr-eabi -imacros /workspace/deps/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/workspace/app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workspace/deps/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workspace=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -fno-lto -MD -MT zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -c /workspace/deps/zephyr/arch/arm/core/offsets/offsets.c
In file included from /workspace/deps/zephyr/include/zephyr/arch/arm/asm_inline.h:18,
from /workspace/deps/zephyr/include/zephyr/arch/arm/arch.h:30,
from /workspace/deps/zephyr/include/zephyr/arch/cpu.h:19,
from /workspace/deps/zephyr/include/zephyr/kernel_includes.h:36,
from /workspace/deps/zephyr/include/zephyr/kernel.h:17,
from /workspace/deps/zephyr/arch/arm/core/offsets/offsets_aarch32.c:28,
from /workspace/deps/zephyr/arch/arm/core/offsets/offsets.c:9:
/workspace/deps/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h:24:10: fatal error: cmsis_core.h: No such file or directory
24 | #include <cmsis_core.h>
| ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /workspace/build
It can be reproduced by
cloning: https://github.com/embeddedcontainers/examples-zephyr-helloworld
start vscode in this folder
ctrl+shift+p; reopen on container
execute in terminal: west build -b nucleo_f429zi app -c
beriberikix
Metadata
Metadata
Assignees
Labels
No labels