Bug 227332

Summary: print/latex-biber: broken after Perl update
Product: Ports & Packages Reporter: aeuii
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: New ---    
Severity: Affects Some People CC: aeuii, alexis.praga, greg, sdalu
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (hrs)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patching regexp syntax none

Description aeuii 2018-04-06 20:21:39 UTC
It looks that the recent update of Perl to 5.26 (20180330) broke print/latex-biber.

$ biber
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\ding{ <-- HERE ([2-9AF][0-9A-F])}/ at /usr/local/lib/perl5/site_perl/Biber/LaTeX/Recode.pm line 239.
Compilation failed in require at /usr/local/lib/perl5/site_perl/Biber/Utils.pm line 20.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Biber/Utils.pm line 20.
Compilation failed in require at /usr/local/lib/perl5/site_perl/Biber/Internals.pm line 8.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Biber/Internals.pm line 8.
Compilation failed in require at /usr/local/lib/perl5/5.26/base.pm line 138.
	...propagated at /usr/local/lib/perl5/5.26/base.pm line 160.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Biber.pm line 5.
Compilation failed in require at /usr/local/bin/biber line 17.
BEGIN failed--compilation aborted at /usr/local/bin/biber line 17.
Comment 2 Greg V 2019-06-07 11:09:34 UTC
This is fixed in new versions of biber.

2.11: https://reviews.freebsd.org/D17836

But biber should be kept in sync with biblatex and it's a mess, updating texlive 2015 components via tlmgr is pretty broken, we need a texlive update: bug 211997
Comment 3 Alexis Praga 2021-01-20 23:43:51 UTC
Created attachment 221775 [details]
Patching regexp syntax

A quick fix where I espaced the curly brackets