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

Bug 873655

Summary: sci-physics/lhapdf-6.5.2 does not respect CFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27806
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-09-30 14:37:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618bc38b2169d7eb4dc94dc6e19444510759f02d

commit 618bc38b2169d7eb4dc94dc6e19444510759f02d
Author:     Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
AuthorDate: 2022-10-16 17:09:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-30 09:33:25 +0000

    sci-physics/lhapdf: Patch CXXFLAGS and LDFLAGS
    
    Bug: https://bugs.gentoo.org/875386
    Bug: https://bugs.gentoo.org/873655
    Bug: https://bugs.gentoo.org/873652
    Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
    Signed-off-by: Sam James <sam@gentoo.org>

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