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

Bug 829904

Summary: dev-util/cargo-c-0.9.5 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-12-24 07:03:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/cargo-c-0.9.5 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-24 07:03:30 UTC
Created attachment 760174 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-12-24 07:08:32 UTC
The bug has been closed via the following commit(s):

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

commit fa75aebfc5cd3d17a80f89c8b9b1d51313be6aa4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-24 07:07:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-24 07:08:24 +0000

    dev-util/cargo-c: silence QA warning for Rust flags
    
    Not relevant for Rust
    
    Closes: https://bugs.gentoo.org/829905
    Closes: https://bugs.gentoo.org/829904
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/cargo-c/cargo-c-0.9.5.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)