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

Bug 726270

Summary: x11-plugins/wmacpi does not respect CFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20606
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-30 11:23:35 UTC
This is an auto-filed bug because x11-plugins/wmacpi does not respect CFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-30 11:23:40 UTC
Created attachment 642738 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-04 22:17:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd66b19c5899056739734378f2ed5c75776467e4

commit fd66b19c5899056739734378f2ed5c75776467e4
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-04-29 22:00:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-04 22:17:15 +0000

    x11-plugins/wmacpi: Respect CFLAGS
    
    Closes: https://bugs.gentoo.org/726270
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Closes: https://github.com/gentoo/gentoo/pull/20606
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch | 19 ++++++++++---------
 x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild            | 14 ++++++++------
 2 files changed, 18 insertions(+), 15 deletions(-)