dahdi-linux fails to build with the latest 5.19 kernel on kinetic

Bug #1981957 reported by Andrea Righi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dahdi-linux (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

dahdi-linux fails to build on the latest 5.19 kernel with the following error:

  CC [M] /var/lib/dkms/dahdi/2.11.1~dfsg-1ubuntu11/build/drivers/dahdi/wct4xxp/base.o
/var/lib/dkms/dahdi/2.11.1~dfsg-1ubuntu11/build/drivers/dahdi/wct4xxp/base.c:45:10: fatal error: stdbool.h: No such file or directory
   45 | #include <stdbool.h>
      | ^~~~~~~~~~~

[Test case]

$ sudo apt install dahdi-dkms

[Fix]

Provide a patch to properly support the new 5.19 ABI.

[Regression potential]

We may notice regressions in dahdi in kernels >= 5.18.

Andrea Righi (arighi)
description: updated
Revision history for this message
Andrea Righi (arighi) wrote :

Fix to build dahdi-dkms with kernels >= 5.18 in the attached debdiff.

tags: added: patch
Changed in dahdi-linux (Ubuntu Kinetic):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dahdi-linux - 1:2.11.1~dfsg-1ubuntu12

---------------
dahdi-linux (1:2.11.1~dfsg-1ubuntu12) kinetic; urgency=medium

  * Linux 5.18 compatibility (LP: #1981957)
    - debian/patches/kernel-compat-5.18.patch

 -- Andrea Righi <email address hidden> Mon, 18 Jul 2022 07:24:05 +0000

Changed in dahdi-linux (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Andrea Righi (arighi) wrote :

debdiff to support dahdi-dkms in jammy with the new kernel 5.19 (we can simply resync with the packet in kinetic, because it is identical and the only difference is the patch to support kernel 5.19, that is what we want in jammy as well now).

Changed in dahdi-linux (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Andrea, or anyone else affected,

Accepted dahdi-linux into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dahdi-linux/1:2.11.1~dfsg-1ubuntu12~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in dahdi-linux (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Performed only build tests due to lack of hardware for better testing.

Build test with hwe-5.19 kernel:

=========================================================
Setting up dahdi-dkms (1:2.11.1~dfsg-1ubuntu12~22.04.1) ...
Loading new dahdi-2.11.1~dfsg-1ubuntu12~22.04.1 DKMS files...
Building for 5.19.0-32-generic
Building for architecture x86_64
Building initial module for 5.19.0-32-generic
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.
=========================================================

Build test with generic 5.15 kernel:

=========================================================

Setting up dahdi-dkms (1:2.11.1~dfsg-1ubuntu12~22.04.1) ...
Loading new dahdi-2.11.1~dfsg-1ubuntu12~22.04.1 DKMS files...
Building for 5.15.0-60-generic 5.19.0-32-generic
Building for architecture x86_64
Building initial module for 5.15.0-60-generic
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.

=========================================================

tags: added: verification-done-jammy
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for dahdi-linux has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dahdi-linux - 1:2.11.1~dfsg-1ubuntu12~22.04.1

---------------
dahdi-linux (1:2.11.1~dfsg-1ubuntu12~22.04.1) jammy; urgency=medium

  * No change, rebuild with the jammy toolchain (LP: #1981957).

 -- Andrea Righi <email address hidden> Thu, 12 Jan 2023 13:14:01 +0000

Changed in dahdi-linux (Ubuntu Jammy):
status: Fix Committed → 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.