Skip to content

INTEL_ADSP: unable to sign after sof removal from manifest #99497

@majunkier

Description

@majunkier

Describe the bug

There is task to clear optional modules from manifest.
After PR97946 there is build failure in all INTEL_ADSP platforms. SOF was moved to extrenal-modules repo. Introduced changes in file /zephyr/scripts/west_commands/sign.py file calls self.generate_uuid_registry() which is looking for gen-uuid-reg.py (file was in removed SOF repo ) and ends with build failure on signing step.

Regression

  • This is a regression.

Steps to reproduce

west build -p -b intel_adsp/ace15_mtpm samples/hello_world -T sample.basic.helloworld

Relevant log output

[184/184] west sign --if-tool-available --tool rimage ...
FAILED: zephyr/zephyr.ri /home/zephyr/zephyrproject/zephyr/twister-out/intel_adsp_ace15_mtpm/zephyr/samples/hello_world/sample.basic.helloworld/zephyr/zephyr.ri
cd /home/zephyr/zephyrproject/zephyr/twister-out/intel_adsp_ace15_mtpm/zephyr/samples/hello_world/sample.basic.helloworld/zephyr/soc/soc/ace15_mtpm/common && west sign --if-tool-available --tool rimage --build-dir /home/zephyr/zephyrproject/zephyr/twister-out/intel_adsp_ace15_mtpm/zephyr/samples/hello_world/sample.basic.helloworld
Signing with tool /usr/local/bin/rimage
Signing for SOC target mtl
/home/zephyr/bin/python /home/zephyr/zephyrproject/zephyr/scripts/gen-uuid-reg.py /home/zephyr/zephyrproject/zephyr/uuid-registry.txt zephyr/include/generated/uuid-registry.h
/home/zephyr/bin/python: can't open file '/home/zephyr/zephyrproject/zephyr/scripts/gen-uuid-reg.py': [Errno 2] No such file or directory
FATAL ERROR: command exited with status 2: /home/zephyr/bin/python /home/zephyr/zephyrproject/zephyr/scripts/gen-uuid-reg.py /home/zephyr/zephyrproject/zephyr/uuid-registry.txt zephyr/include/generated/uuid-registry.h
ninja: build stopped: subcommand failed.

Impact

Showstopper – Prevents release or major functionality; system unusable.

Environment

  • Toolchain: 'zephyr' & 'xtensa'
  • SKD: 'zephyr-sdk-0.17.4'
  • Zephyr version: '4.3.99'
  • OS: Ubuntu 22.04

Additional Context

No response

Metadata

Metadata

Assignees

Labels

RegressionSomething, which was working, does not anymorebugThe issue is a bug, or the PR is fixing a bugplatform: Intel ADSPIntel Audio platformspriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions