Opened 9 years ago
Closed 9 years ago
#49075 closed defect (fixed)
go, go-1.4: can't read "GOARCH": no such variable
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | powerpc | Cc: | |
Port: | go, go-1.4 |
Description
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.
Note: See
TracTickets for help on using
tickets.
Thanks for catching that. Fixed in r140807.