[Debichem-devel] Bug#1133596: openms: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:09:18 BST 2026
Package: src:openms
Version: 2.6.0+cleaned1-6
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
openms 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/openms_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.
[...]
In file included from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/METADATA/Precursor.h:37,
from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/METADATA/ChromatogramSettings.h:41,
from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/MSChromatogram.h:38,
from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/MSExperiment.h:41:
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/Peak1D.h:191:12: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
191 | std::binary_function<Peak1D, Peak1D, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/Peak1D.h:217:19: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
217 | public std::binary_function<Peak1D, Peak1D, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/Peak1D.h:243:19: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
243 | public std::binary_function<Peak1D, Peak1D, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/MSChromatogram.h:42:
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/ChromatogramPeak.h:205:12: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
205 | std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/ChromatogramPeak.h:231:19: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
231 | public std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/ChromatogramPeak.h:257:19: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
257 | public std::binary_function<ChromatogramPeak, ChromatogramPeak, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/MSChromatogram.h:64:19: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
64 | public std::binary_function<MSChromatogram, MSChromatogram, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/MSExperiment.h:42:
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/KERNEL/MSSpectrum.h:75:47: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
75 | struct OPENMS_DLLAPI RTLess : public std::binary_function<MSSpectrum, MSSpectrum, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:134:12: note: declared here
134 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /build/reproducible-path/openms-2.6.0+cleaned1/src/openms/source/KERNEL/ConsensusMap.cpp:43:
/build/reproducible-path/openms-2.6.0+cleaned1/src/openms/include/OpenMS/QC/QCBase.h:236:20: error: expected unqualified-id before ‘requires’
236 | virtual Status requires() const = 0;
| ^~~~~~~~
make[5]: *** [src/openms/CMakeFiles/OpenMS.dir/build.make:2136: src/openms/CMakeFiles/OpenMS.dir/source/KERNEL/ConsensusMap.cpp.o] Error 1
make[5]: Leaving directory '/build/reproducible-path/openms-2.6.0+cleaned1/obj-aarch64-linux-gnu'
make[4]: *** [CMakeFiles/Makefile2:2120: src/openms/CMakeFiles/OpenMS.dir/all] Error 2
make[4]: Leaving directory '/build/reproducible-path/openms-2.6.0+cleaned1/obj-aarch64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:2127: src/openms/CMakeFiles/OpenMS.dir/rule] Error 2
make[3]: Leaving directory '/build/reproducible-path/openms-2.6.0+cleaned1/obj-aarch64-linux-gnu'
make[2]: *** [Makefile:572: OpenMS] Error 2
make[2]: Leaving directory '/build/reproducible-path/openms-2.6.0+cleaned1/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j1 INSTALL="install --strip-program=true" OpenMS GUI TOPP UTILS VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:96: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/openms-2.6.0+cleaned1'
make: *** [debian/rules:43: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the Debichem-devel
mailing list