[MacPorts] #61082: rust @ 1.45.2 -x11 +no_x11 +quartz - build failure with macosx_deployment_target 10.11
MacPorts
noreply at macports.org
Fri Aug 28 16:39:02 UTC 2020
#61082: rust @ 1.45.2 -x11 +no_x11 +quartz - build failure with
macosx_deployment_target 10.11
------------------------+----------------------
Reporter: fredowski | Owner: g5pw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: rust |
------------------------+----------------------
Comment (by kencu):
Replying to [comment:2 fredowski]:
> I looked into the code at "path.inc" after the build stopped and I think
I found the patched version. Now I do a test build with the line "--llvm-
root" in the Portfile removed. I suspect the code is there but we are not
using it.
>
> https://github.com/macports/macports-
ports/blob/master/lang/rust/Portfile#L95
Looks like rust uses our installed version of llvm-9.0, and we certainly
do not patch our llvm to disable this call.
That patch is a hack, TBH -- we won't be doing that in our installed llvm
version.
So, not sure what to say here. Either you patch your own installed
llvm-9.0 with that patch to disable that symbol, or we install a custom
llvm-9.0 with that patch for rust to use (yuk), or you build in a 10.11
VM, or ... you don't set a lower depolyment target.
Am I missing any other options?
--
Ticket URL: <https://trac.macports.org/ticket/61082#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list