Building template west build --build-dir /home/patrick/Development/projects/matter/template/build /home/patrick/Development/projects/matter/template --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DBOARD_ROOT=/home/patrick/Development/my_boards;/home/patrick/Development/projects/matter/template -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: /home/patrick/Development/.venv/bin/python (found suitable version "3.13.7", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: /home/patrick/.cache/zephyr -- Found west (found suitable version "1.4.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp Parsing /home/patrick/Development/projects/matter/template/Kconfig.sysbuild Loaded configuration '/home/patrick/Development/projects/matter/template/build/_sysbuild/empty.conf' Merged configuration '/home/patrick/Development/projects/matter/template/sysbuild.conf' Configuration saved to '/home/patrick/Development/projects/matter/template/build/zephyr/.config' Kconfig header saved to '/home/patrick/Development/projects/matter/template/build/_sysbuild/autoconf.h' -- ***************************** * Running CMake for mcuboot * ***************************** Loading Zephyr default modules (Zephyr base). -- Application: /home/patrick/Development/ncs/bootloader/mcuboot/boot/zephyr -- CMake version: 4.0.3-dirty -- Found Python3: /home/patrick/Development/.venv/bin/python (found suitable version "3.13.7", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: /home/patrick/.cache/zephyr -- Zephyr version: 4.1.99 (/home/patrick/Development/ncs/zephyr) -- Found west (found suitable version "1.4.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.17.0 (/home/patrick/Development/toolchains/zephyr-sdk-0.17.0) -- Found toolchain: zephyr 0.17.0 (/home/patrick/Development/toolchains/zephyr-sdk-0.17.0) -- Found Dtc: /home/patrick/Development/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") -- Found BOARD.dts: /home/patrick/Development/ncs/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /home/patrick/Development/projects/matter/template/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay -- Generated zephyr.dts: /home/patrick/Development/projects/matter/template/build/mcuboot/zephyr/zephyr.dts -- Generated pickled edt: /home/patrick/Development/projects/matter/template/build/mcuboot/zephyr/edt.pickle -- Generated devicetree_generated.h: /home/patrick/Development/projects/matter/template/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h Parsing /home/patrick/Development/ncs/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration '/home/patrick/Development/ncs/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig' Merged configuration '/home/patrick/Development/projects/matter/template/sysbuild/mcuboot/prj.conf' Merged configuration '/home/patrick/Development/projects/matter/template/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.conf' Merged configuration '/home/patrick/Development/ncs/nrf/subsys/bootloader/bl_override/override_external_mcuboot.conf' Merged configuration '/home/patrick/Development/ncs/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf' Merged configuration '/home/patrick/Development/projects/matter/template/build/mcuboot/zephyr/.config.sysbuild' Configuration saved to '/home/patrick/Development/projects/matter/template/build/mcuboot/zephyr/.config' Kconfig header saved to '/home/patrick/Development/projects/matter/template/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: /home/patrick/Development/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /home/patrick/Development/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING_C: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING_C: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING_C: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING_C: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_library_config =============== -- Using ccache: /usr/bin/ccache -- Found gen_kobject_list: /home/patrick/Development/ncs/zephyr/scripts/build/gen_kobject_list.py MCUBoot bootloader key file: /home/patrick/Development/ncs/bootloader/mcuboot/root-ed25519.pem CMake Warning at CMakeLists.txt:412 (message): WARNING: Using default MCUboot signing key file, this file is for debug use only and is not secure! -- Configuring done (4.7s) -- Generating done (0.1s) -- Build files have been written to: /home/patrick/Development/projects/matter/template/build/mcuboot -- ****************************** * Running CMake for template * ****************************** Loading Zephyr default modules (Zephyr base). -- Application: /home/patrick/Development/projects/matter/template -- CMake version: 4.0.3-dirty -- Found Python3: /home/patrick/Development/.venv/bin/python (found suitable version "3.13.7", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: /home/patrick/.cache/zephyr -- Zephyr version: 4.1.99 (/home/patrick/Development/ncs/zephyr) -- Found west (found suitable version "1.4.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.17.0 (/home/patrick/Development/toolchains/zephyr-sdk-0.17.0) -- Found toolchain: zephyr 0.17.0 (/home/patrick/Development/toolchains/zephyr-sdk-0.17.0) -- Found Dtc: /home/patrick/Development/toolchains/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") -- Found BOARD.dts: /home/patrick/Development/ncs/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /home/patrick/Development/projects/matter/template/boards/nrf54l15dk_nrf54l15_cpuapp.overlay -- Generated zephyr.dts: /home/patrick/Development/projects/matter/template/build/template/zephyr/zephyr.dts -- Generated pickled edt: /home/patrick/Development/projects/matter/template/build/template/zephyr/edt.pickle -- Generated devicetree_generated.h: /home/patrick/Development/projects/matter/template/build/template/zephyr/include/generated/zephyr/devicetree_generated.h Parsing /home/patrick/Development/projects/matter/template/Kconfig Loaded configuration '/home/patrick/Development/ncs/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig' Merged configuration '/home/patrick/Development/projects/matter/template/prj.conf' Merged configuration '/home/patrick/Development/projects/matter/template/build/template/zephyr/.config.sysbuild' Configuration saved to '/home/patrick/Development/projects/matter/template/build/template/zephyr/.config' Kconfig header saved to '/home/patrick/Development/projects/matter/template/build/template/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: /home/patrick/Development/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /home/patrick/Development/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc CMake Warning at /home/patrick/Development/ncs/nrf/cmake/version_app.cmake:19 (message): APP_VERSION: git rev-parse failed: fatal: not a git repository (or any of the parent directories): .git Call Stack (most recent call first): /home/patrick/Development/ncs/nrf/CMakeLists.txt:26 (include) =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING_C: True Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING_C: True Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING_C: True Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING_C: True Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_library_config =============== ################### OPENTHREAD REPORT ################### + Target device: nrf54l15 + Thread version: v1.4 + OpenThread library feature set: Minimal Thread Device (MTD) + Thread device type: Minimal End Device (MED) + OpenThread Library: openthread/lib/nrf54lx/soft-float/v1.4/mtd + OpenThread NCS revision: ncs-thread-reference-20250402 + OpenThread NCS SHA: 0e2666713 + NCS revision: v3.1.0 + NCS SHA: 6c6e5b3249 + No differences in the used Thread library in comparison to the NCS v3.0.0 release. ################### END ################### -- Using ccache: /usr/bin/ccache -- Found Python3: /home/patrick/Development/.venv/bin/python (found version "3.13.7") found components: Interpreter -- Found gen_kobject_list: /home/patrick/Development/ncs/zephyr/scripts/build/gen_kobject_list.py -- Including signing script: /home/patrick/Development/ncs/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at /home/patrick/Development/ncs/zephyr/CMakeLists.txt:2232 (message): __ASSERT() statements are globally ENABLED Traceback (most recent call last): File "/home/patrick/Development/ncs/modules/lib/matter/scripts/codegen_paths.py", line 26, in from matter.idl.generators.path_resolution import expand_path_for_idl ModuleNotFoundError: No module named 'matter' CMake Warning (dev) at /home/patrick/Development/ncs/modules/lib/matter/build/chip/chip_codegen.cmake:66 (add_custom_command): Keyword OUTPUT requires a value, but none was given. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /home/patrick/Development/ncs/modules/lib/matter/src/app/chip_data_model.cmake:114 (chip_codegen) /home/patrick/Development/ncs/nrf/samples/matter/common/cmake/data_model.cmake:20 (chip_configure_data_model) CMakeLists.txt:37 (ncs_configure_data_model) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at /home/patrick/Development/ncs/modules/lib/matter/build/chip/chip_codegen.cmake:66 (add_custom_command): add_custom_command Wrong syntax. A TARGET or OUTPUT must be specified. Call Stack (most recent call first): /home/patrick/Development/ncs/modules/lib/matter/src/app/chip_data_model.cmake:114 (chip_codegen) /home/patrick/Development/ncs/nrf/samples/matter/common/cmake/data_model.cmake:20 (chip_configure_data_model) CMakeLists.txt:37 (ncs_configure_data_model) -- Configuring incomplete, errors occurred! CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message): CMake configure failed for Zephyr project: template Location: /home/patrick/Development/projects/matter/template Call Stack (most recent call first): cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake) cmake/modules/sysbuild_default.cmake:21 (include) /home/patrick/Development/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include) /home/patrick/Development/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) /home/patrick/Development/ncs/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include) template/CMakeLists.txt:10 (find_package) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/patrick/Development/.venv/bin/python -B/home/patrick/Development/projects/matter/template/build -GNinja -DBOARD=nrf54l15dk/nrf54l15/cpuapp '-DBOARD_ROOT=/home/patrick/Development/my_boards;/home/patrick/Development/projects/matter/template' -S/home/patrick/Development/ncs/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/patrick/Development/projects/matter/template