Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797337 - dev-util/maturin-0.10.6 does not respect LDFLAGS
Summary: dev-util/maturin-0.10.6 does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stefan Strogin
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2021-06-21 10:20 UTC by Agostino Sarubbo
Modified: 2021-06-21 11:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,264.11 KB, text/plain)
2021-06-21 10:20 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-06-21 10:20:35 UTC

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

This machine uses GCC-11:
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 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):

commit 10bf5e4e545ff3a13c092db8dadee157850a2277
Author:     Stefan Strogin <>
AuthorDate: 2021-06-21 11:30:18 +0000
Commit:     Stefan Strogin <>
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.
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Stefan Strogin <>

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