[Paraview] problems with packaging of superbuild

Stefan Vater st.vater at web.de
Tue Feb 21 15:31:53 EST 2017


Hi,

I have some problems when packaging my paraview superbuild (v5.2.0) 
after building. When I do

ctest -VV -R cpack-paraview-TGZ

I first get

UpdateCTestConfiguration  from :/home/paraview/paraview-5.2.0/DartConfiguration.tcl
Parse Config file:/home/paraview/paraview-5.2.0/DartConfiguration.tcl
 Add coverage exclude regular expressions.
SetCTestConfiguration:CMakeCommand:/home/cmake-3.7.2-Linux-x86_64/bin/cmake
UpdateCTestConfiguration  from :/home/paraview/paraview-5.2.0/DartConfiguration.tcl
Parse Config file:/home/paraview/paraview-5.2.0/DartConfiguration.tcl
Test project /home/paraview/paraview-5.2.0
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: cpack-paraview-TGZ

1: Test command: /home/cmake-3.7.2-Linux-x86_64/bin/cmake "-Dname=paraview" "-Dcmake_generator=Unix Makefiles" "-Dcpack_generator=TGZ" "-Doutput_directory=/home/paraview/paraview-5.2.0" "-Dsource_directory=/home/paraview/paraview-5.2.0/cpack/paraview/TGZ" "-Dbuild_directory=/home/paraview/paraview-5.2.0/cpack/paraview/TGZ/build" "-P" "/home/paraview/paraview-superbuild/superbuild/cmake/scripts/package_test.cmake"
1: Test timeout computed to be: 6400
1: CMake Error at /home/paraview/paraview-superbuild/superbuild/projects/qt4.functions.cmake:53 (message):
1:   Unable to find the sqldrivers/libqsqlite plugin from Qt4 under
1:   /home/paraview/paraview-5.2.0/install/../plugins.
1: Call Stack (most recent call first):
1:   /home/paraview/paraview-superbuild/projects/paraview.bundle.common.cmake:187 (superbuild_install_qt4_plugin_paths)
1:   /home/paraview/paraview-superbuild/projects/unix/paraview.bundle.cmake:5 (include)
1:   CMakeLists.txt:32 (include)
1: 
1: 
1: -- Configuring incomplete, errors occurred!
1: See also "/home/paraview/paraview-5.2.0/cpack/paraview/TGZ/build/CMakeFiles/CMakeOutput.log".
1: CMake Error at /home/paraview/paraview-superbuild/superbuild/cmake/scripts/package_test.cmake:9 (message):
1:   CMake failed with exit code 1
1: 
1: 
1/1 Test #1: cpack-paraview-TGZ ...............***Failed    0.01 sec

I then changed in superbuild/projects/qt4.functions.cmake

set(qt4_plugin_path "${qt4_base_libdir}/../plugins")
to
set(qt4_plugin_path "${qt4_base_libdir}/plugins")

With that I get 

[...]
1: Test command: /home/cmake-3.7.2-Linux-x86_64/bin/cmake "-Dname=paraview" "-Dcmake_generator=Unix Makefiles" "-Dcpack_generator=TGZ" "-Doutput_directory=/home/paraview/paraview-5.2.0" "-Dsource_directory=/home/paraview/paraview-5.2.0/cpack/paraview/TGZ" "-Dbuild_directory=/home/paraview/paraview-5.2.0/cpack/paraview/TGZ/build" "-P" "/home/paraview/paraview-superbuild/superbuild/cmake/scripts/package_test.cmake"
1: Test timeout computed to be: 6400
1: CMake Error at /home/paraview/paraview-superbuild/superbuild/cmake/SuperbuildInstallMacros.cmake:232 (message):
1:   Unable to find the libCatalystScriptGeneratorPlugin.so plugin in
1:   lib/paraview-5.2
1: Call Stack (most recent call first):
1:   /home/paraview/paraview-superbuild/projects/unix/paraview.bundle.unix.cmake:26 (superbuild_unix_install_plugin)
1:   /home/paraview/paraview-superbuild/projects/unix/paraview.bundle.cmake:8 (include)
1:   CMakeLists.txt:32 (include)
1: 
1: 
1: -- Configuring incomplete, errors occurred!
1: See also "/home/paraview/paraview-5.2.0/cpack/paraview/TGZ/build/CMakeFiles/CMakeOutput.log".
1: CMake Error at /home/paraview/paraview-superbuild/superbuild/cmake/scripts/package_test.cmake:9 (message):
1:   CMake failed with exit code 1
1: 
1: 
1/1 Test #1: cpack-paraview-TGZ ...............***Failed    0.02 sec

Any help is appreciated!

Best regards,
Stefan


More information about the ParaView mailing list