Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483514 - sys-power/powertop depends on removed CONFIG_EVENT_POWER_TRACING_DEPRECATED
Summary: sys-power/powertop depends on removed CONFIG_EVENT_POWER_TRACING_DEPRECATED
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: http://git.kernel.org/cgit/linux/kern...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 17:55 UTC by Elias Probst
Modified: 2013-09-04 05:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2013-09-03 17:55:30 UTC
sys-power/powertop-2.3
sys-power/powertop-2.4
sys-power/powertop-9999
still depend on CONFIG_EVENT_POWER_TRACING_DEPRECATED which was removed in Linux 3.9.

As there's no stable 3.9 gentoo-sources in the Kernel anymore and the latest stable gentoo-sources is 3.10.7 I'd vote for removing EVENT_POWER_TRACING_DEPRECATED from the ebuild.

I haven't found any information about how powertop will handle this and whether it was updated recently not to depend on the deprecated/now removed option anymore.

Besides that, it seems to run fine on 3.10 here.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-09-03 18:23:03 UTC
the check only runs on kernel below 3.9.0 and that is fine since many users are still using it including hardened users with stable kernel 3.9.9 like me.
Comment 2 Elias Probst 2013-09-03 23:22:11 UTC
(In reply to Rick Farina (Zero_Chaos) from comment #1)
> the check only runs on kernel below 3.9.0 and that is fine since many users
> are still using it including hardened users with stable kernel 3.9.9 like me.

At least sys-power/powertop-9999 seems to do different. I have this output:

-->snip>--
 * Messages for package sys-power/powertop-9999:

 *   CONFIG_USB_SUSPEND:         is not set when it should be.
 *   CONFIG_EVENT_POWER_TRACING_DEPRECATED:      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.
>>> Auto-cleaning packages...
--<snap<--

Kernel version information:
moria ~ # ls -ld /usr/src/linux
lrwxrwxrwx 1 root root 17  3. Sep 18:54 /usr/src/linux -> linux-3.10.9-aufs/
moria ~ # uname -a
Linux moria 3.10.9-aufs #2 SMP Tue Aug 27 22:50:50 CEST 2013 x86_64 Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz GenuineIntel GNU/Linux

I also don't see any restriction of the check for EVENT_POWER_TRACING_DEPRECATED in the -9999 ebuild to below 3.9.0.
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2013-09-04 05:34:39 UTC
                if kernel_is -lt 3 9 0; then
                        CONFIG_CHECK="~EVENT_POWER_TRACING_DEPRECATED"
                        ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
                        check_extra_config
                fi


line 82-86 in the ebuild