Summary: | DAHLIN-00397: dahdi-linux fails to build with kernel 5.16: #include <stdbool.h> is missing | ||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | patch |
Date Opened: | 2022-02-25 00:52:10.000-0600 | Date Closed: | |
Priority: | Major | Regression? | |
Status: | Triage/New | Components: | General |
Versions: | 2.11.1 3.1.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) 0001-Remove-useless-include-stdbool.h-that-break-5.16.patch | |
Description: | In kernel 5.16, gcc includes are no longer added to the kernel build command line.
We only use stdbool.h from there. This include does not seems necessary: I verified that dahdi-linux can be built vs. kernel 5.16 and 4.4 (the oldest I could build on my system). | ||
Comments: | By: Tzafrir Cohen (tzafrir) 2022-02-25 00:53:41.490-0600 A patch to remove #include <stdbool.h> By: Harald Welte (laforge) 2022-04-24 11:29:29.520-0500 also fixed in the Osmocom fork in https://gerrit.osmocom.org/c/dahdi-linux/+/26951, which we picked up from Jan Engelhardt fixing it in SuSE packages, as far as I recall. This lack of maintenance by upstream is rather disappointing. Every user has to reinvent the wheel or look at half a dozne of forks. |