Bug#613199: FTBFS with perl 5.12.3: test failures

Niko Tyni ntyni at debian.org
Fri May 6 15:06:38 UTC 2011


tag 613199 patch
thanks

On Sun, Feb 13, 2011 at 01:42:24PM +0000, Dominic Hargreaves wrote:
> Package: libsgml-parser-opensp-perl
> Version: 0.994-1
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.12-transition
> 
> This package fails to build with Perl 5.12.3:
> 
> #   Failed test 'allow to read sample dir in restricted mode'
> #   at t/13restricted.t line 63.
> #          got: '0'
> #     expected: anything else
> 
> #   Failed test 'allow to read sample dir in restricted mode'
> #   at t/13restricted.t line 64.
> #          got: '1'
> #     expected: '0'
> # Looks like you failed 2 tests of 12.
> t/13restricted.t .... 
> Dubious, test returned 2 (wstat 512, 0x200)

This happens when there are "unsafe" characters like '+' in the
build directory name. BinNMU rebuilds cause such a situtation.

The safety check is in the opensp library. Workaround patch
attached.
-- 
Niko Tyni   ntyni at debian.org


More information about the pkg-perl-maintainers mailing list