This bug was fixed in the package v4l2loopback - 0.12.7-2ubuntu2
--------------- v4l2loopback (0.12.7-2ubuntu2) kinetic; urgency=medium
* Preserve CC setting when invoking sub-make, to ensure module can be built correctly with the kernel's custom compiler. Fixes FTBFS in hwe-5.19 build. LP: #1991664
-- Dimitri John Ledkov <email address hidden> Thu, 06 Oct 2022 15:01:47 +0100
This bug was fixed in the package v4l2loopback - 0.12.7-2ubuntu2
---------------
v4l2loopback (0.12.7-2ubuntu2) kinetic; urgency=medium
* Preserve CC setting when invoking sub-make, to ensure module can be
built correctly with the kernel's custom compiler. Fixes FTBFS in
hwe-5.19 build. LP: #1991664
-- Dimitri John Ledkov <email address hidden> Thu, 06 Oct 2022 15:01:47 +0100