oss4-dkms FTBS with the latest lunar kernel 6.2.0-17-generic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oss4 (Ubuntu) |
Fix Released
|
Medium
|
Andrea Righi | ||
Lunar |
Fix Released
|
Medium
|
Andrea Righi |
Bug Description
[Impact]
Trying to install oss4-dkms with the latest 6.2 kernel shows the following build error:
/var/lib/
Wint-conversion]
4 | {0x46ca35f6, "oss_register_
| ^~~~~~~
/var/lib/
/var/lib/
[Test case]
$ sudo apt install oss4-dkms
[Fix]
The latest 6.2 kernel includes a SAUCE patch to support a variable-length for the max size of symbol names. This seems to conflict with osscore_symbols.inc that defines a bunch of symbols in the old static size way.
Looking at the code it seems pointless to define these symbols (and their modversion) manually, we can just let the kernel determine the right mod versioning during the regular build.
[Regression potential]
We may experience regressions / user-space incompatibilities with recent kernels >= 6.2 that are using oss4 (assuming anyone is still using the oss4 sound system). Source code remains unchanged in kernels < 6.2.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: oss4-dkms 4.2-build2020-1
ProcVersionSign
Uname: Linux 6.2.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CloudBuildName: server
CloudSerial: 20230301
Date: Wed Mar 15 08:39:07 2023
SourcePackage: oss4
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: patch |
Changed in oss4 (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in oss4 (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
Changed in oss4 (Ubuntu Lunar): | |
assignee: | nobody → Andrea Righi (arighi) |
importance: | Undecided → Medium |
debdiff in attach allows to build and run oss4-dkms with the latest Ubuntu 6.2 kernel.