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>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/22052
Whiteboard:
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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/mongosh-bin-1.0.4 does not respect CFLAGS/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 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

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):

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

commit 4b20813089b4b54771ea2c036c20a4a47df03902
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-08-20 15:03:15 +0000
Commit:     Alexys Jacob <ultrabug@gentoo.org>
CommitDate: 2021-08-20 18:07:47 +0000

    app-admin/mongosh-bin: add QA_FLAGS_IGNORED
    
    Binary package, no compilation involved.
    
    Closes: https://bugs.gentoo.org/809119
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>

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