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 of source code fails if path to CCache contains space #118

Open
georgik opened this issue Mar 2, 2022 · 1 comment
Open

Build of source code fails if path to CCache contains space #118

georgik opened this issue Mar 2, 2022 · 1 comment
Assignees

Comments

@georgik
Copy link
Collaborator

georgik commented Mar 2, 2022

How to simulate:

  • set variable to the path with space
$env:CCACHE_DIR="C:\Users\User\Desktop\ccache with-space"
idf.py build

Failure by the end of the build:

xtensa-esp32-elf-gcc.exe: error: C:\Users\User\Desktop\ccache: No such file or directory
xtensa-esp32-elf-gcc.exe: error: with-space/tmp/cmd_args.GyJI3l: No such file or directory

Workaround:
Set CCACHE_DIR env variable to path without spaces.

Suggested correction for the installer: configure CCACHE_DIR during installation process to point to C:\Espressif directory.

@georgik georgik self-assigned this Mar 2, 2022
@georgik georgik added this to the 2.14 milestone Mar 2, 2022
@georgik georgik removed this from the 2.14 milestone Mar 30, 2022
@georgik
Copy link
Collaborator Author

georgik commented Sep 1, 2022

Updates: New version of CCache is being tested, it should have support for spaces in the path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant