net-misc/dahdi-2.10.0.1 does not build against kernel 3.19.0. Reproducible: Always Steps to Reproduce: 1. emerge ">=sys-kernel/gentoo-sources-3.19.0" 2. emerge "=dahdi-2.10.0.1" Actual Results: /var/tmp/portage/net-misc/dahdi-2.10.0.1/work/dahdi-linux-2.10.0.1/drivers/dahdi/dahdi-base.c:101:30: error: ‘struct file’ has no member named ‘f_dentry’ Expected Results: build successfully The issue has been fixed in upstream git: https://github.com/asterisk/dahdi-linux/commit/4d86a8f3f690ee9bb9429e17cc03856c6c2dc760 Adding the above commit as a user patch makes dahdi build successfully.
+*dahdi-2.10.0.1-r1 (12 Feb 2015) + + 12 Feb 2015; Tony Vroon <chainsaw@gentoo.org> -dahdi-2.6.2.ebuild, + -dahdi-2.7.0.1.ebuild, -dahdi-2.8.0.1.ebuild, -dahdi-2.9.0.ebuild, + -dahdi-2.9.0-r1.ebuild, -dahdi-2.10.0.ebuild, +dahdi-2.10.0.1-r1.ebuild: + Scavenge upstream commit as identified by Erich Seifert in bug #539594 to + allow building against 3.19 kernels.
I'm reopening this bug because another upstream commit is necessary to make dahdi compile against >=3.18 kernels: https://github.com/asterisk/dahdi-linux/commit/378986841cbf7c94e43dc34580def06088116652 This also applies to kernel 3.19.
(In reply to Erich Seifert from comment #2) > I'm reopening this bug because another upstream commit is necessary And obviously now I will have to wait a few days to see if that is your final answer.
Sorry that I forgot about the 3.18 compatibility patch. I've tested dahdi-2.10.0.1-r1 with https://github.com/asterisk/dahdi-linux/commit/378986841cbf7c94e43dc34580def06088116652.diff as a user patch and it's compiling and running fine for me with sys-kernel/gentoo-sources-3.19.0.
I can confirm that the module successfully compiles with the second patch for 3.19.0 Erich, thanks for looking into this problem.
Should be addressed in 2.10.1; patchset reverted to 1.1.9 to ensure there are no conflicts.