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

Bug#575940: warn if packages do not adhere to Debian's Perl naming policy



Package: lintian
Version: 2.3.4
Severity: wishlist

Jonas Smedegaard <dr@jones.dk> writes:

> On Sun, Feb 28, 2010 at 05:40:53PM +0900, Ansgar Burchardt wrote:
>>
>>Steve Langasek <steve.langasek@ubuntu.com> writes:
>>
>>>> Ubuntu includes several Perl module packages that do not adhere
>>>> Debian's naming policy[1].  Once Debian includes these modules in
>>>> a differently named package, there are problems if one tries to
>>>> install both packages at the same time.  See [2] or [3] for
>>>> examples.
>>>
>>> Do you have a proposal for how to identify these packages?  Ubuntu
>>> packages are also expected to comply with this part of Debian
>>> policy, so this doesn't change anything unless we can automatically
>>> identify the ones that don't.
>>
>> I did search for package containing files in
>> /usr/(lib|share)/perl5. Most problematic packages were already
>> renamed, I only filed a bug report for gtk2-ex-formfactory-perl [1]
>> (already fixed). I also identified a package that was renamed in
>> Debian, but where the old package has not been removed from Ubuntu
>> yet [2].
>
> Perhaps file a bug against lintian to watch this kind of pattern?

That is a good idea.

Could lintian warn if packages include files in /usr/(lib|share)/perl5
and the package name does not adhere to the Debian Perl Policy [1]?
To further avoid false positives it should be enough to warn only for
packages named "*-perl" (but not "lib*-perl") or "perl-*".

See the initial mail [2] on debian-perl@l.d.o and the discussion for a
suggested mass-bug filing [3] on debian-devel@l.d.o for details why this
might be a problem.

Regards,
Ansgar

[1] <http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-package_names>
[2] <http://lists.debian.org/debian-perl/2010/02/msg00055.html>
[3] <http://lists.debian.org/debian-devel/2010/03/msg00701.html>



Reply to: