Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533392 - sys-power/phc-intel-0.3.2.12.16 should support kernel >=3.17
Summary: sys-power/phc-intel-0.3.2.12.16 should support kernel >=3.17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-23 14:13 UTC by Robert G. Siebeck
Modified: 2015-03-02 09:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild compiling and working on kernel <= 3.17 (phc-intel-3.2.12.16-r1.ebuild,2.17 KB, text/plain)
2015-01-09 16:41 UTC, Robert G. Siebeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert G. Siebeck 2014-12-23 14:13:57 UTC
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)
Comment 1 Robert G. Siebeck 2014-12-23 14:26:56 UTC
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.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-24 06:17:02 UTC
You wrote 3.7 where you intended 3.17?
Comment 3 Robert G. Siebeck 2014-12-24 15:17:54 UTC
(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.
Comment 4 Sasha Medvedev 2015-01-01 23:38:26 UTC
> 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.
Comment 5 Robert G. Siebeck 2015-01-09 16:41:48 UTC
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.
Comment 6 Sasha Medvedev 2015-01-10 23:26:42 UTC
(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.
Comment 7 Michael Weber (RETIRED) gentoo-dev 2015-01-19 07:47:52 UTC
+  19 Jan 2015; Michael Weber <xmw@gentoo.org> phc-intel-0.3.2.12.16.ebuild:
+  Allow kernel 3.17 (bug 533392).
+
Comment 8 Michael Weber (RETIRED) gentoo-dev 2015-02-09 13:48:13 UTC
+  09 Feb 2015; Michael Weber <xmw@gentoo.org> phc-intel-0.3.2.12.16.ebuild:
+  checked with kernel 3.18
+
Comment 9 Michael Weber (RETIRED) gentoo-dev 2015-03-02 09:13:44 UTC
+  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
 }