v4l2loopback-dkms compilation fails on apt-get upgrade in Ubuntu 22.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
v4l2loopback (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
michael@
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 29.5 kB in 0s (133 kB/s)
(Reading database ... 876311 files and directories currently installed.)
Preparing to unpack .../v4l2loopbac
Unpacking v4l2loopback-dkms (0.12.7-
Setting up v4l2loopback-dkms (0.12.7-
Loading new v4l2loopback-0.12.7 DKMS files...
Building for 6.5.0-35-generic 6.8.0-40-generic
Building initial module for 6.5.0-35-generic
Done.
v4l2loopback.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/
depmod....
Building initial module for 6.8.0-40-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/
dpkg: error processing package v4l2loopback-dkms (--configure):
installed v4l2loopback-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
v4l2loopback-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
100 michael@
───────
───────
2 │ Wed 04 Sep 2024 17:28:42 WEST
3 │ Building v4l2-loopback driver...
4 │ make -C /lib/modules/
5 │ make[1]: Entering directory '/usr/src/
6 │ CC [M] /var/lib/
7 │ /var/lib/
8 │ /var/lib/
9 │ 727 | strlcpy(
10 │ | ^~~~~~~
11 │ | strscpy
12 │ cc1: some warnings being treated as errors
13 │ make[3]: *** [scripts/
14 │ make[2]: *** [/usr/src/
15 │ make[1]: *** [Makefile:240: __sub-make] Error 2
16 │ make[1]: Leaving directory '/usr/src/
17 │ make: *** [Makefile:43: v4l2loopback.ko] Error 2
───────
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: v4l2loopback-dkms 0.12.7-
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckR
Date: Wed Sep 4 17:38:36 2024
InstallationDate: Installed on 2017-07-26 (2596 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: v4l2loopback
UpgradeStatus: Upgraded to jammy on 2024-03-17 (171 days ago)