develooper Front page | perl.perl5.porters | Postings from October 2016

Re: v5.25.5-184-ga5540cf breaks texinfo

Thread Previous | Thread Next
From:
James E Keenan
Date:
October 25, 2016 12:40
Subject:
Re: v5.25.5-184-ga5540cf breaks texinfo
Message ID:
20161025124039.14274.qmail@lists-nntp.develooper.com
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.gz



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About