#1140610 FTBFS on 32-bit architectures: vtkPEnSightReader::InsertNextCellAndId cannot convert ‘long long int*’ to ‘const vtkIdType*’ {aka ‘const int*’}

Package:
paraview
Source:
paraview
Description:
Parallel Visualization Application
Submitter:
Drew Parsons
Date:
2026-06-24 17:21:02 UTC
Severity:
normal
Tags:
#1140610#5
Date:
2026-06-23 13:12:08 UTC
From:
To:
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

#1140610#12
Date:
2026-06-24 17:19:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
paraview, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <dparsons@debian.org> (supplier of updated paraview package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 24 Jun 2026 18:51:56 +0200
Source: paraview
Architecture: source
Version: 6.1.1+dfsg1-1exp2
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Drew Parsons <dparsons@debian.org>
Closes: 1140610
Changes:
 paraview (6.1.1+dfsg1-1exp2) experimental; urgency=medium
 .
   * Team upload.
   * debian patch vtkIdType_32bit_cast.patch casts index datatypes
     (64-bit or unsigned char) to vtkIdType to enable build on
     32-bit systems, following changes in MR!7290 and MR!7648
     (upstream Work item #23313). Closes: #1140610
Checksums-Sha1:
 720d9149939b920d20f92f0f01a28e3dafed2a8a 3024 paraview_6.1.1+dfsg1-1exp2.dsc
 1c2dff0c8f599c40d83fda16d5fca35fe66b7401 34872 paraview_6.1.1+dfsg1-1exp2.debian.tar.xz
 bde38863023d594f3d1c1ca0534cd93c6954446a 35098 paraview_6.1.1+dfsg1-1exp2_source.buildinfo
Checksums-Sha256:
 34d6b72c2b5e29b0bc37eeae3e45bd90b72e3a2359fbc75609ac6b824717dcd7 3024 paraview_6.1.1+dfsg1-1exp2.dsc
 a6e3a4bf22609853e7ef14e0dc4c0a44ccbf4e4c5902031695c2bd1b2e0b88c0 34872 paraview_6.1.1+dfsg1-1exp2.debian.tar.xz
 9a6fcb9f73bae0d0f33cad8679b16bc5ab67cc4e6af9f5a7b17465d44afa2d21 35098 paraview_6.1.1+dfsg1-1exp2_source.buildinfo
Files:
 133d1d25797b7937551dc2a7e2ccffda 3024 science optional paraview_6.1.1+dfsg1-1exp2.dsc
 71985f4469a5876c06d4cbce53f8e554 34872 science optional paraview_6.1.1+dfsg1-1exp2.debian.tar.xz
 86fa9df26493a9f2ecea1748fc881c4f 35098 science optional paraview_6.1.1+dfsg1-1exp2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmo8C54ACgkQVz7x5L1a
Afoswg//eQ0uglZWcp8Bt1H+j9kY6fu/zutkQ3o5MnWQAusXtQ4hAdmcOkO6K8RT
YnDT3aARB1eTelAgAflkb00PmcQl9oXUgmY6gz1OjBkTH7OctM9Nkg6RZAvyeLBX
DcYsG7yqbbfbx5GyTst4ZR1iT+n4zL+2pyxnS53ocrzJnVQ63g9ooIftxVMcZBJJ
a3YfZY80O3AJg3X5VW5lippph+pz8giiz33G/8qLzdhm91kQ9Tfl327o/n7+c/Nb
zAHOOrBgl91XTyzBHNCNqaW46ZgoAN84x+kbVr8EQ+r8u6/8ePIEat+OIJwPgf+1
HjI5PI7Gpg6+JPFZg7rrwQjt1b9Rj+efB5p+kL0sPCBT253cuZNcP0Mnq/sQzGLY
3QkfJxVIFh5LUU3sqauat31N4ldvQLnbwUdMqDwvJE47E29mt7OSM1aJYBK0AOn3
UTry+d7IlFMguPF7rakaVqsNvpZtUhNSLO9/XJMIMqhyxXH+9+RgXT/GKF1SGJvc
UfcTQuQsu6zd37jQwK+IooyZMH6fkm4aTKUctjTLkcPVOtw5v8oRaLQaurPxJaWG
QefQFS4Hmmot23WehVJB6LNo3uTxAbzSyANAVU7b0vABbi5f+PA3QH1jE7afZbeh
2aW8zT7T5eIol/fUttbnlERUaYOgpjbdPVLE3uK/kbf3yQep1vs=
=OLoL
-----END PGP SIGNATURE-----