Debian Bug report logs - #1013417
lintian: dkms updates

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Andreas Beckmann <[email protected]>

Date: Thu, 23 Jun 2022 09:00:01 UTC

Severity: normal

Tags: confirmed, patch

Found in version lintian/2.115.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1013417; Package lintian. (Thu, 23 Jun 2022 09:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (Thu, 23 Jun 2022 09:00:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Andreas Beckmann <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: lintian: dkms updates
Date: Thu, 23 Jun 2022 10:58:13 +0200
Package: lintian
Version: 2.115.1
Severity: normal

Hi,

I recently split a dh-dkms package from the dkms binary package.
Please update lintian's suggestions for the respective B-D:

for 'dh --with dkms', there should be a B-D: dh-dkms (instead of
B-D: dkms)

for 'dh_dkms', there should be a B-D: dh-dkms (instead of B-D: dkms)
or (preferably) B-D: dh-sequence-dkms (lintian already knows about that).

And the I'd like to have all *-dkms binary packages to have
  Testsuite: autopkgtest-pkg-dkms
on their source package. Not sure how to model that in lintian.
Either on the source package: B-D: dh-dkms | B-D: dh-sequence-dkms
or on the binary package relationships: Depends: dkms
or on the binary package content: /usr/src/*/dkms.conf

Andreas



Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1013417; Package lintian. (Thu, 23 Jun 2022 10:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Thu, 23 Jun 2022 10:15:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Andreas Beckmann <[email protected]>, [email protected]
Subject: Re: Bug#1013417: lintian: dkms updates
Date: Thu, 23 Jun 2022 12:12:04 +0200
Control: tag -1 + confirmed

Hi Andreas,

Andreas Beckmann wrote:
> Package: lintian
> Version: 2.115.1
[…]
> I recently split a dh-dkms package from the dkms binary package.

I'm aware of that. It is partially already supprted in Lintian since
commit cfafa44256133c458011e3f13440de6538dd6045 which is part of the
2.115.0 release already:

https://salsa.debian.org/lintian/lintian/-/commit/cfafa44256133c458011e3f13440de6538dd6045#78b2b372e63b40b17bfc9c37d820cbf5b2ebb24c_103_108

I'm just not sure if such a hard cut is a good way to actually handle
the old and new variant for a transition period. Then again, lintian
is probably the last place which should care about old packages. :-)

> Please update lintian's suggestions for the respective B-D:
> 
> for 'dh --with dkms', there should be a B-D: dh-dkms (instead of
> B-D: dkms) for 'dh_dkms', there should be a B-D: dh-dkms (instead of
> B-D: dkms)

I thought that's already done by the change mentioned above, but then
again a quick git grep also found this as of the current git HEAD:

lib/Lintian/Check/Debhelper.pm:    dh_dkms => 'dkms:any | dh-sequence-dkms:any',

> or (preferably) B-D: dh-sequence-dkms (lintian already knows about that).

Looking for that is how I found the line above. :-)

> And the I'd like to have all *-dkms binary packages to have
>   Testsuite: autopkgtest-pkg-dkms
> on their source package.

That's on my TODO list to figure out how it actually works for my own
dkms-based package. :-)

> Not sure how to model that in lintian.

I think I can figure out. :-)

> Either on the source package: B-D: dh-dkms | B-D: dh-sequence-dkms
> or on the binary package relationships: Depends: dkms
> or on the binary package content: /usr/src/*/dkms.conf

Indeed, package name matches /-dkms$/ is probably not enough.

Will think about it.

Thanks!

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Added tag(s) confirmed. Request was from Axel Beckert <[email protected]> to [email protected]. (Thu, 23 Jun 2022 10:15:03 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1013417; Package lintian. (Wed, 04 Jan 2023 10:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Wed, 04 Jan 2023 10:06:04 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Andreas Beckmann <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: lintian: dkms updates
Date: Wed, 04 Jan 2023 11:02:51 +0100
[Message part 1 (text/plain, inline)]
Followup-For: Bug #1013417

Hi,

attached is a patch that fixes the lintian warning about a missing
dh-dkms dependency for using dh_dkms.

I'm not closing this bug since it does not address the
autopkgtest-pkg-dkms recommendation.


Andreas
[0001-dh_dkms-is-now-provided-by-dh-dkms-instead-of-dkms.patch (text/plain, attachment)]

Added tag(s) patch. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Thu, 02 Feb 2023 22:21:02 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1013417; Package lintian. (Sun, 05 Feb 2023 11:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Sun, 05 Feb 2023 11:03:03 GMT) (full text, mbox, link).


Message #24 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Andreas Beckmann <[email protected]>, [email protected]
Subject: Re: Bug#1013417: lintian: dkms updates
Date: Sun, 5 Feb 2023 12:00:26 +0100
Hi Andreas,

Andreas Beckmann wrote:
> attached is a patch that fixes the lintian warning about a missing
> dh-dkms dependency for using dh_dkms.

Applied without the (IMHO bogus) debian/changelog changes as
https://salsa.debian.org/lintian/lintian/-/commit/d50a732a00a7596d078a9e8f6919cb6362ca0067

> I'm not closing this bug since it does not address the
> autopkgtest-pkg-dkms recommendation.

Ok. I've allowed myself to nevertheless add a reference to this bug
report as "(See #1013417)" in a way that it will also show up in the
later generated debian/changelog entry.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:41:31 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.