Building Salome from github on top of Paraview 5.11.2

Hi, trying to rebuild Salome from scratch on Debian/Trixie I run into an issue with cmake when configuring GUI module:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/TBB/TBBTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: TBB::tbb, TBB::tbbmalloc, TBB::tbbmalloc_proxy

  Targets not yet defined: TBB::tbbbind_2_5

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/TBB/TBBConfig.cmake:1 (include)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/vtk/FindTBB.cmake:87 (find_package)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/vtk/VTK-vtk-module-find-packages.cmake:961 (find_package)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/vtk/vtk-config.cmake:152 (include)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/paraview-config.cmake:66 (find_package)
  /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:435 (FIND_PACKAGE)
  /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:543 (SALOME_FIND_PACKAGE)
  /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/CONFIGURATION/cmake/FindSalomeParaView.cmake:31 (SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS)
  CMakeLists.txt:195 (FIND_PACKAGE)

It seems like a known issue but I cannot find the patches to apply to fix this.
Could you point me to the paraview version that fixes this or to the patches I have to apply?

Best,
C

NB: with gcc 14, I had to add cstdint header in the following files to get Catalyst and Paraview to compile:

  • catalyst/src/tools/replay/catalyst_replay.cpp
  • ParaView/VTK/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp

Hello,
You can try the following patch to build ParaView
To build SALOME’s GUI you may also need a similar patch for rkCommon