[Debian-med-packaging] Bug#1075270: mia: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:36:26 BST 2024


Package: src:mia
Version: 2.4.7-13
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/mia_2.4.7-13_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html

[...]
  215 | class EXPORT_2D range2d_iterator: public  std::iterator<std::forward_iterator_tag, typename I::value_type>
      |                                                ^~~~~~~~
In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14/string:47,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from /<<PKGBUILDDIR>>/mia/core/factory.hh:24,
                 from /<<PKGBUILDDIR>>/mia/3d/vfregularizer.hh:25:
/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from /<<PKGBUILDDIR>>/mia/2d/datafield.hh:31,
                 from /<<PKGBUILDDIR>>/mia/3d/datafield.hh:32,
                 from /<<PKGBUILDDIR>>/mia/3d/vectorfield.hh:25,
                 from /<<PKGBUILDDIR>>/mia/3d/vfregularizerkernel.hh:26,
                 from /<<PKGBUILDDIR>>/mia/3d/vfregularizerkernel.cc:22:
/<<PKGBUILDDIR>>/mia/2d/iterator.hh:215:48: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  215 | class EXPORT_2D range2d_iterator: public  std::iterator<std::forward_iterator_tag, typename I::value_type>
      |                                                ^~~~~~~~
In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14/string:47,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from /<<PKGBUILDDIR>>/mia/core/factory.hh:24,
                 from /<<PKGBUILDDIR>>/mia/3d/vfregularizerkernel.hh:25:
/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
[ 29%] Building CXX object mia/3d/CMakeFiles/mia3d.dir/vfio.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/3d && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DHAVE_CONFIG_H -Dmia3d_EXPORTS -I/usr/include/eigen3 -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -fvisibility=hidden -fPIC -MD -MT mia/3d/CMakeFiles/mia3d.dir/vfio.cc.o -MF CMakeFiles/mia3d.dir/vfio.cc.o.d -o CMakeFiles/mia3d.dir/vfio.cc.o -c /<<PKGBUILDDIR>>/mia/3d/vfio.cc
In file included from /<<PKGBUILDDIR>>/mia/2d/datafield.hh:31,
                 from /<<PKGBUILDDIR>>/mia/3d/datafield.hh:32,
                 from /<<PKGBUILDDIR>>/mia/3d/vectorfield.hh:25,
                 from /<<PKGBUILDDIR>>/mia/3d/vfio.hh:28,
                 from /<<PKGBUILDDIR>>/mia/3d/vfio.cc:24:
/<<PKGBUILDDIR>>/mia/2d/iterator.hh:215:48: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  215 | class EXPORT_2D range2d_iterator: public  std::iterator<std::forward_iterator_tag, typename I::value_type>
      |                                                ^~~~~~~~
In file included from /usr/include/c++/14/bits/stl_algobase.h:65,
                 from /usr/include/c++/14/bits/stl_tree.h:63,
                 from /usr/include/c++/14/set:62,
                 from /<<PKGBUILDDIR>>/mia/3d/vfio.hh:24:
/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
[ 29%] Linking CXX executable test-2dimage-filter-convert
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/2d/filter && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-2dimage-filter-convert.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -fvisibility=hidden -rdynamic "CMakeFiles/test-2dimage-filter-convert.dir/test_convert.cc.o" "CMakeFiles/2dimage-filter-convert-common.dir/convert.cc.o" -o test-2dimage-filter-convert  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/2d:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/core ../libmia2dtest-2.4.so.6.0.1 ../libmia2d-2.4.so.6.0.1 ../../core/libmiacore-2.4.so.6.0.1 -lgsl -lgslcblas -lm /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 -lpthread -Wl,-Bstatic -ldl -Wl,-Bdynamic -lfftw3f -lxml2 /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.83.0
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 29%] Built target test-2dimage-filter-convert
[ 29%] Linking CXX shared library libmia3d-2.4.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/3d && /usr/bin/cmake -E cmake_link_script CMakeFiles/mia3d.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -fvisibility=hidden -Wl,-z,relro -Wl,-z,now -fvisibility=hidden -shared -Wl,-soname,libmia3d-2.4.so.6 -o libmia3d-2.4.so.6.0.1 CMakeFiles/mia3d.dir/affine_matrix.cc.o CMakeFiles/mia3d.dir/camera.cc.o CMakeFiles/mia3d.dir/cost.cc.o CMakeFiles/mia3d.dir/creator.cc.o CMakeFiles/mia3d.dir/critical_point.cc.o CMakeFiles/mia3d.dir/2dimagefifofilter.cc.o CMakeFiles/mia3d.dir/datafield.cc.o CMakeFiles/mia3d.dir/distance.cc.o CMakeFiles/mia3d.dir/filter.cc.o CMakeFiles/mia3d.dir/fullcost.cc.o CMakeFiles/mia3d.dir/fuzzyseg.cc.o CMakeFiles/mia3d.dir/fuzzyclustersolver_cg.cc.o CMakeFiles/mia3d.dir/ica.cc.o CMakeFiles/mia3d.dir/image.cc.o CMakeFiles/mia3d.dir/imagedraw.cc.o CMakeFiles/mia3d.dir/imageio.cc.o CMakeFiles/mia3d.dir/imagecollect.cc.o CMakeFiles/mia3d.dir/interpolator.cc.o CMakeFiles/mia3d.dir/landmark.cc.o CMakeFiles/mia3d.dir/landmarklist.cc.o CMakeFiles/mia3d.dir/landmarklistio.cc.o CMakeFiles/mia3d.dir/maskedcost.cc.o CMakeFiles/mia3d.dir/matrix.cc.o CMakeFiles/mia3d.dir/model.cc.o CMakeFiles/mia3d.dir/multicost.cc.o CMakeFiles/mia3d.dir/nfg.cc.o CMakeFiles/mia3d.dir/nonrigidregister.cc.o CMakeFiles/mia3d.dir/orientation.cc.o CMakeFiles/mia3d.dir/ppmatrix.cc.o CMakeFiles/mia3d.dir/quaternion.cc.o CMakeFiles/mia3d.dir/register.cc.o CMakeFiles/mia3d.dir/rigidregister.cc.o CMakeFiles/mia3d.dir/rot.cc.o CMakeFiles/mia3d.dir/shape.cc.o CMakeFiles/mia3d.dir/similarity_profile.cc.o CMakeFiles/mia3d.dir/splinetransformpenalty.cc.o CMakeFiles/mia3d.dir/stackdisttrans.cc.o CMakeFiles/mia3d.dir/timestep.cc.o CMakeFiles/mia3d.dir/trackpoint.cc.o CMakeFiles/mia3d.dir/transform.cc.o CMakeFiles/mia3d.dir/transformfactory.cc.o CMakeFiles/mia3d.dir/transformio.cc.o CMakeFiles/mia3d.dir/vectorfield.cc.o CMakeFiles/mia3d.dir/vfregularizer.cc.o CMakeFiles/mia3d.dir/vfregularizerkernel.cc.o CMakeFiles/mia3d.dir/vfio.cc.o  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/2d:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/core: ../2d/libmia2d-2.4.so.6.0.1 ../core/libmiacore-2.4.so.6.0.1 -lgsl -lgslcblas -lm /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 -lpthread -Wl,-Bstatic -ldl -Wl,-Bdynamic -lfftw3f -lxml2
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/mia/3d && /usr/bin/cmake -E cmake_symlink_library libmia3d-2.4.so.6.0.1 libmia3d-2.4.so.6 libmia3d-2.4.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 29%] Built target mia3d
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:52: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list