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

Bug 739372

Summary: games-strategy/knights-demo-1.32-r2 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-08-28 05:39:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/knights-demo-1.32-r2 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-28 05:39:51 UTC
Created attachment 657232 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-10 13:31:01 UTC
The bug has been closed via the following commit(s):

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

commit 131a8dee44f60292b93a83334c9f9c43d086de21
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-10 13:00:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-10 13:30:36 +0000

    games-strategy/knights-demo: EAPI 7, silence QA warnings for unused file
    
    All the SONAME warnings were for a binary we don't really support. We install
    it for some reason and I don't really want to meddle with it in case it
    _somehow_ works for somebody.
    
    Closes: https://bugs.gentoo.org/739366
    Closes: https://bugs.gentoo.org/739372
    Signed-off-by: Sam James <sam@gentoo.org>

 .../knights-demo/knights-demo-1.32-r2.ebuild       | 33 +++++++++++++++++-----
 1 file changed, 26 insertions(+), 7 deletions(-)