[GH-ISSUE #309] Fails to build with Go 1.13 #167

Open
opened 2026-03-13 16:01:57 +03:00 by kerem · 0 comments
Owner

Originally created by @shelvacu on GitHub (Jun 4, 2022).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/309

I installed go with apt on ubuntu 20.04

$ go version
go version go1.13.8 linux/amd64

When building, I get the error

...
go: finding golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
go: finding github.com/klauspost/cpuid/v2 v2.0.9
go: finding github.com/libdns/libdns v0.2.1
go: finding go.uber.org/zap v1.20.0
go: finding golang.org/x/net v0.0.0-20220107192237-5cfca573fb4d
go: finding go.uber.org/atomic v1.9.0
go: finding go.uber.org/multierr v1.7.0
go: finding golang.org/x/text v0.3.7
# github.com/caddyserver/certmagic
/tmp/acme-dns/pkg/mod/github.com/caddyserver/certmagic@v0.15.2/handshake.go:206:18: hello.SupportsCertificate undefined (type *tls.ClientHelloInfo has no field or method SupportsCertificate)
note: module requires Go 1.14

This may just be a matter of documentation needing to change.

Originally created by @shelvacu on GitHub (Jun 4, 2022). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/309 I installed go with apt on ubuntu 20.04 ```text $ go version go version go1.13.8 linux/amd64 ``` When building, I get the error ```text ... go: finding golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e go: finding github.com/klauspost/cpuid/v2 v2.0.9 go: finding github.com/libdns/libdns v0.2.1 go: finding go.uber.org/zap v1.20.0 go: finding golang.org/x/net v0.0.0-20220107192237-5cfca573fb4d go: finding go.uber.org/atomic v1.9.0 go: finding go.uber.org/multierr v1.7.0 go: finding golang.org/x/text v0.3.7 # github.com/caddyserver/certmagic /tmp/acme-dns/pkg/mod/github.com/caddyserver/certmagic@v0.15.2/handshake.go:206:18: hello.SupportsCertificate undefined (type *tls.ClientHelloInfo has no field or method SupportsCertificate) note: module requires Go 1.14 ``` This may just be a matter of documentation needing to change.
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/acme-dns#167
No description provided.