-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
packer 1.5.4 build error #8846
Comments
I think the issue is that the go get is not respecting the package overrides:
|
this issue explains why: golang/go#30354 |
hi @IPv4v6 thanks for bubbling this up; @jhawk28 thanks adding the link to the respective golang/go issue. This is something to keep an eye for the future if things should change with the Go tooling. The preferred and tested method for installing from source is to clone the project into The forked go-cty pkg in the go.mod file will be removed in #8837 (comment) but you still may want to look into using the preferred method as the continued work in improving HCL support for Packer may result in future replace statements. |
Thanks to the following issue hashicorp/packer#8846, and the fact that they’ll be removing abiity to use a simple ‘go get’ (hashicorp/packer#8837 (comment)), it makes no sense to try to build it locally anymore.
Hello there, #9805 removes the last |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Overview of the Issue
When trying to build packer 1.5.4 from source (go get) I'm experiencing the following errors:
Reproduction Steps
Packer version
1.5.4
Operating system and Environment details
Linux amd64
Go version 1.13.8
The text was updated successfully, but these errors were encountered: