[MacPorts] #69156: ipfs build failure: "The version of quic-go you're using can't be built on Go 1.21 yet." (was: Error: Processing of port beets-full failed | Error: Failed to build ipfs)

MacPorts noreply at macports.org
Mon Jan 22 15:56:38 UTC 2024


#69156: ipfs build failure: "The version of quic-go you're using can't be built on
Go 1.21 yet."
------------------------------+-------------------------
  Reporter:  scott-mackenzie  |      Owner:  herbygillot
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:
      Port:  ipfs             |
------------------------------+-------------------------
Changes (by jmroot):

 * status:  new => assigned
 * cc: sirn, catap (added)
 * keywords:  build error ipfs fails =>
 * owner:  (none) => herbygillot
 * port:  beets-full => ipfs


Old description:

> Build of port beets-full fails with quick-go vs go conflict.
>
> **Build Logs Error:**
>
> :info:build # 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 make: * [cmd/ipfs/ipfs] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ipfs/ipfs/work/gopath/src/github.com/ipfs/kubo'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ipfs/ipfs/work/gopath/src/github.com/ipfs/kubo"
> && make -j12 -w build
> :info:build Exit code: 2
> :error:build Failed to build ipfs: command execution failed
>
> ===========.
> Upstream developer note on quick-go versus go version:
> https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions
>
> ===========
> port version
> Version: 2.8.1
>
> The following go port installed:
>   go @1.21.6_0 (active)
>
> ===========
>
> Hardware:
>
>     Hardware Overview:
>
>       Model Name: MacBook Pro
>       Model Identifier: Mac14,6
>       Model Number: Z179000H4LL/A
>       Chip: Apple M2 Max
>       Total Number of Cores: 12 (8 performance and 4 efficiency)
>       Memory: 96 GB
>       System Firmware Version: 10151.61.4
>       OS Loader Version: 10151.61.4
>       Serial Number (system):
>       Hardware UUID:
>       Provisioning UDID
>       Activation Lock Status: Enabled
>

> ===========
>
> Should this port be removed if the developer is not going to update their
> go to quick-go versions?

New description:

 Build of port beets-full fails with quick-go vs go conflict.

 **Build Logs Error:**
 {{{
 :info:build # 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 make: * [cmd/ipfs/ipfs] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ipfs/ipfs/work/gopath/src/github.com/ipfs/kubo'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ipfs/ipfs/work/gopath/src/github.com/ipfs/kubo"
 && make -j12 -w build
 :info:build Exit code: 2
 :error:build Failed to build ipfs: command execution failed
 }}}

 Upstream developer note on quick-go versus go version:
 https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions

 {{{
 port version
 Version: 2.8.1

 The following go port installed:
   go @1.21.6_0 (active)
 }}}


 Hardware:
 {{{
     Hardware Overview:

       Model Name: MacBook Pro
       Model Identifier: Mac14,6
       Model Number: Z179000H4LL/A
       Chip: Apple M2 Max
       Total Number of Cores: 12 (8 performance and 4 efficiency)
       Memory: 96 GB
       System Firmware Version: 10151.61.4
       OS Loader Version: 10151.61.4
       Serial Number (system):
       Hardware UUID:
       Provisioning UDID
       Activation Lock Status: Enabled
 }}}

 Should this port be removed if the developer is not going to update their
 go to quick-go versions?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/69156#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list