Bug 1425077 - Deprecated use of Slurp
Summary: Deprecated use of Slurp
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bugzilla
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-20 14:17 UTC by Michael Cronenworth
Modified: 2017-04-25 21:33 UTC (History)
4 users (show)

Fixed In Version: bugzilla-5.0.3-4.fc25 bugzilla-5.0.3-5.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-25 02:22:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Cronenworth 2017-02-20 14:17:18 UTC
Description of problem:
   Starting with Perl 5.24, perl will echo a deprecation warning when Bugzilla uses the Slurp library with a utf8 handle.

I received this warning when the daily cron job installed by Bugzilla fires.

/etc/cron.daily/bugzilla.cron:

sysread() is deprecated on :utf8 handles at /usr/share/perl5/vendor_perl/File/Slurp.pm line 225.


Version-Release number of selected component (if applicable):
bugzilla-5.0.3-3.fc25.noarch
perl-5.24.1-384.fc25.x86_64
perl-File-Slurp-9999.19-15.fc25.noarch


Additional info:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826415

Comment 1 Emmanuel Seyman 2017-02-20 14:56:40 UTC
The best thing to do would be to backport the upstream patch that makes Bugzilla use File::Slurper (which doesn't have the issue) instead of File::Slurp.

This will make the requirements of the bugzilla package change post-release but that's just the way things are.

Comment 2 Michael Cronenworth 2017-04-04 16:14:51 UTC
Any update on this?

Comment 3 Fedora Update System 2017-04-05 16:31:05 UTC
bugzilla-5.0.3-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f2f561c439

Comment 4 Fedora Update System 2017-04-05 16:31:25 UTC
bugzilla-5.0.3-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e676c0dbc1

Comment 5 Fedora Update System 2017-04-06 20:23:50 UTC
bugzilla-5.0.3-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f2f561c439

Comment 6 Fedora Update System 2017-04-06 22:22:06 UTC
bugzilla-5.0.3-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e676c0dbc1

Comment 7 Fedora Update System 2017-04-25 02:22:38 UTC
bugzilla-5.0.3-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-04-25 21:33:35 UTC
bugzilla-5.0.3-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.