Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 565128

Summary: sci-mathematics/pari-2.7.1 USE=doc: recipe for target 'usersch3.tex' failed
Product: Gentoo Linux Reporter: Andrey Grozin <grozin>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal CC: proteuss
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: doc_make patch

Description Andrey Grozin gentoo-dev 2015-11-08 10:41:40 UTC
make -j1 docpdf 
cd doc && make docpdf
make[1]: Entering directory '/var/tmp/portage/sci-mathematics/pari-2.7.1/work/pari-2.7.1/doc'
cd ../src/desc && /usr/bin/perl doc_make > ../../doc/usersch3.tex
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\var{ <-- HERE flag}/ at doc_make line 41.
Makefile:169: recipe for target 'usersch3.tex' failed
make[1]: *** [usersch3.tex] Error 255
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/pari-2.7.1/work/pari-2.7.1/doc'
Makefile:54: recipe for target 'docpdf' failed
make: *** [docpdf] Error 2

perl is 5.22.0
Comment 1 Andreas Proteus 2015-11-14 13:12:32 UTC
Created attachment 416946 [details, diff]
doc_make patch

perl 5.22 no longer accepts unescaped braces in regexs.
This patch solves the problem.
Comment 2 Andrey Grozin gentoo-dev 2015-11-14 16:14:08 UTC
Thanks, committed

commit 833535d7dedaedcd9715cce29303f08a5c75fa85
Author: Andrey Grozin <grozin@gentoo.org>
Date:   Sat Nov 14 22:04:48 2015 +0600

    sci-mathematics/pari: fix building docs with perl-5.22
    
    Thanks to  Andreas Proteus <proteuss@sdf.lonestar.org>
    
    Package-Manager: portage-2.2.24