Bug 11921 - dahdi fails to build
Summary: dahdi fails to build
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-28 21:45 UTC by Davide Viti
Modified: 2019-08-17 21:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Dahdi build failure log (22.91 KB, text/x-log)
2019-05-28 21:45 UTC, Davide Viti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Viti 2019-05-28 21:45:41 UTC
Created attachment 8066 [details]
Dahdi build failure log

I've successfully built a minimal image using "pc_x86_64_bios_defconfig" where I added "asterisk" package to the selections: my buildroot repo is set to 2019.05-rc3

I've then selected "dhadi-linux" and "dahdi-tools": run make again and got a failure. Details on the attached log.

regards,
Davide
Comment 1 Davide Viti 2019-05-28 21:52:53 UTC
I've tried to apply both the patches mentioned in [1] with no success

[1] https://issues.asterisk.org/jira/browse/DAHLIN-354
Comment 2 Arnout Vandecappelle 2019-05-28 21:57:13 UTC
How did you apply those patches? You can check if they were applied by looking at output/build/dahdi-linux-2.11.1/.applied_patches_list
Comment 3 Davide Viti 2019-05-28 22:08:26 UTC
I've dropped the patches in "package/dahdi-linux/" and can see them applied.

I've tried to switch to version 3.0.0 and it now builds fine: will try to provide a patch

thank you,
Davide
Comment 4 Davide Viti 2019-05-29 08:41:43 UTC
From what I understand, the failure happens starting with kernel 4.11.x

I've run a build selecting kernel 4.10.9 and leaving dahdi 2.11.1 and it builds fine.
Comment 5 Thomas Petazzoni 2019-08-17 21:51:18 UTC
Fixed by https://git.buildroot.org/buildroot/commit/?id=790c9ca0923e575a3326b6cb14a4eb410352c6c9. Thanks! I tested, it builds fine with Linux 4.19. It does not build fine with Linux 5.2 though, but it's an upstream dahdi-linux issue.