Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728044 - sci-libs/lrslib does not respect LDFLAGS
Summary: sci-libs/lrslib does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2020-06-12 08:28 UTC by Agostino Sarubbo
Modified: 2021-10-23 12:09 UTC (History)
2 users (show)

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

build.log (build.log,11.43 KB, text/plain)
2020-06-12 08:29 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-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

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

commit 4bede998cb6d8b4654b50a706816796f08ee87e3
Author:     Michael Orlitzky <>
AuthorDate: 2021-10-23 12:06:39 +0000
Commit:     Michael Orlitzky <>
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).
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Michael Orlitzky <>

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