Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873655 - sci-physics/lhapdf-6.5.2 does not respect CFLAGS
Summary: sci-physics/lhapdf-6.5.2 does not respect CFLAGS
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: cflags
  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:51 UTC

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

This machine uses MUSL libc
To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS. If this is not something about c/c++ context see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-30 14:37:54 UTC
Created attachment 814795 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-10-30 09:34:59 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(-)