[MacPorts] #38279: rust @0.5: multiple issues
MacPorts
noreply at macports.org
Mon Mar 4 19:40:31 PST 2013
#38279: rust @0.5: multiple issues
----------------------+----------------------
Reporter: egall@… | Owner: g5pw@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: rust |
----------------------+----------------------
Comment (by egall@…):
Replying to [comment:3 larryv@…]:
> Replying to [ticket:38279 egall@…]:
> > ``2. Rust does not support universal binaries:
> > https://github.com/mozilla/rust/issues/2024
> >
> > Something like the following could be added to fix this:
> > {{{
> > supported_archs i386 x86_64
> > universal_variant no
> > }}}
>
> This doesn’t “fix” anything; it just codifies the restriction.
Right, that's what I meant.
> > ``3. Rust's configure script doesn't recognize the
> > `--disable-dependency-tracking` flag. This could be solved by
'''either'''
> > removing the universal variant as per !#2 above, '''or''' by adding
> > something like this to the portfile:
> > {{{
> > configure.universal_args-delete --disable-dependency-tracking
> > }}}
>
> If Rust doesn’t support being build universal, this is a moot point.
That's why I said "either... or..." there.
>
> > ``4. Seeing as Rust basically builds its own copy of llvm, it should
use
> > the same dependencies as llvm (i.e. `libffi`, `llvm_select`, and
> > `perl5`).
>
> It builds its own copy of LLVM? Why? Can we make it use ours?
I've been trying to get it to do that, but I've had no luck getting it to
work that way so far...
>
> > ``5. Besides the dependencies listed in !#4 above, it should also
> > include the dependencies listed in the
> > [http://static.rust-lang.org/doc/0.5/tutorial.html#getting-started
Rust Language Tutorial],
> > i.e. it should:
> >
> > - blacklist gcc versions lower than 4.4, and clang versions lower than
3
> > - depend on either python26 or python27 (maybe just python_select as a
placeholder)
>
> No. Pick one or the other.
How about using variants?
>
> > - use `build.type gnu` and depend on gmake
>
> A dependency is not necessary; OS X comes with GNU Make.
What about on platforms other than OS X?
--
Ticket URL: <https://trac.macports.org/ticket/38279#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list