Created attachment 455058 [details] emerge --info =sci-libs/mkl-10.0.5.025-r1 >>> Preparing source in /var/tmp/portage/sci-libs/mkl-10.0.5.025-r1/work/mkl-10.0.5.025 ... * Applying mkl-10.0.2.018-openmpi.patch ... The text leading up to this was: -------------------------- |--- interfaces/fftw2x_cdft/makefile.orig 2008-03-11 23:26:26.287984332 +0000 |+++ interfaces/fftw2x_cdft/makefile 2008-03-13 10:56:44.755095617 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored [ !! ] * ERROR: sci-libs/mkl-10.0.5.025-r1::gentoo failed (prepare phase): * patch -p1 failed with /usr/portage/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch * * Call stack: * ebuild.sh, line 115: Called src_prepare * environment, line 2661: Called default * phase-functions.sh, line 807: Called default_src_prepare * phase-functions.sh, line 872: Called __eapi6_src_prepare * environment, line 238: Called eapply '/usr/portage/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch' * environment, line 891: Called _eapply_patch '/usr/portage/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch' * environment, line 829: Called __helpers_die 'patch -p1 failed with /usr/portage/sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" find sci-libs/mkl-10.0.5.025-r1/work | grep -i interfaces | grep fftw2x_cdft | grep makefile # sci-libs/mkl-10.0.5.025-r1/work/mkl-10.0.5.025/interfaces/fftw2x_cdft/makefile
Same problem here. It hasn't been fixed since last year , ...??? The patch name mentions openmpi, but i dont even have the mpi use flag !?? : [ebuild N ] sci-libs/mkl-10.0.5.025-r1 USE="fftw int64 -doc -fortran95 -mpi"
Workaround for those finding their way here: either 1) use the 10.0.5.025 (without -r1). The ebuild changes but the software is the same. -r1 seems experimental, but left in tree for months 2) remove the patch lines : - PATCHES=( - "${FILESDIR}"/${PN}-10.0.2.018-openmpi.patch # allow openmpi to work - ) (don't forget to update manifest: repoman manifest)
Why not mask the version (sci-libs/mkl-10.0.5.025-r1)? I understand sci team has a lots of tasks and couldn't take enough care of the obsolete ebuilds, but at least just masking a corruputed one is feasible.
The problem here seems to be that no one can test it without registering with Intel. Those who can should do. I'll try to adapt the patch so that it should work. Going forward, this package should probably be de-stabilised.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6357785060c24a4fed050631056fbd2c037c2d9a commit 6357785060c24a4fed050631056fbd2c037c2d9a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-06-05 21:18:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-06-05 21:21:27 +0000 sci-libs/mkl: Try to fix patch for eapply Bug: https://bugs.gentoo.org/601580 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sci-libs/mkl/files/mkl-10.0.2.018-openmpi.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d789a664074835cd9ad03e73402d96a67bb2477 commit 2d789a664074835cd9ad03e73402d96a67bb2477 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-06-05 22:32:29 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-06-06 00:33:18 +0000 sci-libs/mkl: Drop 10.0.5.025 (r0) and the package to ~arch Bug: https://bugs.gentoo.org/601580 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sci-libs/mkl/files/mkl-10.0.2.018-tests.patch | 21 -- sci-libs/mkl/mkl-10.0.5.025.ebuild | 367 -------------------------- 2 files changed, 388 deletions(-)