[MacPorts] #51280: rust does not build on os X El Capitan (10.11.4)
MacPorts
noreply at macports.org
Mon May 30 07:23:58 PDT 2016
#51280: rust does not build on os X El Capitan (10.11.4)
--------------------------+----------------------
Reporter: davidriod@… | Owner: g5pw@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: rust |
--------------------------+----------------------
Comment (by ghleclerc@…):
I did some poking around. Turns out that in the 1.8 release of Rust,
which Macports fetches, the compiler version check in the configure script
of Rust has this line in it :
(7.0* | 7.1* | 7.2*)
which will not work with the latest XCode (7.3.1) since clang reports
version 7.3... for this XCode version.
I have looked at the source in the rust 1.9 release and it is fixed to
(7.0* | 7.1* | 7.2* | 7.3*)
which does work. I have manually patched my version in Macports and
successfully compiled version 1.8.
I don't know what is the plan for the Rust port. Probably updating the
port to 1.9 will fix the problem and that might be simpler than patching
the 1.8 version. I just don't know enough about Macports system to create
the patch. It is simple enough (one line (1034) in the configure script),
but might still be more complicated than updating the version.
Hope this helps.
--
Ticket URL: <https://trac.macports.org/ticket/51280#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list