Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Unicode-Tussle CPAN distribution.

Report information
The Basics
Id: 95053
Status: patched
Priority: 0/
Queue: Unicode-Tussle

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

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



Subject: Tests fail below perl 5.13.2, 5.12
Some of the scripts, called by the tests, use the s///r syntax that was added in perl 5.13.2: # Failed test 'blib/script/byte2uni compiles' # at t/compile.t line 22. # 'Bareword found where operator expected at blib/script/byte2uni line 238, near "s/ /_/rg" # Unknown charname 'ALERT' at blib/script/byte2uni line 306. # Can't modify non-lvalue subroutine call in substitution (s///) at blib/script/byte2uni line 238, near "s/ /_/rg" # syntax error at blib/script/byte2uni line 238, near "s/ /_/rg" # blib/script/byte2uni had compilation errors. # ' # doesn't match '(?i-xsm:syntax OK)' And some other scripts explicitly require 5.12: # Failed test 'blib/script/FixString.pm compiles' # at t/compile.t line 22. # 'Perl v5.12.0 required--this is only v5.10.1, stopped at blib/script/FixString.pm line 9. # BEGIN failed--compilation aborted at blib/script/FixString.pm line 9. # ' # doesn't match '(?i-xsm:syntax OK)' t/compile.t is the only test that fails, so it should be sufficient to have a list of scripts to skip depending on the version of perl being tested against. (A cpantesters report should be flying your way through the usual means shortly.)

Message body is not shown because it is too large.

The last reply may have been too large; here is the bit that isn't hte build log: This is still a problem in the latest release -- full build.log follows. Makefile.PL only declares the minimum perl as 5.10.1, but some scripts require 5.12 or 5.14 (either via explicit declaration or through the use of s///r). META.{yml,json} don't declare any minimum perl version at all.
Show quoted text
> Makefile.PL only declares the minimum perl as 5.10.1, but some scripts > require 5.12 or 5.14 (either via explicit declaration or through the > use of s///r). META.{yml,json} don't declare any minimum perl version > at all.
This is still an issue in the new 1.09 release.