Opened 12 months ago
Closed 12 months ago
#68774 closed update (duplicate)
cloudflared fails to build against the current port version of go 1.21
Reported by: | hwinkler (Hugh Winkler) | Owned by: | i0ntempest@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | i0ntempest@…, hwinkler (Hugh Winkler) | |
Port: | cloudflared |
Description
The problem is in building quic-go:
"The version of quic-go you're using can't be built on Go 1.21 yet"
:info:build Executing: cd "/opt/local/var/macports/build/_Users_hughw_ports_net_cloudflared/cloudflared/work/gopath/src/github.com/cloudflare/cloudflared" && /opt/local/bin/go build -ldflags="-X 'main.Version=2023.10.0' -X 'main.BuildTime=2023-11-24-0939 CST'" -o ./cloudflared ./cmd/cloudflared :debug:build system: cd "/opt/local/var/macports/build/_Users_hughw_ports_net_cloudflared/cloudflared/work/gopath/src/github.com/cloudflare/cloudflared" && /opt/local/bin/go build -ldflags="-X 'main.Version=2023.10.0' -X 'main.BuildTime=2023-11-24-0939 CST'" -o ./cloudflared ./cmd/cloudflared :info:build # github.com/cloudflare/cloudflared/vendor/github.com/quic-go/quic-go/internal/qtls :info:build vendor/github.com/quic-go/quic-go/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration :info:build Command failed: cd "/opt/local/var/macports/build/_Users_hughw_ports_net_cloudflared/cloudflared/work/gopath/src/github.com/cloudflare/cloudflared" && /opt/local/bin/go build -ldflags="-X 'main.Version=2023.10.0' -X 'main.BuildTime=2023-11-24-0939 CST'" -o ./cloudflared ./cmd/cloudflared :info:build Exit code: 1 :error:build Failed to build cloudflared: command execution failed
Change History (3)
comment:1 Changed 12 months ago by hwinkler (Hugh Winkler)
Owner: | set to i0ntempest@… |
---|---|
Status: | new → assigned |
comment:2 Changed 12 months ago by hwinkler (Hugh Winkler)
Cc: | hwinkler added |
---|
comment:3 Changed 12 months ago by i0ntempest
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Dup of https://trac.macports.org/ticket/68468.
Currently the only workaround is downgrading go using an old portfile.