[MacPorts] #74283: Unable to upgrade go at 1.26_0 (epoch 3 < 5)

MacPorts noreply at macports.org
Sat Aug 1 23:34:10 UTC 2026


#74283: Unable to upgrade go at 1.26_0  (epoch 3 < 5)
-------------------------+--------------------
 Reporter:  kwolcott     |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  arm64 Tahoe  |       Port:  go
-------------------------+--------------------
 {{{
 port info go
 go @1.26 (lang)

 port installed go
 The following ports are currently installed:
   go @1.25.1_0
   go @1.25.2_0
   go @1.25.3_0
   go @1.25.4_0
   go @1.25.5_0
   go @1.25.6_0
   go @1.25.7_0
   go @1.26_0
   go @1.26.0_0
   go @1.26.1_0
   go @1.26.2_0
   go @1.26.3_0
   go @1.26.4_0
   go @1.26.5_0

 port outdated
 No installed ports are outdated.

 te go: Image error: /opt/local/lib/go already exists and does not belong
 to a registered port.  Unable to activate port go. Use 'port -f activate
 go' to force the activation.
     while executing
 "throw registry::image-error $msg"
     ("foreach" body line 82)
     invoked from within
 "foreach file $imagefiles {
                 incr progress_step
                 _progress update $progress_step $progress_total_steps
                 se..."
     invoked from within
 "registry::read {
             foreach file $imagefiles {
                 incr progress_step
                 _progress update $progress_step $progress_t..."
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_go-1.26_0_130640a1f760149f67c1a0d0d52c8787b40720d45ebf92e5ccec6f0e897ccd0c-3983/go/main.log
 for details.
 Warning: Failed to execute portfile from registry for go @1.26_0
 The following versions of go are currently installed:
   1) go @1.25.1_0
   2) go @1.25.2_0
   3) go @1.25.3_0
   4) go @1.25.4_0
   5) go @1.25.5_0
   6) go @1.25.6_0
   7) go @1.25.7_0
   8) go @1.26.0_0
   9) go @1.26.1_0
  10) go @1.26.2_0
  11) go @1.26.3_0
  12) go @1.26.4_0
  13) go @1.26.5_0
  14) go @1.26_0
 Enter a number to select an option:
 Enter a number to select an option: 13
 --->  Activating go @1.26.5_0
 port outdated
 The following installed ports are outdated:
 go                             1.26.5_0 < 1.26_0  (epoch 3 < 5)


 }}}

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


More information about the macports-tickets mailing list