Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779319 - app-misc/elasticsearch-7.12.0 does not respect CFLAGS/LDFLAGS
Summary: app-misc/elasticsearch-7.12.0 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: Tomáš Mózes
Keywords: PullRequest
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2021-03-30 08:46 UTC by Agostino Sarubbo
Modified: 2021-05-04 22:17 UTC (History)
2 users (show)

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

build.log (build.log,12.18 KB, text/plain)
2021-03-30 08:46 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-03-30 08:46:39 UTC

Issue: app-misc/elasticsearch-7.12.0 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: ci)

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-03-30 08:46:41 UTC
Created attachment 696183 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-04 22:17:52 UTC
The bug has been closed via the following commit(s):

commit e53dd1cdf4ac2277b7d7b5044bbbe55ad1704a1f
Author:     Jakov Smolic <>
AuthorDate: 2021-05-03 13:18:41 +0000
Commit:     Sam James <>
CommitDate: 2021-05-04 22:17:01 +0000

    app-misc/elasticsearch: Set QA_PREBUILT
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: Sam James <>

 app-misc/elasticsearch/elasticsearch-7.12.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)