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

Bug#982834: lintian: dh_dkms can also be satisfied by dh-sequence-dkms



On 2/15/21 3:36 AM, Felix Lechner wrote:
> Hi Andreas,
> 
> On Sun, Feb 14, 2021 at 5:27 PM Andreas Beckmann <anbe@debian.org> wrote:>
> 
>> I just tried to use a 'B-D: dh-sequence-dkms' instead of 'B-D: dkms'
> 
> The dkms package in stable does not provide the virtual relation
> dh-sequence-dpkg, but I develop on stable. Therefore, I cannot add a
> test for this scenario. Please provide a link to the artifact that
> triggered the error.

I've just uploaded r8168 8.048.03-3 (non-free) to sid that has been 
switched to dh-sequence-dkms and that triggers

E: r8168 source: missing-build-dependency-for-dh_-command dh_dkms => dkms


The following change fixed this for me:

--- a/data/debhelper/dh_commands
+++ b/data/debhelper/dh_commands
@@ -49,7 +49,7 @@ dh_di_kernel_gencontrol=dh-di
 dh_di_kernel_install=dh-di
 dh_di_numbers=dh-di
 dh_dist_zilla_origtar=dh-dist-zilla
-dh_dkms=dkms
+dh_dkms=dkms | dh-sequence-dkms
 dh_doxygen=doxygen
 dh_dpatch_patch=dpatch
 dh_dpatch_unpatch=dpatch

I first tried to regenerate the data files:
    private/refresh-debhelper-data data
but that only resulted in lots of deletions.

Andreas


Reply to: