[Debian-med-packaging] Bug#746858: igstk: ftbfs with GCC-4.9

Matthias Klose doko at debian.org
Sun May 4 00:21:46 UTC 2014


Package: src:igstk
Version: 4.4.0-6
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9

The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.

The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/igstk_4.4.0-6_unstable_gcc49.log
The last lines of the build log are at the end of this report.

To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols
files.  For other C/C++ related build failures see the porting guide
at http://gcc.gnu.org/gcc-4.9/porting_to.html

[...]
                                     ^
/usr/include/InsightToolkit/Common/itkConceptChecking.h: In member function 'void itk::Concept::HasJoinTraits<T1, T2>::Constraints::constraints()':
/usr/include/InsightToolkit/Common/itkConceptChecking.h:641:54: warning: typedef 'ValueType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename JoinTraits<T1, T2>::ValueType ValueType;
                                                      ^
In file included from /usr/include/InsightToolkit/Common/itkVersor.h:313:0,
                 from /«PKGBUILDDIR»/Source/igstkTransform.h:24,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraphNode.h:22,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraphUI.h:31,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraphUI.cxx:18:
/usr/include/InsightToolkit/Common/itkVersor.txx: In member function 'void itk::Versor<T>::Set(const VectorType&)':
/usr/include/InsightToolkit/Common/itkVersor.txx:451:47: warning: typedef 'VectorRealValueType' locally defined but not used [-Wunused-local-typedefs]
   typedef typename VectorType::RealValueType  VectorRealValueType;
                                               ^
make[3]: *** [Utilities/SceneGraphVisualization/CMakeFiles/SceneGraphVisualization.dir/igstkSceneGraphNode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /«PKGBUILDDIR»/Source/igstkStateMachine.h:281:0,
                 from /«PKGBUILDDIR»/Source/igstkCoordinateSystem.h:22,
                 from /«PKGBUILDDIR»/Source/igstkCoordinateSystemSetTransformResult.h:21,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraph.h:26,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraph.cxx:18:
/«PKGBUILDDIR»/Source/igstkStateMachine.txx: At global scope:
/«PKGBUILDDIR»/Source/igstkStateMachine.txx:486:70: error: redeclaration of 'void igstk::StateMachine<TClass>::ExportDescription(igstk::StateMachine<TClass>::OutputStreamType&, bool) const' may not have default arguments [-fpermissive]
 ::ExportDescription( OutputStreamType & ostr, bool skipLoops=false ) const
                                                                      ^
/«PKGBUILDDIR»/Source/igstkStateMachine.txx:540:75: error: redeclaration of 'void igstk::StateMachine<TClass>::ExportDescriptionToLTS(igstk::StateMachine<TClass>::OutputStreamType&, bool) const' may not have default arguments [-fpermissive]
 ::ExportDescriptionToLTS( OutputStreamType & ostr, bool skipLoops=false ) const
                                                                           ^
In file included from /«PKGBUILDDIR»/Source/igstkStateMachine.h:281:0,
                 from /«PKGBUILDDIR»/Source/igstkCoordinateSystem.h:22,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraphNode.h:23,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraphUI.h:31,
                 from /«PKGBUILDDIR»/Utilities/SceneGraphVisualization/igstkSceneGraphUI.cxx:18:
/«PKGBUILDDIR»/Source/igstkStateMachine.txx: At global scope:
/«PKGBUILDDIR»/Source/igstkStateMachine.txx:486:70: error: redeclaration of 'void igstk::StateMachine<TClass>::ExportDescription(igstk::StateMachine<TClass>::OutputStreamType&, bool) const' may not have default arguments [-fpermissive]
 ::ExportDescription( OutputStreamType & ostr, bool skipLoops=false ) const
                                                                      ^
/«PKGBUILDDIR»/Source/igstkStateMachine.txx:540:75: error: redeclaration of 'void igstk::StateMachine<TClass>::ExportDescriptionToLTS(igstk::StateMachine<TClass>::OutputStreamType&, bool) const' may not have default arguments [-fpermissive]
 ::ExportDescriptionToLTS( OutputStreamType & ostr, bool skipLoops=false ) const
                                                                           ^
make[3]: *** [Utilities/SceneGraphVisualization/CMakeFiles/SceneGraphVisualization.dir/igstkSceneGraph.o] Error 1
make[3]: *** [Utilities/SceneGraphVisualization/CMakeFiles/SceneGraphVisualization.dir/igstkSceneGraphUI.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [Utilities/SceneGraphVisualization/CMakeFiles/SceneGraphVisualization.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j10 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Debian-med-packaging mailing list