https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Bug ID: 2279842 Summary: perl-Text-Bidi-2.18-9.fc41 FTBFS: t/get_mirror_char.t fails with fribidi 1.0.14 Product: Fedora Version: rawhide Status: NEW Component: perl-Text-Bidi Assignee: ppisar@redhat.com Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: perl-devel@lists.fedoraproject.org, ppisar@redhat.com Blocks: 2260875 (F41FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
perl-Text-Bidi-2.18-9.fc41 fails to build in Fedora 41 because tests fail:
# Failed test 'Wrong mirror for 2A9E ([BEST FIT] SIMILAR OR LESS-THAN)' # at t/get_mirror_char.t line 17. # got: '⪝' # expected: '⪞'
# Failed test 'Wrong mirror for 2A9D ([BEST FIT] SIMILAR OR GREATER-THAN)' # at t/get_mirror_char.t line 17. # got: '⪞' # expected: '⪝' [..] # Looks like you failed 64 tests of 428. t/get_mirror_char.t .... Dubious, test returned 64 (wstat 16384, 0x4000) Failed 64/428 subtests
This is triggered by upgrading fribidi-devel from 1.0.13-4.fc40 to 1.0.14-1.fc41. Fribidi updated Unicode database from 14.0.0 to 15.1.0.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2260875 [Bug 2260875] Fedora 41 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|ppisar@redhat.com |tagoh@redhat.com CC| |gnome-sig@lists.fedoraproje | |ct.org, mclasen@redhat.com, | |michel@michel-slm.name, | |rstrode@redhat.com, | |tagoh@redhat.com Component|perl-Text-Bidi |fribidi Version|rawhide |40
--- Comment #1 from Petr Pisar ppisar@redhat.com --- This is a bug in fribidi-1.0.14. A reproducer:
$ cat test.c #include <fribidi-types.h> #include <fribidi-mirroring.h> #include <stdio.h>
int main(void) { FriBidiChar input = 0x2BFE; FriBidiChar output; fribidi_boolean ret;
ret = fribidi_get_mirror_char(input, &output); printf("input=0x%jx, output=0x%jx, fribidi_get_mirror_char() retval=%u\n", input, output, ret);
return 0; }
$ gcc $(pkg-config --cflags fribidi) test.c $(pkg-config --libs fribidi)
fribidi-1.0.13 correctly finds that U+2BFE mirrors to U+221F:
$ rpm -q fribidi fribidi-1.0.13-4.fc40.x86_64 $ ./a.out input=0x2bfe, output=0x221f, fribidi_get_mirror_char() retval=1
However, after upgrading to 1.0.14, fribidi_get_mirror_char() thinks that U+2BFE has not mirroring chacter:
$ rpm -q fribidi fribidi-1.0.14-1.fc41.x86_64 $ ./a.out input=0x2bfe, output=0x2bfe, fribidi_get_mirror_char() retval=0
I compared Unicode data sets from https://www.unicode.org/Public/14.0.0/ucd/BidiMirroring.txt and https://www.unicode.org/Public/15.1.0/ucd/BidiMirroring.txt and there is no change:
$ grep 2BFE BidiMirroring.txt-1* BidiMirroring.txt-14.0.0:221F; 2BFE # RIGHT ANGLE BidiMirroring.txt-14.0.0:2BFE; 221F # REVERSED RIGHT ANGLE BidiMirroring.txt-15.1.0:221F; 2BFE # RIGHT ANGLE BidiMirroring.txt-15.1.0:2BFE; 221F # REVERSED RIGHT ANGLE
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |fribidi/fribidi/issues/207
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |2290542
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2290542 [Bug 2290542] Unexpected behavior on array in FriBiDi
https://bugzilla.redhat.com/show_bug.cgi?id=2279842 Bug 2279842 depends on bug 2290542, which changed state.
Bug 2290542 Summary: Unexpected behavior on array in FriBiDi https://bugzilla.redhat.com/show_bug.cgi?id=2290542
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-3b2cd682c2 (fribidi-1.0.14-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3b2cd682c2
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-9b320d87d8 (fribidi-1.0.14-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b320d87d8
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |fribidi-1.0.14-2.fc41 Resolution|--- |ERRATA Status|MODIFIED |CLOSED Last Closed| |2024-06-05 15:17:22
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-3b2cd682c2 (fribidi-1.0.14-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-9b320d87d8 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9b320d87d8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b320d87d8
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2279842
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|fribidi-1.0.14-2.fc41 |fribidi-1.0.14-2.fc41 | |fribidi-1.0.14-2.fc40
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-9b320d87d8 (fribidi-1.0.14-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org