-
Notifications
You must be signed in to change notification settings - Fork 149
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
invalid format for MountPoint in WSL2 #65
Comments
I just encountered this exact same issue while using the latest version of goreleaser as well :( |
This might fail on windows/wsl (see uber-go/automaxprocs#65), and its not too bad if it fails, actually, so, let's just warn the error instead of exiting 1 closes #3945 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
I went to investigate a bit more and the root of the problem is Docker Desktop for Windows creating an invalid mountpoint in Automaxprocs is not the only software failing to parse the spaces in the The error only happens when Docker Desktop is integrated into the WSL distribution and running. If Docker Desktop is stopped, the mountpoint is unmounted and automaxprocs (and other parsing software) does not error anymore. In other words, automaxprocs is actually parsing the In the linked issue, there is a workaround: install Docker Desktop for Windows in a location without spaces, e.g. |
Should be fixed in v1.5.3 release |
The most recent version of goreleaser includes this module and I have encountered an error running goreleaser in wsl. I use Docker Desktop using the WSL engine which creates local mounts inside linux to windows paths. The exact error is:
I assume given the a quick scan over the code, that the way the mount line is split is breaking because of the weird spaces and double backspaces in the path option. The version I am using is 1.5.2 of this module.
The text was updated successfully, but these errors were encountered: