Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914358 - dev-python/numpy-1.26.0[-lapack] - Wheel build failed
Summary: dev-python/numpy-1.26.0[-lapack] - Wheel build failed
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/numpy/numpy/issues...
Whiteboard:
Keywords:
: 914369 914376 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-17 15:43 UTC by Toralf Förster
Modified: 2023-09-20 06:05 UTC (History)
9 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.04 KB, text/plain)
2023-09-17 15:43 UTC, Toralf Förster
Details
dev-python:numpy-1.26.0:20230917-144154.log (dev-python:numpy-1.26.0:20230917-144154.log,6.44 KB, text/plain)
2023-09-17 15:43 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,72.86 KB, application/x-xz)
2023-09-17 15:43 UTC, Toralf Förster
Details
environment (environment,164.71 KB, text/plain)
2023-09-17 15:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-09-17 15:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.68 KB, application/x-xz)
2023-09-17 15:43 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.18 KB, application/x-xz)
2023-09-17 15:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.72 KB, application/x-xz)
2023-09-17 15:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-17 15:43:20 UTC
Library m found: YES

../numpy-1.26.0/numpy/meson.build:207:4: ERROR: Problem encountered: No BLAS library detected! Install one, or use the `allow-noblas` build option (note, this may be up to 100x slower for some linear algebra operations).

A full log can be found at /var/tmp/portage/dev-python/numpy-1.26.0/work/numpy-1.26.0-python3_11/meson-logs/meson-log.txt
 * ERROR: dev-python/numpy-1.26.0::gentoo failed (compile phase):
 *   Wheel build failed
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20230910-050004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.7_p7 [openjdk-17]
2)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.7_p7 [openjdk-jre-bin-17]
4)	Eclipse Temurin JRE 8.372_p07 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-8 
  [4]   openjdk-jre-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 7ead6ea3393becf86a49060bb54801ee1b1b0bd0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 17 14:31:37 2023 +0000

    2023-09-17 14:31:37 UTC

emerge -qpvO dev-python/numpy
[ebuild     U ] dev-python/numpy-1.26.0 [1.25.2] USE="-debug -lapack -test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-09-17 15:43:21 UTC
Created attachment 870804 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-17 15:43:22 UTC
Created attachment 870805 [details]
dev-python:numpy-1.26.0:20230917-144154.log
Comment 3 Toralf Förster gentoo-dev 2023-09-17 15:43:23 UTC
Created attachment 870806 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-09-17 15:43:24 UTC
Created attachment 870807 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-17 15:43:25 UTC
Created attachment 870808 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-17 15:43:26 UTC
Created attachment 870809 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-17 15:43:27 UTC
Created attachment 870810 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-17 15:43:28 UTC
Created attachment 870811 [details]
temp.tar.xz
Comment 9 Gary E. Miller 2023-09-17 19:26:48 UTC
Same here.  Logs on request.
Comment 10 matoro archtester 2023-09-17 20:41:05 UTC
Does this go away when enabling USE=lapack?
Comment 11 Gary E. Miller 2023-09-17 23:16:31 UTC
(In reply to matoro from comment #10)
> Does this go away when enabling USE=lapack?

Yes, that works.
Comment 12 matoro archtester 2023-09-17 23:18:30 UTC
Okay, I think we can wire up the "noblas" thing, but given the contents of the warning message seem to indicate that it is strongly encouraged, we probably want USE=lapack to be default-enabled.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 04:32:55 UTC
*** Bug 914369 has been marked as a duplicate of this bug. ***
Comment 14 Larry the Git Cow gentoo-dev 2023-09-18 06:11:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f4949ab453e5ba986d55461841e3a5c138925a

commit 18f4949ab453e5ba986d55461841e3a5c138925a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-18 06:11:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-18 06:11:39 +0000

    dev-python/numpy: wire up noblas option, default enable lapack/blas
    
    +lapack because the internal fallbacks are pretty slow. Building without blas
    is barely supported anyway, see bug #914358.
    
    Closes: https://bugs.gentoo.org/914358
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/numpy/numpy-1.26.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 08:45:52 UTC
*** Bug 914376 has been marked as a duplicate of this bug. ***
Comment 16 Larry the Git Cow gentoo-dev 2023-09-19 17:18:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d364a28a26ac79164b062fa5d562dcddc4a15c1

commit 7d364a28a26ac79164b062fa5d562dcddc4a15c1
Author:     Matoro Mahri <matoro@users.noreply.github.com>
AuthorDate: 2023-09-19 17:15:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-19 17:17:50 +0000

    profiles/arch/mips: unmask USE=blas, USE=lapack
    
    Bug: https://bugs.gentoo.org/914358
    Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/mips/use.mask | 5 -----
 1 file changed, 5 deletions(-)
Comment 17 Larry the Git Cow gentoo-dev 2023-09-20 06:05:32 UTC
The bug has been referenced in the following commit(s):

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

commit b650750559f221c784b1b535a062e10f61277eef
Author:     Matoro Mahri <matoro@users.noreply.github.com>
AuthorDate: 2023-09-19 19:02:58 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-09-20 06:04:41 +0000

    profiles/arch/mips: remove default USE="-fortran -openmp"
    
    Bug: https://bugs.gentoo.org/914358
    Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/arch/mips/make.defaults | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)