Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705476 - dev-tex/chktex-1.7.6 USE=doc with >=dev-lang/perl-5.30 - Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/((^|[\s,=])')\\\W{ <-- HERE (\w)}/ at /usr/lib64/latex2html/latex2html.pl line 6456.
Summary: dev-tex/chktex-1.7.6 USE=doc with >=dev-lang/perl-5.30 - Unescaped left brace...
Status: RESOLVED DUPLICATE of bug 617760
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:
Depends on:
Blocks:
 
Reported: 2020-01-15 09:31 UTC by Cyp
Modified: 2020-01-15 10:14 UTC (History)
1 user (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 Cyp 2020-01-15 09:31:33 UTC
dev-tex/chktex-1.7.6 with +doc fails. With -doc, it works.

make -j8 html 
rm -r HTML
rm: cannot remove 'HTML': No such file or directory
make: [Makefile:212: html] Error 1 (ignored)
/usr/bin/mkdir -p HTML
/usr/bin/perl ./MakeHTML.pl ChkTeX.tex > HTML/ChkTeX.tex
cd HTML; /usr/bin/latex2html ChkTeX.tex
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/((^|[\s,=])')\\\W{ <-- HERE (\w)}/ at /usr/lib64/latex2html/latex2html.pl line 6456.
Compilation failed in require at /usr/bin/latex2html line 39.
make: *** [Makefile:215: html] Error 2

Based on bug 414455, I tried reemerging dev-tex/latex2html-2015, which failed. Using the workaround in bug 636344, I managed to reemerge latex2html, but it didn't help with chktex.

I haven't tried downgrading dev-lang/perl-5.30.1, but “Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30)” in bug 636344 looks relevant.
Comment 1 Jaak Ristioja 2020-01-15 09:59:07 UTC
I get the same error using dev-lang/perl-5.28.2-r1
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-15 10:14:23 UTC

*** This bug has been marked as a duplicate of bug 617760 ***