From: | gregoa [...] cpan.org |
Subject: | libcatalyst-perl: sysread() is deprecated on :utf8 handles |
We have the following bug reported to the Debian package of
Catalyst-Runtime (https://bugs.debian.org/903742):
It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!
------8<-----------8<-----------8<-----------8<-----------8<-----
Package: libcatalyst-perl
Version: 5.90118-1
User: debian-perl@lists.debian.org
Usertags: perl-5.28-transition
While test rebuilding the archive against Perl 5.28 (currently in
experimental), we noticed this warning in the build log of this package:
sysread() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /usr/lib/x86_64-linux-gnu/perl/5.28/IO/Handle.pm line 205.
A full build log can be found at
http://perl.debian.net/rebuild-logs/perl-5.28-throwaway/libcatalyst-perl_5.90118-1/libcatalyst-perl_5.90118-1_amd64-2018-06-05T11%3A36%3A32Z.build
--
Niko Tyni ntyni@debian.org
------8<-----------8<-----------8<-----------8<-----------8<-----
The next lines after this warning also don't look good:
sysread() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /usr/lib/x86_64-linux-gnu/perl/5.28/IO/Handle.pm line 205.
sysread() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /usr/lib/x86_64-linux-gnu/perl/5.28/IO/Handle.pm line 205.
sysread() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /usr/lib/x86_64-linux-gnu/perl/5.28/IO/Handle.pm line 205.
sysread() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /usr/lib/x86_64-linux-gnu/perl/5.28/IO/Handle.pm line 205.
[error] Caught exception in MyApp::Controller::Root->stream_write_error "You may not change the encoding once the headers are finalized at t/utf_incoming.t line 211."
[warn] Useless setting a header value after finalize_headers and the response callback has been called. Since we don't support tail headers this will not work as you might expect.
[warn] Useless setting a header value after finalize_headers and the response callback has been called. Since we don't support tail headers this will not work as you might expect.
[error] Caught exception in engine "UTF-8 "\xE2" does not map to Unicode at /build/libcatalyst-perl-5.90118/blib/lib/Catalyst.pm line 3668."
[error] Caught exception in engine "UTF-8 "\xE2" does not map to Unicode at /build/libcatalyst-perl-5.90118/blib/lib/Catalyst.pm line 3668."
[error] Caught exception in engine "UTF-8 "\xE2" does not map to Unicode at /build/libcatalyst-perl-5.90118/blib/lib/Catalyst.pm line 3668."
t/utf_incoming.t ......................................................
Thanks for considering,
gregor herrmann,
Debian Perl Group