[MacPorts] #51280: rust does not build on os X El Capitan (10.11.4)
#51280: rust does not build on os X El Capitan (10.11.4) -------------------------+-------------------------------- Reporter: davidriod@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: rust -------------------------+-------------------------------- It seems that the clang version is incorrectly detected as too old by the configure script on rust-stage0. Here an extract on output when running manually the configure script: {{{ configure: configure: on OS X >=10.9, forcing use of clang configure: configure: CFG_ENABLE_CLANG := 1 configure: CFG_USING_CLANG := 1 configure: error: bad APPLE CLANG version: 7.3.0, need >=7.0 }}} -- Ticket URL: <https://trac.macports.org/ticket/51280> MacPorts <https://www.macports.org/> Ports system for OS X
#51280: rust does not build on os X El Capitan (10.11.4) --------------------------+-------------------- Reporter: davidriod@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: rust | --------------------------+-------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => g5pw@… -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | --------------------------+---------------------- Changes (by g5pw@…): * status: new => assigned Comment: Thanks for the report. Could you attach the full {{{main.log}}}? -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 davidriod@…): Replying to [comment:2 g5pw@…]:
Thanks for the report. Could you attach the full {{{main.log}}}?
Done. -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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@…): Probably not so useful (doubt it's related to OS version), but same here on El Capitan 10.11.5. -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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 g5pw@…): Interesting. I can't reproduce it on my machine. :/ -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#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@…): Just did sudo port clean rust And then sudo port -s -t install rust I still have the error. Attached the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 g5pw@…): Thanks, I'm in the midst of updating it to 1.9 anyway. I'll close this when I commit the update port. -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#51280: rust does not build on os X El Capitan (10.11.4) --------------------------+-------------------- Reporter: davidriod@… | Owner: g5pw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: rust | --------------------------+-------------------- Changes (by g5pw@…): * status: assigned => closed * resolution: => fixed Comment: Rust is updated to 1.9.0 in 149111. I'm closing the ticket, feel free to reopen if the issue persists. -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#51280: rust does not build on os X El Capitan (10.11.4) --------------------------+-------------------- Reporter: davidriod@… | Owner: g5pw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: rust | --------------------------+-------------------- Comment (by davidriod@…): Replying to [comment:10 g5pw@…]:
Rust is updated to 1.9.0 in 149111. I'm closing the ticket, feel free to reopen if the issue persists.
It works perfectly, thanks a lot. -- Ticket URL: <https://trac.macports.org/ticket/51280#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts