Project

General

Profile

Bug #48989

fedora build failure with boost 1.75

Added by Casey Bodley about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

log from build of pacific snapshot: https://kojipkgs.fedoraproject.org//work/tasks/1687/60471687/build.log

In file included from /usr/include/boost/asio/post.hpp:126,
                 from /usr/include/boost/asio/basic_socket.hpp:28,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /usr/include/boost/asio.hpp:24,
                 from /builddir/build/BUILD/ceph-16.0.0/src/common/error_code.h:22,
                 from /builddir/build/BUILD/ceph-16.0.0/src/include/denc.h:50,
                 from /builddir/build/BUILD/ceph-16.0.0/src/include/encoding.h:41,
                 from /builddir/build/BUILD/ceph-16.0.0/src/include/uuid.h:9,
                 from /builddir/build/BUILD/ceph-16.0.0/src/include/types.h:21,
                 from /builddir/build/BUILD/ceph-16.0.0/src/librbd/Types.h:7,
                 from /builddir/build/BUILD/ceph-16.0.0/src/librbd/migration/QCOWFormat.h:8,
                 from /builddir/build/BUILD/ceph-16.0.0/src/librbd/migration/QCOWFormat.cc:4:
/usr/include/boost/asio/impl/post.hpp: In instantiation of 'auto boost::asio::post(ExecutionContext&, CompletionToken&&, typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value>::type*) [with ExecutionContext = librbd::AsioEngine; CompletionToken = librbd::migration::QCOWFormat<ImageCtxT>::ClusterCache::execute_get_cluster<librbd::ImageCtx>::<lambda()>; typename std::enable_if<std::is_convertible<ExecutionContext&, boost::asio::execution_context&>::value>::type = void]':
/builddir/build/BUILD/ceph-16.0.0/src/librbd/migration/QCOWFormat.cc:148:24:   required from 'void librbd::migration::QCOWFormat<ImageCtxT>::ClusterCache::execute_get_cluster(uint64_t, uint64_t, uint64_t, ceph::bufferlist*, Context*) [with I = librbd::ImageCtx; uint64_t = long unsigned int; ceph::bufferlist = ceph::buffer::v15_2_0::list]'
/builddir/build/BUILD/ceph-16.0.0/src/librbd/migration/QCOWFormat.cc:1391:35:   required from here
/usr/include/boost/asio/impl/post.hpp:240:15: error: no type named 'executor_type' in 'struct librbd::AsioEngine'
  240 |       detail::initiate_post_with_executor<
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  241 |         typename ExecutionContext::executor_type>(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  242 |           ctx.get_executor()), token);
      |           ~~~~~~~~~~~~~~~~~~~

History

#1 Updated by Kaleb KEITHLEY about 3 years ago

this is on Fedora-34/rawhide. They have just updated to boost-1.75. (previously it was boost-1.73.)

#2 Updated by Kaleb KEITHLEY about 3 years ago

this is on Fedora-34/rawhide. They have just updated to boost-1.75. (previously it was boost-1.73.)

Building with cmake ... -DWITH_SYSTEM_BOOST=ON ...

#3 Updated by Jason Dillaman about 3 years ago

  • Status changed from New to Pending Backport
  • Backport changed from pacific to nautilus,octopus,pacific
  • Pull request ID set to 39073

#4 Updated by Jason Dillaman about 3 years ago

  • Status changed from Pending Backport to In Progress
  • Assignee set to Jason Dillaman
  • Backport changed from nautilus,octopus,pacific to pacific
  • Pull request ID deleted (39073)

#5 Updated by Jason Dillaman about 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 39105

#6 Updated by Jason Dillaman about 3 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF