Summary: | sci-mathematics/Macaulay2-1.6 - .../work/M2-release-1.6-stable-20130514/M2/libraries/final/lib/libcf.a(cf_factor.o): In function `NTL::Vec<NTL::Pair<NTL::ZZX, long> >::Vec(...)': /usr/include/NTL/vector.h:101: undefined reference to `NTL::Vec<NTL::Pair<NT | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | Current packages | Assignee: | Thomas Kahle (RETIRED) <tomka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-mathematics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/Macaulay2/M2/issues/147 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Martin von Gagern
2014-06-30 18:28:42 UTC
Created attachment 380000 [details]
build log
Also reported this upstream as issue 147. (In reply to Martin von Gagern from comment #2) > Also reported this upstream as issue 147. Upstream decided this is a downstream packaging issue. Or at least an issue which is not present in their master branch, so their next release, 1.7 expected some time this summer, should fix things. Perhaps the upstream upgrade of factory from 3.1.6 to 4.0.0+m4 is the relevant change, so one approach might be cherry-picking those changes into a Gentoo patch. Another approach might be simply accepting the incompatibility, and declaring a blocker for >=ntl-6. A third option could be explicitely instantiating all templates within the ntl shared library, at least all those which have associated typedefs for backwards compatibility. And the idea about adding conditional template instantiations to the code remains valid as well, but for that I need someone who understands the Macaulay2 build system, as I can't get my modifications to take effect in an incremental build, and doing a complete build after each change takes too long. Should be long fixed in 1.8 branch. |