Source: clickhouse
Version: 18.16.1+ds-7.2
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/logs.php?pkg=clickhouse&ver=18.16.1%2Bds-7.2%2Bb2

...
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp: In function ‘void 
DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&)’:
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:55:40: error: ‘numeric_limits’ is not 
a member of ‘std’
   55 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
nullptr);
      |                                        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:55:61: error: expected 
primary-expression before ‘>’ token
   55 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
nullptr);
      |                                                             ^
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:55:64: error: ‘::max’ has not been 
declared; did you mean ‘std::max’?
   55 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
nullptr);
      |                                                                ^~~
      |                                                                std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /<<PKGBUILDDIR>>/dbms/src/IO/ReadBuffer.h:4,
                 from /<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:2:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp: In function ‘void 
DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&, const std::atomic<int>&)’:
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:60:40: error: ‘numeric_limits’ is not 
a member of ‘std’
   60 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
&is_cancelled);
      |                                        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:60:61: error: expected 
primary-expression before ‘>’ token
   60 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
&is_cancelled);
      |                                                             ^
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:60:64: error: ‘::max’ has not been 
declared; did you mean ‘std::max’?
   60 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
&is_cancelled);
      |                                                                ^~~
      |                                                                std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /<<PKGBUILDDIR>>/dbms/src/IO/ReadBuffer.h:4,
                 from /<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:2:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp: In function ‘void 
DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&, std::function<void()>)’:
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:65:40: error: ‘numeric_limits’ is not 
a member of ‘std’
   65 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
cancellation_hook);
      |                                        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:65:61: error: expected 
primary-expression before ‘>’ token
   65 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
cancellation_hook);
      |                                                             ^
/<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:65:64: error: ‘::max’ has not been 
declared; did you mean ‘std::max’?
   65 |     copyDataImpl(from, to, false, std::numeric_limits<size_t>::max(), 
cancellation_hook);
      |                                                                ^~~
      |                                                                std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /<<PKGBUILDDIR>>/dbms/src/IO/ReadBuffer.h:4,
                 from /<<PKGBUILDDIR>>/dbms/src/IO/copyData.cpp:2:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
make[3]: *** [dbms/CMakeFiles/clickhouse_common_io.dir/build.make:1185: 
dbms/CMakeFiles/clickhouse_common_io.dir/src/IO/copyData.cpp.o] Error 1
...

Reply via email to