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
gorelease cannot be built from source due to missing dependencies #1013
Comments
yeah I don't think this is supported, as it does not use go modules it seems... please follow one of https://goreleaser.com/install/ thanks!
|
I'm just seeing this here: https://goreleaser.com/contributing/ The background is that I am packaging aws-iam-authenticator for openSUSE/SLE, so I have to be able to build the packages from source.
|
yeah, not that you don't
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not looking at an issue fixes a bug automatically? |
And running
|
well, you can always do the same thing manually... |
I'm going to hack my own build system for |
that's OK... you could also just use the distributed goreleaser binaries... |
FWIW you don't even need all those things if you just want to build goreleaser from source:
|
I cannot import binaries, everything has to be built from source and without an internet connection. I don't know of any Linux distribution that allows the import of binaries compiled upstream. This would also cause trouble for other architectures besides x86_64 like ARM, POWER or S390x. |
got it, so steps above should work... you just need to clone outside |
Turns out I don't need
|
ah, makes sense. ok then, will close this, feel free to comment here if you think its needed. |
I had to remove goreleaser as a dependency from @caarlos0 - I really think you should re-open this ticket, because not being able to build from source is a pretty serious problem. |
the problem is that goreleaser uses go modules, and
should work. FWIW docs specifically say to use the pre-compiled binaries. Even when goreleaser didn't use go mods, it was using dep, so versions of dependencies were also ignored. In some ways hard failing is better than weird issues due to wrong dependencies versions. |
Thanks for the response, @caarlos0. I only stumbled on the world of different Go packaging methods this week, so I definitely do not know the topic well yet. If that all it takes build from source, it would be nice for it to be in the README.md. Another engineer from Stelligent took |
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. |
I am currently trying to build
goreleaser
which is required foraws-iam-authenticator
.Unfortunately,
goreleaser
is currently not buildable due to some of the dependencies not being installable:The text was updated successfully, but these errors were encountered: