Skip to content
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

Fails to build with Go 1.23 #266

Open
pluiedev opened this issue Dec 23, 2024 · 0 comments
Open

Fails to build with Go 1.23 #266

pluiedev opened this issue Dec 23, 2024 · 0 comments

Comments

@pluiedev
Copy link

Looks like the Go version specified in go.mod (1.14) was way too old.

butler> building '/nix/store/57yxrfrrwah67axnrwfza2wmhmgb7xil-butler-15.24.0.drv'
butler> Running phase: unpackPhase
butler> unpacking source archive /nix/store/smw8fr3kh7mcwvcmdmqkcs2s9dhn970k-source
butler> source root is source
butler> Running phase: patchPhase
butler> Running phase: updateAutotoolsGnuConfigScriptsPhase
butler> Running phase: configurePhase
butler> Running phase: buildPhase
butler> Building subPackage .
butler> # golang.org/x/sys/unix
butler> vendor/golang.org/x/sys/unix/mremap.go:41:10: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/sys/unix/syscall.go:82:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/sys/unix/syscall_linux.go:1018:20: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/sys/unix/syscall_linux.go:2459:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/sys/unix/syscall_unix.go:117:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/sys/unix/sysvshm_unix.go:32:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
butler> # golang.org/x/net/http2
butler> vendor/golang.org/x/net/http2/config.go:90:17: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:90:19: embedding interface element ~int | ~int32 | ~uint32 | ~int64 requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:91:5: invalid operation: *v < minval (type parameter T is not comparable with <)
butler> vendor/golang.org/x/net/http2/config.go:91:20: invalid operation: *v > maxval (type parameter T is not comparable with >)
butler> vendor/golang.org/x/net/http2/config.go:97:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:98:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:99:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:101:3: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:103:3: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:106:3: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
butler> vendor/golang.org/x/net/http2/config.go:106:3: too many errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant