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

Bug 809119

Summary: app-admin/mongosh-bin-1.0.4 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Ultrabug <ultrabug>
Severity: normal CC: hydrapolic, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

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(+)