Summary: | dev-lang/moarvm-2017.01 fails to build: libmoar.so: undefined reference to `mp_set_long' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | J.Borme <gentoo_bugs.nu_q5v> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bwoods288, gentoo_bugs.nu_q5v, kentnl, perl, tomboy64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 604346 | ||
Attachments: |
Build log
emerge--info depend on >=dev-libs/libtommath-1.0 |
Description
J.Borme
2017-02-07 18:04:30 UTC
Created attachment 462816 [details]
Build log
The build log, in this case for "USE=clang emerge =dev-lang/moarvm-2017.01"
Created attachment 462818 [details]
emerge--info
This has to do with the version of libtommath. The version that is required doesn't include mp_{get,set}_long. You can fgrep the includes for library and even confirm it. I used libtommath-1.0 in the gentoo repos and it worked (rakudo and all). After upgrading libtommath fgrep mp_set_long /usr/include/tommath.h /usr/include/tommath_class.h /usr/include/tommath_superclass.h /usr/include/tommath.h:int mp_set_long(mp_int *a, unsigned long b); /usr/include/tommath.h:int mp_set_long_long(mp_int *a, unsigned long long b); Created attachment 470842 [details, diff]
depend on >=dev-libs/libtommath-1.0
Could you apply this patch for 2017.04 and close this bug please?
Thanks.
(In reply to M. B. from comment #4) > Created attachment 470842 [details, diff] [details, diff] > depend on >=dev-libs/libtommath-1.0 > > Could you apply this patch for 2017.04 and close this bug please? > Thanks. Confirmed here. That solves it. 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(-) |