Opened 10 months ago

Last modified 8 months ago

#69156 assigned defect

ipfs build failure: "The version of quic-go you're using can't be built on Go 1.21 yet." — at Version 3

Reported by: scott-mackenzie (Scott E. MacKenzie) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: sirn (Kridsada Thanabulpong), catap (Kirill A. Korinsky)
Port: ipfs

Description (last modified by scott-mackenzie (Scott E. MacKenzie))

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 and OS Overview:

      Operating System: Sonoma (arm64)
      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?

Change History (3)

comment:1 Changed 10 months ago by scott-mackenzie (Scott E. MacKenzie)

Description: modified (diff)

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Cc: sirn catap added
Description: modified (diff)
Keywords: build error ipfs fails removed
Owner: set to herbygillot
Port: ipfs added; beets-full removed
Status: newassigned
Summary: Error: Processing of port beets-full failed | Error: Failed to build ipfsipfs build failure: "The version of quic-go you're using can't be built on Go 1.21 yet."

comment:3 Changed 10 months ago by scott-mackenzie (Scott E. MacKenzie)

Description: modified (diff)
Note: See TracTickets for help on using tickets.