#970006 iio-sensor-proxy: Please move Lintian overrides to correct location

#970006#5
Date:
2020-09-10 01:30:25 UTC
From:
To:
lintian reports unused overrides lines with the new tag name, but checks against the old tag
name (which is unused for obvious reasons).

For example, see iio-sensor-proxy. Its debian/source/lintian-overrides has:

# no documentation man pages available
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

However, lintian reports:

I unused-override no-manual-page usr/bin/monitor-sensor
I unused-override no-manual-page usr/sbin/iio-sensor-proxy
I unused-override systemd-service-file-missing-documentation-key lib/systemd/system/iio-sensor-proxy.service
P renamed-tag binary-without-manpage => no-manual-page at line 2
P renamed-tag binary-without-manpage => no-manual-page at line 3
W no-manual-page usr/bin/monitor-sensor
W no-manual-page usr/sbin/iio-sensor-proxy

note that the unused-override line says "no-manual-page" rather than "binary-without-manpage".

https://lintian.debian.org/sources/iio-sensor-proxy/3.0-1.html

#970006#10
Date:
2020-09-11 12:59:17 UTC
From:
To:
Hi Jelmer,
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/

#970006#25
Date:
2021-01-26 08:47:58 UTC
From:
To:
Device tree based proximity sensors need a patch to read the near-level
information from DT that landed post 3.0. I'll post an MR the salsa
repo.
Cheers,
 -- Guido

#970006#30
Date:
2021-01-26 09:02:24 UTC
From:
To:
Hi,

No idea how this ended up as a follow-up to 970006. Since reportbug
tricked me. Will open a new one.
 -- Guido