Package: libtime-stopwatch-perl
Version: 1.00-3
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.10-ftbfs-rmdir
This package fails to build with Perl 5.10.0 (currently in
experimental) because of a bug in debian/rules that has been
uncovered by a change in ExtUtils::Install.
Until Perl 5.10.0, ExtUtils::Install had a bug that created an empty
/usr/lib/perl5 or /usr/share/perl5 directory when 'make install' was
run. This package fails to build because it relies on the presence of
this empty directory, usually by trying to remove it without checking
if it exists first.
The suggested fix for the usual 'unconditional rmdir' case is to use
a conditional like
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty
--parents --verbose $(TMP)/usr/lib/perl5
See the current dh-make-perl templates.
Please treat this bug as 'serious' already: Perl 5.10.0 is scheduled
for unstable in a week or so.
Details about the ExtUtils::Install change can be found in #465783.
--
Niko Tyni ntyni at debian.org