FS#75470 - v4l2loopback-dkms doesn't build on 5.15 kernel
Attached to Project:
Community Packages
Opened by Tessa N (tessaracht) - Sunday, 31 July 2022, 22:23 GMT
Last edited by Toolybird (Toolybird) - Monday, 01 August 2022, 04:43 GMT
Opened by Tessa N (tessaracht) - Sunday, 31 July 2022, 22:23 GMT
Last edited by Toolybird (Toolybird) - Monday, 01 August 2022, 04:43 GMT
|
Details
Description:
Just tried to install v4l2loopback-dkms-0.12.5-2, and the build didn't work, on my kernel (5.15.55-2-lts). the DKMS build log says the following: # cat /var/lib/dkms/v4l2loopback/0.12.5/build/make.log DKMS make.log for v4l2loopback-0.12.5 for kernel 5.15.55-1-lts (x86_64) Sun 31 Jul 2022 03:20:48 PM PDT Building v4l2-loopback driver... make -C /usr/lib/modules/5.15.55-1-lts/build M=/var/lib/dkms/v4l2loopback/0.12.5/build modules make[1]: Entering directory '/usr/lib/modules/5.15.55-1-lts/build' CC [M] /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.o cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/v4l2loopback/0.12.5/build/v4l2loopback.o] Error 1 make[1]: *** [Makefile:1886: /var/lib/dkms/v4l2loopback/0.12.5/build] Error 2 make[1]: Leaving directory '/usr/lib/modules/5.15.55-1-lts/build' make: *** [Makefile:43: v4l2loopback.ko] Error 2 Steps to reproduce: * try to install f4l2loopback-dkms * watch it fail |
This task depends upon
This means you're trying to build with the wrong version of gcc. Make sure your system is fully up to date and you aren't overriding /usr/bin/gcc with a bad PATH or something.
It looks like your kernel is 5.15.55-2-lts
but you're building the module for for 5.15.55-1-lts
See the difference? 5.15.55-1-lts was built with an earlier GCC.