sys-power/phc-intel-0.3.2.12.16 should be masked incompatible with Kernel >= 3.7, since it doesn't compile with it. Emerge output: >> Emerging (1 of 1) sys-power/phc-intel-0.3.2.12.16::gentoo * phc-intel-pack-rev16.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Creating checksum index... * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.17.7-gentoo/build * Found sources for kernel version: * 3.17.7-gentoo * Your kernel version is not yet supported by this version of phc-intel. * Please use a newer version of phc-intel or an older kernel. * ERROR: sys-power/phc-intel-0.3.2.12.16::gentoo failed (setup phase): * (no error message)
According to http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267&start=30, phc-intel-0.3.2.12.16 is compatible with kernel 3.17 and doesn't need an additional patch.
You wrote 3.7 where you intended 3.17?
(In reply to Jeroen Roovers from comment #2) > You wrote 3.7 where you intended 3.17? Yes, I meant 3.17. I played around a bit, and by just applying the 3.16 patches and compiling against 3.17 I could get the module to build and work.
> I played around a bit, and by just applying the 3.16 patches and compiling > against 3.17 I could get the module to build and work. Robert, if you have working ebuild could you please post it here as an attachment? Thanks.
Created attachment 393570 [details] ebuild compiling and working on kernel <= 3.17 Here's my ebuild which compiles and loads on kernel 3.17.7.
(In reply to Robert G. Siebeck from comment #5) > Created attachment 393570 [details] > ebuild compiling and working on kernel <= 3.17 > > Here's my ebuild which compiles and loads on kernel 3.17.7. Thank you Robert! Works perfectly for me.
+ 19 Jan 2015; Michael Weber <xmw@gentoo.org> phc-intel-0.3.2.12.16.ebuild: + Allow kernel 3.17 (bug 533392). +
+ 09 Feb 2015; Michael Weber <xmw@gentoo.org> phc-intel-0.3.2.12.16.ebuild: + checked with kernel 3.18 +
+ 02 Mar 2015; Michael Weber <xmw@gentoo.org> phc-intel-0.3.2.12.16.ebuild: + Just issue an warning on newer kernels. + --- phc-intel-0.3.2.12.16.ebuild 9 Feb 2015 13:47:45 -0000 1.3 +++ phc-intel-0.3.2.12.16.ebuild 2 Mar 2015 09:09:31 -0000 1.4 @@ -32,10 +32,9 @@ eerror "Please use a previous version of ${PN} or a newer kernel." die fi - if kernel_is gt 3 18 ; then - eerror "Your kernel version is not yet supported by this version of ${PN}." - eerror "Please use a newer version of ${PN} or an older kernel." - die + if kernel_is gt 3 19 ; then + eerror "Your kernel version is not yet tested with this version of ${PN}." + eerror "It might not build or expose runtime problems." fi linux-mod_pkg_setup }