Discussion:
checksetup.pl reporting "sysread() is deprecated on :utf8 handls at ...Slurp.pm" after upgrading ActivePerl 5.22 to 5.24.
e***@gmail.com
2018-08-21 18:32:33 UTC
Permalink
Hi, folks.

I upgraded ActiveState ActivePerl from 5.22 to 5.24 today. c:\bugzilla\checksetup.pl gives me this new message now:

...
Checking for DBD-mysql (v4.001) ok: found v4.033

sysread() is deprecated on :utf8 handles at C:/Perl64/site/lib/File/Slurp.pm lin
e 225, <DATA> chunk 755.
sysread() is deprecated on :utf8 handles at C:/Perl64/site/lib/File/Slurp.pm lin
e 225, <DATA> chunk 755.
sysread() is deprecated on :utf8 handles at C:/Perl64/site/lib/File/Slurp.pm lin
e 225.
sysread() is deprecated on :utf8 handles at C:/Perl64/site/lib/File/Slurp.pm lin
e 225.
syswrite() is deprecated on :utf8 handles at C:/Perl64/site/lib/File/Slurp.pm li
ne 506.
Removing existing compiled templates...
Precompiling templates...sysread() is deprecated on :utf8 handles at C:/Perl64/s
ite/lib/File/Slurp.pm line 225.
sysread() is deprecated on :utf8 handles at C:/Perl64/site/lib/File/Slurp.pm lin
e 225.
done.
END OF QUOTE

Could someone please tell me more about this? I don't want to go back to 5.22 as I'm trying to keep things fairly up to date on this server. But I don't know how to handle this error.

Thanks for any help.
e***@gmail.com
2018-08-21 18:36:54 UTC
Permalink
Omitted info:

I'm running an non-patched Bugzilla 5.0.3 from git.
e***@gmail.com
2018-08-21 18:38:43 UTC
Permalink
And I have the latest version of File-Slurp installed (9999.19). To wit:

Checking for File-Slurp (v9999.13) ok: found v9999.19
Thorsten Schöning
2018-08-21 19:04:38 UTC
Permalink
Post by e***@gmail.com
sysread() is deprecated on :utf8 handles at
C:/Perl64/site/lib/File/Slurp.pm lin
e 225, <DATA> chunk 755.
This is a warning, no error, no need to worry currently. What was
broken before is still broken, what wasn't, isn't. This warning is
only there to tell users that possibly broken usage will get removed
in future, so newer versions of Perl might break in future. You can't
do anything about that, File::Slurp needs to be fixed or Bugzilla
needs to not use it anymore, which it does already.

https://rt.perl.org/Public/Bug/Display.html?id=125760
https://bugzilla.mozilla.org/show_bug.cgi?id=1301887

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
e***@gmail.com
2018-08-21 20:18:33 UTC
Permalink
Thank you, Mr. Schöning. I'll stick with ActivePerl 5.24 then and just ignore this.
Loading...