[Bug 2136849] Re: oss4-dkms FTBS in Noble with the linux-6.17 kernel

Massimiliano Pellizzer 2136849 at bugs.launchpad.net
Fri Dec 19 20:59:32 UTC 2025


Uploaded thanks

** Changed in: oss4 (Ubuntu)
       Status: New => Invalid

** Changed in: oss4 (Ubuntu Noble)
       Status: New => In Progress

** Also affects: oss4 (Ubuntu Resolute)
   Importance: Undecided
       Status: Invalid

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

** Changed in: oss4 (Ubuntu Questing)
       Status: New => Invalid

** Description changed:

  [ 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
  
- The same procedure should be repeated on linux-6.8 to test for possible
- regressions.
+ The same procedure must be repeated on linux-6.8 and linux-6.14 to test
+ for possible regressions.
  
  [ Fix ]
  
  Patch to fix Kbuild and deprecated del_timer() call:
  
  -debian/patches/Kbuild-Use-ccflags-y-instead-of-EXTRA_CFLAGS.patch
  -debian/patches/Fix-timer-changes-in-Linux-6.15.patch
  -create-ma-tree.sh, changing EXTRA_CFLAGS to ccflags-y
  
  [ Regression potential ]
  
  We may experience regressions in systems that are using the oss4
  drivers, especially with kernels >= 6.8 kernel.

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

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

Status in oss4 package in Ubuntu:
  Invalid
Status in oss4 source package in Noble:
  In Progress
Status in oss4 source package in Questing:
  Invalid
Status in oss4 source package in Resolute:
  Invalid

Bug description:
  [ 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

  The same procedure must be repeated on linux-6.8 and linux-6.14 to
  test for possible regressions.

  [ Fix ]

  Patch to fix Kbuild and deprecated del_timer() call:

  -debian/patches/Kbuild-Use-ccflags-y-instead-of-EXTRA_CFLAGS.patch
  -debian/patches/Fix-timer-changes-in-Linux-6.15.patch
  -create-ma-tree.sh, changing EXTRA_CFLAGS to ccflags-y

  [ Regression potential ]

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

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




More information about the Ubuntu-sponsors mailing list