Summary: | sci-mathematics/pari fails install without '.' in @INC (Can't locate PARI/822.pm in @INC) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 612408, 621410 |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
2017-04-08 20:12:11 UTC
Suggested fix for review: https://github.com/gentoo/gentoo/pull/4907 commit: 820fcd22ef2a0a5d8eefb18e86ab21ba76d96e3f author: 2017-06-11 11:48:16 +1200 Kent Fredric <kentnl@gentoo.org> commit: 2017-06-12 02:29:18 +1200 Kent Fredric <kentnl@gentoo.org> gpg-key: E854324B1366A820 sci-mathematics/pari: Fix for '.' in @INC on perl 5.26 re bug #615016 Perl 5.26 removes implied cwd from library loading paths, and subsequently Pari's compile fails due to reliance on this implication. These patches rectify that by constructing a library path the same as the scripts directory, and inserting that into `@INC` Of course, we still need the oldest pari because dev-perl/Math-Pari needs the old version. And of course, the files in question have minor changes over the handful of versions, necessitating 3 *mostly* identical but slightly different patches for the relevant versions. I haven't filed this issue upstream, as their bug reporting stuff looked dizzyingly confusing. Bug: https://bugs.gentoo.org/615016 Package-Manager: Portage-2.3.6, Repoman-2.3.2 sci-mathematics/pari/files/pari-2.3.5-no-dot-inc.patch | 61 ++++ sci-mathematics/pari/files/pari-2.5.0-no-dot-inc.patch | 61 ++++ sci-mathematics/pari/files/pari-2.7.0-no-dot-inc.patch | 64 +++++ sci-mathematics/pari/pari-2.3.5.ebuild | 3 +- sci-mathematics/pari/pari-2.5.0-r3.ebuild | 4 +- sci-mathematics/pari/pari-2.5.1-r1.ebuild | 4 +- sci-mathematics/pari/pari-2.5.1.ebuild | 4 +- sci-mathematics/pari/pari-2.5.2.ebuild | 4 +- sci-mathematics/pari/pari-2.5.3.ebuild | 4 +- sci-mathematics/pari/pari-2.5.4.ebuild | 4 +- sci-mathematics/pari/pari-2.7.0.ebuild | 4 +- sci-mathematics/pari/pari-2.7.1.ebuild | 4 +- 12 files changed, 212 insertions(+), 9 deletions(-) |