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

Bug 797337

Summary: dev-util/maturin-0.10.6 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Stefan Strogin <steils>
Status: RESOLVED FIXED    
Severity: normal CC: rust
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-06-21 10:20:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/maturin-0.10.6 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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-06-21 10:20:37 UTC
Created attachment 717384 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-06-21 11:33:00 UTC
The bug has been closed via the following commit(s):

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

commit 10bf5e4e545ff3a13c092db8dadee157850a2277
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2021-06-21 11:30:18 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2021-06-21 11:32:16 +0000

    dev-util/maturin: ignore flags QA warning
    
    The program is written in Rust, LDFLAGS are not used.
    
    Closes: https://bugs.gentoo.org/797337
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 dev-util/maturin/maturin-0.10.6.ebuild | 2 ++
 1 file changed, 2 insertions(+)