Skip to content

[BUG][APL] APL zephyr firmware build failed due to Zephyr-sdk incompatibility #4803

@XiaoyunWu6666

Description

@XiaoyunWu6666

Describe the bug
in inner daily 6849, found firmware for APL_UP2_NOCODEC_ZEPHYR was not available.
Checking the sof build logs from Jenkins , and found errors when building apl zephyr firmware
Error logs indicate an incompatibility of Zephyr-sdkConfig version (requested 0.13.1 , found 0.13.0)

[BUILD LOG]

Building platforms: apl
/srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject
/srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject
+ west build --build-dir build-apl --board intel_adsp_cavs15 zephyr/samples/subsys/audio/sof --
-- west build: generating a build system
Including boilerplate (Zephyr base): /srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: /srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/samples/subsys/audio/sof
-- Zephyr version: 2.7.0-rc2 (/srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr), build: 7ab16c457b30
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter 
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Board: intel_adsp_cavs15
-- Cache files will be written to: /srv/home/jenkins/.cache/zephyr
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
CMake Error at /srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/cmake/verify-toolchain.cmake:75 (find_package):
  Could not find a configuration file for package "Zephyr-sdk" that is
  compatible with requested version "0.13.1".

  The following configuration files were considered but not accepted:

    /srv/home/jenkins/zephyr-sdk-0.13.0/cmake/Zephyr-sdkConfig.cmake, version: 0.13.0

Call Stack (most recent call first):
  /srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/cmake/app/boilerplate.cmake:521 (include)
  /srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/build-apl -S/srv/home/jenkins/workspace/sof_generic_build@2/zephyrproject/zephyr/samples/subsys/audio/sof -GNinja -DBOARD=intel_adsp_cavs15

Metadata

Metadata

Assignees

No one assigned

    Labels

    ZephyrIssues only observed with Zephyr integratedbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions