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

Bug 741604

Summary: sci-libs/spqr-2.0.9 fails tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: frp.bissey
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-11 06:54:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/spqr-2.0.9 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-11 06:54:16 UTC
Created attachment 659488 [details]
build.log

build log and emerge --info
Comment 2 François Bissey 2020-09-11 07:57:06 UTC
I think we have underlinking to blas here:
defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o .libs/qrsimple qrsimple.o  ../Source/.libs/libspqr.so -llapack -lcholmod -lsuitesparseconfig -lm
ld.lld: [0;31merror: [0m../Source/.libs/libspqr.so: undefined reference to dnrm2_
ld.lld: [0;31merror: [0m../Source/.libs/libspqr.so: undefined reference to dznrm2_

It wouldn't show with openblas but with netlib it will.
Comment 3 François Bissey 2020-09-11 08:31:54 UTC
OK, this is weird, blas is detected and should be linked against but `-lblas` is missing from where it should be.
Could I have the matching "config.log" and may be "Source/libspqr.la"?