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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
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: ---


Attachments
build.log (build.log,38.26 KB, text/plain)
2021-08-19 22:56 UTC, Agostino Sarubbo
Details

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