Thank you for your report !
{ take 1 }
The results of loc_cjk.t and loc_cjkc.t seem to be due to
change or removal of all the data with a higher value
in DUCET, I don't know why.
The DUCET contains 16-bit values as weights, compared for sorting,
that range is 0x0000..0x4CFC and 0x8000..0xFFFF.
For weights of CJK ideographic characters, a combination
of 0xFB40..0xFB85 and 0x8000..0xFFFF is used.
All of the latter may be changed or removed in your system.
<a reproduction...>
(1) delete all the lines with [.Fxxx.yyyy.zzzz] from DUCET.
Show quoted text>perl -ni.orig -e print()if!/\.F/ allkeys.txt
(2) then try to install
# These results are same as uc-t-loc_cjk-t.log and uc-t-loc_cjkc-t.log.
Test Summary Report
-------------------
t/loc_cjk.t (Wstat: 0 Tests: 3589 Failed: 448)
Failed tests: 6-453
t/loc_cjkc.t (Wstat: 0 Tests: 8025 Failed: 3140)
Failed tests: 10-1011, 1017-1018, 1023, 1033, 1046, 1059-1060
1062, 1080, 1103, 1120, 1123, 1125, 1142
(snip)
7874-7877, 7880-7883, 7885-7886, 7888-7890
7892-7910, 7912-8025
Files=127, Tests=25923, 23 wallclock secs ( 2.98 usr + 0.30 sys = 3.28 CPU)
Result: FAIL
Failed 2/127 test programs. 3588/25923 subtests failed.
{ take 2 }
But I don't guess why uc-t-ident-t.log could be so.
# Its test 37 is this:
# ok($Collator->viewSortKey("\x{100000}"),
# '[FBE0 8000 | 0020 | 0002 | FFFF FFFF | 0010 0000]');
What is the output of the following code?
If something has a problem, a different value would appear.
#!perl
use Unicode::Collate;
print "Unicode::Collate $Unicode::Collate::VERSION, ",
exists &Unicode::Collate::bootstrap ? "has XS\n" : "no XS\n";
my $c = Unicode::Collate->new(identical => 1);
for my $u (0x41, 0x3220, 0x4E00, 0xF967, 0x2B81D, 0x100000) {
print $c->viewSortKey(chr $u), "\n";
}
__END__
# an example of output:
Unicode::Collate 1.11, has XS
[190C | 0020 | 0008 | FFFF | 0000 0041]
[FB40 CE00 | 0020 | 0004 | 030A FFFF FFFF 030B | 0000 3220]
[FB40 CE00 | 0020 | 0002 | FFFF FFFF | 0000 4E00]
[FB40 CE0D | 0020 | 0002 | FFFF FFFF | 0000 4E0D]
[FB85 B81D | 0020 | 0002 | FFFF FFFF | 0002 B81D]
[FBE0 8000 | 0020 | 0002 | FFFF FFFF | 0010 0000]
Regards,
SADAHIRO Tomoyoki
Show quoted text> Mon Mar 09 19:48:04 2015: Request 102663 was acted upon.
> Transaction: Ticket created by JHI
> Queue: Unicode-Collate
> Subject: IRIX 6.5 failures with Unicode::Collate
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: JHI@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=102663 >
>
>
> In IRIX 6.5, most Unicode::Collate tests succeed, but three have failures:
>
> t/ident.t
> t/loc_cjk.t
> t/loc_cjkc.t
>
> Logs attached.
>
> I don't know where to start debugging because the failures just say "not ok" and I'm not
> familiar with the code, but I have access to the system and can debug if given ideas of
> what to try.
>