Skip Menu |

This queue is for tickets about the Apache2-ASP CPAN distribution.

Report information
The Basics
Id: 117180
Status: open
Priority: 0/
Queue: Apache2-ASP

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.46
Fixed in: (no value)



Subject: The encoding pragma is no longer supported
Apache2::ASP::Server does not compiles anymore for perl 5.25.4: ... The encoding pragma is no longer supported at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Server.pm line 7. BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Server.pm line 7. Compilation failed in require at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/HTTPContext.pm line 9. BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/HTTPContext.pm line 9. Compilation failed in require at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/UserAgent.pm line 10. BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/UserAgent.pm line 10. Compilation failed in require at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/Base.pm line 7. BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/Base.pm line 7. Compilation failed in require at /home/sand/src/perl/repoperls/installed-perls/perl/v5.25.3-12-g0f83ede/79cc/lib/5.25.4/base.pm line 100. ...propagated at /home/sand/src/perl/repoperls/installed-perls/perl/v5.25.3-12-g0f83ede/79cc/lib/5.25.4/base.pm line 109. BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/API.pm line 6. Compilation failed in require at t/010-coverage/010-api.t line 7. ...
On Wed Aug 24 01:57:07 2016, SREZIC wrote: Show quoted text
> Apache2::ASP::Server does not compiles anymore for perl 5.25.4: > > ... > The encoding pragma is no longer supported at /tmp/loop_over_bdir- > 3875-94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Server.pm line 7. > BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Server.pm line 7. > Compilation failed in require at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/HTTPContext.pm line 9. > BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/HTTPContext.pm line 9. > Compilation failed in require at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/UserAgent.pm line > 10. > BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/UserAgent.pm line > 10. > Compilation failed in require at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/Base.pm line 7. > BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/Test/Base.pm line 7. > Compilation failed in require at > /home/sand/src/perl/repoperls/installed-perls/perl/v5.25.3-12- > g0f83ede/79cc/lib/5.25.4/base.pm line 100. > ...propagated at /home/sand/src/perl/repoperls/installed- > perls/perl/v5.25.3-12-g0f83ede/79cc/lib/5.25.4/base.pm line 109. > BEGIN failed--compilation aborted at /tmp/loop_over_bdir-3875- > 94pLXx/Apache2-ASP-2.46-0/blib/lib/Apache2/ASP/API.pm line 6. > Compilation failed in require at t/010-coverage/010-api.t line 7. > ...
I don’t really understand what the ‘use encoding 'utf8';’ is doing there. I just tried commenting it out and all tests passed. I think it can just be removed.