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

Output directory on network path not working #1043

Open
chaumage opened this issue Sep 3, 2024 · 1 comment
Open

Output directory on network path not working #1043

chaumage opened this issue Sep 3, 2024 · 1 comment

Comments

@chaumage
Copy link

chaumage commented Sep 3, 2024

I am trying to run rattler-build with an output directory on network and a git repo as source:

rattler-build build --output-dir //server/share/my-dir

but it fails with the following error:

fatal: could not create leading directories of '\\?\UNC\server\share\my_dir\src_cache\my_project.git': Invalid argument

It seems rattler is adding the ?\UNC\ part to the adress, which is making git clone fail. I tried running git clone with the ?\UNC\ part and it gave me the same error.

@wolfv
Copy link
Member

wolfv commented Sep 5, 2024

Ah, interesting! I think we could use the dunce crate to get rid of these, possibly.

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

2 participants