Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742608 - www-servers/mongrel2-1.11.0-r1 does not respect CFLAGS/LDFLAGS
Summary: www-servers/mongrel2-1.11.0-r1 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: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-09-15 06:09 UTC by Agostino Sarubbo
Modified: 2021-04-25 19:13 UTC (History)
1 user (show)

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

build.log (build.log,45.08 KB, text/plain)
2020-09-15 06:10 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 2020-09-15 06:09:59 UTC

Issue: www-servers/mongrel2-1.11.0-r1 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: tinderbox)

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 2020-09-15 06:10:01 UTC
Created attachment 660330 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-25 19:13:44 UTC
The bug has been closed via the following commit(s):

commit 6b44b84acbbfffbfdfee27d28380f0ea3489eb3b
Author:     Sam James <>
AuthorDate: 2021-04-25 18:52:44 +0000
Commit:     Sam James <>
CommitDate: 2021-04-25 19:13:30 +0000

    www-servers/mongrel2: respect *FLAGS, $(AR) and $(RANLIB)
    Signed-off-by: Sam James <>

 .../files/mongrel2-1.11.0-respect-FLAGS.patch      | 146 +++++++++++++++++++++
 www-servers/mongrel2/files/systemtls.mak           |  10 +-
 www-servers/mongrel2/mongrel2-1.11.0-r1.ebuild     |   3 +-
 3 files changed, 153 insertions(+), 6 deletions(-)