Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601580 - sci-libs/mkl-10.0.5.025-r1 fails src_patch mkl-10.0.2.018-openmpi.patch
Summary: sci-libs/mkl-10.0.5.025-r1 fails src_patch mkl-10.0.2.018-openmpi.patch
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 12:03 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2020-06-06 00:35 UTC (History)
3 users (show)

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


Attachments
emerge --info =sci-libs/mkl-10.0.5.025-r1 (einfo,8.36 KB, text/plain)
2016-12-04 12:03 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-04 12:03:14 UTC
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
Comment 1 Thomas Capricelli 2017-05-18 23:45:45 UTC
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"
Comment 2 Thomas Capricelli 2017-05-18 23:53:25 UTC

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)
Comment 3 Shunsuke Shimizu 2018-07-10 02:49:12 UTC
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.
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-05 21:19:47 UTC
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.
Comment 5 Larry the Git Cow gentoo-dev 2020-06-05 21:21:38 UTC
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(-)
Comment 6 Larry the Git Cow gentoo-dev 2020-06-06 00:34:37 UTC
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(-)