[MacPorts] #38288: rust @0.5: requires additional dependencies
#38288: rust @0.5: requires additional dependencies ----------------------+-------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rust ----------------------+-------------------- Originally reported in #38279. Rust apparently builds its own copy of LLVM or something, so it should have the corresponding dependencies. Ideally, we should be able to make it use an `llvm-*` port, but one step at a time. It also seems to need build dependencies on Python and curl (although this one could be a bin dependency, since OS X comes with curl). -- Ticket URL: <https://trac.macports.org/ticket/38288> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Changes (by g5pw@…): * status: new => assigned Comment: curl is needed to fetch the older snapshot. So, if #38285 is resolved, this goes away. As far as python goes, the usual MO is to add variants. -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Comment (by larryv@…): Replying to [comment:1 g5pw@…]:
As far as python goes, the usual MO is to add variants.
Just for a build-time choice? That doesn’t seem right to me. Unless something more than running some Python scripts is going on? -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Comment (by g5pw@…): It is possible to use MacPorts llvm. I think I'll set variants for each llvm verson. From a quick glance it seems like larryv is right, python is just a runtime dependency. System python may be ok. Unfortunately I'm unable to test a lot of system versions, so I'll fix issues as they come up. -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Comment (by larryv@…): Replying to [comment:3 g5pw@…]:
It is possible to use MacPorts llvm.
That’s quite an improvement, to say the least.
From a quick glance it seems like larryv is right, python is just a runtime dependency. System python may be ok. Unfortunately I'm unable to test a lot of system versions, so I'll fix issues as they come up.
If you don’t want to test a bunch of system versions (a reasonable decision, for sure), you might just want to declare a build dependency on `bin:python2.7:python27` and make sure the build programs use `python2.7`. Off the top of my head, I don’t know which OS versions come with which Python versions. -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Comment (by g5pw@…): We use our LLVM now, see [https://trac.macports.org/ticket/38279#comment:10 here]. Still need to select the right python. -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Comment (by egall@…): curl won't be needed as a dependency any more once r103872 gets merged from larryv's sandbox into trunk -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+---------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: rust | -----------------------+---------------------- Comment (by larryv@…): As far as I can tell, Python is only required to build the bundled LLVM. -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38288: rust @0.5: requires additional dependencies -----------------------+-------------------- Reporter: larryv@… | Owner: g5pw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rust | -----------------------+-------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r104052 (except for LLVM, see #38383). -- Ticket URL: <https://trac.macports.org/ticket/38288#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts