Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613624 - <dev-perl/Math-Pari-2.10.809.0 fails compile without '.' in @INC ( Unescaped left brace in regex is illegal here in regex, Can't locate PARI/822.pm in @INC )
Summary: <dev-perl/Math-Pari-2.10.809.0 fails compile without '.' in @INC ( Unescaped ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords:
Depends on: 624826
Blocks: perl-5.26-no-dot-inc
  Show dependency tree
 
Reported: 2017-03-23 13:01 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-05-01 00:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-03-23 13:01:13 UTC
PERL_DL_NONLAZY=1 "/home/kent/perl5/perlbrew/perls/5.25.10-nossp-sdbm-nopmc-nodot/bin/perl5.25.10" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/
*.t
t/55_analyz.t .............
No subtests run
t/000_load-problem.t ...... ok
t/55_ploth.t ..............
No subtests run
t/55_polyser.t ............
No subtests run
t/55_program.t ............
No subtests run
t/55_sumiter.t ............
No subtests run
t/55_trans.t ..............
No subtests run
t/01_no_extra_newlines.t .. ok
t/55_elliptic.t ...........
No subtests run
t/55_graph.t ..............
No subtests run
t/55_linear.t .............
No subtests run
t/55_nfields.t ............
No subtests run
t/55_number.t .............
No subtests run
t/55_objets.t .............
No subtests run
# Can't locate Term/Gnuplot.pm in @INC, ignoring the test
t/PlotRect.t .............. skipped: Can't locate Term/Gnuplot.pm in @INC
Binary number > 0b11111111111111111111111111111111 non-portable at (eval 3) line 6.
Binary number > 0b11111111111111111111111111111111 non-portable at (eval 3) line 7.
Binary number > 0b11111111111111111111111111111111 non-portable at (eval 3) line 11.
Hexadecimal number > 0xffffffff non-portable at (eval 3) line 12.
Binary number > 0b11111111111111111111111111111111 non-portable at (eval 3) line 13.
t/00_Pari.t ............... ok
t/zz_leak.t ............... ok
Test Summary Report
-------------------
t/55_analyz.t           (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_ploth.t            (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_polyser.t          (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_program.t          (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_sumiter.t          (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_trans.t            (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_elliptic.t         (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_graph.t            (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_linear.t           (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_nfields.t          (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_number.t           (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/55_objets.t           (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
Files=17, Tests=564,  3 wallclock secs ( 0.10 usr  0.03 sys +  3.04 cusr  0.08 csys =  3.25 CPU)
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-08 21:12:25 UTC
This seems much worse outside of CPAN because pari seems to be broken as well in fun ways.

 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Math-Pari-2.10.806.50-r1/image/
Filtered out versions too new...
Setting up Math::Pari with Perl 5.025011 on linux version 4.9.6-gentoo-r1;
   cc=x86_64-pc-linux-gnu-gcc, gccversion=4.9.4, cccdlflags='-fPIC',
   ccflags='-fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
   optimize='-march=native -mtune=native -O2 -pipe',
   ld=x86_64-pc-linux-gnu-gcc, ldflags='-Wl,-O1 -Wl,--as-needed'.
Found GP/PARI build directory in ../pari-2.3.5
     (integer-formatted version 2003005).

  ### Math::Pari support of GP/PARI library version 2.3.* is not fully
  ### finished.  For non-PS plotting functions, one must downgrade to 2.1.7.

  ### Moreover, the test t/55_intnum.t takes significant time to complete.

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\b{ <-- HERE (.)}/ at libPARI/gphelp line 313.
Errors when converting documentation: 512 at utils/Math/PariBuild.pm line 589.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\b{ <-- HERE (.)}/ at libPARI/gphelp line 313.
Errors when converting documentation: 512 at utils/Math/PariBuild.pm line 589.
...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
...CLK_TCK not defined
Creating libPARI/paricfg.h...
...Processor of family `x86_64' detected
Checking if your kit is complete...
Looks good
...Processor of family `x86_64' detected
...I will use assembler build of type 'x86_64'.
...Assembler is GNU assembler
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.
ERROR from evaluation of /var/tmp/portage/dev-perl/Math-Pari-2.10.806.50-r1/work/Math-Pari-2.01080605/libPARI/Makefile.PL: Can't run `/usr/bin/perl merge_822 ../functions/*/* > tmp-pari.desc' at utils/Math/PariBuild.pm line 1333.

###
###  We do not know how to build function descriptions of GP/PARI.
###  Please build them manually (e.g., by building GP/PARI).
###
 * ERROR: dev-perl/Math-Pari-2.10.806.50-r1::gentoo failed (configure phase):
 *   Unable to build!
 *
 * Call stack:
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-11 00:08:10 UTC
Seems this is far more broken than I initially thought.

The versions we have in tree aren't just broken under test, but are Legit Broken.

Some of it in paths that look like they should be unbundled.

>>> Configuring source in /var/tmp/portage/dev-perl/Math-Pari-2.10.808/work/Math-Pari-2.010808 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Math-Pari-2.10.808/image/
Filtered out versions too new...
Setting up Math::Pari with Perl 5.026000 on linux version 4.9.6-gentoo-r1;
   cc=x86_64-pc-linux-gnu-gcc, gccversion=5.4.0, cccdlflags='-fPIC',
   ccflags='-fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
   optimize='-march=native -mtune=native -O2 -pipe',
   ld=x86_64-pc-linux-gnu-gcc, ldflags='-Wl,-O1 -Wl,--as-needed'.
Found GP/PARI build directory in ../pari-2.3.5
     (integer-formatted version 2003005).

  ### Math::Pari support of GP/PARI library version 2.3.* is not fully
  ### finished.  For non-PS plotting functions, one must downgrade to 2.1.7.

  ### Moreover, the test t/55_intnum.t takes significant time to complete.

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\b{ <-- HERE (.)}/ at libPARI/gphelp line 313.
Errors when converting documentation: 512 at utils/Math/PariBuild.pm line 655.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\b{ <-- HERE (.)}/ at libPARI/gphelp line 313.
Errors when converting documentation: 512 at utils/Math/PariBuild.pm line 655.
...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
...CLK_TCK not defined
Creating libPARI/paricfg.h...
Trying to find DATADIR of an installed version of GP/PARI (if such exists)...
...Processor of family `x86_64' detected
Checking if your kit is complete...
Looks good
...Processor of family `x86_64' detected
...I will use assembler build of type 'x86_64'.
...Assembler is GNU assembler
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.26.0/x86_64-linux /usr/local/lib64/perl5/5.26.0 /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.0 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.26.0-RC1 /usr/lib64/perl5/vendor_perl/5.25.12 /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.26.0/x86_64-linux /usr/lib64/perl5/5.26.0) at merge_822 line 2.
BEGIN failed--compilation aborted at merge_822 line 2.
Can't run `/usr/bin/perl merge_822 ../functions/*/* > tmp-pari.desc'
Running merge_822 separately in subdirectories...
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.26.0/x86_64-linux /usr/local/lib64/perl5/5.26.0 /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.26.0 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.26.0-RC1 /usr/lib64/perl5/vendor_perl/5.25.12 /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.26.0/x86_64-linux /usr/lib64/perl5/5.26.0) at merge_822 line 2.
BEGIN failed--compilation aborted at merge_822 line 2.
ERROR from evaluation of /var/tmp/portage/dev-perl/Math-Pari-2.10.808/work/Math-Pari-2.010808/libPARI/Makefile.PL: Can't run `/usr/bin/perl merge_822 ../functions/conversions/binary ../functions/conversions/bitand ../functions/conversions/bitneg ../functions/conversions/bitnegimply ../functions/conversions/bitor ../functions/conversions/bittest ../functions/conversions/bitxor ../functions/conversions/ceil ../functions/conversions/centerlift ../functions/conversions/changevar ../functions/conversions/Col ../functions/conversions/component ../functions/conversions/conj ../functions/conversions/conjvec ../functions/conversions/denominator ../functions/conversions/floor ../functions/conversions/frac ../functions/conversions/imag ../functions/conversions/length ../functions/conversions/lift ../functions/conversions/List ../functions/conversions/Mat ../functions/conversions/Mod ../functions/conversions/norm ../functions/conversions/norml2 ../functions/conversions/numerator ../functions/conversions/numtoperm ../functions/conversions/padicprec ../functions/conversions/permtonum ../functions/conversions/Pol ../functions/conversions/Polrev ../functions/conversions/precision ../functions/conversions/Qfb ../functions/conversions/random ../functions/conversions/real ../functions/conversions/round ../functions/conversions/Ser ../functions/conversions/Set ../functions/conversions/simplify ../functions/conversions/sizebyte ../functions/conversions/sizedigit ../functions/conversions/Str ../functions/conversions/Strchr ../functions/conversions/Strexpand ../functions/conversions/Strtex ../functions/conversions/truncate ../functions/conversions/valuation ../functions/conversions/variable ../functions/conversions/Vec ../functions/conversions/Vecsmall >> tmp-pari.desc' at utils/Math/PariBuild.pm line 1410.

###
###  We do not know how to build function descriptions of GP/PARI.
###  Please build them manually (e.g., by building GP/PARI).
###
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-11 02:28:28 UTC
commit:  03084b60c9374c660c04d591be5ffe008516a39a
author:  2017-06-11 14:19:58 +1200 Kent Fredric <kentnl@gentoo.org>
commit:  2017-06-11 14:24:28 +1200 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    dev-perl/Math-Pari: Bump to 2.10.809.0 re bug #613624

    - EAPI6
    - Patched to not break when perl compiled with -flto
    - Patched for '.' in @INC ( Bug #613624 ) both in Math-Pari tests
      and upstream copy of pari
    
    Upstream:
    - Fixes for unescaped { on Perl 5.24+
    - Fix for child targets under EUMM
    - Fixes for building on Solaris
    
    Bug: https://bugs.gentoo.org/613624
    Package-Manager: Portage-2.3.6, Repoman-2.3.2


 dev-perl/Math-Pari/Manifest                            |  1 +
 dev-perl/Math-Pari/Math-Pari-2.10.809.0.ebuild         | 69 ++++
 .../files/Math-Pari-2.10.809.0-no-dot-inc.patch        | 31 ++
 dev-perl/Math-Pari/files/no-flto.patch                 | 74 +++++
 dev-perl/Math-Pari/files/pari-2.3.5-no-dot-inc.patch   | 61 ++++
 5 files changed, 236 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2018-05-01 00:28:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a604f4ccf4abe00a47233965f76c98d5dccead36

commit a604f4ccf4abe00a47233965f76c98d5dccead36
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-05-01 00:28:43 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-05-01 00:28:43 +0000

    dev-perl/Math-Pari: Cleanup old re bug #613624
    
    Closes: https://bugs.gentoo.org/613624
    Package-Manager: Portage-2.3.29, Repoman-2.3.9

 dev-perl/Math-Pari/Manifest                        |  1 -
 dev-perl/Math-Pari/Math-Pari-2.10.806.50-r2.ebuild | 59 ----------------------
 2 files changed, 60 deletions(-)