[Debian-med-packaging] Bug#997269: xenium: FTBFS: stamp_it.hpp:719:27: error: ‘numeric_limits’ is not a member of ‘std’

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:26:45 BST 2021


Source: xenium
Version: 0.0.2+ds-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /usr/bin/c++ -DDEBUG -I/<<PKGBUILDDIR>>/. -isystem /usr/src/googletest/googletest -isystem /usr/src/googletest/googletest/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsanitize=thread -Wall -Wextra -Werror -Wno-error=cpp -std=gnu++17 -MD -MT CMakeFiles/gtest.dir/test/harris_michael_hash_map_test.cpp.o -MF CMakeFiles/gtest.dir/test/harris_michael_hash_map_test.cpp.o.d -o CMakeFiles/gtest.dir/test/harris_michael_hash_map_test.cpp.o -c /<<PKGBUILDDIR>>/test/harris_michael_hash_map_test.cpp
> In file included from /<<PKGBUILDDIR>>/./xenium/reclamation/stamp_it.hpp:143,
>                  from /<<PKGBUILDDIR>>/test/harris_michael_hash_map_test.cpp:6:
> /<<PKGBUILDDIR>>/./xenium/reclamation/impl/stamp_it.hpp: In member function ‘void xenium::reclamation::stamp_it::thread_data::process_global_nodes()’:
> /<<PKGBUILDDIR>>/./xenium/reclamation/impl/stamp_it.hpp:719:27: error: ‘numeric_limits’ is not a member of ‘std’
>   719 |       lowest_stamp = std::numeric_limits<stamp_t>::max();
>       |                           ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./xenium/reclamation/impl/stamp_it.hpp:719:49: error: expected primary-expression before ‘>’ token
>   719 |       lowest_stamp = std::numeric_limits<stamp_t>::max();
>       |                                                 ^
> /<<PKGBUILDDIR>>/./xenium/reclamation/impl/stamp_it.hpp:719:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
>   719 |       lowest_stamp = std::numeric_limits<stamp_t>::max();
>       |                                                    ^~~
>       |                                                    std::max
> In file included from /usr/include/c++/11/algorithm:62,
>                  from /<<PKGBUILDDIR>>/./xenium/reclamation/impl/hazard_pointer.hpp:13,
>                  from /<<PKGBUILDDIR>>/./xenium/reclamation/hazard_pointer.hpp:240,
>                  from /<<PKGBUILDDIR>>/test/harris_michael_hash_map_test.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)
>       |     ^~~
> [ 35%] Building CXX object CMakeFiles/benchmark.dir/benchmarks/report.cpp.o
> /usr/bin/c++ -DDEBUG -I/<<PKGBUILDDIR>>/. -isystem /usr/src/googletest/googletest -isystem /usr/src/googletest/googletest/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsanitize=thread -Wall -Wextra -Wno-error=cpp -std=gnu++17 -MD -MT CMakeFiles/benchmark.dir/benchmarks/report.cpp.o -MF CMakeFiles/benchmark.dir/benchmarks/report.cpp.o.d -o CMakeFiles/benchmark.dir/benchmarks/report.cpp.o -c /<<PKGBUILDDIR>>/benchmarks/report.cpp
> make[4]: *** [CMakeFiles/gtest.dir/build.make:107: CMakeFiles/gtest.dir/test/harris_michael_hash_map_test.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/xenium_0.0.2+ds-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-med-packaging mailing list