Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434000 - [science overlay] sci-visualization/paraview-3.14.1-r2 compile error: QWebPage: No such file or directory
Summary: [science overlay] sci-visualization/paraview-3.14.1-r2 compile error: QWebPag...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 06:50 UTC by Hans
Modified: 2013-02-11 21:34 UTC (History)
1 user (show)

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


Attachments
output of emerge --info '=sci-visualization/paraview-3.14.1-r2' (paraview-emerge-info,4.47 KB, text/plain)
2012-09-05 06:51 UTC, Hans
Details
output of emerge -pqv '=sci-visualization/paraview-3.14.1-r2' (paraview-emerge-pqv,336 bytes, text/plain)
2012-09-05 06:52 UTC, Hans
Details
output of emerge --info '=sci-visualization/paraview-3.14.1-r2' with webkit (paraview-emerge-info-with-webkit,4.48 KB, text/plain)
2012-09-05 22:39 UTC, Hans
Details
output of emerge -pqv '=sci-visualization/paraview-3.14.1-r2' with webkit (paraview-emerge-pqv-with-webkit,336 bytes, text/plain)
2012-09-05 22:39 UTC, Hans
Details
build log with MAKEOPTS="-j1 VERBOSE=1" (buildlog.tgz,558.43 KB, text/plain)
2012-09-09 14:29 UTC, Hans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans 2012-09-05 06:50:36 UTC
paraview fails to compile from the science overlay. The critical error seems to be

/var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/ParaView-3.14.1-Source/Qt/Widgets/pqHelpWindow.cxx:50:20: fatal error:
 QWebPage: No such file or directory



Reproducible: Always

Steps to Reproduce:
1. emerge paraview from science overlay
Actual Results:  
compile error

Expected Results:  
successfull compilation
Comment 1 Hans 2012-09-05 06:51:31 UTC
Created attachment 322960 [details]
output of emerge --info '=sci-visualization/paraview-3.14.1-r2'
Comment 2 Hans 2012-09-05 06:52:10 UTC
Created attachment 322962 [details]
output of emerge -pqv '=sci-visualization/paraview-3.14.1-r2'
Comment 3 François Bissey 2012-09-05 21:24:10 UTC
That looks like a dependency problem. Do you have qt-webkit and if so which version?
Comment 4 François Bissey 2012-09-05 21:29:37 UTC
I just had a closer look and it looks like we may have to make the dependency on qt-webkit compulsory. Until now it was a useflag which is not enabled for you so 
you may very well not have it.

Can you retry with the webkit useflag enabled?
Comment 5 Hans 2012-09-05 22:38:27 UTC
I tried recompiling with webkit as suggested, but it still fails.

I attached the corresponding emerge outputs.
Comment 6 Hans 2012-09-05 22:39:12 UTC
Created attachment 323020 [details]
output of emerge --info '=sci-visualization/paraview-3.14.1-r2' with webkit
Comment 7 Hans 2012-09-05 22:39:34 UTC
Created attachment 323022 [details]
output of emerge -pqv '=sci-visualization/paraview-3.14.1-r2' with webkit
Comment 8 François Bissey 2012-09-05 22:48:37 UTC
Was qt-webkit installed? I presume it was the same error message.
Comment 9 Hans 2012-09-06 07:20:31 UTC
1. I added the webkit flag
2. retry emerge paraview
3. qt-webkit was installed
4. paraview emerge failed with the attached file
5. I just tried again, and it still fails
Comment 10 François Bissey 2012-09-06 08:38:51 UTC
Is the file:
/usr/include/qt4/QtWebKit/QWebPage
present on the system?
Comment 11 Hans 2012-09-06 14:47:31 UTC
Yes, it is. It has one line

#include "qwebpage.h"
Comment 12 François Bissey 2012-09-07 11:45:31 UTC
I cannot figure this out with the information you provide so far. Can you attach a build log, generated with MAKE_OPTS="-j1 VERBOSE=1". you can compress it.
Comment 13 Hans 2012-09-09 14:29:11 UTC
Created attachment 323308 [details]
build log with MAKEOPTS="-j1 VERBOSE=1"
Comment 14 François Bissey 2012-09-09 21:51:45 UTC
Ah! Nothing to do with QWebPage anymore....

[ 50%] Built target QVTK
make -f VTK/GUISupport/Qt/CMakeFiles/QVTKPython.dir/build.make VTK/GUISupport/Qt/CMakeFiles/QVTKPython.dir/depend
make[2]: Entering directory `/var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/CMakeFiles 
[ 50%] [34m[1mGenerating sipQVTKPythonQVTKWidget.cpp, sipQVTKPythonQVTKInteractor.cpp, sipQVTKPythonQVTKInteractorAdapter.cpp, sipQVTKPythonvtkQtAbstractModelAdapter.cpp, sipQVTKPythonvtkQtAnnotationLayersModelAdapter.cpp, sipQVTKPythonvtkQtTableModelAdapter.cpp, sipQVTKPythonvtkQtTreeModelAdapter.cpp, sipQVTKPythonQVTKWidget2.cpp, sipQVTKPythonQVTKGraphicsItem.cpp, sipQVTKPythoncmodule.cpp
[0mcd /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/GUISupport/Qt && /usr/bin/sip -c /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/GUISupport/Qt -t WS_X11 -t Qt_4_8_0 -I /usr/share/sip -I /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/ParaView-3.14.1-Source/VTK/GUISupport/Qt -I /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/Rendering -I /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/Filtering -I /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/Common -I /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/Views /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/GUISupport/Qt/QVTKPython.sip
sip: Deprecation warning: /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/GUISupport/Qt/QVTKPython.sip:1: %Module version number should be specified using the 'version' argument
sip: Deprecation warning: /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/Rendering/vtkRenderingPythonSIP.sip:1: %Module version number should be specified using the 'version' argument
sip: Deprecation warning: /var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build/VTK/Filtering/vtkFilteringPythonSIP.sip:1: %Module version number should be specified using the 'version' argument
sip: Unable to find file "QtOpenGL/QtOpenGLmod.sip"
make[2]: *** [VTK/GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build'
make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/paraview-3.14.1-r2/work/paraview-3.14.1_build'
make: *** [all] Error 2

You need PyQt4[opengl,webkit] I'd say. This particular one is just opengl but I am guessing there will be a requirement for the webkit bit as well. The dependencies are quite messy. I may have to simplify all that.
Comment 15 Julian Ospald 2013-02-11 21:34:37 UTC
try with sci-visualization/paraview-3.98.0