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

Bug 725602

Summary: sys-apps/grepcidr does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
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: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-27 11:50:00 UTC
This is an auto-filed bug because sys-apps/grepcidr does not respect LDFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-27 11:50:05 UTC
Created attachment 642050 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-06-11 00:29:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1241beb6e5725096b6a27987b23bc1a4fc45cb40

commit 1241beb6e5725096b6a27987b23bc1a4fc45cb40
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-11 00:17:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-11 00:29:09 +0000

    sys-apps/grepcidr: port to EAPI 7
    
    * Fix VariableScope (EROOT)
    * Respect CPPFLAGS, LDFLAGS
    
    Closes: https://bugs.gentoo.org/725602
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/grepcidr/files/grepcidr-2.0-Makefile.patch | 12 ++++++++++++
 sys-apps/grepcidr/grepcidr-2.0.ebuild               | 18 +++++++++++-------
 2 files changed, 23 insertions(+), 7 deletions(-)