https://bugzilla.redhat.com/show_bug.cgi?id=1627091 Bug ID: 1627091 Summary: perl-Tk-804.034-4.fc29 will FTBFS with perl 5.30 Product: Fedora Version: rawhide Component: perl-Tk Assignee: andreas.bierfert@xxxxxxxxxxxxx Reporter: ppisar@xxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: andreas.bierfert@xxxxxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, tremble@xxxxxxxxxxxxxx, xavier@xxxxxxxxxxxx External Bug ID: CPAN 125665 perl-Tk-804.034-4.fc29 uses deprecated Perl functions for processing UTF-8 (to_utf8_lower() etc.). These are warn at build time. There is known to the upstream (CPAN RT#125854). The deprecated functions won't be available in Perl 5.30.0. They actually were removed from developmental 5.29 tree and Tk fails to build now. This also know to Tk upstream (CPAN RT#125665). There was an attempt to port Tk to the new Perl API, but it failed (Perl RT#133347) because Tk assumes an upper-cased string occupies the same amount of bytes as a lower-cased one and that's not true for UTF-8. Independently I applied a Perl fix to perl-5.28.0 in Fedora ≥ 29: commit aa3c16bd709ef9b9c8c785af48f368e08f70c74b Author: Karl Williamson <khw@xxxxxxxx> Date: Tue Jul 17 13:57:54 2018 -0600 Make utf8_to_uvchr() safer This function is deprecated because the API doesn't allow it to determine the end of the input string, so it can read off the far end. But I just realized that since many strings are NUL-terminated, so we can forbid it from reading past the next NUL, and hence make it safe in many cases. that exposed this Tk issue and caused all perl-Tk applications to crash. I will revert the fix to stop perl-Tk from crashing, but this is not a long-term solution, as Tk won't be able to built with Perl 5.30 unless a proper perl-Tk fix will be delivered. This bug report is a warning that this problem exist. And also to track why the Perl fix was reverted. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx