Package: src:onnxruntime
Version: 1.23.2+dfsg-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202602/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:onnxruntime, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[305/665] /usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISA 
[too-long-redacted] cpu/quantization/qlinearconv.cc
FAILED: [code=1] 
CMakeFiles/onnxruntime_providers.dir/onnxruntime/core/providers/cpu/quantization/qlinearconv.cc.o
 
/usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL 
[too-long-redacted] cpu/quantization/qlinearconv.cc
In file included from 
/usr/include/x86_64-linux-gnu/c++/15/bits/c++allocator.h:33,
                 from /usr/include/c++/15/bits/allocator.h:46,
                 from /usr/include/c++/15/bits/stl_tree.h:66,
                 from /usr/include/c++/15/map:64,
                 from 
/<<PKGBUILDDIR>>/include/onnxruntime/core/framework/allocator.h:6,
                 from 
/<<PKGBUILDDIR>>/include/onnxruntime/core/framework/buffer_deleter.h:6,
                 from 
/<<PKGBUILDDIR>>/include/onnxruntime/core/framework/op_kernel.h:10,
                 from 
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/quantization/qlinearconv.cc:4:
In member function ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& 
...) [with _Up = long int; _Args = {const long int&}; _Tp = long int]’,
    inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> 
>::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = long int; _Args = 
{const long int&}; _Tp = long int]’ at 
/usr/include/c++/15/bits/alloc_traits.h:674:17,
    inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) 
[with _Tp = long int; _Alloc = std::allocator<long int>]’ at 
/usr/include/c++/15/bits/stl_vector.h:1421:30,
    inlined from ‘onnxruntime::common::Status 
onnxruntime::QLinearConv<ActType>::Compute(onnxruntime::OpKernelContext*) const 
[with ActType = signed char]’ at 
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/quantization/qlinearconv.cc:558:21:
/usr/include/c++/15/bits/new_allocator.h:191:11: error: array subscript 1 is 
outside array bounds of ‘long int [1]’ [-Werror=array-bounds=]
  191 |         { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const 
void*) [with _Tp = long int]’,
    inlined from ‘static _Tp* std::allocator_traits<std::allocator<_Tp1> 
>::allocate(allocator_type&, size_type) [with _Tp = long int]’ at 
/usr/include/c++/15/bits/alloc_traits.h:614:28,
    inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer 
std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = long int; 
_Alloc = std::allocator<long int>]’ at 
/usr/include/c++/15/bits/stl_vector.h:387:33,
    inlined from ‘void std::vector<_Tp, 
_Alloc>::_M_range_initialize_n(_Iterator, _Sentinel, size_type) [with _Iterator 
= const long int*; _Sentinel = const long int*; _Tp = long int; _Alloc = 
std::allocator<long int>]’ at /usr/include/c++/15/bits/stl_vector.h:1985:23,
    inlined from ‘std::vector<_Tp, 
_Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = 
long int; _Alloc = std::allocator<long int>]’ at 
/usr/include/c++/15/bits/stl_vector.h:712:23,
    inlined from ‘onnxruntime::common::Status 
onnxruntime::QLinearConv<ActType>::Compute(onnxruntime::OpKernelContext*) const 
[with ActType = signed char]’ at 
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/quantization/qlinearconv.cc:556:21:
/usr/include/c++/15/bits/new_allocator.h:151:73: note: at offset 8 into object 
of size 8 allocated by ‘operator new’
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * 
sizeof(_Tp)));
      |                                                                         
^
In member function ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& 
...) [with _Up = long int; _Args = {const long int&}; _Tp = long int]’,
    inlined from ‘static void std::allocator_traits<std::allocator<_Tp1> 
>::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = long int; _Args = 
{const long int&}; _Tp = long int]’ at 
/usr/include/c++/15/bits/alloc_traits.h:674:17,
    inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) 
[with _Tp = long int; _Alloc = std::allocator<long int>]’ at 
/usr/include/c++/15/bits/stl_vector.h:1421:30,
    inlined from ‘onnxruntime::common::Status 
onnxruntime::QLinearConv<ActType>::Compute(onnxruntime::OpKernelContext*) const 
[with ActType = unsigned char]’ at 
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/quantization/qlinearconv.cc:558:21:
/usr/include/c++/15/bits/new_allocator.h:191:11: error: array subscript 1 is 
outside array bounds of ‘long int [1]’ [-Werror=array-bounds=]
  191 |         { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const 
void*) [with _Tp = long int]’,
    inlined from ‘static _Tp* std::allocator_traits<std::allocator<_Tp1> 
>::allocate(allocator_type&, size_type) [with _Tp = long int]’ at 
/usr/include/c++/15/bits/alloc_traits.h:614:28,
    inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer 
std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = long int; 
_Alloc = std::allocator<long int>]’ at 
/usr/include/c++/15/bits/stl_vector.h:387:33,
    inlined from ‘void std::vector<_Tp, 
_Alloc>::_M_range_initialize_n(_Iterator, _Sentinel, size_type) [with _Iterator 
= const long int*; _Sentinel = const long int*; _Tp = long int; _Alloc = 
std::allocator<long int>]’ at /usr/include/c++/15/bits/stl_vector.h:1985:23,
    inlined from ‘std::vector<_Tp, 
_Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = 
long int; _Alloc = std::allocator<long int>]’ at 
/usr/include/c++/15/bits/stl_vector.h:712:23,
    inlined from ‘onnxruntime::common::Status 
onnxruntime::QLinearConv<ActType>::Compute(onnxruntime::OpKernelContext*) const 
[with ActType = unsigned char]’ at 
/<<PKGBUILDDIR>>/onnxruntime/core/providers/cpu/quantization/qlinearconv.cc:556:21:
/usr/include/c++/15/bits/new_allocator.h:151:73: note: at offset 8 into object 
of size 8 allocated by ‘operator new’
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * 
sizeof(_Tp)));
      |                                                                         
^
cc1plus: all warnings being treated as errors
[306/665] /usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISA 
[too-long-redacted] quantization/quantize_linear.cc
ninja: build stopped: subcommand failed.
dh_auto_build: error: LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make[1]: *** [debian/rules:70: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:46: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to