Bug#463138: lintian: package-contains-empty-perl-directory and Perl 5.10
Package: lintian
Version: 1.23.43
Severity: wishlist
Please consider a note about the "unconditional rmdir issue" in the
package-contains-empty-perl-directory description. Something like
this:
This package installs an empty /usr/lib/perl5 or /usr/share/perl5
directory. This is an artifact of ExtUtils::MakeMaker and isn't
harmful, but it's messy. It's preferrable to remove the directory the
package doesn't use (/usr/share/perl5 for binary Perl modules and
/usr/lib/perl5 for pure Perl modules) in debian/rules after running
make install.
+
+ Note that ExtUtils::MakeMaker has been fixed in Perl 5.10, so make
+ sure not to fail if the directory does not exist in the first place.
+ One implementation can be found in the dh-make-perl debian/rules templates.
See #458143 for some background to this.
Cheers,
--
Niko Tyni ntyni@debian.org
Reply to: