https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/scipy-1.7.3 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 761341 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /var/tmp/portage/dev-python/scipy-1.7.3/temp/environment: line 3143: type: locale: not found numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
fix is very simple -- comparing two patches: numpy-1.21.0-no-hardcode-blasv2.patch with numpy-1.22.0-no-hardcode-blasv2.patch shows, that system_info.py in most fresh numpy-1.22 has no `lapack_opt` anymore (line 56 in https://github.com/gentoo/gentoo/blob/master/dev-python/numpy/files/numpy-1.22.0-no-hardcode-blasv2.patch#L56) I reverted numpy-1.22.0-no-hardcode-blasv2.patch to look more like numpy-1.21.0-no-hardcode-blasv2.patch I emerged numpy-1.22 with reverted patch and now system_info.py has `lapack_opt` again and now scipy-1.7.3 does not fail.
(In reply to MaxKarlErnstPlanck from comment #3) > fix is very simple -- comparing two patches: > numpy-1.21.0-no-hardcode-blasv2.patch with > numpy-1.22.0-no-hardcode-blasv2.patch shows, > that system_info.py in most fresh numpy-1.22 has no `lapack_opt` anymore > (line 56 in > https://github.com/gentoo/gentoo/blob/master/dev-python/numpy/files/numpy-1. > 22.0-no-hardcode-blasv2.patch#L56) > > I reverted numpy-1.22.0-no-hardcode-blasv2.patch to look more like > numpy-1.21.0-no-hardcode-blasv2.patch > I emerged numpy-1.22 with reverted patch and now system_info.py has > `lapack_opt` again and now scipy-1.7.3 does not fail. ah, thanks
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23970fddef65b3360224902f232eaa6d54357ed2 commit 23970fddef65b3360224902f232eaa6d54357ed2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-06 16:31:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-06 16:31:39 +0000 dev-python/numpy: fix blas patch Closes: https://bugs.gentoo.org/830630 Signed-off-by: Sam James <sam@gentoo.org> .../files/numpy-1.22.0-no-hardcode-blasv2.patch | 40 ++++------------------ ...{numpy-1.22.0.ebuild => numpy-1.22.0-r1.ebuild} | 2 +- 2 files changed, 7 insertions(+), 35 deletions(-)