Bug #48996
closedbuild failure on fedora-34/rawhide with boost 1.75
0%
Description
Fedora 34/rawhide recently updated to boost-1.75.
Build now fails with
/builddir/build/BUILD/ceph-15.2.8/src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool> terminating' has incomplete type and cannot be defined
20 | static std::atomic<bool> terminating;
| ^~~~~~~~~
full log is at https://kojipkgs.fedoraproject.org//work/tasks/451/60480451/build.log
this fixed it for me:
--- ceph-15.2.8/src/tools/rbd/action/Bench.cc.orig 2021-01-25 17:08:06.189223814 -0500
++ ceph-15.2.8/src/tools/rbd/action/Bench.cc 2021-01-25 17:08:27.297805754 -0500@ -10,6 +10,7
@
#include "include/types.h"
#include "global/signal_handler.h"
#include <iostream>
#include <atomic>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/rolling_sum.hpp>