Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809119 - app-admin/mongosh-bin-1.0.4 does not respect CFLAGS/LDFLAGS
Summary: app-admin/mongosh-bin-1.0.4 does not respect CFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
Keywords: PullRequest
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2021-08-19 22:56 UTC by Agostino Sarubbo
Modified: 2021-08-20 18:07 UTC (History)
2 users (show)

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

build.log (build.log,38.26 KB, text/plain)
2021-08-19 22:56 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-08-19 22:56:51 UTC

Issue: app-admin/mongosh-bin-1.0.4 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
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 2021-08-19 22:56:53 UTC
Created attachment 734326 [details]

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

commit 4b20813089b4b54771ea2c036c20a4a47df03902
Author:     Tomáš Mózes <>
AuthorDate: 2021-08-20 15:03:15 +0000
Commit:     Alexys Jacob <>
CommitDate: 2021-08-20 18:07:47 +0000

    app-admin/mongosh-bin: add QA_FLAGS_IGNORED
    Binary package, no compilation involved.
    Signed-off-by: Tomáš Mózes <>
    Signed-off-by: Alexys Jacob <>

 app-admin/mongosh-bin/mongosh-bin-1.0.4.ebuild | 3 +++
 1 file changed, 3 insertions(+)