[MacPorts] #68468: cloudflared @2023.8.2: does not build with Go 1.21

MacPorts noreply at macports.org
Sat Oct 14 16:21:53 UTC 2023


#68468: cloudflared @2023.8.2: does not build with Go 1.21
---------------------+-------------------------
 Reporter:  michiow  |      Owner:  i0ntempest
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.8.1
 Keywords:           |       Port:  cloudflared
---------------------+-------------------------
 Building cloudflared 2023.8.2 fails with the following messages:
 {{{
 --->  Building cloudflared
 Error: Failed to build cloudflared: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_cloudflared/cloudflared/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 Messages in main.log:
 {{{
 :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/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_cloudflared/cloudflared/work/gopath/src/github.com/cloudflare/cloudflared"
 && /opt/local/bin/go build -ldflags="-X 'main.Version=2023.8.2' -X
 'main.BuildTime=2023-10-14-1559 BST'" -o ./cloudflared ./cmd/cloudflared
 }}}

 "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."

 The current Go version is 1.21.3:
 {{{
 $ port list cloudflared go
 cloudflared                    @2023.8.2       net/cloudflared
 go                             @1.21.3         lang/go
 }}}

 Apparently related to the following cloudflared issue:
 https://github.com/cloudflare/cloudflared/issues/1054

-- 
Ticket URL: <https://trac.macports.org/ticket/68468>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list