Skip to content

Spurious Error: "zephyr-no-west/samples/hello_world" is not in a west installation #14177

@marc-hb

Description

@marc-hb

To Reproduce
Steps to reproduce the behavior:

  1. Have (at least) two zephyr clones: one created with the west tool + the other without west
  2. Define ZEPHYR_BASE=/path/to/zephyrnowest and try to build samples/hello_word (or anything else) in zephyrnowest while west is in PATH

Expected behavior
Everything builds without any error

Impact
(hopefully? )minor: confusing error message

Screenshots or console output

Error: "/home/user/zephyrnowest/samples/hello_world" is not in a west installation.
Things to try:
 - Set ZEPHYR_BASE to a zephyr repository path in a west installation.
 - Run "west init" to set up an installation here.
 - Run "west init -h" for additional information.

Then everything seems to build as usual (can someone confirm?)

Environment (please complete the following information):
Linux Fedora
Reproduced with either zephyr-0.9.5 or "host"
v1.14.0-rc1-849-g35b7fde8a60b

Additional context
workaround: pip3 uninstall west

Metadata

Metadata

Assignees

Labels

area: WestWest utilitybugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions