[Debichem-devel] Bug#1133559: molmodel: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:07:32 BST 2026


Package: src:molmodel
Version: 3.1.0-5
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

molmodel 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/molmodel_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.

[...]


          /usr/include/c++/16/bits/stl_algo.h:3876:28:   
           3876 |       return std::__find_if(__first, __last,
                |              ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
           3877 |                             __gnu_cxx::__ops::__equal_to(__val));
                |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        • required from here
          /usr/include/simbody/simbody/internal/ContactSurface.h:415:18:   
            415 |         std::find(m_cliques.begin(), m_cliques.end(), clique);
                |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        • error: ambiguous overload for ‘operator==’ (operand types are ‘SimTK::ContactCliqueId’ and ‘const SimTK::ContactCliqueId’)
          /usr/include/c++/16/bits/stl_function.h:501:44:
            501 |         -> decltype(std::forward<_Tp>(__t) == std::forward<_Up>(__u))
                |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
          • there are 9 candidates
            • candidate 1: ‘bool SimTK::ContactCliqueId::operator==(short unsigned int) const’ (reversed)
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 2: ‘operator==(int, int)’ (built-in)
              /usr/include/c++/16/bits/stl_function.h:501:44:
                501 |         -> decltype(std::forward<_Tp>(__t) == std::forward<_Up>(__u))
                    |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 3: ‘bool SimTK::ContactCliqueId::operator==(int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 4: ‘bool SimTK::ContactCliqueId::operator==(short int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 5: ‘bool SimTK::ContactCliqueId::operator==(long int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 6: ‘bool SimTK::ContactCliqueId::operator==(long long int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 7: ‘bool SimTK::ContactCliqueId::operator==(unsigned int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 8: ‘bool SimTK::ContactCliqueId::operator==(long unsigned int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            • candidate 9: ‘bool SimTK::ContactCliqueId::operator==(long long unsigned int) const’
              /usr/include/simbody/simbody/internal/ContactSurface.h:40:1:
                 40 | SimTK_DEFINE_UNIQUE_INDEX_TYPE(ContactCliqueId);
                    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/SimTKmolmodel.dir/build.make:250: CMakeFiles/SimTKmolmodel.dir/src/PeriodicVmdReporter.cpp.o] Error 1
make[3]: *** [CMakeFiles/SimTKmolmodel.dir/build.make:222: CMakeFiles/SimTKmolmodel.dir/src/PDBReader.cpp.o] Error 1
make[3]: *** [CMakeFiles/SimTKmolmodel.dir/build.make:152: CMakeFiles/SimTKmolmodel.dir/src/CompoundSystem.cpp.o] Error 1
make[3]: *** [CMakeFiles/SimTKmolmodel.dir/build.make:236: CMakeFiles/SimTKmolmodel.dir/src/Pdb.cpp.o] Error 1
/build/reproducible-path/molmodel-3.1.0/src/Compound.cpp: In member function ‘const SimTK::BondCenterInfo& SimTK::CompoundRep::getBondCenterInfo(const SimTK::AtomInfo&, const SimTK::AtomInfo&) const’:
/build/reproducible-path/molmodel-3.1.0/src/Compound.cpp:868:1: warning: control reaches end of non-void function [-Wreturn-type]
  868 | }
      | ^
/build/reproducible-path/molmodel-3.1.0/src/Compound.cpp: In member function ‘SimTK::BondCenterInfo& SimTK::CompoundRep::updBondCenterInfo(const SimTK::AtomInfo&, const SimTK::AtomInfo&)’:
/build/reproducible-path/molmodel-3.1.0/src/Compound.cpp:889:1: warning: control reaches end of non-void function [-Wreturn-type]
  889 | }
      | ^
make[3]: *** [CMakeFiles/SimTKmolmodel.dir/build.make:138: CMakeFiles/SimTKmolmodel.dir/src/Compound.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/molmodel-3.1.0/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:113: CMakeFiles/SimTKmolmodel.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/molmodel-3.1.0/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/molmodel-3.1.0/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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Debichem-devel mailing list