FS#74634 - [v4l2loopback-dkms] Missing dependency

Attached to Project: Community Packages
Opened by Florian (flow-c) - Tuesday, 03 May 2022, 20:39 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 04 May 2022, 08:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The "v4l2loopback-dkms" package depends on "linux-headers" but does not list it as dependency.

Installation fails with the following error messages:
"""
[…]
(2/3) Install DKMS modules
==> ERROR: Missing home kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing proc kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing lost+found kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing lib kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing mnt kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing bin kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing tmp kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing etc kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing swapfile kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing sys kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing dev kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing usr kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing sbin kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing lib64 kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing opt kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing var kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing srv kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing root kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing run kernel headers for module v4l2loopback/0.12.5.
==> ERROR: Missing boot kernel headers for module v4l2loopback/0.12.5.
[…]
"""

Additional info:
* Observed in version 0.12.5-2
* See also: https://bbs.archlinux.org/viewtopic.php?id=257589

Steps to reproduce:
1) Make sure the "linux-headers" package is *not* installed.
2) Try installing the package with `sudo pacman -S v4l2loopback-dkms`
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 04 May 2022, 08:01 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Tuesday, 03 May 2022, 20:50 GMT
Read the optional deps for dkms, which pacman told you about when you installed it. It doesn't depend on linux-headers, it needs the headers for whatever kernel you are using

Loading...