Bug#577121: libpar-packer-perl: FTBFS when the build dir contains regexp metacharacters (breaks binNMUs?)

Niko Tyni ntyni at debian.org
Fri Apr 9 19:47:15 UTC 2010


Package: libpar-packer-perl
Version: 1.002-1
Severity: important
Tags: patch
User: debian-perl at lists.debian.org
Usertags: perl-5.12-transition

t/30-current_exec.t fails when the build directory path contains regexp
metacharacters. This breaks binNMUing the package at least in my (more
or less default) sbuild setup because the '+b1' version suffix ends up
in the build directory name.

% pwd
/home/niko/tmp/test+dir/libpar-packer-perl-1.002
% perl -Iblib/lib -Iblib/arch t/30-current_exec.t 
1..4
# Please wait
ok 1 - Created "/home/niko/tmp/test+dir/libpar-packer-perl-1.002/t/test-10.exec"
not ok 2 - Respected PAR_GLOBAL_TMPDIR
#   Failed test 'Respected PAR_GLOBAL_TMPDIR'
#   at t/30-current_exec.t line 46.
ok 3 - Found the same file via PATH and full path
# Please wait
ok 4 - Found the same file via execvp and PATH
# Looks like you failed 1 test of 4.

Proposed patch attached.
-- 
Niko Tyni   ntyni at debian.org


More information about the pkg-perl-maintainers mailing list