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

Bug 912193

Summary: sci-libs/safetensors-0.3.1 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
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 2023-08-12 20:26:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/safetensors-0.3.1 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: ci)

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 2023-08-12 20:26:34 UTC
Created attachment 867739 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-08-13 15:35:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498b94997021e02987afa77d44a07dd692c80b34

commit 498b94997021e02987afa77d44a07dd692c80b34
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-08-13 15:34:23 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-08-13 15:35:36 +0000

    sci-libs/safetensors: no cflags nor ldflags. it is rust
    
    Closes: https://bugs.gentoo.org/912193
    Closes: https://bugs.gentoo.org/912194
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/safetensors/safetensors-0.3.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)