Bug#467718: libclass-prototyped-perl: FTBFS with Perl 5.10: the empty /usr/lib/perl5 is gone
ntyni at debian.org
Tue Feb 26 19:10:12 UTC 2008
User: debian-perl at lists.debian.org
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
More information about the pkg-perl-maintainers