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

Bug 742608

Summary: www-servers/mongrel2-1.11.0-r1 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-15 06:09:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b44b84acbbfffbfdfee27d28380f0ea3489eb3b

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

    www-servers/mongrel2: respect *FLAGS, $(AR) and $(RANLIB)
    
    Closes: https://bugs.gentoo.org/771852
    Closes: https://bugs.gentoo.org/742608
    Signed-off-by: Sam James <sam@gentoo.org>

 .../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(-)