FS#76262 - [v4l2loopback-dkms] 0.12.7-1: Build fails on kernel >= 5.18

Attached to Project: Community Packages
Opened by Pascal Ernster (hardfalcon) - Friday, 21 October 2022, 17:03 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Friday, 21 October 2022, 21:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

v4l2loopback-dkms 0.12.7-1 fails when trying to build for kernel versions >= 5.18. Upstream have a fix in their repo which could be cherrypicked until they push out a new release:

https://github.com/umlaeute/v4l2loopback/commit/e7edf2f55b7eb71b69984110f3c8e31b8ac6285e
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Friday, 21 October 2022, 21:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  v4l2loopback 0.12.7-2.
Comment by hurricane pootis (HurricanePootis) - Friday, 21 October 2022, 18:26 GMT
I have this same error as well. I have created a patch file that gets the fix listed above as a patch file and applies it. I can confirm it works and v4l2loopback-dkms builds with it.
Comment by Manuel Barrio Linares (kIERO) - Friday, 21 October 2022, 20:12 GMT
```
==> dkms install --no-depmod v4l2loopback/0.12.7 -k 6.0.2-arch1-1
Error! The /var/lib/dkms/v4l2loopback/0.12.7/6.0.2-arch1-1/x86_64/dkms.conf for module v4l2loopback includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch.
This indicates that it should not be built.
==> WARNING: `dkms install --no-depmod v4l2loopback/0.12.7 -k 6.0.2-arch1-1' exited 9
```

On kernel 6.0.2-arch1-1

Loading...