https://bugzilla.redhat.com/show_bug.cgi?id=1450364
Bug ID: 1450364 Summary: read_file(, binmode => ':utf8) produces warnings Product: Fedora Version: 25 Component: perl-File-Slurp Keywords: Regression Assignee: rc040203@freenet.de Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: lxtnow@gmail.com, perl-devel@lists.fedoraproject.org, rc040203@freenet.de External Bug ID: CPAN 117005
Perl 5.24 started to warn when performing sysread() on a UTF-8 file handle http://search.cpan.org/~shay/perl-5.24.1/pod/perl5240delta.pod#sysread(),_syswrite(),_recv()_and_send()_are_deprecated_on_:utf8_handles.
That means File::Slurp as provided in Fedora 25 (perl-File-Slurp-9999.19-15.fc25.noarch) and newer triggers the warning:
$ perl -MFile::Slurp -e 'File::Slurp::read_file(q{/etc/hosts}, q{binmode} => q{:utf8})' sysread() is deprecated on :utf8 handles at /usr/share/perl5/vendor_perl/File/Slurp.pm line 225.
It would be great to fix File::Slurp not to produce the warning.
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|read_file(, binmode => |read_file(, binmode => |':utf8) produces warnings |':utf8') produces warnings
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
--- Comment #1 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|25 |26
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
--- Comment #2 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jplesnik@redhat.com Version|26 |27
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
--- Comment #3 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|27 |28 Fixed In Version| |perl-File-Slurp-9999.25-1.f | |c29
--- Comment #4 from Petr Pisar ppisar@redhat.com --- File-Slurp-9999.25 fixed this warning. But a similar issue in other places of the code still exist.
https://bugzilla.redhat.com/show_bug.cgi?id=1450364
--- Comment #5 from Ralf Corsepius rc040203@freenet.de --- (In reply to Petr Pisar from comment #4)
File-Slurp-9999.25 fixed this warning. But a similar issue in other places of the code still exist.
Yes, this bug is still unfixed: From a mock-build.log targeting fc30: ... syswrite() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /builddir/build/BUILD/File-Slurp-9999.25/blib/lib/File/Slurp.pm line 368. ...
perl-devel@lists.fedoraproject.org