Package: paraview
Version: 6.1.1+dfsg1-1exp1
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: debian-arm@lists.debian.org
User: debian-arm@lists.debian.org
Usertags: armhf
User: debian-qa@lists.debian.org
Usertags: i386
Control: forwarded -1 https://gitlab.kitware.com/paraview/paraview/-/work_items/23313
Upstream MR!7290 (MR!7649) updated string/character handling for paraview 6.1.
https://gitlab.kitware.com/paraview/paraview/-/commit/d4cf2e06bb65bce72f37d2b1281ab1078df9f76d?file_path=VTKExtensions%2FIOEnSight%2FvtkPEnSightReader.cxx#cb2bcbb94bba2c6db69406d66538d30c5b9eb3f5
A consequence is that VTKExtensions/IOEnSight/vtkPEnSightReader.cxx
now fails to build on 32-bit architectures, seen in debian build logs
for armhf and i386 (in experimental).
The error log (from armhf) is
[ 1%] Building CXX object VTKExtensions/IOEnSight/CMakeFiles/VTKExtensionsIOEnSight.dir/vtkPEnSightReader.cxx.o
cd /build/reproducible-path/paraview-6.1.1+dfsg1/build.python3.13/VTKExtensions/IOEnSight && /usr/bin/arm-linux-gnueabihf-g++ -DFMT_SHARED -DMPICH_SKIP_MPICXX -DMPI_NO_CPPBIND -DOMPI_SKIP_MPICXX -DSCN_DISABLE_FAST_FLOAT=0 -DSCN_DISABLE_REGEX=0 -DSCN_REGEX_BACKEND=0 -DTBB_USE_DEBUG -DVTKExtensionsIOEnSight_EXPORTS -DVTK_MODULE_ENABLE_VTK_ParallelMPI=1 -D_MPICC_H -Dkiss_fft_scalar=double -I/build/reproducible-path/paraview-6.1.1+dfsg1/VTKExtensions/IOEnSight -I/build/reproducible-path/paraview-6.1.1+dfsg1/build.python3.13/VTKExtensions/IOEnSight -isystem /usr/include/vtk-9.6 -isystem /usr/include/vtk-9.6/vtkfmt -isystem /usr/include/vtk-9.6/vtkscn/include -isystem /usr/include/vtk-9.6/vtkscn -isystem /usr/include/vtk-9.6/token -isystem /usr/include/vtk-9.6/vtkkissfft -isystem /usr/lib/arm-linux-gnueabihf/mpich/include -g -O2 -ffile-prefix-map=/build/reproducible-path/paraview-6.1.1+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT VTKExtensions/IOEnSight/CMakeFiles/VTKExtensionsIOEnSight.dir/vtkPEnSightReader.cxx.o -MF CMakeFiles/VTKExtensionsIOEnSight.dir/vtkPEnSightReader.cxx.o.d -o CMakeFiles/VTKExtensionsIOEnSight.dir/vtkPEnSightReader.cxx.o -c /build/reproducible-path/paraview-6.1.1+dfsg1/VTKExtensions/IOEnSight/vtkPEnSightReader.cxx
...
/build/reproducible-path/paraview-6.1.1+dfsg1/VTKExtensions/IOEnSight/vtkPEnSightReader.cxx: In member function ‘void vtkPEnSightReader::InsertNextCellAndId(vtkUnstructuredGrid*, int, vtkIdType, vtkIdType*, int, int, vtkIdType, vtkIdType, vtkCellArray*)’:
/build/reproducible-path/paraview-6.1.1+dfsg1/VTKExtensions/IOEnSight/vtkPEnSightReader.cxx:2507:30: error: cannot convert ‘long long int*’ to ‘const vtkIdType*’ {aka ‘const int*’}
2507 | this->MapToGlobalIds(inFace, faceSize, partId, outFace);
| ^~~~~~
| |
| long long int*
/build/reproducible-path/paraview-6.1.1+dfsg1/VTKExtensions/IOEnSight/vtkPEnSightReader.cxx:2456:20: note: initializing argument 1 of ‘void vtkPEnSightReader::MapToGlobalIds(const vtkIdType*, vtkIdType, int, vtkIdType*)’
2456 | const vtkIdType* inputIds, vtkIdType numPoints, int partId, vtkIdType* globalIds)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
Reported upstream, https://gitlab.kitware.com/paraview/paraview/-/work_items/23313