Created attachment 630132 [details, diff] The patch file to make net-misc/dahdi-3.1.0-r1 compile again on Linux kernels >= 5.6.0 The package net-misc/dahdi-3.1.0-r1 fails to compile on kernels >= 5.6.0. This failure is caused by two issues: - The interface of "proc_create_data()" changed from using "struct proc_ops" instead of "struct file_operations" - "ioremap_nocache" is obsolete and was removed. "ioremap" shall be used instead, I created a patch file "94-fixes-ioremap-and-proc_create_data.patch" that fixes these issues if placed into "/etc/portage/patches/net-misc/dahdi-3.1.0-r1". Please add this file to the Gentoo patch set file. Regards, Florian
Thanks. We've already initiated work on this. https://github.com/gentoo/gentoo/pull/15154 (next push will link it since I've added Closes: onto it but I do need to still fix the proc_creat_data() issue.)
*** Bug 716468 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=597ea5a7c16cb7b3ead096d54f78c9369cd41e7b commit 597ea5a7c16cb7b3ead096d54f78c9369cd41e7b Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2020-03-28 19:56:25 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-04-09 12:37:45 +0000 net-misc/dahdi: build fixes. There were still some cases where specific kernel versions wouldn't compile. This now compiles on all versions that I've got. Consolidated the patches for non-digium hardware (which is where most of the issues were). Added a patch for dealing with 64-bit division on PPC (works on amd64), untested on ppc where it's required. Will also affect ARM now - as per newest keyword request. Fix for systems without CONFIG_PCI. Nuke empty RDEPEND= and DEPEND= lines. Bug: https://bugs.gentoo.org/659488 Bug: https://bugs.gentoo.org/716426 Closes: https://bugs.gentoo.org/716226 Closes: https://bugs.gentoo.org/716468 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/15154 Signed-off-by: Joonas Niilola <juippis@gentoo.org> net-misc/dahdi/Manifest | 2 +- net-misc/dahdi/dahdi-3.1.0-r1.ebuild | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-)