#1140929 FTBFS with vtk 9.6

Package:
src:liggghts
Source:
src:liggghts
Submitter:
Drew Parsons
Date:
2026-07-17 11:05:04 UTC
Severity:
normal
Tags:
#1140929#5
Date:
2026-06-28 13:51:03 UTC
From:
To:
liggghts FTBFS with vtk 9.6
(currently available in experimental)


[ 27%] Building CXX object src/CMakeFiles/libliggghts.dir/dump_decomposition_vtk.cpp.o
cd /build/vtk-dep/liggghts-3.8.0+repack1/debian/build/src && /usr/bin/x86_64-linux-gnu-g++ -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_GRAPH_DYN_LINK -DBOOST_GRAPH_NO_LIB -
DBOOST_MPI_DYN_LINK -DBOOST_MPI_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DFMT_SHARED -DMPICH_SKIP_MPICXX -DMPI_NO_CPPBIND -DOMPI_SKIP_MPICXX -DSCN_DISABLE_FAST_FLOAT=0 -DSCN_DISABLE_REG
EX=0 -DSCN_REGEX_BACKEND=0 -D_MPICC_H -Dkiss_fft_scalar=double -Dlibliggghts_EXPORTS -I/usr/include/eigen3 -I/build/vtk-dep/liggghts-3.8.0+repack1 -I/build/vtk-dep/
liggghts-3.8.0+repack1/src -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -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 -g -O2 -ffile-prefix-map=/build/vtk-d
ep/liggghts-3.8.0+repack1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DLAMMPS_VTK6 -DLAMMPS_VTK -std=c++0x -DLAMMPS_JPEG
-fPIC -MD -MT src/CMakeFiles/libliggghts.dir/dump_decomposition_vtk.cpp.o -MF CMakeFiles/libliggghts.dir/dump_decomposition_vtk.cpp.o.d -o CMakeFiles/libliggghts.dir/dump_decomposition_vtk.cpp.o -c /build/vtk-dep/liggghts-3.8.0+repack1/src/dump_decomposition_vtk.cpp
In file included from /usr/include/vtk-9.6/vtkGenericDataArray.txx:9,
                 from /usr/include/vtk-9.6/vtkGenericDataArray.h:498,
                 from /usr/include/vtk-9.6/vtkAOSDataArrayTemplate.h:27,
                 from /usr/include/vtk-9.6/vtkCellArray.h:128,
                 from /build/vtk-dep/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:51:
/usr/include/vtk-9.6/vtkMath.h: In static member function ‘static T vtkMath::ClampValue(const T&, const T&, const T&)’:
/usr/include/vtk-9.6/vtkMath.h:2012:15: error: ‘clamp’ is not a member of ‘std’ [-Wtemplate-body]
 2012 |   return std::clamp(value, min, max);
      |               ^~~~~

...

In file included from /usr/include/vtk-9.6/vtkDataArrayTupleRange_AOS.h:12,
                 from /usr/include/vtk-9.6/vtkDataArrayRange.h:20,
                 from /usr/include/vtk-9.6/vtkCellArray.h:131:
/usr/include/vtk-9.6/vtkDataArrayTupleRange_Generic.h: At global scope:
/usr/include/vtk-9.6/vtkDataArrayTupleRange_Generic.h:824:17: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
  824 |   typename std::enable_if_t<!std::is_same_v<VT, double>> VTK_ITER_INLINE GetTuple(
      |                 ^~~~~~~~~~~
/usr/include/vtk-9.6/vtkDataArrayTupleRange_Generic.h:824:17: note: ‘std::enable_if_t’ is only available from C++14 onwards
/usr/include/vtk-9.6/vtkDataArrayTupleRange_Generic.h:824:28: error: expected unqualified-id before ‘<’ token [-Wtemplate-body]
  824 |   typename std::enable_if_t<!std::is_same_v<VT, double>> VTK_ITER_INLINE GetTuple(
      |                            ^


...

/usr/include/vtk-9.6/vtkCellArray.h:1650:65:   required from ‘void vtkCellArray_detail::GetCellAtIdImpl::operator()(OffsetsT*, ConnectivityT*, vtkIdType, vtkIdList*) [with OffsetsT = vtkDataArray; ConnectivityT = vtkDataArray; vtkIdType = long long int]’
 1650 |     const vtkIdType cellSize = static_cast<vtkIdType>(endOffset - beginOffset);
      |                                                       ~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/vtk-9.6/vtkCellArray.h:1032:16:   required from ‘void vtkCellArray::Dispatch(Functor&&, Args&& ...) [with Functor = vtkCellArray_detail::GetCellAtIdImpl; Args = {long long int&, vtkIdList*&}]’
 1032 |         functor(this->Offsets.Get(), this->Connectivity.Get(), std::forward<Args>(args)...);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vtk-9.6/vtkCellArray.h:1816:17:   required from here
 1816 |   this->Dispatch(vtkCellArray_detail::GetCellAtIdImpl{}, cellId, pts);
      |   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vtk-9.6/vtkDataArrayValueRange_Generic.h:386:27: error: ‘class vtkDataArray’ has no member named ‘GetValue’
  386 |       return this->Array->GetValue(this->Id.GetValueId());
      |              ~~~~~~~~~~~~~^~~~~~~~

#1140929#12
Date:
2026-07-17 08:19:27 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for liggghts (versioned as 3.8.0+repack1-14.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian

#1140929#21
Date:
2026-07-17 11:04:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
liggghts, 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 1140929@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated liggghts 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: Fri, 17 Jul 2026 12:45:00 +0200
Source: liggghts
Architecture: source
Version: 3.8.0+repack1-15
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1140929
Changes:
 liggghts (3.8.0+repack1-15) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Adrian Bunk ]
   * Fix FTBFS with vtk 9.6. Closes: #1140929.
 .
   [ Santiago Vila ]
   * Fix old-fsf-address-in-copyright-file.
   * Drop "Rules-Requires-Root: no" (default).
   * Drop "Priority: optional" (default).
   * Update standards-version.
Checksums-Sha1:
 cd0a0acf15b807b1687d14cda2e56cbfc4c71746 1969 liggghts_3.8.0+repack1-15.dsc
 967a92471b978a50c42dd19b0833e7fb4be8b890 12072 liggghts_3.8.0+repack1-15.debian.tar.xz
 aac4b7aa5629acd5f9dae855fdb279598b3cba4e 8862 liggghts_3.8.0+repack1-15_source.buildinfo
Checksums-Sha256:
 15eb431209f44f555d4d504cffdd02c2ef79fd106dd0ba354968553dea07fe9f 1969 liggghts_3.8.0+repack1-15.dsc
 9e4244e821577dc3cfeb9927d71b89de4952e1064c0b13acd6eab2f98375ae86 12072 liggghts_3.8.0+repack1-15.debian.tar.xz
 03af25a9a463d6536c8c916f969f634ce9f8128b85c91795215b2c6fd3f1bbea 8862 liggghts_3.8.0+repack1-15_source.buildinfo
Files:
 85abe237c42802fcb19d495463c5f297 1969 science optional liggghts_3.8.0+repack1-15.dsc
 43321814d49e08a09c92462a62ccc803 12072 science optional liggghts_3.8.0+repack1-15.debian.tar.xz
 918fb61e0164a8e5d4bf92ad1e8fd77b 8862 science optional liggghts_3.8.0+repack1-15_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmpaCOUACgkQQc5/C58b
izIa9Qf7BoAXBEGobLiUA2IjR72rrGOW6CY60NgT+4Iw4A58YfQR173990m/1wyP
k/wOYQVSCHmcFq/9nE8Ztj3kNKGJVch8d1AWCqSLkmltxHu9bXS/SeD+Rs9JaOZf
gO78WeCrKCUt625ncjTZRX0/y2sbLBqvLZoUpNEUCsgLW6nigbHeZfi4yN7oczn3
rYqp/IXQiTAh6FrAVPfbaJ7xX6fhw7eZ60+7cZa9Ef7v49T/CznsQPG/Bho1PYui
yG1diYU16+PsuvL4C3OigXDHMlsqycYoGptVGXk3BH4jE7ErNvYaPdbQgcrvhZS5
HsBqwyxfXSiA1HNBs2iRjzxx1iyOPg==
=XMsS
-----END PGP SIGNATURE-----