Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873652 - sci-physics/lhapdf-6.5.2 does not respect LDFLAGS
Summary: sci-physics/lhapdf-6.5.2 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 Physics related packages
Keywords: PullRequest
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2022-09-30 14:37 UTC by Agostino Sarubbo
Modified: 2022-10-30 09:34 UTC (History)
0 users

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

build.log (build.log,207.18 KB, text/plain)
2022-09-30 14:37 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 2022-09-30 14:37:45 UTC

Issue: sci-physics/lhapdf-6.5.2 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: tinderbox_musl)

This machine uses MUSL libc
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 2022-09-30 14:37:48 UTC
Created attachment 814792 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-10-30 09:34:58 UTC
The bug has been referenced in the following commit(s):

commit 618bc38b2169d7eb4dc94dc6e19444510759f02d
Author:     Alexander Puck Neuwirth <>
AuthorDate: 2022-10-16 17:09:03 +0000
Commit:     Sam James <>
CommitDate: 2022-10-30 09:33:25 +0000

    sci-physics/lhapdf: Patch CXXFLAGS and LDFLAGS
    Signed-off-by: Alexander Puck Neuwirth <>
    Signed-off-by: Sam James <>

 sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch | 11 +++++++++++
 sci-physics/lhapdf/lhapdf-6.5.2.ebuild         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)