Skip to content
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

Build on Linux/MacOS fails with old packs that contain paths with \ characters #1826

Closed
ReinhardKeil opened this issue Oct 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ReinhardKeil
Copy link
Collaborator

Describe the bug

Older packs may have \ characters in path names.

To Reproduce

This example fails to build on Linux and Mac OS because of that: Blank.zip

Expected behavior

csolution should convert \ characters in path names to '/`. The build process should then work.

Environment (please complete the following information):

  • CMSIS-Toolbox 2.6.1

Additional context
Problem affects Keil Studio Cloud, but also Desktop Linux and MacOS

@ReinhardKeil ReinhardKeil added the bug Something isn't working label Oct 25, 2024
@jkrech jkrech moved this to Backlog in CMSIS-Toolbox 2.7.0 Nov 5, 2024
@brondani brondani self-assigned this Nov 7, 2024
@brondani brondani moved this from Backlog to In progress in CMSIS-Toolbox 2.7.0 Dec 2, 2024
@brondani brondani moved this from In progress to In review in CMSIS-Toolbox 2.7.0 Dec 4, 2024
@jkrech
Copy link
Member

jkrech commented Dec 11, 2024

nightly build CMSIS-Toolbox 2024-12-10 on Linux

nightly

(1/1) Setting up context: "Project.Debug+ADuCM320"
[1/1] cd /home/jkrech/projects/workspace/Blank/tmp/1 && /home/jkrech/.vcpkg/artifacts/2139c4c6/tools.kitware.cmake/3.28.4/bin/cmake -E make_directory /home/jkrech/projects/workspace/Blank/out/Project/ADuCM320/Debug && /home/jkrech/.vcpkg/artifacts/2139c4c6/tools.kitware.cmake/3.28.4/bin/cmake -E copy_if_different /home/jkrech/projects/workspace/Blank/tmp/1/compile_commands.json /home/jkrech/projects/workspace/Blank/out/Project/ADuCM320/Debug
Completed: cbuild succeed with exit code 0

2.6.1:

- stderr output is:
CMake Error at CMakeLists.txt:43:
  Parse error.  Function missing ending ")".  Instead found bad character
  with text "\".

@jkrech jkrech closed this as completed Dec 11, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in CMSIS-Toolbox 2.7.0 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants