Bug#1133444: collada-dom: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:02:05 BST 2026


Package: src:collada-dom
Version: 2.5.0+ds1-7
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

collada-dom fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/collada-dom_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/1.4/dom/domVisual_scene.h:202:44: note:   by ‘virtual ColladaDOM141::domVisual_scene::domEvaluate_scene::domRender& ColladaDOM141::domVisual_scene::domEvaluate_scene::domRender::operator=(const ColladaDOM141::domVisual_scene::domEvaluate_scene::domRender&)’
  202 |                         virtual domRender &operator=( const domRender &cpy ) { (void)cpy; return *this; }
      |                                            ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/dae/daeElement.h:62:25: warning: ‘virtual daeElement& daeElement::operator=(const daeElement&)’ was hidden [-Woverloaded-virtual=]
   62 |     virtual daeElement &operator=( const daeElement &cpy ) {
      |                         ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/1.4/dom/domVisual_scene.h:266:44: note:   by ‘virtual ColladaDOM141::domVisual_scene::domEvaluate_scene& ColladaDOM141::domVisual_scene::domEvaluate_scene::operator=(const ColladaDOM141::domVisual_scene::domEvaluate_scene&)’
  266 |                 virtual domEvaluate_scene &operator=( const domEvaluate_scene &cpy ) { (void)cpy; return *this; }
      |                                            ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/dae/daeElement.h:62:25: warning: ‘virtual daeElement& daeElement::operator=(const daeElement&)’ was hidden [-Woverloaded-virtual=]
   62 |     virtual daeElement &operator=( const daeElement &cpy ) {
      |                         ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/1.4/dom/domVisual_scene.h:387:34: note:   by ‘virtual ColladaDOM141::domVisual_scene& ColladaDOM141::domVisual_scene::operator=(const ColladaDOM141::domVisual_scene&)’
  387 |         virtual domVisual_scene &operator=( const domVisual_scene &cpy ) { (void)cpy; return *this; }
      |                                  ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/dae/daeElement.h:62:25: warning: ‘virtual daeElement& daeElement::operator=(const daeElement&)’ was hidden [-Woverloaded-virtual=]
   62 |     virtual daeElement &operator=( const daeElement &cpy ) {
      |                         ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/1.4/dom/domLibrary_visual_scenes.h:121:43: note:   by ‘virtual ColladaDOM141::domLibrary_visual_scenes& ColladaDOM141::domLibrary_visual_scenes::operator=(const ColladaDOM141::domLibrary_visual_scenes&)’
  121 |         virtual domLibrary_visual_scenes &operator=( const domLibrary_visual_scenes &cpy ) { (void)cpy; return *this; }
      |                                           ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/dae/daeElement.h:62:25: warning: ‘virtual daeElement& daeElement::operator=(const daeElement&)’ was hidden [-Woverloaded-virtual=]
   62 |     virtual daeElement &operator=( const daeElement &cpy ) {
      |                         ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/1.4/dom/domCOLLADA.h:124:35: note:   by ‘virtual ColladaDOM141::domCOLLADA::domScene& ColladaDOM141::domCOLLADA::domScene::operator=(const ColladaDOM141::domCOLLADA::domScene&)’
  124 |                 virtual domScene &operator=( const domScene &cpy ) { (void)cpy; return *this; }
      |                                   ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/dae/daeElement.h:62:25: warning: ‘virtual daeElement& daeElement::operator=(const daeElement&)’ was hidden [-Woverloaded-virtual=]
   62 |     virtual daeElement &operator=( const daeElement &cpy ) {
      |                         ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/include/1.4/dom/domCOLLADA.h:507:29: note:   by ‘virtual ColladaDOM141::domCOLLADA& ColladaDOM141::domCOLLADA::operator=(const ColladaDOM141::domCOLLADA&)’
  507 |         virtual domCOLLADA &operator=( const domCOLLADA &cpy ) { (void)cpy; return *this; }
      |                             ^~~~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/dae/daeDom.cpp: In function ‘daeInt getDomAnyID(DAE&)’:
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/dae/daeDom.cpp:114:12: warning: converting to non-pointer type ‘daeInt’ {aka ‘int’} from NULL [-Wconversion-null]
  114 |     return NULL;
      |            ^~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/dae/daeDom.cpp: In function ‘daeInt getDomSourceID(DAE&)’:
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/dae/daeDom.cpp:129:12: warning: converting to non-pointer type ‘daeInt’ {aka ‘int’} from NULL [-Wconversion-null]
  129 |     return NULL;
      |            ^~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/dae/daeDom.cpp: In function ‘daeInt getDomCOLLADAID(const char*)’:
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/dae/daeDom.cpp:144:12: warning: converting to non-pointer type ‘daeInt’ {aka ‘int’} from NULL [-Wconversion-null]
  144 |     return NULL;
      |            ^~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp: In member function ‘virtual daeInt daeLIBXMLPlugin::write(const daeURI&, daeDocument*, daeBool)’:
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp:363:15: warning: argument 1 null where non-null expected [-Wnonnull]
  363 |         fclose(tempfd);
      |         ~~~~~~^~~~~~~~
In file included from /usr/include/c++/16/cstdio:47,
                 from /usr/include/c++/16/ext/string_conversions.h:47,
                 from /usr/include/c++/16/bits/basic_string.h:4499,
                 from /usr/include/c++/16/string:58,
                 from /build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp:18:
/usr/include/stdio.h:187:12: note: in a call to function ‘int fclose(FILE*)’ declared ‘nonnull’
  187 | extern int fclose (FILE *__stream) __nonnull ((1));
      |            ^~~~~~
/build/reproducible-path/collada-dom-2.5.0+ds1/dom/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp:376:19: warning: argument 1 null where non-null expected [-Wnonnull]
  376 |             fclose(rawFile);
      |             ~~~~~~^~~~~~~~~
/usr/include/stdio.h:187:12: note: in a call to function ‘int fclose(FILE*)’ declared ‘nonnull’
  187 | extern int fclose (FILE *__stream) __nonnull ((1));
      |            ^~~~~~
make[3]: Leaving directory '/build/reproducible-path/collada-dom-2.5.0+ds1/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:188: dom/CMakeFiles/collada-dom.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/collada-dom-2.5.0+ds1/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/collada-dom-2.5.0+ds1/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j128 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the debian-science-maintainers mailing list