Skip Menu |

This queue is for tickets about the Acme-Pano-Util CPAN distribution.

Report information
The Basics
Id: 117280
Status: open
Priority: 0/
Queue: Acme-Pano-Util

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

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



Subject: The encoding pragma is no longer supported
Compilation fails with bleadperl (e.g. perl 5.25.4): Output from './Build test': Bailout called. Further testing stopped: # Failed test 'use Acme::Pano::Util;' # at t/00-load.t line 10. # Tried to use 'Acme::Pano::Util'. # Error: The encoding pragma is no longer supported at /tmpfs/.cpan-build-cpansand/2016082821/Acme-Pano-Util-0.011-0/blib/lib/Acme/Pano/Util.pm line 5. # BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016082821/Acme-Pano-Util-0.011-0/blib/lib/Acme/Pano/Util.pm line 5. # Compilation failed in require at t/00-load.t line 10. # BEGIN failed--compilation aborted at t/00-load.t line 10. Use of uninitialized value $Acme::Pano::Util::VERSION in concatenation (.) or string at t/00-load.t line 13. # Looks like your test exited with 255 just after 1. FAILED--Further testing stopped.
On Mon Aug 29 01:12:28 2016, SREZIC wrote: Show quoted text
> Compilation fails with bleadperl (e.g. perl 5.25.4): > > Output from './Build test': > > Bailout called. Further testing stopped: > > # Failed test 'use Acme::Pano::Util;' > # at t/00-load.t line 10. > # Tried to use 'Acme::Pano::Util'. > # Error: The encoding pragma is no longer supported at > /tmpfs/.cpan-build-cpansand/2016082821/Acme-Pano-Util-0.011- > 0/blib/lib/Acme/Pano/Util.pm line 5. > # BEGIN failed--compilation aborted at /tmpfs/.cpan-build- > cpansand/2016082821/Acme-Pano-Util-0.011-0/blib/lib/Acme/Pano/Util.pm > line 5. > # Compilation failed in require at t/00-load.t line 10. > # BEGIN failed--compilation aborted at t/00-load.t line 10. > Use of uninitialized value $Acme::Pano::Util::VERSION in concatenation > (.) or string at t/00-load.t line 13. > # Looks like your test exited with 255 just after 1. > FAILED--Further testing stopped.
The ‘use encoding’ line does not appear to be doing anything useful. (To the contrary, it would have had the effect of changing the encoding of the calling script’s standard handles, which is *not* useful.) Removing it, which the attached patch does, still allows all tests to pass.
Subject: open_hhmLd7sr.txt
diff -rup Acme-Pano-Util-0.011-0-orig/lib/Acme/Pano/Util.pm Acme-Pano-Util-0.011-0/lib/Acme/Pano/Util.pm --- Acme-Pano-Util-0.011-0-orig/lib/Acme/Pano/Util.pm 2013-10-28 12:56:09.000000000 -0700 +++ Acme-Pano-Util-0.011-0/lib/Acme/Pano/Util.pm 2016-08-29 19:49:52.000000000 -0700 @@ -2,7 +2,6 @@ package Acme::Pano::Util; use 5.006; use strict; -use encoding 'utf8'; use utf8; use warnings FATAL => 'all'; use Exporter qw/import/;