Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654168

Summary: dev-cpp/eigen-3.3.4 : * cuda-config not found
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: jlec, kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=668852
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-cpp:eigen-3.3.4:20180427-020102.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-27 07:51:42 UTC
 * ERROR: dev-cpp/eigen-3.3.4::gentoo failed (prepare phase):
 *   cuda-config not found
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-ffmpeg4_20180425-205701

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *



emerge -qpv dev-cpp/eigen
[ebuild  N    ] dev-cpp/eigen-3.3.4  USE="cuda openmp (-altivec) -c++11 -debug -doc (-neon) {-test}"
Comment 1 Toralf Förster gentoo-dev 2018-04-27 07:51:45 UTC
Created attachment 528622 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-27 07:51:49 UTC
Created attachment 528624 [details]
dev-cpp:eigen-3.3.4:20180427-020102.log
Comment 3 Toralf Förster gentoo-dev 2018-04-27 07:51:53 UTC
Created attachment 528626 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-27 07:51:56 UTC
Created attachment 528628 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-04-27 07:52:00 UTC
Created attachment 528630 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-27 07:52:03 UTC
Created attachment 528632 [details]
temp.tbz2
Comment 7 TSM 2018-06-05 12:57:49 UTC
so how's the fixing going?
isn't this about simply adding nvidia-cuda-config into eigen dependencies if cuda USE flag is set?
Comment 8 Andreas Sturmlechner gentoo-dev 2018-06-06 10:32:49 UTC
(In reply to TSM from comment #7)
> isn't this about simply adding nvidia-cuda-config into eigen dependencies if
> cuda USE flag is set?

$ equery l -op nvidia-cuda-config
!!! No packages matching 'nvidia-cuda-config'
 * Searching for nvidia-cuda-config ...

What package is this file part of?
Comment 9 Toralf Förster gentoo-dev 2018-10-08 19:50:37 UTC
missing dep on dev-util/nvidia-cuda-toolkit :
* Could not execute cuda-config
 * Make sure >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 is installed
 * ERROR: dev-cpp/eigen-3.3.5-r1::gentoo failed (prepare phase):
 *   cuda-config not found
Comment 10 Andreas Sturmlechner gentoo-dev 2018-10-09 07:18:05 UTC
Shouldn't cuda.eclass depend on >=dev-util/nvidia-cuda-toolkit-4.2.9-r1 if it makes use of it?
Comment 11 Larry the Git Cow gentoo-dev 2018-10-17 04:46:53 UTC
The bug has been closed via the following commit(s):

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

commit 38f0acd3a2cb845b4f03515c6203d853a0ebc05b
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2018-10-14 15:44:48 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2018-10-17 04:45:25 +0000

    cuda.eclass: Add nvidia-cuda-toolkit dep
    
    The eclass checked for nvidia-cuda-toolkit but was missing the DEPEND.
    Also for EAPI7 both DEPEND and BDEPEND are needed for the compiler and
    libraries.
    
    Closes: https://bugs.gentoo.org/654168
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 eclass/cuda.eclass | 5 +++++
 1 file changed, 5 insertions(+)
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-17 07:55:57 UTC
Reopening.

The fix broke at least dev-cpp/eigen[-cuda]

We need a more thoroughly developed fix for this.
Comment 13 Andreas Sturmlechner gentoo-dev 2018-10-18 21:23:52 UTC
We can drop cuda support if the eclass is not fixed.
Comment 14 Larry the Git Cow gentoo-dev 2018-10-28 22:19:58 UTC
The bug has been closed via the following commit(s):

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

commit 72f5dba2a829c78610f3a591d267348fbcb4964c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-10-28 22:17:30 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-10-28 22:19:16 +0000

    dev-cpp/eigen: Drop old
    
    Closes: https://bugs.gentoo.org/654168
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-cpp/eigen/Manifest           |   2 -
 dev-cpp/eigen/eigen-3.3.3.ebuild | 100 ---------------------------------------
 dev-cpp/eigen/eigen-3.3.4.ebuild | 100 ---------------------------------------
 3 files changed, 202 deletions(-)