Hi Jelmer,

On Fri, Sep 11, 2020 at 5:08 AM Jelmer Vernooij <jel...@debian.org> wrote:
>
> For example, see iio-sensor-proxy. Its debian/source/lintian-overrides has:
>
> iio-sensor-proxy: binary-without-manpage usr/bin/monitor-sensor
> iio-sensor-proxy: binary-without-manpage usr/sbin/iio-sensor-proxy
> iio-sensor-proxy: systemd-service-file-missing-documentation-key 
> lib/systemd/system/iio-sensor-proxy.service

That is not quite what I am seeing. I believe these overrides are
incorrectly listed as source overrides in d/source/lintian-overrides.
[1] The tags are for installation packages, so their overrides in the
source package remain unused (one unrelated tag was removed):

% bin/lintian 
/mirror/debian/pool/main/i/iio-sensor-proxy/iio-sensor-proxy_3.0-1.dsc
I: iio-sensor-proxy source: unused-override no-manual-page
usr/bin/monitor-sensor
I: iio-sensor-proxy source: unused-override no-manual-page
usr/sbin/iio-sensor-proxy
I: iio-sensor-proxy source: unused-override
systemd-service-file-missing-documentation-key
lib/systemd/system/iio-sensor-proxy.service
P: iio-sensor-proxy source: renamed-tag binary-without-manpage =>
no-manual-page in line 2
P: iio-sensor-proxy source: renamed-tag binary-without-manpage =>
no-manual-page in line 3

As a courtesy, Lintian also reminds the user that the tag was renamed.

For the installation package, on the other hand, Lintian reports (some
unrelated tags were removed):

% bin/lintian 
/mirror/debian/pool/main/i/iio-sensor-proxy/iio-sensor-proxy_3.0-1_amd64.deb
W: iio-sensor-proxy: no-manual-page usr/bin/monitor-sensor
W: iio-sensor-proxy: no-manual-page usr/sbin/iio-sensor-proxy
I: iio-sensor-proxy:
package-supports-alternative-init-but-no-init.d-script
lib/systemd/system/iio-sensor-proxy.service
I: iio-sensor-proxy: systemd-service-file-missing-documentation-key
lib/systemd/system/iio-sensor-proxy.service
I: iio-sensor-proxy: systemd-service-file-missing-install-key
lib/systemd/system/iio-sensor-proxy.service

As far as I can tell, Lintian reports what was intended. Can you
please try moving the file in [1] to
debian/iio-sensor-proxy.lintian-overrides?

Kind regards
Felix Lechner

[1] 
https://sources.debian.org/src/iio-sensor-proxy/3.0-1/debian/source/lintian-overrides/

Reply via email to