Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623410 - <=dev-tex/biber-2.7 broken on perl 5.26 ( Unescaped left brace in regex is deprecated here, at lib/Biber/LaTeX/Recode.pm line 295. )
Summary: <=dev-tex/biber-2.7 broken on perl 5.26 ( Unescaped left brace in regex is de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hendrik v. Raven
URL:
Whiteboard:
Keywords:
Depends on: 663754
Blocks: perl-5.26
  Show dependency tree
 
Reported: 2017-07-02 03:04 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-08-20 07:15 UTC (History)
4 users (show)

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


Attachments
biber-2.7:20180815-024525.log.xz (biber-2.7:20180815-024525.log.xz,21.11 KB, application/x-xz)
2018-08-15 02:50 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

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-07-02 03:04:22 UTC
This is advanced warning that if its possible, biber 2.7 should be stabilized before Perl 5.26 is stabilized, or if that's not viable, biber 2.5 should be patched and -r1 bumped for stable instead.

Note, it does say "fatal in 5.30", but the mechanism is a bit spooky, and occurs in the runtime code enough to be a problem, so even though this isn't fatal under my limited testing, the best assumption is probably to treat this condition as fatal. Especially given the mechanism may change slightly in 5.26.1. 

 * Test::Harness Jobs=3
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/}(\pM+\pL){ <-- HERE (?!\pL+\\)/ at /var/tmp/portage/dev-tex/biber-2.5/work/biber-2.5/blib/lib/Biber/LaTeX/Recode.pm line 295.
^M===(       1;0  1/1   0/67   0/45 )=====================================^M===(       2;0  1/1   0/67   1/45 )=====================================Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/}(\pM+\pL){ <-- HERE (?!\pL+\\)/ at /var/tmp/portage/dev-tex/biber-2.5/work/biber-2.5/blib/lib/Biber/LaTeX/Recode.pm line 295.
^M===(       4;0  1/1   1/67   2/45 )=====================================
#   Failed test 'Annotations - 1'
#   at t/annotations.t line 80.
# --- Got
Comment 1 Hendrik v. Raven 2018-08-08 19:00:07 UTC
For the record: This also affects version biber-2.7, the latest biber-2.10 is fine
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-08-15 02:50:00 UTC
Created attachment 543500 [details]
biber-2.7:20180815-024525.log.xz

Attaching a full failing test output for biber 2.7 running on Perl 5.28 for context.

2.10 passes fine.

Installed Deps on top of minimal tree + perl 5.28:


[ebuild  N    ~] dev-tex/biber-2.7  USE="{-test}" 0 KiB
[ebuild  N    #]  virtual/perl-IPC-Cmd-1.0.0  0 KiB
[ebuild  N     ]  dev-perl/Business-ISBN-3.4.0  USE="-barcode -examples {-test}" 0 KiB
[ebuild  N     ]   dev-perl/Business-ISBN-Data-20140910.3.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/libwww-perl-6.150.0  USE="ssl" 0 KiB
[ebuild  N     ]   dev-perl/WWW-RobotRules-6.20.0  0 KiB
[ebuild  N     ]   dev-perl/File-Listing-6.40.0-r1  0 KiB
[ebuild  N     ]   dev-perl/LWP-Protocol-https-6.70.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/Net-HTTP-6.90.0  USE="minimal" 0 KiB
[ebuild  N     ]   dev-perl/HTTP-Cookies-6.40.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/HTML-Parser-3.720.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/HTML-Tagset-3.200.0-r1  0 KiB
[ebuild  N    #]    virtual/perl-XSLoader-0.300.0  0 KiB
[ebuild  N     ]   dev-perl/HTTP-Negotiate-6.10.0-r1  0 KiB
[ebuild  N     ]  dev-perl/Business-ISMN-1.131.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/Tie-Cycle-1.221.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Data-Compare-1.250.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/File-Find-Rule-0.340.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/Number-Compare-0.30.0-r1  0 KiB
[ebuild  N     ]    dev-perl/Text-Glob-0.90.0-r1  0 KiB
[ebuild  N     ]  dev-perl/IPC-Run3-0.48.0  USE="{-test}" 0 KiB
[ebuild  N    #]   virtual/perl-Time-HiRes-1.975.900  0 KiB
[ebuild  N     ]  dev-perl/ExtUtils-LibBuilder-0.80.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Data-Uniqid-0.120.0-r1  0 KiB
[ebuild  N    #]   virtual/perl-Math-BigInt-1.999.811  0 KiB
[ebuild  N     ]  dev-perl/DateTime-Format-Builder-0.810.0-r1  0 KiB
[ebuild  N     ]   dev-perl/DateTime-1.200.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/DateTime-Locale-0.460.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/List-MoreUtils-0.418.0  USE="xs {-test}" 0 KiB
[ebuild  N     ]      dev-perl/List-MoreUtils-XS-0.418.0  USE="{-test}" 0 KiB
[ebuild  N    #]       virtual/perl-File-Path-2.150.0  0 KiB
[ebuild  N     ]      dev-perl/Exporter-Tiny-1.0.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]     dev-perl/Params-Validate-1.290.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]      dev-perl/Module-Implementation-0.90.0  USE="{-test}" 0 KiB
[ebuild  N     ]       dev-perl/Module-Runtime-0.16.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Dist-CheckConflicts-0.110.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/DateTime-TimeZone-1.930.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Class-Singleton-1.500.0  0 KiB
[ebuild  N     ]     dev-perl/List-AllUtils-0.90.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/Class-Factory-Util-1.700.0-r2  0 KiB
[ebuild  N     ]   dev-perl/DateTime-Format-Strptime-1.700.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/Package-DeprecationManager-0.170.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Package-Stash-0.370.0  USE="minimal {-test}" 0 KiB
[ebuild  N     ]     dev-perl/Sub-Install-0.928.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Params-Util-1.70.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Sub-Name-0.210.0  USE="-suggested {-test}" 0 KiB
[ebuild  N     ]  dev-perl/Text-Roman-3.500.0  0 KiB
[ebuild  N     ]  dev-perl/Text-CSV_XS-1.280.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]  dev-perl/File-Slurp-9999.190.0-r1  0 KiB
[ebuild  N     ]  dev-perl/Encode-JIS2K-0.30.0  0 KiB
[ebuild  N    ~]  dev-tex/biblatex-3.7-r1  USE="biber -doc -examples" 0 KiB
[ebuild  N     ]   dev-texlive/texlive-latexextra-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]    app-text/texlive-core-2017-r4  USE="luajittex -X -cjk -doc -source -tk -xetex" 0 KiB
[ebuild  N     ]     dev-libs/kpathsea-6.2.3_p20170524:0/6.2.3  USE="-doc -source -static-libs" 0 KiB
[ebuild  N     ]     dev-tex/bibtexu-3.71_p20170524  USE="-doc -source" 0 KiB
[ebuild  N     ]      dev-libs/icu-60.2:0/60.2  USE="-debug -doc -examples -static-libs" 0 KiB
[ebuild  N     ]     x11-libs/pixman-0.34.0  USE="(-altivec) (-iwmmxt) (-loongson2f) (-neon) -static-libs" CPU_FLAGS_X86="mmxext sse2 ssse3" 0 KiB
[ebuild  N     ]     dev-libs/zziplib-0.13.62-r2  USE="-doc -sdl -static-libs {-test}" 0 KiB
[ebuild  N     ]     app-text/libpaper-1.1.24-r2  0 KiB
[ebuild  N     ]     app-text/dvipsk-5.997_p20170524  USE="-doc -source" 0 KiB
[ebuild  N     ]     app-text/ps2pkm-1.8_p20170524  0 KiB
[ebuild  N     ]     app-text/poppler-0.62.0-r1:0/73  USE="cxx introspection jpeg jpeg2k lcms utils -cairo -cjk -curl -debug -doc -nss -png -qt5 -tiff" 0 KiB
[ebuild  N     ]      media-libs/openjpeg-2.3.0:2/7  USE="-doc -static-libs {-test}" 0 KiB
[ebuild  N     ]       dev-util/cmake-3.9.6  USE="ncurses -doc -emacs -qt5 -server -system-jsoncpp {-test}" 0 KiB
[ebuild  N     ]        app-crypt/rhash-1.3.6-r1  USE="nls ssl -debug -libressl -static-libs" 0 KiB
[ebuild  N     ]        app-arch/libarchive-3.3.1:0/13  USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -expat -libressl -lz4 -lzo -nettle -static-libs" 0 KiB
[ebuild  N     ]       media-libs/lcms-2.9:2  USE="threads -doc -jpeg -static-libs {-test} -tiff" 0 KiB
[ebuild  N     ]       media-libs/tiff-4.0.9-r3  USE="cxx zlib -jbig -jpeg -lzma -static-libs {-test}" 0 KiB
[ebuild  N     ]       media-libs/libpng-1.6.34:0/16  USE="-apng (-neon) -static-libs" CPU_FLAGS_X86="sse" 0 KiB
[ebuild  N     ]      virtual/jpeg-0-r2  USE="-static-libs" 0 KiB
[ebuild  N     ]       media-libs/libjpeg-turbo-1.5.1  USE="-java -static-libs" 0 KiB
[ebuild  N     ]        dev-lang/nasm-2.13.01  USE="-doc" 0 KiB
[ebuild  N     ]      media-libs/fontconfig-2.12.6:1.0  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]       app-eselect/eselect-fontconfig-1.1  0 KiB
[ebuild  N     ]       virtual/ttf-fonts-1-r1  0 KiB
[ebuild  N     ]        media-fonts/liberation-fonts-2.00.1-r3  USE="-X -fontforge" 0 KiB
[ebuild  N     ]       media-libs/freetype-2.9.1-r3:2  USE="adobe-cff bzip2 cleartype_hinting -X -bindist -debug -doc -fontforge -harfbuzz -infinality -png -static-libs -utils" 0 KiB
[ebuild  N     ]     sys-apps/ed-1.13  0 KiB
[ebuild  N     ]     x11-libs/cairo-1.14.12  USE="X glib svg (-aqua) -debug (-gles2) -opengl -static-libs -valgrind -xcb" 0 KiB
[ebuild  N     ]      dev-libs/glib-2.52.3:2  USE="mime xattr -dbus -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ]       x11-misc/shared-mime-info-1.9  USE="{-test}" 0 KiB
[ebuild  N     ]      x11-libs/libXext-1.3.3-r1  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]       x11-libs/libX11-1.6.5-r1  USE="ipv6 -doc -static-libs {-test}" 0 KiB
[ebuild  N     ]        x11-misc/util-macros-1.19.2  0 KiB
[ebuild  N     ]        media-fonts/font-util-1.3.1  0 KiB
[ebuild  N     ]        x11-libs/xtrans-1.3.5  USE="-doc" 0 KiB
[ebuild  N     ]        x11-libs/libxcb-1.13:0/1.12  USE="-doc (-selinux) -static-libs {-test} -xkb" 0 KiB
[ebuild  N     ]         x11-base/xcb-proto-1.13  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB
[ebuild  N     ]         x11-libs/libXau-1.0.8-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]          x11-base/xorg-proto-2018.4  0 KiB
[ebuild  N     ]           dev-util/ninja-1.8.2  USE="-doc -emacs {-test} -vim-syntax -zsh-completion" 0 KiB
[ebuild  N     ]            dev-util/re2c-0.16  0 KiB
[ebuild  N     ]           dev-util/meson-0.46.1  PYTHON_TARGETS="python3_6 -python3_5" 0 KiB
[ebuild  N     ]         dev-libs/libpthread-stubs-0.4  0 KiB
[ebuild  N     ]         x11-libs/libXdmcp-1.1.2-r2  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]          dev-libs/libbsd-0.8.6  USE="-static-libs" 0 KiB
[ebuild  N     ]      x11-libs/libXrender-0.9.10-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]      sys-libs/binutils-libs-2.30-r2:0/2.30  USE="nls -64-bit-bfd -multitarget -static-libs" 0 KiB
[ebuild  N     ]      dev-libs/lzo-2.10:2  USE="-examples -static-libs" 0 KiB
[ebuild  N     ]    dev-texlive/texlive-latexrecommended-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]     dev-texlive/texlive-latex-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]      dev-texlive/texlive-basic-2017-r1  USE="luajittex -doc -source" 0 KiB
[ebuild  N     ]    dev-texlive/texlive-pictures-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]     dev-tex/pgf-3.0.1-r1  USE="-doc -source" 0 KiB
[ebuild  N     ]      dev-tex/xcolor-2.12  USE="-doc" 0 KiB
[ebuild  N     ]       virtual/latex-base-1.0  0 KiB
[ebuild  N     ]        dev-texlive/texlive-fontsrecommended-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]        dev-texlive/texlive-fontutils-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]    dev-perl/Spreadsheet-ParseExcel-0.650.0  USE="unicode -cjk {-test}" 0 KiB
[ebuild  N     ]     dev-perl/Unicode-Map-0.112.0-r1  0 KiB
[ebuild  N     ]     dev-perl/IO-stringy-2.111.0  0 KiB
[ebuild  N     ]     dev-perl/Digest-Perl-MD5-1.900.0  0 KiB
[ebuild  N     ]     dev-perl/OLE-StorageLite-0.190.0-r1  0 KiB
[ebuild  N     ]     dev-perl/Crypt-RC4-2.020.0-r1  0 KiB
[ebuild  N     ]   dev-texlive/texlive-plaingeneric-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]   dev-texlive/texlive-bibtexextra-2017  USE="-doc -source" 0 KiB
[ebuild  N     ]  dev-perl/Unicode-LineBreak-2017.4.0-r1  0 KiB
[ebuild  N     ]   dev-perl/MIME-Charset-1.12.2  L10N="-ja -zh" 0 KiB
[ebuild  N    ~]  dev-perl/DateTime-Calendar-Julian-0.40.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Config-AutoConf-0.315.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/Capture-Tiny-0.460.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]  dev-perl/XML-LibXML-2.13.200  USE="minimal -examples {-test}" 0 KiB
[ebuild  N     ]   dev-perl/XML-SAX-0.990.0-r1  0 KiB
[ebuild  N     ]    dev-perl/XML-SAX-Base-1.90.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/XML-NamespaceSupport-1.120.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Log-Log4perl-1.490.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]  dev-perl/Text-CSV-1.940.0  USE="xs {-test}" 0 KiB
[ebuild  N    #]  virtual/perl-Unicode-Normalize-1.260.0  0 KiB
[ebuild  N     ]  dev-perl/XML-LibXML-Simple-0.970.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/File-Slurp-Tiny-0.4.0  USE="{-test}" 0 KiB
[ebuild  N    ~]  dev-perl/Sort-Key-1.330.0-r1  0 KiB
[ebuild  N     ]  dev-perl/autovivification-0.180.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]  dev-perl/XML-LibXSLT-1.960.0  0 KiB
[ebuild  N     ]  dev-perl/Data-Dump-1.230.0  0 KiB
[ebuild  N     ]  dev-perl/Business-ISSN-1.2.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Lingua-Translit-0.280.0  0 KiB
[ebuild  N     ]  dev-perl/Regexp-Common-2017060201.0.0  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/Encode-EUCJPASCII-0.30.0  0 KiB
[ebuild  N     ]  dev-perl/Encode-HanExtra-0.230.0-r2  0 KiB
[ebuild  N     ]  dev-perl/Text-BibTeX-0.800.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]  dev-perl/XML-Writer-0.625.0  USE="{-test}" 0 KiB
[ebuild  N    #]  virtual/perl-Unicode-Collate-1.250.0  0 KiB
[ebuild  N     ]  dev-perl/Class-Accessor-0.340.0-r1  0 KiB

Test Deps Installed:

[ebuild  N     ]  dev-perl/Test-Differences-0.640.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/Text-Diff-1.440.0  0 KiB
[ebuild  N     ]    dev-perl/Algorithm-Diff-1.190.300  0 KiB
[ebuild  N     ]  dev-perl/File-Which-1.220.0  USE="pwhich {-test}" 0 KiB
[ebuild  N     ]   dev-perl/App-pwhich-1.140.0  USE="{-test}" 0 KiB
Comment 3 Larry the Git Cow gentoo-dev 2018-08-15 20:16:25 UTC
The bug has been referenced in the following commit(s):

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

commit c36b43d48b205e711a75566ac5de4f511e67b038
Author:     Hendrik v. Raven <hendrik@consetetur.de>
AuthorDate: 2018-07-25 19:28:56 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-15 20:12:48 +0000

    dev-tex/biber: add patch to fix perl-5.26 warnings
    
    Bug: https://bugs.gentoo.org/623410
    Package-Manager: Portage-2.3.42, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9349

 dev-tex/biber/biber-2.5-r1.ebuild                  | 77 ++++++++++++++++++++++
 dev-tex/biber/biber-2.7.ebuild                     |  5 +-
 .../biber-2.5-unescaped-left-brace-in-regex.patch  | 12 ++++
 3 files changed, 93 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2018-08-20 07:15:27 UTC
The bug has been closed via the following commit(s):

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

commit f4de23a604f2bc2e9b7e5373f6ea9fb4b6af5b74
Author:     Hendrik v. Raven <hendrik@consetetur.de>
AuthorDate: 2018-08-20 07:05:47 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2018-08-20 07:15:06 +0000

    dev-tex/biber: drop old 2.5
    
    Closes: https://bugs.gentoo.org/623410
    Package-Manager: Portage-2.3.38, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9632

 dev-tex/biber/biber-2.5.ebuild | 77 ------------------------------------------
 1 file changed, 77 deletions(-)