Louis-Philippe Véronneau pushed to branch warning-debian-compat-file at lintian 
/ lintian


Commits:
9e82b44a by Alexandre Detiste at 2025-09-03T03:31:51+00:00
apply the Multi-Arch hint for lintian-doc

- - - - -
5f06a678 by Simon McVittie at 2025-09-04T08:29:51+00:00
obsolete-packages: Deprecate libgirepository1.0-dev

Reference: https://lists.debian.org/debian-devel/2025/08/msg00150.html

- - - - -
a88b2fea by Louis-Philippe Véronneau at 2025-09-08T13:16:25+00:00
Bump the uses-debhelper-compat-file tag from pedantic to warning

The debhelper-compat virtual package has been available for a long time
now and is the recommended way to set the debhelper compat level.

Having multiple concurrent ways to set this value is confusing and makes
it way harder to do QA consistently.

- - - - -
74c4efd5 by Louis-Philippe Véronneau at 2025-09-08T13:16:25+00:00
rework the uses-debhelper-compat-file tag message and add mention of breakage 
in dh14

- - - - -


4 changed files:

- data/fields/obsolete-packages
- debian/control
- t/recipes/runner-features/runtests-options/eval/literal
- tags/u/uses-debhelper-compat-file.tag


Changes:

=====================================
data/fields/obsolete-packages
=====================================
@@ -157,3 +157,7 @@ pkg-config => pkgconf
 gnome-common => https://wiki.gnome.org/Projects/GnomeCommon/Migration
 python3-pdm-pep517 => python3-pdm-backend
 dh-buildinfo
+
+# Deprecated in forky
+# https://lists.debian.org/debian-devel/2025/08/msg00150.html
+libgirepository1.0-dev => gobject-introspection (>= 1.80), gir1.2-*-dev, 
rarely libgirepository-1.0-dev


=====================================
debian/control
=====================================
@@ -179,6 +179,7 @@ Description: Debian package checker
 
 Package: lintian-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Depends: ${misc:Depends}
 Description: Debian package checker -- HTML documentation


=====================================
t/recipes/runner-features/runtests-options/eval/literal
=====================================
@@ -2,4 +2,4 @@ E: runtests-options source: invalid-standards-version 1.2.3
 E: runtests-options: new-essential-package
 W: runtests-options: empty-binary-package
 W: runtests-options source: no-versioned-debhelper-prerequisite 13
-P: runtests-options source: uses-debhelper-compat-file [debian/compat]
+W: runtests-options source: uses-debhelper-compat-file [debian/compat]


=====================================
tags/u/uses-debhelper-compat-file.tag
=====================================
@@ -1,14 +1,18 @@
 Tag: uses-debhelper-compat-file
-Severity: pedantic
+Severity: warning
 Check: debhelper
-Explanation: This package uses a <code>debian/compat</code> file to denote the
- required debhelper compatibility number.
+Explanation: This package declares its debhelper compatibility level with the
+ <code>debian/compat</code> file.
  .
- However, debhelper has replaced <code>debian/compat</code> with the
- <code>debhelper-compat</code> virtual package for most circumstances.
+ The recommended way to do so is to use the virtual package
+ <code>debhelper-compat</code> instead.
  .
- Packages not using an experimental or beta compatibility level should
- Build-Depend on the <code>debhelper-compat</code> virtual package, for
+ From debhelper 14 onward, using <code>debian/compat</code> will not work
+ anymore.
+ .
+ As such, unless you need an experimental or beta compatibility level, please
+ remove the <code>debian/compat</code> file and add the
+ <code>debhelper-compat</code> virtual package to your Build-Depends, for
  example:
  .
   Build-Depends: debhelper-compat (= 13)



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/d977053f0fefda52cc1197208134eb2ac743be88...74c4efd502afd8b258811cab649f410e19a681c1

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/d977053f0fefda52cc1197208134eb2ac743be88...74c4efd502afd8b258811cab649f410e19a681c1
You're receiving this email because of your account on salsa.debian.org.


Reply via email to