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

[Git][lintian/lintian][warning-debian-compat-file] 4 commits: apply the Multi-Arch hint for lintian-doc



Title: GitLab

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:

Changes:

  • data/fields/obsolete-packages
    ... ... @@ -157,3 +157,7 @@ pkg-config => pkgconf
    157 157
     gnome-common => https://wiki.gnome.org/Projects/GnomeCommon/Migration
    
    158 158
     python3-pdm-pep517 => python3-pdm-backend
    
    159 159
     dh-buildinfo
    
    160
    +
    
    161
    +# Deprecated in forky
    
    162
    +# https://lists.debian.org/debian-devel/2025/08/msg00150.html
    
    163
    +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
    179 179
     
    
    180 180
     Package: lintian-doc
    
    181 181
     Architecture: all
    
    182
    +Multi-Arch: foreign
    
    182 183
     Section: doc
    
    183 184
     Depends: ${misc:Depends}
    
    184 185
     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
    2 2
     E: runtests-options: new-essential-package
    
    3 3
     W: runtests-options: empty-binary-package
    
    4 4
     W: runtests-options source: no-versioned-debhelper-prerequisite 13
    
    5
    -P: runtests-options source: uses-debhelper-compat-file [debian/compat]
    5
    +W: runtests-options source: uses-debhelper-compat-file [debian/compat]

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


  • Reply to: