Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725602 - sys-apps/grepcidr does not respect LDFLAGS
Summary: sys-apps/grepcidr does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2020-05-27 11:50 UTC by Agostino Sarubbo
Modified: 2021-06-11 00:29 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.23 KB, text/plain)
2020-05-27 11:50 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 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(-)