[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075334: onnxruntime: ftbfs with GCC-14



Package: src:onnxruntime
Version: 1.16.3+dfsg-3
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/onnxruntime_1.16.3+dfsg-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
    inlined from ‘constexpr void std::__detail::__variant::_Variant_storage<false, _Types ...>::_M_reset() [with _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:496:23,
    inlined from ‘std::__detail::__variant::_Variant_storage<false, _Types ...>::~_Variant_storage() [with _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:506:17,
    inlined from ‘std::__detail::__variant::_Copy_ctor_base<<anonymous>, _Types>::_Copy_ctor_base(const std::__detail::__variant::_Copy_ctor_base<<anonymous>, _Types>&) [with bool <anonymous> = false; _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:599:7,
    inlined from ‘std::__detail::__variant::_Move_ctor_base<<anonymous>, _Types>::_Move_ctor_base(const std::__detail::__variant::_Move_ctor_base<<anonymous>, _Types>&) [with bool <anonymous> = false; _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:639:7,
    inlined from ‘std::__detail::__variant::_Copy_assign_base<<anonymous>, _Types>::_Copy_assign_base(const std::__detail::__variant::_Copy_assign_base<<anonymous>, _Types>&) [with bool <anonymous> = false; _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:691:7,
    inlined from ‘std::__detail::__variant::_Move_assign_base<<anonymous>, _Types>::_Move_assign_base(const std::__detail::__variant::_Move_assign_base<<anonymous>, _Types>&) [with bool <anonymous> = false; _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:745:7,
    inlined from ‘std::__detail::__variant::_Variant_base<_Types>::_Variant_base(const std::__detail::__variant::_Variant_base<_Types>&) [with _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:776:7,
    inlined from ‘std::variant<_Types>::variant(const std::variant<_Types>&) [with _Types = {onnxruntime::SatDirectApplicationContext, onnxruntime::SatRuntimeOptimizationSaveContext, onnxruntime::SatRuntimeOptimizationLoadContext}]’ at /usr/include/c++/14/variant:1431:7,
    inlined from ‘onnxruntime::SelectorActionTransformer::SelectorActionTransformer(const std::string&, onnxruntime::SelectorActionRegistry&&, const onnxruntime::SatApplyContextVariant&, const onnxruntime::InlinedHashSet<std::basic_string_view<char> >&)’ at /<<PKGBUILDDIR>>/onnxruntime/core/optimizer/selectors_actions/selector_action_transformer.cc:76:7:
/usr/include/c++/14/bits/std_function.h:243:11: error: ‘((std::_Function_base*)((char*)this + 16))[8].std::_Function_base::_M_manager’ may be used uninitialized [-Werror=maybe-uninitialized]
  243 |       if (_M_manager)
      |           ^~~~~~~~~~
[ 47%] Building CXX object CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc.o -MF CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimiz
 er/transpose_optimization/ort_optimizer_api_impl.cc.o.d -o CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc
[ 47%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/zipmap.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/zipmap.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/
 zipmap.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/zipmap.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/zipmap.cc
In file included from /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/tree_ensemble_common.h:6,
                 from /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/treeregressor.h:5,
                 from /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/treeregressor.cc:4:
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/tree_ensemble_aggregator.h:329:59: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  329 |   TreeAggregatorMax<InputType, ThresholdType, OutputType>(size_t n_trees,
      |                                                           ^~~~~~
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/tree_ensemble_aggregator.h:329:59: note: remove the ‘< >’
[ 47%] Building CXX object CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_transpose_optimization.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_transpose_optimization.cc.o -MF CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/opt
 imizer/transpose_optimization/ort_transpose_optimization.cc.o.d -o CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_transpose_optimization.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/optimizer/transpose_optimization/ort_transpose_optimization.cc
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/onnxruntime_optimizer.dir/build.make:1143: CMakeFiles/onnxruntime_optimizer.dir/<<PKGBUILDDIR>>/onnxruntime/core/optimizer/selectors_actions/selector_action_transformer.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 47%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/Unpool.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/Unpool.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/
 Unpool.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/Unpool.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/Unpool.cc
[ 47%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/batch_norm.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/batch_norm.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu
 /nn/batch_norm.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/batch_norm.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/batch_norm.cc
[ 47%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/co
 nv.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv_transpose.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv_transpose.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers
 /cpu/nn/conv_transpose.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv_transpose.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/conv_transpose.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/dropout_op.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/dropout_op.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu
 /nn/dropout_op.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/dropout_op.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/dropout_op.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/flatten.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/flatten.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn
 /flatten.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/flatten.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/flatten.cc
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1165: CMakeFiles/onnxruntime_optimizer.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/instance_norm.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/instance_norm.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/
 cpu/nn/instance_norm.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/instance_norm.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/instance_norm.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu
 /nn/layer_norm.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm_impl.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm_impl.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/provider
 s/cpu/nn/layer_norm_impl.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm_impl.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/layer_norm_impl.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lp_norm.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lp_norm.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn
 /lp_norm.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lp_norm.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lp_norm.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lrn.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lrn.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lrn
 .cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lrn.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/lrn.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/pool.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/pool.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/po
 ol.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/pool.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/pool.cc
[ 48%] Building CXX object CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/roi_pool.cc.o
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS -DNSYNC_ATOMIC_CPP11 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DORT_ENABLE_STREAM -DORT_NO_RTTI -DPLATFORM_POSIX -DUSE_XNNPACK=1 -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/include/onnxruntime -I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/safeint -I/usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -O2 -g -DNDEBUG -fPIC -fno-rtti -Wall -Wextra -Wno-deprecated-copy -Wno-nonnull-compare -Werror -MD -MT CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/roi_pool.cc.o -MF CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/n
 n/roi_pool.cc.o.d -o CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/roi_pool.cc.o -c /<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/nn/roi_pool.cc
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/onnxruntime_providers.dir/build.make:793: CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/treeregressor.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/onnxruntime_providers.dir/build.make:765: CMakeFiles/onnxruntime_providers.dir/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/ml/tree_ensemble_classifier.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1087: CMakeFiles/onnxruntime_providers.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: