Build failure due to a missing dir in StreamLinesRepresentation plugin

Hi,

I am trying to build paraview master branch on a 2018 MBP. I got a build error as:

[2/24] Compiling Qt help project StreamLinesRepresentation.qhp
FAILED: Plugins/StreamLinesRepresentation/doc/StreamLinesRepresentation.qch
cd /Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/build/Plugins/StreamLinesRepresentation/doc && /Applications/CMake.app/Contents/bin/cmake -E copy_directory /Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/src/Plugins/StreamLinesRepresentation/doc /Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/build/Plugins/StreamLinesRepresentation/doc && /Applications/CMake.app/Contents/bin/cmake -Doutput_file:FILEPATH=/Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/build/Plugins/StreamLinesRepresentation/doc/StreamLinesRepresentation.qhp "-Dfile_patterns:STRING=*.html_s*.css_s*.png_s*.jpg" -Dnamespace:STRING=StreamLinesRepresentation.org -Dfolder:PATH=StreamLinesRepresentation -Dname:STRING=StreamLinesRepresentation -Dgiven_toc:STRING= -P /Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/src/CMake/generate_qhp.cmake && /Users/haochengliu/Software/Qt/5.9.1/clang_64/bin/qhelpgenerator /Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/build/Plugins/StreamLinesRepresentation/doc/StreamLinesRepresentation.qhp -o /Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/build/Plugins/StreamLinesRepresentation/doc/StreamLinesRepresentation.qch
Error copying directory from "/Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/src/Plugins/StreamLinesRepresentation/doc" to "/Users/haochengliu/Kitware/cmb/buildDebug-cmb5-pyarc/superbuild/paraview/build/Plugins/StreamLinesRepresentation/doc".

The solution is pretty simple - just create a doc folder in paraview/src/Plugins/StreamLinesRepresentation/.

It happens with xcode 9.4.1 + High Sierra + Qt 5.9.1/Qt 5.11.1.

Is this a Qt version problem or paraview needs a patch?

Thanks!

Are you sure that you are using the right QHelpGenerator binary ?

A related issue on Fedora Rawhide was reported recently.

Yep. I use QtMaintainsTools to install Qt binarys on OSX.

I

I’m also using CMake 3.12. I would try a lower version of CMake build on my laptop.

Edited: CMake 3.11.4 also runs into this missing doc folder problem.

Should be fixed in master now.

https://gitlab.kitware.com/paraview/paraview/merge_requests/2647