On 10/25/2016 08:15 AM, Mathieu Arnold wrote: > Hello, > > Like every week, I updated the perl5-devel FreeBSD port (this week, from > v5.25.5-115-g4eadd82 to v5.25.6-72-g92c843f). > Perl built just fine, and make test runs just fine fine too. > > Today, I discovered that texinfo could not be built with the new Perl > version, after a quick git bisect (git bisect is your god), I ended up > with v5.25.5-183-g8204e83 being the last good, and v5.25.5-184-ga5540cf > being the first bad. > > The error I get in texinfo is: > > Modification of a read-only value attempted at > ../tp/Texinfo/Convert/Line.pm line 309. > > That line being: > > } elsif ($text =~ s/^(([^\s\p{InFullwidth}]|[\x{202f}\x{00a0}])+)//) { > > > When that fails, $text contains " Texinfo documentation system". > > Adding use diagnostics to that file, I get https://pastebin.com/T9VfP2cE > > It turns out that the problem is \p{InFullwidth} (comes from > Unicode::EastAsianWidth) and its usage, in that case (I don't know > texinfo at all) got broken. > For reference, Texinfo::Convert::Line is part of the GNU texinfo library: http://ftpmirror.gnu.org/texinfo/texinfo-6.1.tar.gzThread Previous | Thread Next