-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OOT manifest+module discovery/builds fail #29007
Comments
This is invalid manifest syntax. See #28925 for details. |
@mbolivar-nordic please paste a permalink next time. Should we make a better error handling here ? |
It was an empty
We already did as a follow up to #28925. The west commit is zephyrproject-rtos/west@da76686. |
Oh, right. |
Describe the bug
Building a project from a manifest+module topology (T2) now fails within zephyr/scripts/zephyr_module.py with
TypeError: expected str, bytes or os.PathLike object, not NoneType
To Reproduce
Steps to reproduce the behavior:
pip3 install west==0.8.0a1
west init -m https://github.com/gregshue/oot_module_example --mr main --mf zephyr/manifests/zp/zephyr-v2.4.0/west.yml tmp && cd tmp && west update && source zephyr/zephyr-env.sh
west build -b native_posix zephyr/samples/hello_world/
Expected behavior
I expect this to successfully build, as available on zephyr-v2.3.0.
Impact
This is a showstopper, preventing me from using Zephyr beyond v2.3.0 without branching and creating downstream solutions.
Logs and console output
zephyr@zephyr-VirtualBox:~/git/tmp$ west build -b native_posix zephyr/samples/hello_world/
-- west build: generating a build system
Including boilerplate (Zephyr base): /home/zephyr/git/tmp/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/zephyr/git/tmp/zephyr/samples/hello_world
-- Zephyr version: 2.4.0 (/home/zephyr/git/tmp/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components: Interpreter
-- Found west (found suitable version "0.8.0a1", minimum required is "0.7.1")
CMake Error at /home/zephyr/git/tmp/zephyr/cmake/zephyr_module.cmake:48 (message):
Traceback (most recent call last):
TypeError: expected str, bytes or os.PathLike object, not NoneType
Call Stack (most recent call first):
/home/zephyr/git/tmp/zephyr/cmake/app/boilerplate.cmake:150 (include)
/home/zephyr/git/tmp/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
/home/zephyr/git/tmp/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/home/zephyr/git/tmp/build -S/home/zephyr/git/tmp/zephyr/samples/hello_world -GNinja -DBOARD=native_posix
zephyr@zephyr-VirtualBox:~/git/tmp$
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: