Build Error after upgrading to nrf-connect 2.8.0

Hello,

in preparation to ask for support, I wanted to upgrade a project from v2.7.99-cs2 to v2.8.0. The project builds with v2.7.99-cs2 but reproducible fails to build with v2.8.0. This is the only change, that was made to the project:

diff --git a/west.yml b/west.yml
index 0a9cfae..98e160f 100644
--- a/west.yml
+++ b/west.yml
@@ -22,7 +22,7 @@ manifest:
             description: Nordic SDK
             remote: nordic
             path: nrf
-            revision: v2.7.99-cs2
+            revision: v2.8.0
             import: true
 
         -   name: catch2

The change results in following build error:

% rm -fr ./build && west build  -b"nrf5340dk/nrf5340/cpuapp" --pristine --build-dir ./build --sysbuild  .
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /zephyr-workspace/project-name/bin/python3.12 (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: /Users/todi/Library/Caches/zephyr
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
CMake Error at /zephyr-workspace/zephyr/cmake/modules/zephyr_module.cmake:73 (message):
  validation.invalid

   --- All found errors ---

  ["Key 'security' was not defined.  Path: ''"]

  ERROR: Malformed "build" section in file:
  /zephyr-workspace/modules/crypto/mbedtls/zephyr/module.yml


  <SchemaError: error code 2: Schema validation failed:

   - Key 'security' was not defined. Path: ''.: Path: '/'>

Call Stack (most recent call first):
  cmake/modules/sysbuild_default.cmake:13 (include)
  /zephyr-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /zephyr-workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /zephyr-workspace/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: /opt/homebrew/bin/cmake -DWEST_PYTHON=/zephyr-workspace/project-name/bin/python3.12 -B/zephyr-workspace/project-name/build -GNinja -DBOARD=nrf5340dk/nrf5340/cpuapp -S/zephyr-workspace/zephyr/share/sysbuild -DAPP_DIR:PATH=/zephyr-workspace/project-name

I have problems, to understand the error message and to derive any fix from the provided information. What could be the problem here and how to fix it?

best regards

Torsten

Related