zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.43k stars 6.39k forks source link

ninja: error: loading 'build.ninja': No such file or directory #67927

Open alwa-nordic opened 7 months ago

alwa-nordic commented 7 months ago

If a pristine build fails during CMake configure, it leaves a build folder that breaks incremental building. The telltale log message is ninja: error: loading 'build.ninja': No such file or directory. This problem does not appear in vanilla non-Zephyr CMake.

To Reproduce Steps to reproduce the behavior:

The workaround is to delete the build folder.

Impact User confusion, major annoyance.

junaidaslamRS commented 4 months ago

Looks like this is not fixed yet. I did a fresh clone of the mainline today, and it is still there...

github-actions[bot] commented 2 months ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

theob-pro commented 2 months ago

I am experiencing this issue too, is there some plan to investigate it?

github-actions[bot] commented 2 weeks ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.