[MacPorts] #58138: go @1.12 fails to build on mavericks
MacPorts
noreply at macports.org
Mon Mar 18 14:16:00 UTC 2019
#58138: go @1.12 fails to build on mavericks
---------------------+----------------------
Reporter: tehcog | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: go |
---------------------+----------------------
Comment (by Ionic):
I finally have a working go 1.12.1 build on OS X 10.9
It's horrid, but it bootstrapped itself successfully. It likely won't work
out of the box for users (i.e., in the case users want actually use go on
their go source code), but there isn't anything I can do about that, I
guess.
Users will have to disable the internal linker/force the internal linker
and at the very least pass the **external** `LDFLAGS` `-L${prefix}
-lMacportsLegacySupport` for binaries to work, I guess, if they are using
any features provided by `legacy-support` (even pulled in via the core).
Is this acceptable?
I'm going to polish up the `Portfile` tomorrow and submit a PR to `legacy-
support` for `fstatat64` support. Without that, it won't work, so we'd
probably need a `legacy-support` release/RC with that new `fstatat64`
support in before the `go` port can be fixed.
--
Ticket URL: <https://trac.macports.org/ticket/58138#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list