Skip Menu |

This queue is for tickets about the Unicode-BiDiRule CPAN distribution.

Report information
The Basics
Id: 108280
Status: resolved
Priority: 0/
Queue: Unicode-BiDiRule

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: 0.03



Subject: Can't find Unicode property definition "Other_Default_Ignorable_Code_Point" in regex
Tests fail with perl 5.23.4, probably due to a new error case: Output from '/usr/bin/make': cp lib/POD2/JA/Unicode/BiDiRule.pod blib/lib/POD2/JA/Unicode/BiDiRule.pod cp lib/Unicode/BiDiRule.pm blib/lib/Unicode/BiDiRule.pm Running Mkbootstrap for Unicode::BiDiRule () chmod 644 "BiDiRule.bs" "/bbbike/perl-5.23.4/bin/perl5.23.4" data/bidirule.pl unicode_bidirule.c Can't find Unicode property definition "Other_Default_Ignorable_Code_Point" in regex; marked by <-- HERE in m/\A\p{Other_Default_Ignorable_Code_Point} <-- HERE \z/ at data/bidirule.pl line 62. make: *** [stamp-c] Fehler 255
Hi, Does attached patch solve the problem? Regards, -- nezumi On 2015-10月-31 土 06:40:58, SREZIC wrote: Show quoted text
> Tests fail with perl 5.23.4, probably due to a new error case: > > Output from '/usr/bin/make': > > cp lib/POD2/JA/Unicode/BiDiRule.pod > blib/lib/POD2/JA/Unicode/BiDiRule.pod > cp lib/Unicode/BiDiRule.pm blib/lib/Unicode/BiDiRule.pm > Running Mkbootstrap for Unicode::BiDiRule () > chmod 644 "BiDiRule.bs" > "/bbbike/perl-5.23.4/bin/perl5.23.4" data/bidirule.pl > unicode_bidirule.c > Can't find Unicode property definition > "Other_Default_Ignorable_Code_Point" in regex; marked by <-- HERE in > m/\A\p{Other_Default_Ignorable_Code_Point} <-- HERE \z/ at > data/bidirule.pl line 62. > make: *** [stamp-c] Fehler 255
Subject: odicp.patch
diff --git a/data/bidirule.pl b/data/bidirule.pl index 5b38e06..b4e2ed1 100644 --- a/data/bidirule.pl +++ b/data/bidirule.pl @@ -58,8 +58,13 @@ sub isDICP { eval { $ret = ($uc =~ /\A\p{Default_Ignorable_Code_Point}\z/) }; return $ret unless $@; + # Earlier Perl 5.8.x did not support DICP class and it have to be derived + # from ODICP class and so on. While recent 5.23.x deprecated ODICP class + # and deny it at compilation time. So we compute ODICP class at runtime. + my $ODICPre = eval 'qr/\A\p{Other_Default_Ignorable_Code_Point}\z/'; + die 'Unicode database of your Perl may be broken' unless $ODICPre; my $charprop = Unicode::UCD::charinfo($c); - if ($uc =~ /\A\p{Other_Default_Ignorable_Code_Point}\z/ + if ($uc =~ $ODICPre or ( $charprop and %$charprop and $charprop->{category}
It seems fixed. Thank you for reporting bug! Closed. On 2015-10月-31 土 22:01:25, NEZUMI wrote: Show quoted text
> Hi, > > Does attached patch solve the problem? > > Regards, > > -- nezumi > > On 2015-10月-31 土 06:40:58, SREZIC wrote:
> > Tests fail with perl 5.23.4, probably due to a new error case: > > > > Output from '/usr/bin/make': > > > > cp lib/POD2/JA/Unicode/BiDiRule.pod > > blib/lib/POD2/JA/Unicode/BiDiRule.pod > > cp lib/Unicode/BiDiRule.pm blib/lib/Unicode/BiDiRule.pm > > Running Mkbootstrap for Unicode::BiDiRule () > > chmod 644 "BiDiRule.bs" > > "/bbbike/perl-5.23.4/bin/perl5.23.4" data/bidirule.pl > > unicode_bidirule.c > > Can't find Unicode property definition > > "Other_Default_Ignorable_Code_Point" in regex; marked by <-- HERE in > > m/\A\p{Other_Default_Ignorable_Code_Point} <-- HERE \z/ at > > data/bidirule.pl line 62. > > make: *** [stamp-c] Fehler 255
> >