https://pulumi.com logo
Title
d

delightful-monkey-90700

04/12/2023, 9:22 PM
I get the following error trying to build Pulumi v3.62.0 using go version go1.18.1 linux/amd64 (per CONTRIBUTING.md):
+ cd pkg
+ go install -ldflags '-X <http://github.com/pulumi/pulumi/pkg/v3/version.Version=0.1.0-alpha.1673497087+g4996550f|github.com/pulumi/pulumi/pkg/v3/version.Version=0.1.0-alpha.1673497087+g4996550f>' <http://github.com/pulumi/pulumi/pkg/v3/cmd/pulumi|github.com/pulumi/pulumi/pkg/v3/cmd/pulumi>
# <http://github.com/pulumi/pulumi/pkg/v3/backend/filestate|github.com/pulumi/pulumi/pkg/v3/backend/filestate>
backend/filestate/backend.go:121:24: undefined: atomic.Pointer
backend/filestate/backend.go:385:18: undefined: atomic.Int64
backend/filestate/backend.go:388:19: undefined: atomic.Int64
Has anyone run into this ?
b

billowy-army-68599

04/12/2023, 9:35 PM
sync/atomic
is go 1.19 only
so you’ll need go 1.19 now
d

delightful-monkey-90700

04/12/2023, 9:36 PM
Should that change be documented somewhere ?
b

billowy-army-68599

04/12/2023, 9:37 PM
if you file an issue to update the CONTRIBUTING.md we can fix it
or send a PR
d

delightful-monkey-90700

04/12/2023, 9:37 PM
Yeah, I was just filling out a bug report when you responded
I'm compiling go 1.19.8 now to verify and will post the results to that ticket and here
Pulumi 3.62.0 compiled correctly with go version go1.19.8 linux/amd64