Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910174 - sci-libs/openblas-0.3.23 fails tests
Summary: sci-libs/openblas-0.3.23 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/xianyi/OpenBLAS/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-10 06:48 UTC by Agostino Sarubbo
Modified: 2023-07-16 13:01 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,81.84 KB, application/x-xz)
2023-07-10 06:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-07-10 06:48:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/openblas-0.3.23 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-10 06:49:01 UTC
Created attachment 865322 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Michael Orlitzky gentoo-dev 2023-07-11 14:13:31 UTC
The tests failed to build...

make -C src
x86_64-pc-linux-gnu-ar  -ru ../../libopenblas_zenp-r0.3.23.a slauum_U_single.o slauum_L_single.o slauum_U_parallel.o slauum_L_parallel.o dlauum_U_single.o dlauum_L_single.o dlauum_U_parallel.o dlauum_L_parallel.o clauum_U_single.o clauum_L_single.o clauum_U_parallel.o clauum_L_parallel.o zlauum_U_single.o zlauum_L_single.o zlauum_U_parallel.o zlauum_L_parallel.o
x86_64-pc-linux-gnu-ar: ../../libopenblas_zenp-r0.3.23.a: malformed archive
make[2]: *** [../../Makefile.tail:46: libs] Error 1
Comment 3 Michael Orlitzky gentoo-dev 2023-07-12 02:34:50 UTC
I was finally able to reproduce this with great difficulty. It looks like a parallel-make issue. I can add -j1 to emake test if need be.
Comment 4 Larry the Git Cow gentoo-dev 2023-07-13 03:25:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb87cbc93f5de9323dd7e4bea1fbd29164c757d

commit 1bb87cbc93f5de9323dd7e4bea1fbd29164c757d
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2023-07-13 00:41:52 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2023-07-13 00:46:04 +0000

    sci-libs/openblas: work around test parallelism issue.
    
    Something weird is going on when we run "make tests" and the solution
    isn't obvious to me, so let's -j1 it for now. Unrelated to that, we
    don't need to build our custom shared-blas-lapack target unless
    USE=eselect-ldso is set, so let's not.
    
    Closes: https://bugs.gentoo.org/910174
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-libs/openblas/openblas-0.3.23.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-07-13 18:56:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb4197bb27d2103d9cd548d43ee7bd77942f51b

commit 0bb4197bb27d2103d9cd548d43ee7bd77942f51b
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2023-07-13 18:31:54 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2023-07-13 18:54:57 +0000

    sci-libs/openblas: improved parallel build fix.
    
    Bug: https://bugs.gentoo.org/910174
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../files/openblas-0.3.23-parallel-make.patch      | 67 ++++++++++++++++++++++
 sci-libs/openblas/openblas-0.3.23.ebuild           |  4 +-
 2 files changed, 69 insertions(+), 2 deletions(-)