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

Bug 457060

Summary: =sci-libs/vtk-5.10.1 with >dev-lang/R-2.10 - CMake Error: The following variables are used in this project, but they are set to NOTFOUND. - R_LIBRARY_BASE
Product: Gentoo Linux Reporter: John (EBo) David <ebo>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED UPSTREAM    
Severity: normal CC: java, sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
full build log

Description John (EBo) David 2013-02-13 10:26:36 UTC
Created attachment 338758 [details]
emerge --info

a recent upgrade of the system caused builds for vtk (both 5.10.0 and 5.10.1) to fail with the following error (v5.10.1 given as example, but both version produce the same error):

==========
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
R_LIBRARY_BASE
    linked by target "vtkGraphics" in directory /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/Graphics
    linked by target "vtkGraphics" in directory /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/Graphics
==========

Looking on the net I find the following possible explination <http://vtk.org/Bug/bug_relationship_graph.php?bug_id=10779&graph=relation>:

"...the[re] is no libR{lapack,blas}.so anmore, but everything is included in libRmath.so..." with notes for a patch they use on Gentoo.

I have not had time to track down, integrate, and test the patch.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-13 19:43:40 UTC
Please attach the entire build log to this bug report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-13 19:43:56 UTC
Comment on attachment 338758 [details]
emerge --info

The build log is "required" too.
Comment 3 John (EBo) David 2013-02-15 06:23:31 UTC
Created attachment 338954 [details]
full build log

sorry about the dalay and not including the build log.
Comment 4 John (EBo) David 2013-02-18 22:19:46 UTC
The problem turned out to be a subtle issue with an R update.  The details can be found here:

https://bugs.gentoo.org/show_bug.cgi?id=457064

I was able to build sci-libs/vtk-5.10.0