v4l2loopback-dkms FTBS in noble with the latest linux 6.8 kernel

Bug #2052801 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
v4l2loopback (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

/var/lib/dkms/v4l2loopback/0.12.7/build/v4l2loopback.c: In function ‘vidioc_querycap’:
/var/lib/dkms/v4l2loopback/0.12.7/build/v4l2loopback.c:742:9: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
  742 | strlcpy(cap->driver, "v4l2 loopback", sizeof(cap->driver));
      | ^~~~~~~
      | strscpy
cc1: some warnings being treated as errors

[Test case]

 $ sudo apt install v4l2loopback-dkms

[Fix]

Apply the required changes to the v4l2loopback module to support the new kernel 6.8 ABI.

[Regression potential]

We may experience regressions in systems that are using tbe loopback webcam driver.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: v4l2loopback-dkms 0.12.7-2ubuntu4
ProcVersionSignature: User Name 6.8.0-7.7-generic 6.8.0-rc3
Uname: Linux 6.8.0-7-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20240208
CloudSubPlatform: config-disk (/dev/vdb)
Date: Fri Feb 9 12:47:10 2024
PackageArchitecture: all
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: v4l2loopback
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andrea Righi (arighi) wrote :
Revision history for this message
Andrea Righi (arighi) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package v4l2loopback - 0.12.7-2ubuntu5

---------------
v4l2loopback (0.12.7-2ubuntu5) noble; urgency=medium

  * Support Linux 6.8 (LP: #2052801):
    - debian/patches/0008-handle-strlcpy.patch

 -- Andrea Righi <email address hidden> Fri, 09 Feb 2024 14:25:38 +0000

Changed in v4l2loopback (Ubuntu Noble):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.