Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542034 - sys-power/powertop-2.7-r1 - wrong check for CONFIG_PM_RUNTIME with kernel 3.19
Summary: sys-power/powertop-2.7-r1 - wrong check for CONFIG_PM_RUNTIME with kernel 3.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PATCH
: 555574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-03 20:24 UTC by Andrei Slavoiu
Modified: 2018-01-24 23:28 UTC (History)
7 users (show)

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


Attachments
powertop-2.7-r1.ebuild-PM_RUNTIME_to_PM.patch (powertop-2.7-r1-PM_RUNTIME_to_PM.patch,226 bytes, patch)
2015-03-03 23:03 UTC, Yuri Tsimbaloff
Details | Diff
patched powertop-2.7-r1.ebuild (powertop-2.7-r1.ebuild,3.22 KB, text/plain)
2015-03-03 23:12 UTC, Yuri Tsimbaloff
Details
patched powertop-2.7-r1.ebuild (powertop-2.7-r1.ebuild,3.48 KB, text/plain)
2015-03-04 16:52 UTC, Yuri Tsimbaloff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2015-03-03 20:24:08 UTC
That option was removed from kernel 3.19 so this check should not be performed https://lkml.org/lkml/2014/12/20/67

Reproducible: Always

Steps to Reproduce:
Upgrade to sys-kernel/gentoo-sources-3.19.0 then rebuild powertop
Actual Results:  
Build prints warning:

 * Messages for package sys-power/powertop-2.7-r1:

 *   CONFIG_PM_RUNTIME:  is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

Expected Results:  
No warning should be printed
Comment 1 Yuri Tsimbaloff 2015-03-03 23:03:33 UTC
Created attachment 397982 [details, diff]
powertop-2.7-r1.ebuild-PM_RUNTIME_to_PM.patch
Comment 2 Yuri Tsimbaloff 2015-03-03 23:12:21 UTC
Created attachment 397984 [details]
patched powertop-2.7-r1.ebuild
Comment 3 Yuri Tsimbaloff 2015-03-04 16:52:56 UTC
Created attachment 398070 [details]
patched powertop-2.7-r1.ebuild
Comment 4 Leho Kraav (:macmaN @lkraav) 2015-03-28 22:16:24 UTC
Yep, this bug is correct. CONFIG_PM_RUNTIME is gone from 3.19+

https://lkml.org/lkml/2014/12/20/67
Comment 5 Pacho Ramos gentoo-dev 2015-07-23 14:56:25 UTC
*** Bug 555574 has been marked as a duplicate of this bug. ***