-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Infinite configuring loop for samples\drivers\led_ws2812 sample #37637
Labels
area: LED
Label to identify LED subsystem
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: medium
Medium impact/importance bug
Comments
cfriedt
added
area: LED
Label to identify LED subsystem
platform: nRF
Nordic nRFx
priority: low
Low impact/importance bug
labels
Aug 17, 2021
@thedjnK This is not an upstream Zephyr version. Please retest on upstream Zephyr and reopen if it reproduces. |
@thedjnK if it only reproduces downstream, please use DevZone to let us know. |
I was able to reproduce using upstream (see attached for build logs). |
tejlmand
added
priority: medium
Medium impact/importance bug
and removed
priority: low
Low impact/importance bug
labels
Sep 6, 2021
Fixed here: #38333 |
tejlmand
added a commit
to tejlmand/zephyr
that referenced
this issue
Sep 6, 2021
Fixes: zephyrproject-rtos#37637 toolchain_parse_make_rule() parses depfiles and converted `\\` to the CMake list separator `;`. However, gcc -M might create depfiles with windows path separator `\` causing this conversion to fail, as a path like: c:\...\zephyr\samples\drivers\led_ws2812\nrf52-bindings.h resulting in a file list as: c:;...;zephyr;samples;drivers;led_ws2812;nrf52-bindings.h which results in a CMake configure dependency to be added to `C:`. As C: is always newer than the build.ninja file, this resulted in continues CMake re-invocation. As a small side-note, the `\` in file name did only occur in situations where a relative past had been used elsewhere in the build system, such as here: https://github.com/zephyrproject-rtos/zephyr/blob/\ c3050a5/samples/drivers/led_ws2812/\ boards/nrf52dk_nrf52832.overlay#L9 To ensure proper handling of files, then all files are converted to CMake paths, that is with forward slashes: `/` Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
cfriedt
pushed a commit
that referenced
this issue
Sep 11, 2021
Fixes: #37637 toolchain_parse_make_rule() parses depfiles and converted `\\` to the CMake list separator `;`. However, gcc -M might create depfiles with windows path separator `\` causing this conversion to fail, as a path like: c:\...\zephyr\samples\drivers\led_ws2812\nrf52-bindings.h resulting in a file list as: c:;...;zephyr;samples;drivers;led_ws2812;nrf52-bindings.h which results in a CMake configure dependency to be added to `C:`. As C: is always newer than the build.ninja file, this resulted in continues CMake re-invocation. As a small side-note, the `\` in file name did only occur in situations where a relative past had been used elsewhere in the build system, such as here: https://github.com/zephyrproject-rtos/zephyr/blob/\ c3050a5/samples/drivers/led_ws2812/\ boards/nrf52dk_nrf52832.overlay#L9 To ensure proper handling of files, then all files are converted to CMake paths, that is with forward slashes: `/` Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: LED
Label to identify LED subsystem
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: medium
Medium impact/importance bug
Describe the bug
Upon configuring the sample application samples\drivers\led_ws2812 for the nrf52dk_nrf52832 target, it configures OK, when building with ninja however, it endlessly re-configures the project over and over
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The project to build
Impact
Impact wise the sample is useless, so showstopped in that regard, but in terms of priority, probably very low
Logs and console output
Configuring:
Building:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: