[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#463138: lintian: package-contains-empty-perl-directory and Perl 5.10



Niko Tyni <ntyni@debian.org> writes:

> 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.

I'm going to just remove this tag from lintian entirely.  Given that Perl
5.10 is coming soon and the empty directories don't cause problems, just
untidiness, I think it's better to have maintainers just leave the
directories for right now rather than possibly introducing FTBFS problems
by trying to fix it.  The Debian Perl Group has good internal procedures
for testing things and can fix this for our packages, but since the real
bug is in Perl, I think the average maintainer is best off just ignoring
it until the bug is fixed there.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: