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.
(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
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.
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(-)