Public bug reported:

[ Impact ]

DKMS make.log for oss4-4.2-build2020 for kernel 6.17.0-7-generic (x86_64)
Fri Dec 19 03:04:27 UTC 2025
make: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make[1]: Entering directory '/var/lib/dkms/oss4/4.2-build2020/build/core'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M]  oss_core.o
  CC [M]  os_linux.o
  CC [M]  oss_ac97.o
  CC [M]  oss_audio_core.o
os_linux.c:16:10: fatal error: oss_config.h: No such file or directory
   16 | #include <oss_config.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
os_linux.o] Error 1
make[3]: *** Waiting for unfinished jobs....
oss_audio_core.c:26:10: fatal error: oss_config.h: No such file or directory
   26 | #include <oss_config.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
In file included from oss_ac97.c:19:
oss_config.h:37:10: fatal error: ossddk/oss_exports.h: No such file or directory
   37 | #include <ossddk/oss_exports.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
oss_audio_core.o] Error 1
make[3]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
oss_ac97.o] Error 1
oss_core.c:21:10: fatal error: ossddk/oss_exports.h: No such file or directory
   21 | #include <ossddk/oss_exports.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: 
oss_core.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248: __sub-make] 
Error 2
make[1]: Leaving directory '/var/lib/dkms/oss4/4.2-build2020/build/core'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'

[ Test case ]

Install the latest linux-6.17 kernel on Noble:

$ sudo add-apt-repository ppa:canonical-kernel-team/ppa3
$ sudo apt install linux-generic-hwe-24.04-edge

Install oss4-dkms:

$ sudo apt install oss4-dkms

Module built and installed successfully

Load the module:

$ sudo modprobe

Modules loaded successfully

The same procedure should be repeated on linux-6.8 to test for possible
regressions.

[ Fix ]

Patch to fix Kbuild:

-debian/patches/Kbuild-Use-ccflags-y-instead-of-EXTRA_CFLAGS.patch

[ Regression potential ]

We may experience regressions in systems that are using the oss4
drivers, especially with kernels >= 6.8 kernel.

** Affects: oss4 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: oss4 (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: oss4 (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136849

Title:
  oss4-dkms FTBS in Noble with the linux-6.17 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/2136849/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to