[MacPorts] #49075: go, go-1.4: can't read "GOARCH": no such variable

MacPorts noreply at macports.org
Sat Oct 3 05:59:52 PDT 2015


#49075: go, go-1.4: can't read "GOARCH": no such variable
--------------------------+-------------------------
 Reporter:  ryandesign@…  |      Owner:  ciserlohn@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:  powerpc       |       Port:  go, go-1.4
--------------------------+-------------------------
 go and go-1.4 fail to parse on PowerPC systems:

 {{{
 can't read "GOARCH": no such variable
 }}}

 This is because you removed

 {{{
     default {
         # unsupported arch, but GOARCH needs to be set to something to
 prevent errors
         set GOARCH x
         set cmd_prefix 6
     }
 }}}

 from the `switch ${build_arch}` statement in r140801.

 It's fine if a port doesn't install on PowerPC, but please at least don't
 cause the port to fail to parse, because users see that error when
 selfupdating or syncing, and because it prevents valid commands like "sudo
 port clean all" from completing.

-- 
Ticket URL: <https://trac.macports.org/ticket/49075>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list