/var/tmp/portage/net-misc/dahdi-3.1.0-r2/work/dahdi-linux-3.1.0/drivers/dahdi/dahdi-base.c:10292:3: error: ‘const struct file_operations’ has no member named ‘ioctl’ 10292 | .ioctl = dahdi_ioctl, | ^~~~~ /var/tmp/portage/net-misc/dahdi-3.1.0-r2/work/dahdi-linux-3.1.0/drivers/dahdi/dahdi-base.c:10292:13: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-libressl_abi32+64-20201012-091521 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Oct 12 07:05:19 PM UTC 2020 /var/db/repos/libressl Fri Oct 9 07:35:07 PM UTC 2020 emerge -qpvO net-misc/dahdi [ebuild N ] net-misc/dahdi-3.1.0-r2 USE="-flash -oslec"
Created attachment 664957 [details] emerge-info.txt
Created attachment 664960 [details] emerge-history.txt
Created attachment 664963 [details] environment
Created attachment 664966 [details] etc.portage.tbz2
Created attachment 664969 [details] net-misc:dahdi-3.1.0-r2:20201012-195447.log
Created attachment 664972 [details] temp.tbz2
Created attachment 675676 [details, diff] DAHDI patches (kernel >=5.9.X) Good news! I have created patches based on latest commit http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=shortlog;h=refs/heads/next and everything has copmiled and working fine!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b3b4a73fe525c228f3b60727f59ffc0b7ca1aa commit c3b3b4a73fe525c228f3b60727f59ffc0b7ca1aa Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2021-01-08 12:02:40 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-01-22 06:35:22 +0000 net-misc/dahdi: version bump to fix compiler problems. 1. clang/LLVM 2. Kernel header changes (5.9 onwards) Three additional patches added to the patch set (two of which from dahdi-linux/next, and one just submitted): 09-dahdi-3.1.0-r3-remove-32bit-userspace-on-64bit-support.patch 10-dahdi-3.1.0-r3-ioctl-kernel-5.9.patch 11-dahdi-3.1.0-r3-clang.patch 09 is a dependency for 10, which is required since kernel version 5.9. The former seems to affect 32-bit userspace on 64-bit kernels only, and according to upstream there are no tests for this. 10 fixes the compile issues for kernels 5.9 onwards (which dropped ioctl from proc_ops structures. 11 imports clang fixes as per https://issues.asterisk.org/jira/browse/DAHLIN-385 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://bugs.gentoo.org/748240 Closes: https://bugs.gentoo.org/740818 Closes: https://github.com/gentoo/gentoo/pull/18990 Signed-off-by: Joonas Niilola <juippis@gentoo.org> net-misc/dahdi/Manifest | 1 + net-misc/dahdi/dahdi-3.1.0-r3.ebuild | 107 +++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+)
*** Bug 783093 has been marked as a duplicate of this bug. ***