After upgrading to perl 5.20.1, running some existing code & modules that 'use CGI' get "CGI will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at... [my module path]". There is a similar complaint about CGI::Util, emitted by /usr/lib64/perl5/5.20.1/CGI.pm I haven't actually tried running these CGIs through a webserver; it could be that those warnings will go to STDERR at runtime, and if that happens before the Content-Type: header is printed, httpd might regard that as a failure and return a 500 error code. I guess we need separate dev-perl/CGI ebuild(s) that install CPAN versions. The list of recently deprecated modules seems to be: foo /usr/lib/perl5 # find . -type f -print0 | xargs -0 egrep "if \\$] >= 5.019, 'deprecate'" ./5.20.1/Module/Build.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Push.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Switch.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Fast.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Cookie.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Util.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Apache.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Carp.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI/Pretty.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/inc/latest/private.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/inc/latest.pm:use if $] >= 5.019, 'deprecate'; ./5.20.1/CGI.pm:use if $] >= 5.019, 'deprecate'; Of those CGI/ ones, I see most are contained in the main CGI module except for: CGI::Apache CGI::Fast CGI::Switch Reproducible: Always Steps to Reproduce: 1. emerge perl-5.20 2. Run some code that uses CGI or one of the mentioned CGI::Foo modules 3. Get the errors
Ack. We know. Will be done soon.
+*perl-CGI-3.650.0-r1 (08 Oct 2014) + + 08 Oct 2014; Andreas K. Huettel <dilfridge@gentoo.org> + -perl-CGI-3.650.0.ebuild, +perl-CGI-3.650.0-r1.ebuild: + Bump virtual to enforce perl-core package in 5.20 (otherwise we get + deprecation warnings), bug 524218 +