Your message dated Tue, 22 Sep 2026 10:05:20 +0000
with message-id <[email protected]>
and subject line Bug#1133592: fixed in onnxruntime 1.23.2+dfsg-6.1
has caused the Debian Bug report #1133592,
regarding onnxruntime: ftbfs with GCC-16
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1133592: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:onnxruntime
Version: 1.23.2+dfsg-6
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16
Hi,
onnxruntime 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/onnxruntime_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/refwrap.h:227:12: note: here. Use
‘-Wsfinae-incomplete=2’ for a diagnostic at that point
227 | struct _Reference_wrapper_base
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[248/653] /usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL
-DDNNL_OPENMP -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_DLPACK
-DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx
-DORT_ENABLE_STREAM -DPLATFORM_POSIX -DUSE_DNNL=1 -DUSE_XNNPACK=1 -D_GNU_SOURCE
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/session
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime
-I/usr/include/safeint -g
-ffile-prefix-map=/build/reproducible-path/onnxruntime-1.23.2+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -O3
-Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=unused-variable
-Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections
-DCPUINFO_SUPPORTED -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra
-Wno-deprecated-copy -Wno-nonnull-compare -Wno-deprecated-literal-operator
-Wno-interference-size -Wno-parentheses -Wno-deprecated-declarations -Werror
-MD -MT CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o -MF
CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o.d -o
CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o -c
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/graph/graph.cc
FAILED: [code=1]
CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DDNNL_OPENMP
-DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_DLPACK -DHAS_STRING_VIEW=1
-DONLY_C_LOCALE=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM
-DPLATFORM_POSIX -DUSE_DNNL=1 -DUSE_XNNPACK=1 -D_GNU_SOURCE
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/session
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime
-I/usr/include/safeint -g
-ffile-prefix-map=/build/reproducible-path/onnxruntime-1.23.2+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -O3
-Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=unused-variable
-Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections
-DCPUINFO_SUPPORTED -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra
-Wno-deprecated-copy -Wno-nonnull-compare -Wno-deprecated-literal-operator
-Wno-interference-size -Wno-parentheses -Wno-deprecated-declarations -Werror
-MD -MT CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o -MF
CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o.d -o
CMakeFiles/onnxruntime_graph.dir/onnxruntime/core/graph/graph.cc.o -c
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/graph/graph.cc
In file included from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/op_kernel.h:24,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/framework/session_state.h:33,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/framework/utils.h:11,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/graph/graph.cc:27:
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/sparse_tensor.h:55:7:
error: defining ‘onnxruntime::SparseTensor’, which previously failed to be
complete in a SFINAE context [-Werror=sfinae-incomplete=]
55 | class SparseTensor final {
| ^~~~~~~~~~~~
In file included from /usr/include/c++/16/bits/shared_ptr_base.h:57,
from /usr/include/c++/16/bits/shared_ptr.h:53,
from /usr/include/c++/16/bits/fs_path.h:46,
from /usr/include/c++/16/filesystem:55,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/graph/graph.h:6,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/graph/graph.cc:4:
/usr/include/c++/16/bits/refwrap.h:227:12: note: here. Use
‘-Wsfinae-incomplete=2’ for a diagnostic at that point
227 | struct _Reference_wrapper_base
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[249/653] /usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL
-DDNNL_OPENMP -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_DLPACK
-DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx
-DORT_ENABLE_STREAM -DPLATFORM_POSIX -DUSE_DNNL=1 -DUSE_XNNPACK=1 -D_GNU_SOURCE
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/session
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime
-I/usr/include/safeint -I/usr/include/eigen3 -g
-ffile-prefix-map=/build/reproducible-path/onnxruntime-1.23.2+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -O3
-Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=unused-variable
-Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections
-DCPUINFO_SUPPORTED -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra
-Wno-deprecated-copy -Wno-nonnull-compare -Wno-deprecated-literal-operator
-Wno-interference-size -Wno-error=comment -Werror -MD -MT
CMakeFiles/onnxruntime_util.dir/onnxruntime/core/util/math_cpu.cc.o -MF
CMakeFiles/onnxruntime_util.dir/onnxruntime/core/util/math_cpu.cc.o.d -o
CMakeFiles/onnxruntime_util.dir/onnxruntime/core/util/math_cpu.cc.o -c
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/util/math_cpu.cc
[250/653] /usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL
-DDNNL_OPENMP -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_DLPACK
-DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx
-DORT_ENABLE_STREAM -DPLATFORM_POSIX -DUSE_DNNL=1 -DUSE_XNNPACK=1 -D_GNU_SOURCE
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/session
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime
-I/usr/include/safeint -I/usr/include/eigen3 -g
-ffile-prefix-map=/build/reproducible-path/onnxruntime-1.23.2+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -O3
-Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=unused-variable
-Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections
-DCPUINFO_SUPPORTED -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra
-Wno-deprecated-copy -Wno-nonnull-compare -Wno-deprecated-literal-operator
-Wno-interference-size -Werror -MD -MT
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o
-MF
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o.d
-o
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o
-c
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/providers/cpu/math/element_wise_ops.cc
FAILED: [code=1]
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DDNNL_OPENMP
-DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_DLPACK -DHAS_STRING_VIEW=1
-DONLY_C_LOCALE=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM
-DPLATFORM_POSIX -DUSE_DNNL=1 -DUSE_XNNPACK=1 -D_GNU_SOURCE
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/session
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg
-I/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime
-I/usr/include/safeint -I/usr/include/eigen3 -g
-ffile-prefix-map=/build/reproducible-path/onnxruntime-1.23.2+dfsg=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -O3
-Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=unused-variable
-Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections
-DCPUINFO_SUPPORTED -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra
-Wno-deprecated-copy -Wno-nonnull-compare -Wno-deprecated-literal-operator
-Wno-interference-size -Werror -MD -MT
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o
-MF
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o.d
-o
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/math/element_wise_ops.cc.o
-c
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/providers/cpu/math/element_wise_ops.cc
In file included from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/execution_provider.h:17,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/op_kernel.h:19,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/providers/cpu/math/element_wise_ops.h:9,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/providers/cpu/math/element_wise_ops.cc:4:
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/tensor.h:39:7:
error: defining ‘onnxruntime::Tensor’, which previously failed to be complete
in a SFINAE context [-Werror=sfinae-incomplete=]
39 | class Tensor final {
| ^~~~~~
In file included from /usr/include/c++/16/functional:74,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/common/common.h:24,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/onnxruntime/core/providers/cpu/math/element_wise_ops.h:6:
/usr/include/c++/16/bits/refwrap.h:227:12: note: here. Use
‘-Wsfinae-incomplete=2’ for a diagnostic at that point
227 | struct _Reference_wrapper_base
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/graph/graph_viewer.h:8,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/op_node_proto_helper.h:9,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/op_kernel_info.h:9,
from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/op_kernel.h:21:
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/graph/graph.h:68:7:
error: defining ‘onnxruntime::Node’, which previously failed to be complete in
a SFINAE context [-Werror=sfinae-incomplete=]
68 | class Node {
| ^~~~
/usr/include/c++/16/bits/refwrap.h:227:12: note: here. Use
‘-Wsfinae-incomplete=2’ for a diagnostic at that point
227 | struct _Reference_wrapper_base
| ^~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/graph/graph_viewer.h:28:7:
error: defining ‘onnxruntime::GraphViewer’, which previously failed to be
complete in a SFINAE context [-Werror=sfinae-incomplete=]
28 | class GraphViewer {
| ^~~~~~~~~~~
/usr/include/c++/16/bits/refwrap.h:227:12: note: here. Use
‘-Wsfinae-incomplete=2’ for a diagnostic at that point
227 | struct _Reference_wrapper_base
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/op_kernel.h:24:
/build/reproducible-path/onnxruntime-1.23.2+dfsg/include/onnxruntime/core/framework/sparse_tensor.h:55:7:
error: defining ‘onnxruntime::SparseTensor’, which previously failed to be
complete in a SFINAE context [-Werror=sfinae-incomplete=]
55 | class SparseTensor final {
| ^~~~~~~~~~~~
/usr/include/c++/16/bits/refwrap.h:227:12: note: here. Use
‘-Wsfinae-incomplete=2’ for a diagnostic at that point
227 | struct _Reference_wrapper_base
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
dh_auto_build: error: LC_ALL=C.UTF-8 ninja -j128 -v returned exit code 1
make[1]: *** [debian/rules:70: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/onnxruntime-1.23.2+dfsg'
make: *** [debian/rules:46: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--- End Message ---
--- Begin Message ---
Source: onnxruntime
Source-Version: 1.23.2+dfsg-6.1
Done: Maximiliano Curia <[email protected]>
We believe that the bug you reported is fixed in the latest version of
onnxruntime, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Maximiliano Curia <[email protected]> (supplier of updated onnxruntime package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 22 Sep 2026 11:45:48 +0200
Source: onnxruntime
Architecture: source
Version: 1.23.2+dfsg-6.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <[email protected]>
Changed-By: Maximiliano Curia <[email protected]>
Closes: 1133592 1148258
Changes:
onnxruntime (1.23.2+dfsg-6.1) unstable; urgency=medium
.
* Non-maintainer upload
* Add patch to fix compilation against gcc 16 (Closes: #1133592)
* Add patch to use any gsl version (Closes: #1148258)
* Ignore warning unused-but-set-variable
Checksums-Sha1:
920ad44af256bc4ffdf77d9b858ff311082bd957 3150 onnxruntime_1.23.2+dfsg-6.1.dsc
a7c01245baf238d25bd0cb140563bb88b60c7405 24396
onnxruntime_1.23.2+dfsg-6.1.debian.tar.xz
bbf702cba2f43fadfae3d5969b99079a850aeca2 9146
onnxruntime_1.23.2+dfsg-6.1_source.buildinfo
Checksums-Sha256:
c5b75ac0a3b5c6a8b9cf16edd0680e6ca83c25c945f1cddf87baaaab32097a98 3150
onnxruntime_1.23.2+dfsg-6.1.dsc
140fe4766a37f1a57451bef8f21174ae43ff206d0dc80e467f52e6e9694c37f9 24396
onnxruntime_1.23.2+dfsg-6.1.debian.tar.xz
4c99655077ce4748db592ff55edf2480238c5b7f957f4f9e3108484b7ea65d3a 9146
onnxruntime_1.23.2+dfsg-6.1_source.buildinfo
Files:
91acc566bd5d62a47b3ad07a67fded51 3150 science optional
onnxruntime_1.23.2+dfsg-6.1.dsc
2df3a4d5b969147295c4c73b86403882 24396 science optional
onnxruntime_1.23.2+dfsg-6.1.debian.tar.xz
939a245eaa1432b8b429ec57ac16b498 9146 science optional
onnxruntime_1.23.2+dfsg-6.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmqyTtIACgkQxxl2mbKb
Iyqr+w//Q+ZvMk0S9zerCQztoH8/djo3Pduz8T00iCoUT2rEStMqp+rggYYYhvlt
QK5Tgek1a3NUIb2SIgRuAxZC4W+fO6ym5no51pVherVI98okleOjrQ979zD0k+vH
2L27t9dKN3e04zd1NGg0U0O14DKK/OvgEC95eUd4OguxR4cnxGEEWFMzXxIXrkWz
JZGp2WpHXcoCIrYaWYS3qUnNNCHRSOaD/AqFnSYturkQftYFq+qzXEtKT/ZYFVBF
/rw5u/9kYj+yfBUhFbOm/dLLMbcvm0YF1VyNab69o7XzVkIWH3xkaM/dJ9STG7mt
loIJaWtzdWeWraGRDiW5aYvHbe0B6W1t5lGaV+ioQPpeJjWwvuxuhYFYUnFLnExq
IYjC721Y4chy3Sr59WKIiTB7FRSI5TP0xRdJ/c3peGzn8DIqiK5vKzwAt/toKwIC
NmhB6E54OoTX2ycPGHBPcSc4pqFqNkvdHsetxnjZn78MfBm9NS79fhahi4pshqxs
qMtppu0wVCyD5UYIUw7R2E9gDACwkeY7ymGDIH+FWC5NWDLqdY043RSjSDYvR14x
Am1L4TiL4uK882Xa2kVrd9N/gDIrZJaL39MCAAYWgXb9dfKtAHU6upInTUMPUlI6
ttoHHAsvZpi0L15te7v/jx7UWuBoEHHUVP6pETbDIuH30rUuWAg=
=5k8w
-----END PGP SIGNATURE-----
pgpFnRPqzhlm2.pgp
Description: PGP signature
--- End Message ---