Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396119 - sci-libs/vtk-5.8.0 version bump
Summary: sci-libs/vtk-5.8.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 18:49 UTC by Alan Smithee
Modified: 2011-12-29 11:39 UTC (History)
3 users (show)

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


Attachments
vtk ebuild patch (vtk-5.8.0.ebuild.diff,1.31 KB, patch)
2011-12-27 20:55 UTC, Alan Smithee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Smithee 2011-12-26 18:49:16 UTC
Version bump request for VTK 5.8.0. it is availabe from kitware since september 2011 but has not reached the portage yet. The new version has some nice new features and it would be nice to make gentoo capable to use them. Unfortunately i am not experienced enough to update the ebuild by myself, since the VTK ebuild looks quite complicated.

Reproducible: Always

Steps to Reproduce:
1. emerge =sci-libs/vtk-5.8.0
2.
3.
Actual Results:  
emerge: there are no ebuilds to satisfy "=sci-libs/vtk-5.8.0".


Expected Results:  
installing version 5.8.0
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-12-26 20:35:21 UTC
nice, thanks for the report. I will look into it.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-12-27 18:53:00 UTC
+*vtk-5.8.0 (27 Dec 2011)
+
+  27 Dec 2011; Justin Lecher <jlec@gentoo.org> +vtk-5.8.0.ebuild,
+  +files/vtk-5.8.0-R.patch:
+  Version Bump, #396119
+
Comment 3 François Bissey 2011-12-27 18:59:45 UTC
A number of things I have done for vtk in paraview 3.10.1 may apply here as well.
Sorry I didn't bump that one up in the overlay, I have quite busy. I may wait for paraview-3.12.1 before bumping it. .0 has some wrinkles (not as bad as 3.10.0 however).
Comment 4 Alan Smithee 2011-12-27 20:55:47 UTC
Created attachment 297113 [details, diff]
vtk ebuild patch
Comment 5 Alan Smithee 2011-12-27 20:57:39 UTC
Thank you very mich Justin. For my purpose I had to add SIP and HDF5 dependency. The HDF5 and SIP dependency is made optionally via useflag (hdf5 and python, respectively). Please take a look at the patch!
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-12-27 21:06:31 UTC
Thanksfor ehe patch. I forgot to add that.
Comment 7 Alan Smithee 2011-12-27 21:07:47 UTC
okay my fault... i was glad too early. Now i get compilation Error

sip: Unable to find file "QtCore/QtCoremod.sip"                                 
make[2]: *** [GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp] Fehler 1
make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Fehler 2

I took a look at another machine and QtCoremod.sip belongs to PyQt4 and not
SIP. But how to overcome it now? I think making PyQt4 as dependency is overkill...
Comment 8 François Bissey 2011-12-27 21:19:54 UTC
(In reply to comment #7)
> okay my fault... i was glad too early. Now i get compilation Error
> 
> sip: Unable to find file "QtCore/QtCoremod.sip"                                 
> make[2]: *** [GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp] Fehler 1
> make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Fehler 2
> 
> I took a look at another machine and QtCoremod.sip belongs to PyQt4 and not
> SIP. But how to overcome it now? I think making PyQt4 as dependency is
> overkill...

In paraview-3.10.1 I added PyQt4 as a dep (paraview was shipping with a pre-release of vtk-5.8). It may be avoided by making gui support optional. The Qt stuff is gui related so there is probably a cmake variable that can be toggled on or off.
Comment 9 François Bissey 2011-12-27 22:53:24 UTC
There is a
VTK_USE_GUISUPPORT 
variable try to turn that off and see if it works without PyQt4.
Comment 10 Helmut Jarausch 2011-12-28 11:07:16 UTC
(In reply to comment #4)
> Created attachment 297113 [details, diff] [details, diff]
> vtk ebuild patch

Unfortunately, that ebuild leads to a sandbox violation here :

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/lib64/python2.7/site-packages/test-easy-install-1028.write-test
A: /usr/lib64/python2.7/site-packages/test-easy-install-1028.write-test
R: /usr/lib64/python2.7/site-packages/test-easy-install-1028.write-test
C: /usr/bin/python2.7 setup.py install --prefix=/usr 
--------------------------------------------------------------------------------
When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/home/jarausch/.gentoo/java-config-2/current-user-vm"
JAVACFLAGS="" COMPILER=""
Comment 11 François Bissey 2011-12-28 23:04:33 UTC
(In reply to comment #10)
> (In reply to comment #4)
> > Created attachment 297113 [details, diff] [details, diff] [details, diff]
> > vtk ebuild patch
> 
> Unfortunately, that ebuild leads to a sandbox violation here :
> 
> VERSION 1.0
> FORMAT: F - Function called
> FORMAT: S - Access Status
> FORMAT: P - Path as passed to function
> FORMAT: A - Absolute Path (not canonical)
> FORMAT: R - Canonical Path
> FORMAT: C - Command Line
> 
> F: open_wr
> S: deny
> P: /usr/lib64/python2.7/site-packages/test-easy-install-1028.write-test
> A: /usr/lib64/python2.7/site-packages/test-easy-install-1028.write-test
> R: /usr/lib64/python2.7/site-packages/test-easy-install-1028.write-test
> C: /usr/bin/python2.7 setup.py install --prefix=/usr 
> --------------------------------------------------------------------------------
> When you file a bug report, please include the following information:
> GENTOO_VM=  CLASSPATH=""
> JAVA_HOME="/home/jarausch/.gentoo/java-config-2/current-user-vm"
> JAVACFLAGS="" COMPILER=""

This is bug #396297 now.
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2011-12-29 11:39:23 UTC
Sadly there is no option to disable hdf5 support. So it is now a mandatory dep now. I added the missing deps.

+  29 Dec 2011; Justin Lecher <jlec@gentoo.org> vtk-5.8.0.ebuild:
+  Add missing deps for hdf5 and PyQt4/sip support
+