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

Re: Bug#499269: dictionaries-common-dev: produces non Policy compliant maintainer scripts



On Wed, Sep 17, 2008 at 06:44:59PM +0300, Martin-Éric Racine wrote:
> On Wed, Sep 17, 2008 at 6:39 PM, Agustin Martin <agmartin@debian.org> wrote:
> >> Package: dictionaries-common-dev
> >> Severity: important
> >>
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> As found while looking at the Lintian report for my dictionary packages:
> >>
> >> iestonian
> >>
> >>     * W command-with-path-in-maintainer-script
> >>           o postrm:5 /usr/sbin/remove-default-ispell
...

> >> All those Lintian warnings are the result of dictionaries-common-dev
> >> generating maintainer scripts that are not Policy-compliant.
> >>
> >> As per Debian Policy:
> >>
> >> Commands that reside in standard system paths should not have
> >> the full path prepended to them.
> >
> > Yes, I am aware of this, but this lintian check is recent (Early August),
> > so I noticed its effects once lenny was frozen. dictionaries-common
> > maintainer scripts suffer from the same problem, so I am reassigning this
> > bug report to the basic package.
> >
> > Will be fixed once lenny is released.
> 
> I think that RM would have no problem allowing a freeze exception to
> make dictionaries-common Policy-compliant, followed by a bin-NMU
> trigger to rebuild all dictionaries.
> 
> Would the RM team please comment on this issue?

The reason why I did not fix this before, once noticed lintian warnings, is
that policy uses a 'should' and, as a matter of fact what lintian issues is a
warning, not an error.

However, if RM team thinks this is convenient for lenny I will happily prepare
a fixed dictionaries-common package.

But keep in mind that this will also require rebuilding all ispell and aspell
dicts, as well as wordlists if in separate packages, preferably with a
versioned build-dependency on new dictionaries-common-dev, so the old behavior
does not get accidentally restored.

I think that is too much effort for the real benefit.

By the way, 

http://lintian.debian.org/tags/command-with-path-in-maintainer-script.html

shows tons of packages with that warning, included the dictionaries-common
related ones.

-- 
Agustin


Reply to: