Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576284 - dev-lang/moarvm: use dev-libs/libtommath-1.0 instead of bundled lib
Summary: dev-lang/moarvm: use dev-libs/libtommath-1.0 instead of bundled lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on: 580732
Blocks: raku
  Show dependency tree
 
Reported: 2016-03-02 20:36 UTC by Enne Eziarc
Modified: 2017-06-27 17:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2016-03-02 20:36:52 UTC
Now that a new version's finally released, it's safe to throw --has-libtommath into src_configure here. (You may want to prevent moarvm spewing bundled lib headers all over /usr/include too, it's not a very well-behaved citizen.)

Note that <=moarvm-2016.02 will not build against libtommath-1.0 without backporting patches from upstream. 9999 will, 2016.03 should be OK too. I'm not sure it's a big enough deal to bother supporting all versions.
Comment 1 Jouni Kosonen 2016-11-26 00:23:41 UTC
(In reply to Anthony Parsons from comment #0)
> Note that <=moarvm-2016.02 will not build against libtommath-1.0 without
> backporting patches from upstream. 9999 will, 2016.03 should be OK too. 

Note too that >moarvm-2016.09 will no longer build against <libtommath-1.0 so bumping the dependency would be in order.

...
linking moar
./libmoar.so: undefined reference to `mp_set_long'
collect2: error: ld returned 1 exit status
Comment 2 Petr Pisar 2016-11-28 19:32:09 UTC
Yes. The mp_set_long was added into libtommath in commit v0.42.0-70-g6df187a. That's after current latest stable dev-libs/libtommath version.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-27 17:22:30 UTC
commit:  29d4814a066c0b99fbcd7c6f44d0645570d6ccaa
author:  2017-06-28 05:06:34 +1200 Kent Fredric <kentnl@gentoo.org>
commit:  2017-06-28 05:19:58 +1200 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    dev-lang/moarvm: Fix dependency on libtommath-1.0 re bugs #608548 and #576284

    Upstream has used a bundled copy of libtommath at version 1.0 since
    version 2016.02, but we use system copies, and so, which end users
    who are running full ~arch would have gotten a working version by
    fortunate accident.
    
    An -r1 bump is required here, as dependency propagation must replicate,
    even for people who already have compile working, as users must be
    discouraged fron downgrading libtommath if they try to do partial
    reversion to 'arch'
    
    Thanks to the patient reporters and commenters on the related bugs.
    
    Bug: https://bugs.gentoo.org/576284
    Bug: https://bugs.gentoo.org/608548
    Package-Manager: Portage-2.3.6, Repoman-2.3.2


 dev-lang/moarvm/moarvm-2016.10-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2016.10.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2016.11-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2016.11.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2016.12-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2016.12.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2017.01-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2017.01.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2017.02-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2017.02.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2017.03-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2017.03.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2017.04-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2017.04.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2017.05-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2017.05.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-2017.06-r1.ebuild | 61 +++++
 dev-lang/moarvm/moarvm-2017.06.ebuild    | 61 -----
 dev-lang/moarvm/moarvm-9999.ebuild       |  4 +-
 19 files changed, 551 insertions(+), 551 deletions(-)