[Debian-med-packaging] Bug#822713: elastix: FTBFS with GCC 6: marked 'override', but does not override
Martin Michlmayr
tbm at hpe.com
Tue Apr 26 18:33:18 UTC 2016
Package: elastix
Version: 4.8-5
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6
This package fails to build with GCC 6. GCC 6 has not been released
yet, but will probably come out this week.
You can find GCC 6 in unstable (gcc-6). To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 26%] Building CXX object Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/elxReducedDimensionBSplineResampleInterpolator.cxx.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator && /usr/bin/c++ -DELASTIX_USE_OPENMP -DITK_IO_FACTORY_REGISTER_MANAGER -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ITKIOFactoryRegistration -I/usr/include/hdf5/serial -I/usr/include/dcmtk/dcmseg -I/usr/include/dcmtk/dcmfg -I/usr/include/dcmtk/dcmiod -I/usr/include/dcmtk/dcmrt -I/usr/include/dcmtk/dcmpstat -I/usr/include/dcmtk/dcmqrdb -I/usr/include/dcmtk/dcmwlm -I/usr/include/dcmtk/dcmsign -I/usr/include/dcmtk/dcmsr -I/usr/include/dcmtk/dcmnet -I/usr/include/dcmtk/dcmtls -I/usr/include/dcmtk/dcmjpls -I/usr/include/dcmtk/dcmjpeg -I/usr/include/dcmtk/dcmimage -I/usr/include/dcmtk/dcmimgle -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/oflog -I/usr/include/dcmtk/ofstd -I/usr/include/dcmtk/config -I/usr/include/x86_64-linux-gnu -I/usr/include/gdcm-2.6 -I/usr/include/double-conversion -I/usr/include/ITK-4.9 -I/<<PKGBUILDDIR>>/src/Common -I/<<PKGBUILDDIR>>/src/Comm
> on/CostFunctions -I/<<PKGBUILDDIR>>/src/Common/CUDA -I/<<PKGBUILDDIR>>/src/Common/ImageSamplers -I/<<PKGBUILDDIR>>/src/Common/KNN -I/<<PKGBUILDDIR>>/src/Common/KNN/ann_1.1/include -I/<<PKGBUILDDIR>>/src/Common/LineSearchOptimizers -I/<<PKGBUILDDIR>>/src/Common/ParameterFileParser -I/<<PKGBUILDDIR>>/src/Common/Transforms -I/<<PKGBUILDDIR>>/src/Common/xout -I/<<PKGBUILDDIR>>/src/Common/MevisDicomTiff -I/<<PKGBUILDDIR>>/src/Core -I/<<PKGBUILDDIR>>/src/Core/Install -I/<<PKGBUILDDIR>>/src/Core/Kernel -I/<<PKGBUILDDIR>>/src/Core/ComponentBaseClasses -I/<<PKGBUILDDIR>>/src/Core/Configuration -I/<<PKGBUILDDIR>>/src/Core/Main -I/<<PKGBUILDDIR>>/src/Components/FixedImagePyramids -I/<<PKGBUILDDIR>>/src/Components/ImageSamplers -I/<<PKGBUILDDIR>>/src/Components/Interpolators -I/<<PKGBUILDDIR>>/src/Components/Metrics -I/<<PKGBUILDDIR>>/src/Components/MovingImagePyramids -I/<<PKGBUILDDIR>>/src/Components/Optimizers -I/<<PKGBUILDDIR>>/src/Components/Registrations -I/<<PKGBUILDDIR>>/src/Components/ResampleInterpolators -I/<<PKGBUILDDIR>>/src/Components/Resamplers -I/<<PKGBUILDDIR>>/src/Components/Transforms -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -O3 -DNDEBUG -o CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/elxReducedDimensionBSplineResampleInterpolator.cxx.o -c /<<PKGBUILDDIR>>/src/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/elxReducedDimensionBSplineResampleInterpolator.cxx
> In file included from /usr/include/ITK-4.9/itkLightObject.h:21:0,
> from /usr/include/ITK-4.9/itkObject.h:31,
> from /<<PKGBUILDDIR>>/src/Core/Install/elxComponentDatabase.h:22,
> from /<<PKGBUILDDIR>>/src/Core/Kernel/elxElastixBase.h:32,
> from /<<PKGBUILDDIR>>/src/Core/Kernel/elxElastixTemplate.h:21,
> from /<<PKGBUILDDIR>>/src/Core/Install/elxIncludes.h:39,
> from /<<PKGBUILDDIR>>/src/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/elxReducedDimensionBSplineResampleInterpolator.h:21,
> from /<<PKGBUILDDIR>>/src/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/elxReducedDimensionBSplineResampleInterpolator.cxx:19:
> /<<PKGBUILDDIR>>/src/Core/ComponentBaseClasses/elxResampleInterpolatorBase.h: In instantiation of 'class elastix::ResampleInterpolatorBase<elastix::ElastixTemplate<itk::Image<float, 2u>, itk::Image<float, 2u> > >':
> /<<PKGBUILDDIR>>/src/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/elxReducedDimensionBSplineResampleInterpolator.h:54:7: required from 'class elastix::ReducedDimensionBSplineResampleInterpolator<elastix::ElastixTemplate<itk::Image<float, 2u>, itk::Image<float, 2u> > >'
> /<<PKGBUILDDIR>>/src/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/elxReducedDimensionBSplineResampleInterpolator.cxx:21:1: required from 'static int ReducedDimensionBSplineResampleInterpolator_install<VIndex>::DO(elastix::ComponentDatabase*) [with unsigned int VIndex = 1u]'
> /<<PKGBUILDDIR>>/src/Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/elxReducedDimensionBSplineResampleInterpolator.cxx:21:1: required from here
> /usr/include/ITK-4.9/itkMacro.h:300:23: error: 'const char* elastix::ResampleInterpolatorBase<TElastix>::GetNameOfClass() const [with TElastix = elastix::ElastixTemplate<itk::Image<float, 2u>, itk::Image<float, 2u> >]' marked 'override', but does not override
> virtual const char *GetNameOfClass() const ITK_OVERRIDE \
> ^
> /<<PKGBUILDDIR>>/src/Core/ComponentBaseClasses/elxResampleInterpolatorBase.h:51:3: note: in expansion of macro 'itkTypeMacro'
> itkTypeMacro( ResampleInterpolatorBase, BaseComponentSE );
> ^
> Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/build.make:65: recipe for target 'Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/elxReducedDimensionBSplineResampleInterpolator.cxx.o' failed
> make[3]: *** [Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/elxReducedDimensionBSplineResampleInterpolator.cxx.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> CMakeFiles/Makefile2:704: recipe for target 'Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/all' failed
> make[2]: *** [Components/ResampleInterpolators/ReducedDimensionBSplineResampleInterpolator/CMakeFiles/ReducedDimensionBSplineResampleInterpolator.dir/all] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> Makefile:130: recipe for target 'all' failed
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debian-med-packaging
mailing list