Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565128 - sci-mathematics/pari-2.7.1 USE=doc: recipe for target 'usersch3.tex' failed
Summary: sci-mathematics/pari-2.7.1 USE=doc: recipe for target 'usersch3.tex' failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-08 10:41 UTC by Andrey Grozin
Modified: 2015-11-14 16:14 UTC (History)
1 user (show)

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


Attachments
doc_make patch (pari-doc_make.patch,517 bytes, patch)
2015-11-14 13:12 UTC, Andreas Proteus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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