Hey Thanks for opening, what version of go are you using to compile ? Do
you have go deps enabled ?
It works for me with these versions of go ( godeps enabled ):
> docker run -i golang:1.13 bash -c "go get
github.com/hashicorp/packer;packer"
Available commands are:
build build image(s) from template
[...]
> docker run -i golang:1.14 bash -c "go get
github.com/hashicorp/packer;packer"
The sort of official/supported way to compile Packer is using godeps.
On Wednesday, June 17, 2020 at 5:09:43 PM UTC+2 [email protected] wrote:
> Hi!
>
> I use Packer as a library in one of my projects. After upgrading to v1.6.0
> I can't compile anymore, I keep getting the following error message:
>
> # github.com/hashicorp/packer/packer
> ../../../../pkg/mod/github.com/hashicorp/[email protected]/packer/progressbar.
> go:29:8: undefined: pb.Pool
>
> Took a quick look through the GitHub issues but couldn't find anyone else
> having this problem.
>
> Does anybody know what could be wrong?
>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/871a51d2-585a-496b-a8f6-9ca1f698bfb1n%40googlegroups.com.