Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 853904

Summary: sys-power/powertop-2.14 fails to build with format-security enabled
Product: Gentoo Linux Reporter: Niklāvs Koļesņikovs <89q1r14hd>
Component: Current packagesAssignee: Matt Turner <mattst88>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713576    
Attachments: build.log
emerge --info

Description Niklāvs Koļesņikovs 2022-06-23 17:28:21 UTC
While testing builds with -Werror=format-security I have encountered powertop 2.14 as failing this check.

Please see attachments for build.log and, if required, the emerge --info output.

Reproducible: Always
Comment 1 Niklāvs Koļesņikovs 2022-06-23 17:28:55 UTC
Created attachment 787124 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-23 17:29:22 UTC
Thanks. Happy for you to report these but please forward upstream wherever possible.
Comment 3 Niklāvs Koļesņikovs 2022-06-23 17:29:52 UTC
Created attachment 787127 [details]
emerge --info
Comment 4 Niklāvs Koļesņikovs 2022-06-23 17:33:05 UTC
Alright, I'll try to file an upstream issue and link it back here but that will be at some unknown future time as we're entering national holidays here. :)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-23 17:38:42 UTC
(In reply to Niklāvs Koļesņikovs from comment #4)
> Alright, I'll try to file an upstream issue and link it back here but that
> will be at some unknown future time as we're entering national holidays
> here. :)

no problem :)
Comment 6 Matt Turner gentoo-dev 2023-08-02 16:16:03 UTC
I believe this was fixed by https://github.com/fenrus75/powertop/commit/9ef1559a1582f23d599c149601c3a8e06809296c in v2.15.