All pari versions are affected by this, and some dancing will need to be done with the observation that dev-perl/Math-Pari requires old versions still. See bug #612408 for more details. Please keep this bug open till all affected versions are removed from tree. x86_64-pc-linux-gnu-gcc -c -I. -I../src/headers -fPIC -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DGCC_INLINE -fPIC -o compat.o ../src/language/compat.c x86_64-pc-linux-gnu-gcc -c -I. -I../src/headers -fPIC -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DGCC_INLINE -fPIC -o compile.o ../src/language/compile.c x86_64-pc-linux-gnu-gcc -c -I. -I../src/headers -fPIC -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DGCC_INLINE -fPIC -o default.o ../src/language/default.c x86_64-pc-linux-gnu-gcc -c -I. -I../src/headers -fPIC -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DGCC_INLINE -fPIC -o es.o ../src/language/es.c x86_64-pc-linux-gnu-gcc -c -I. -I../src/headers -fPIC -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DGCC_INLINE -fPIC -o eval.o ../src/language/eval.c x86_64-pc-linux-gnu-gcc -c -I. -I../src/headers -fPIC -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DGCC_INLINE -fPIC -o hash.o ../src/language/hash.c f=funclist-$$-linux-x86_64.tmp; (cd ../src/desc && /usr/bin/perl merge_822 ../funclist > $f) && mv ../src/desc/$f ../src/desc/pari.desc Can't locate PARI/822.pm in @INC (you may need to install the PARI::822 module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at merge_822 line 2. BEGIN failed--compilation aborted at merge_822 line 2. make: *** [Makefile:847: ../src/desc/pari.desc] Error 2 make: *** Waiting for unfinished jobs.... * ERROR: sci-mathematics/pari-2.7.1::gentoo failed (compile phase): * emake failed *
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(-)