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

Bug 728044

Summary: sci-libs/lrslib does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, jsmolic
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-06-12 08:28:58 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: sci-libs/lrslib does not respect LDFLAGS.
Discovered on: amd64

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 (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-12 08:29:04 UTC
Created attachment 644488 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-10-23 12:09:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bede998cb6d8b4654b50a706816796f08ee87e3

commit 4bede998cb6d8b4654b50a706816796f08ee87e3
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2021-10-23 12:06:39 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-10-23 12:07:10 +0000

    sci-libs/lrslib: new revision with CFLAGS/LDFLAGS patches.
    
    The LDFLAGS patch here is new, and fixes bug 728044. The CFLAGS patch
    merely replaces an inline "sed", but will allow me to send this change
    upstream (where they've made an effort to use CFLAGS before).
    
    Closes: https://bugs.gentoo.org/728044
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../lrslib/files/lrslib-071b-makefile-cflags.patch | 100 +++++++++++
 .../files/lrslib-071b-makefile-ldflags.patch       | 184 +++++++++++++++++++++
 sci-libs/lrslib/lrslib-071b-r1.ebuild              |  61 +++++++
 3 files changed, 345 insertions(+)