Public bug reported:

Packages using "Testsuite: autopkgtest-pkg-dkms" fail autopkgtest with an
unrelated dependency error, even though the package itself does not depend
on linux-doc (e.g. xrt: 
https://autopkgtest.ubuntu.com/results/autopkgtest-stonking-b0b0a-xrt-rocm-10.0/stonking/arm64/x/xrt/20260917_102503_5dead@/log.gz):

  E: Unable to satisfy dependencies. Reached two conflicting assignments:
     1. satisfy:command-line:arm64=1 is selected for install
     2. satisfy:command-line:arm64 Depends linux-doc
        but none of the choices are installable: .

Root cause:
support/dkms/generate hardcodes linux-doc as a test dependency:

  Depends: dkms, openssl, linux-doc, dctrl-tools,
${pkg_dkms_extra_depends:-}

It was added as a "triggering" dependency (0.26, Andreas Beckmann). linux-doc is
no longer generated by src: linux: 
https://launchpad.net/ubuntu/+source/linux/7.3.0-5.5
in stonking, so autogenerated dkms test now fails.

Proposed fix: drop linux-doc from support/dkms/generate.

  -Depends: dkms, openssl, linux-doc, dctrl-tools, ${pkg_dkms_extra_depends:-}
  +Depends: dkms, openssl, dctrl-tools, ${pkg_dkms_extra_depends:-}

Trying it in PPA: https://launchpad.net/~b0b0a/+archive/ubuntu/xrt-rocm-10.0 
and if OK,
will open MR

To reproduce: run autopkgtest on any source package with
"Testsuite: autopkgtest-pkg-dkms"

** Affects: autodep8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167598

Title:
  dkms tests depend on unavailable linux-doc, breaking autopkgtest-pkg-
  dkms

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autodep8/+bug/2167598/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to