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
make download-deps fails with GOPROXY=direct #1764
Comments
The failing command is In Fedora 36, dependencies are being fetched directly using git from the source, ie github. I'm not sure what causes this difference in behaviour. It appears to me that the build process is depending on an invalid cache, as |
Ubuntu will fail too, if the GOPROXY environment variable is set to "direct", ie Apparently, Ubuntu/Debian are hardcoding |
Thanks for opening the GH issue and the investigation! IMO, we should not "hardcode" configurations that are meant to allow the user to customize their environment. What if someone wants to use a different proxy? I feel like this type of config should be set in the user's own environment (in |
Yes, ideally we should be able to use any, or even better, no proxy. But it turns out that as it is, the navidrome build depends on a specific proxy. As long as this dependency exists, the hardcoding should be in the build script, so we do not depend on specific distro's doing the hardcoding for us. |
Yes, IMO that's the solution. Thanks for your investigation. This dependency was hardcoded to a pending PR for that repo that solved an issue with Ogg files. Turns out the PR was merged and the original branch deleted, causing this issue. I changed the Can you please remove this change from the PR #1767? I'll also take a look at ways to upgrade WebPack so we don't need to patch the |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Building navidrome on Fedora 36 fails
Expected Behaviour
Build succeeds
Steps to reproduce
after quite a while:
Platform information
Additional information
golang 1.18.2
The text was updated successfully, but these errors were encountered: