Debian Bug report logs - #575940
lintian: Warn about perl packages which do not follow the Perl naming policy

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: [email protected]

Date: Tue, 30 Mar 2010 16:33:01 UTC

Severity: wishlist

Found in version lintian/2.3.4

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#575940; Package lintian. (Tue, 30 Mar 2010 16:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ansgar Burchardt <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Debian Lintian Maintainers <[email protected]>. (Tue, 30 Mar 2010 16:33:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ansgar Burchardt <[email protected]>
To: [email protected]
Subject: warn if packages do not adhere to Debian's Perl naming policy
Date: Wed, 31 Mar 2010 01:21:11 +0900
Package: lintian
Version: 2.3.4
Severity: wishlist

Jonas Smedegaard <[email protected]> writes:

> On Sun, Feb 28, 2010 at 05:40:53PM +0900, Ansgar Burchardt wrote:
>>
>>Steve Langasek <[email protected]> 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 [email protected] and the discussion for a
suggested mass-bug filing [3] on [email protected] 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>




Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#575940; Package lintian. (Tue, 30 Mar 2010 18:15:17 GMT) (full text, mbox, link).


Message #8 received at [email protected] (full text, mbox, reply):

From: Don Armstrong <[email protected]>
To: [email protected], [email protected]
Subject: Re: Bug#575940: warn if packages do not adhere to Debian's Perl naming policy
Date: Tue, 30 Mar 2010 10:51:54 -0700
On Wed, 31 Mar 2010, Ansgar Burchardt wrote:
> Jonas Smedegaard <[email protected]> writes:
> > Perhaps file a bug against lintian to watch this kind of pattern?
> 
> 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-*".

This isn't exactly right; a package which has perl language bindings
will ship things in /usr/*/perl5 but it doesn't need to conform to the
perl naming policy.

In general, if something is distributed in /usr/bin (certainly if it's
not actually written in perl), it doesn't need to conform to the perl
naming policy. There are probably other exceptions as well, and it
would probably be ok to ignore packages which (while named
differently) Provides: the appropriate lib*-perl name.
 

Don Armstrong

-- 
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot

http://www.donarmstrong.com              http://rzlab.ucr.edu




Changed Bug title to '[new check] Warn about perl packages which do not follow the Perl naming policy' from 'warn if packages do not adhere to Debian's Perl naming policy' Request was from Adam D. Barratt <[email protected]> to [email protected]. (Sat, 03 Apr 2010 16:21:11 GMT) (full text, mbox, link).


Changed Bug submitter to '[email protected]' from 'Ansgar Burchardt <[email protected]>' Request was from Ansgar Burchardt <[email protected]> to [email protected]. (Sun, 11 Dec 2011 12:08:10 GMT) (full text, mbox, link).


Changed Bug title to 'lintian: Warn about perl packages which do not follow the Perl naming policy' from '[new check] Warn about perl packages which do not follow the Perl naming policy'. Request was from Chris Lamb <[email protected]> to [email protected]. (Mon, 29 Jan 2018 13:48:30 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:17:40 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.