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

"gdc" Fatal error: can't create ~/.dub/cache/ No such file or directory #2938

Open
mw66 opened this issue Jun 21, 2024 · 1 comment
Open

Comments

@mw66
Copy link

mw66 commented Jun 21, 2024

Bug Description

Fatal error: can't create /home/.../.dub/cache/liblfdsd/0.3.4/build/library-debug-REd1Y5WoA2XSm4dNQj9Ugg/liblfdsd.a: No such file or directory

How to reproduce?

This error is only related to GDC:

dub build liblfdsd --compiler=gdc

By contrast, both DMD and LDC2 works fine:

dub build liblfdsd --compiler=dmd
dub build liblfdsd --compiler=ldc2
@mw66
Copy link
Author

mw66 commented Jun 21, 2024

Looks like that temp cache directory is not created for gdc only.

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