[Debian-med-packaging] Bug#1122455: plastimatch: FTBFS: /<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDeformableRegistrationFilter.hxx:107:24: error: 'class itk::LogDomainDeformableRegistrationFilter<TFixedImage, TMovingImage, TField>::VelocityFieldType' resolves to 'itk::LogDomainDeformableRegistrationFilter<TFixedImage, TMovingImage, TField>::VelocityFieldType', which is not a class type [-Wtemplate-body]

Santiago Vila sanvila at debian.org
Wed Dec 10 20:40:20 GMT 2025


Package: src:plastimatch
Version: 1.10.0+dfsg.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:plastimatch, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[ 64%] Built target plmreconstruct
[ 65%] Building CXX object src/register/CMakeFiles/plmregister.dir/itk_demons_util.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/register && /us [too-long-redacted] rc/register/itk_demons_util.cxx
In file included from /<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDeformableRegistrationFilter.h:355,
                 from /<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDemonsRegistrationFilterWithMaskExtension.h:4,
                 from /<<PKGBUILDDIR>>/src/register/itk_demons_types.h:14,
                 from /<<PKGBUILDDIR>>/src/register/itk_demons.cxx:12:
/<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDeformableRegistrationFilter.hxx:107:24: error: ‘class itk::LogDomainDeformableRegistrationFilter<TFixedImage, TMovingImage, TField>::VelocityFieldType’ resolves to ‘itk::LogDomainDeformableRegistrationFilter<TFixedImage, TMovingImage, TField>::VelocityFieldType’, which is not a class type [-Wtemplate-body]
  107 | ::GetVelocityField(void) /* const HACK I think this should be a const function */
      |                        ^
[ 65%] Building CXX object src/register/CMakeFiles/plmregister.dir/itk_diff_demons.cxx.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/register && /us [too-long-redacted] rc/register/itk_diff_demons.cxx
make[3]: *** [src/register/CMakeFiles/plmregister.dir/build.make:432: src/register/CMakeFiles/plmregister.dir/itk_demons.cxx.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDeformableRegistrationFilter.h:355,
                 from /<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDemonsRegistrationFilterWithMaskExtension.h:4,
                 from /<<PKGBUILDDIR>>/src/register/itk_demons_types.h:14,
                 from /<<PKGBUILDDIR>>/src/register/itk_demons_registration_filter.h:8,
                 from /<<PKGBUILDDIR>>/src/register/itk_diff_demons.h:8,
                 from /<<PKGBUILDDIR>>/src/register/itk_diff_demons.cxx:5:
/<<PKGBUILDDIR>>/libs/demons_itk_insight/LOGDomainDemons/itkLogDomainDeformableRegistrationFilter.hxx:107:24: error: ‘class itk::LogDomainDeformableRegistrationFilter<TFixedImage, TMovingImage, TField>::VelocityFieldType’ resolves to ‘itk::LogDomainDeformableRegistrationFilter<TFixedImage, TMovingImage, TField>::VelocityFieldType’, which is not a class type [-Wtemplate-body]
  107 | ::GetVelocityField(void) /* const HACK I think this should be a const function */
      |                        ^
In file included from /<<PKGBUILDDIR>>/libs/demons_itk_insight/itkESMDemonsRegistrationWithMaskFunction.h:352,
                 from /<<PKGBUILDDIR>>/libs/demons_itk_insight/DiffeomorphicDemons/itkDiffeomorphicDemonsRegistrationWithMaskFilter.h:22,
                 from /<<PKGBUILDDIR>>/src/register/itk_diff_demons.h:7:
/<<PKGBUILDDIR>>/libs/demons_itk_insight/itkESMDemonsRegistrationWithMaskFunction.txx: In instantiation of ‘itk::ESMDemonsRegistrationWithMaskFunction<TFixedImage, TMovingImage, TDeformationField>::PixelType itk::ESMDemonsRegistrationWithMaskFunction<TFixedImage, TMovingImage, TDeformationField>::ComputeUpdate(const NeighborhoodType&, void*, const FloatOffsetType&) [with TFixedImage = itk::Image<float, 3>; TMovingImage = itk::Image<float, 3>; TDeformationField = itk::Image<itk::Vector<float, 3>, 3>; PixelType = itk::Vector<float, 3>; NeighborhoodType = itk::ConstNeighborhoodIterator<itk::Image<itk::Vector<float, 3>, 3>, itk::ZeroFluxNeumannBoundaryCondition<itk::Image<itk::Vector<float, 3>, 3>, itk::Image<itk::Vector<float, 3>, 3> > >; FloatOffsetType = itk::Vector<float, 3>]’:
/<<PKGBUILDDIR>>/libs/demons_itk_insight/itkESMDemonsRegistrationWithMaskFunction.txx:228:1:   required from here
  228 | ESMDemonsRegistrationWithMaskFunction<TFixedImage, TMovingImage,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  229 |   TDeformationField>
      |   ~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libs/demons_itk_insight/itkESMDemonsRegistrationWithMaskFunction.txx:279:51: warning: ‘bool itk::SpatialObject<VDimension>::IsInside(const PointType&, unsigned int, const std::string&) const [with unsigned int VDimension = 3; PointType = itk::Point<double, 3>; std::string = std::__cxx11::basic_string<char>]’ is deprecated [-Wdeprecated-declarations]
  279 |        if (  !this->GetMovingImageMask()->IsInside(mappedPoint) )
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/ITK-5.4/itkLightObject.h:21,
                 from /usr/include/ITK-5.4/itkObject.h:31,
                 from /usr/include/ITK-5.4/itkDataObject.h:31,
                 from /usr/include/ITK-5.4/itkProcessObject.h:31,
                 from /usr/include/ITK-5.4/itkImageSource.h:31,
                 from /usr/include/ITK-5.4/itkImageToImageFilter.h:31,
                 from /usr/include/ITK-5.4/itkInPlaceImageFilter.h:31,
                 from /usr/include/ITK-5.4/itkFiniteDifferenceImageFilter.h:22,
                 from /usr/include/ITK-5.4/itkDenseFiniteDifferenceImageFilter.h:22,
                 from /<<PKGBUILDDIR>>/libs/demons_itk_insight/itkPDEDeformableRegistrationWithMaskFilter.h:20,
                 from /<<PKGBUILDDIR>>/libs/demons_itk_insight/DiffeomorphicDemons/itkDiffeomorphicDemonsRegistrationWithMaskFilter.h:21:
/usr/include/ITK-5.4/itkSpatialObject.h:681:3: note: declared here
  681 |   itkLegacyMacro(virtual bool IsInside(const PointType & point, unsigned int depth = 0, const std::string & name = "")
      |   ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libs/demons_itk_insight/itkESMDemonsRegistrationWithMaskFunction.txx:288:50: warning: ‘bool itk::SpatialObject<VDimension>::IsInside(const PointType&, unsigned int, const std::string&) const [with unsigned int VDimension = 3; PointType = itk::Point<double, 3>; std::string = std::__cxx11::basic_string<char>]’ is deprecated [-Wdeprecated-declarations]
  288 |         if ( !this->GetFixedImageMask()->IsInside(fixedPoint) )
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/ITK-5.4/itkSpatialObject.h:681:3: note: declared here
  681 |   itkLegacyMacro(virtual bool IsInside(const PointType & point, unsigned int depth = 0, const std::string & name = "")
      |   ^~~~~~~~~~~~~~
make[3]: *** [src/register/CMakeFiles/plmregister.dir/build.make:460: src/register/CMakeFiles/plmregister.dir/itk_diff_demons.cxx.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1971: src/register/CMakeFiles/plmregister.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debian-med-packaging mailing list