Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617760 - dev-tex/latex2html broken perl 5.26 (Can't locate cfgcache.pm in @INC, Unescaped left brace in regex is illegal here in regex)
Summary: dev-tex/latex2html broken perl 5.26 (Can't locate cfgcache.pm in @INC, Unesca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 705476 706150 (view as bug list)
Depends on:
Blocks: perl-5.26-no-dot-inc perl-5.26 perl-5.26-unmask
  Show dependency tree
 
Reported: 2017-05-07 19:02 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2020-01-23 10:34 UTC (History)
3 users (show)

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-05-07 19:02:20 UTC
All in-tree versions are affected in one way or another by a variety of different Perl 5.26 failure cases ( see bug #612408 for @INC related issues )

Please keep open till affected versions are gone from tree ( either by bump or patch )

latex2html-2008 to latex2html-2015

creating cache ./config.cache                                                                  
checking for perl... /usr/bin/perl                                                          
checking whether #! works in shell scripts... yes                                          
launching proprietary configuration...                                            
Can't locate L2hos.pm in @INC (you may need to install the L2hos module) (@INC contains: lib /etc/perl /usr/local/lib64/perl5/5.25.12/x86_64-linux /usr/local/lib64/perl5/5.25.12 /usr/lib64/perl5/vendor_perl/5.25.12/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.12 /usr/local/l
ib64/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.12/x86_64-linux /usr/lib64/perl5/5.25.12) at ./config/config.pl line 436.                                                                     
BEGIN failed--compilation aborted at ./config/config.pl line 436


latex2html-2017.2

untie attempted while 1 inner references still exist at ./config/config.pl line 651

...

Use of uninitialized value $val in pattern match (m//) at ./config/config.pl line 2038.
Use of uninitialized value $val in substitution (s///) at ./config/config.pl line 2043.
Use of uninitialized value $val in pattern match (m//) at ./config/config.pl line 2047.
Use of uninitialized value $val in concatenation (.) or string at ./config/config.pl line 2057.

...

Note: Will install...
      ... executables to   : /usr/bin
      ... shared library items to : /usr/lib64/latex2html
      ... unshared library items to : /usr/lib64/latex2html
Can't locate cfgcache.pm in @INC (you may need to install the cfgcache module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.25.12/x86_64-linux /usr/local/lib64/perl5/5.25.12 /usr/lib64/perl5/vendor_perl/5.25.12/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.12 /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.12/x86_64-linux /usr/lib64/perl5/5.25.12) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
updating cache ./config.cache
creating ./config.status

...

And then test phase:

versions/cp1252.pl syntax OK
versions/decmulti.pl syntax OK
versions/frame.pl syntax OK
versions/hebrew.pl syntax OK
versions/html2_1.pl syntax OK
Operator or semicolon missing before &convert_length at versions/html2_2.pl line 94.
Ambiguous use of & resolved as operator & at versions/html2_2.pl line 94.
versions/html2_2.pl syntax OK
versions/html3_0.pl syntax OK
versions/html3_1.pl syntax OK
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(color{ <-- HERE [^}]*})/ at versions/html3_2.pl line 610.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-08-04 09:45:06 UTC
This should be fixed in 2017.2-r1.  At worst it doesnt block unmasking anymore.
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-08-08 05:13:38 UTC
-r1:

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\n{ <-- HERE 2;}/ at styles/frames.perl line 709.


^ Self-consistency indicates one of the style files is executable perl code, which means people using this tool will still see this issue.
Comment 3 Larry the Git Cow gentoo-dev 2017-09-23 13:53:58 UTC
The bug has been closed via the following commit(s):

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

commit 8eb4f778e7bd246e0afcd2b3b51ba4fea03c1ab2
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2017-09-23 13:53:05 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2017-09-23 13:53:39 +0000

    dev-tex/latex2html: Found and fixed the last unescaped left brace. Bug 617760.
    
    Closes: https://bugs.gentoo.org/617760
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 .../files/latex2html-2017.2-brace-2.patch          | 12 ++++
 dev-tex/latex2html/latex2html-2017.2-r2.ebuild     | 82 ++++++++++++++++++++++
 2 files changed, 94 insertions(+)
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-10-20 10:25:03 UTC
It might be time to consider stabilizing -r2.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-15 10:14:23 UTC
*** Bug 705476 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-23 10:34:16 UTC
*** Bug 706150 has been marked as a duplicate of this bug. ***