[GH-ISSUE #2209] Issue: Can't seem to build... #1044

Closed
opened 2026-03-01 21:48:27 +03:00 by kerem · 2 comments
Owner

Originally created by @dbolser on GitHub (Feb 6, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2209

$ make build
go build -ldflags "-X main.version=6afcbd7-dirty" -o dist/local/act main.go
# github.com/go-git/go-git/v5/utils/trace
../../go/pkg/mod/github.com/go-git/go-git/v5@v5.11.0/utils/trace/trace.go:15:17: undefined: atomic.Int32
note: module requires Go 1.19
# github.com/docker/cli/cli/connhelper/commandconn
../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:71:22: undefined: atomic.Bool
../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:76:22: undefined: atomic.Bool
../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:77:22: undefined: atomic.Bool
../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:78:22: undefined: atomic.Bool
# github.com/klauspost/compress/zstd
../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:479:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32)
../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:490:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32)
../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:491:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32)
../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:492:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32)
make: *** [Makefile:26: build] Error 2
Originally created by @dbolser on GitHub (Feb 6, 2024). Original GitHub issue: https://github.com/nektos/act/issues/2209 ```bash $ make build go build -ldflags "-X main.version=6afcbd7-dirty" -o dist/local/act main.go # github.com/go-git/go-git/v5/utils/trace ../../go/pkg/mod/github.com/go-git/go-git/v5@v5.11.0/utils/trace/trace.go:15:17: undefined: atomic.Int32 note: module requires Go 1.19 # github.com/docker/cli/cli/connhelper/commandconn ../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:71:22: undefined: atomic.Bool ../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:76:22: undefined: atomic.Bool ../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:77:22: undefined: atomic.Bool ../../go/pkg/mod/github.com/docker/cli@v24.0.7+incompatible/cli/connhelper/commandconn/commandconn.go:78:22: undefined: atomic.Bool # github.com/klauspost/compress/zstd ../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:479:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32) ../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:490:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32) ../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:491:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32) ../../go/pkg/mod/github.com/klauspost/compress@v1.17.2/zstd/dict.go:492:32: binary.LittleEndian.AppendUint32 undefined (type binary.littleEndian has no field or method AppendUint32) make: *** [Makefile:26: build] Error 2 ```
kerem 2026-03-01 21:48:27 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@dbolser commented on GitHub (Feb 6, 2024):

Ah, seems I need go 1.19...

$ go version
go version go1.18.1 linux/amd64
<!-- gh-comment-id:1929896744 --> @dbolser commented on GitHub (Feb 6, 2024): Ah, seems I need go 1.19... ```bash $ go version go version go1.18.1 linux/amd64 ```
Author
Owner

@github-actions[bot] commented on GitHub (Aug 5, 2024):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:2267958158 --> @github-actions[bot] commented on GitHub (Aug 5, 2024): Issue is stale and will be closed in 14 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1044
No description provided.