Bug#1037693: ifcplusplus: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:25:39 BST 2023


Package: src:ifcplusplus
Version: 0~git20190402.13744d5+dfsg-2
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/ifcplusplus_0~git20190402.13744d5+dfsg-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
/<<PKGBUILDDIR>>/external/Carve/src/include/carve/polyline_iter.hpp:113:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  113 |     : public std::iterator<std::random_access_iterator_tag, Vertex*> {
      |                   ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/include/carve/polyline_iter.hpp:196:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  196 |     : public std::iterator<std::random_access_iterator_tag, PolylineEdge*> {
      |                   ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/include/carve/polyline_iter.hpp:261:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  261 |     : public std::iterator<std::random_access_iterator_tag, PolylineEdge*> {
      |                   ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp: In member function ‘carve::mesh::MeshSet<3>* carve::csg::CSG::compute(meshset_t*, meshset_t*, Collector&, carve::csg::V2Set*, CLASSIFY_TYPE)’:
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:1502:8: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
 1502 |   std::auto_ptr<face_rtree_t> a_rtree(
      |        ^~~~~~~~
In file included from /usr/include/c++/13/memory:78,
                 from /<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:51:
/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:1504:8: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
 1504 |   std::auto_ptr<face_rtree_t> b_rtree(
      |        ^~~~~~~~
/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp: In member function ‘bool carve::csg::CSG::sliceAndClassify(meshset_t*, meshset_t*, std::__cxx11::list<std::pair<carve::csg::FaceClass, carve::mesh::MeshSet<3>*> >&, carve::csg::V2Set*)’:
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:1663:8: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
 1663 |   std::auto_ptr<face_rtree_t> closed_rtree(face_rtree_t::construct_STR(
      |        ^~~~~~~~
/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:1665:8: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
 1665 |   std::auto_ptr<face_rtree_t> open_rtree(
      |        ^~~~~~~~
/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp: In member function ‘void carve::csg::CSG::slice(meshset_t*, meshset_t*, std::__cxx11::list<carve::mesh::MeshSet<3>*>&, std::__cxx11::list<carve::mesh::MeshSet<3>*>&, carve::csg::V2Set*)’:
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:1727:8: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
 1727 |   std::auto_ptr<face_rtree_t> a_rtree(
      |        ^~~~~~~~
/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/<<PKGBUILDDIR>>/external/Carve/src/lib/intersect.cpp:1729:8: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
 1729 |   std::auto_ptr<face_rtree_t> b_rtree(
      |        ^~~~~~~~
/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
make[4]: *** [external/Carve/CMakeFiles/carve.dir/build.make:219: external/Carve/CMakeFiles/carve.dir/src/lib/intersect.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:137: external/Carve/CMakeFiles/carve.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:31: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list