Cannot switch off netcdf build
A colleague and I are building ParaView on Alpine with OSMesa support. Our superbuild invocation looks like this:
RUN cmake \
-DBUILD_TESTING=OFF \
-DPARAVIEW_USE_MPI=YES \
-DVTK_PYTHON_OPTIONAL_LINK=OFF \
-DVTK_MODULE_ENABLE_ParaView_Catalyst=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallel=YES \
-DVTK_MODULE_ENABLE_ParaView_VTKExtensionsExtraction=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersExtraction=YES \
-DPARAVIEW_USE_PYTHON=YES \
-DENABLE_osmesa=ON \
-DENABLE_llvm=ON \
-DVTK_USE_X=NO \
-DPARAVIEW_USE_QT=OFF \
../paraview-superbuild \
&& make download-all \
&& make -j8 install
This build prerequisites, but ParaView fails with:
error: strlcat undeclared here (not in a function); did you mean strncat?
The same issue was reported here and I understand it remains open, but after following advice from here attempting to switch off netcdf with
-DPARAVIEW_EXTRA_CMAKE_ARGUMENTS="-DVTK_MODULE_ENABLE_VTK_IONetCDF=NO;-DVTK_MODULE_ENABLE_VTK_netcdf=NO;-DVTK_MODULE_USE_EXTERNAL_VTK_cgns=NO;"
we still end up with the same error.
Please advise. we understand there are library incompatibilities and they need to be resolved in #18078 (closed), but we should be able, as a temporary workaround, to fix this by avoiding to build netcdf. Are we missing anything?