umlaeute / v4l2loopback

v4l2-loopback device
GNU General Public License v2.0
3.73k stars 531 forks source link

DKMS fails to build against 6.8-rc1 kernel due to use of strlcpy #570

Closed kode54 closed 10 months ago

kode54 commented 10 months ago
LSB Version:    n/a
Distributor ID: Arch
Description:    Arch Linux
Release:        rolling
Codename:       n/a

Steps to reproduce:

  1. Install 6.8-rc1 kernel
  2. Install v4l2loopback dkms package
  3. DKMS fails to build it for 6.8-rc1 kernel

Observed Results:

Here is the make.log from the DKMS build: make.log

It appears to be failing simply because strlcpy was finally removed, to be replaced by strscpy. They are not perfectly compatible, because strscpy has a different return value than strlcpy did.

Expected Results:

I expected it to build, but I did not know it used deprecated functions.

Relevant Code:

It's a build problem, so there is no example code to supply here.