[Bug 2142022] Re: resolute FTBFS after patch to not use system boost

Matthew Ruffell 2142022 at bugs.launchpad.net
Sun Mar 8 20:33:16 UTC 2026


*** This bug is a duplicate of bug 2139385 ***
    https://bugs.launchpad.net/bugs/2139385

** Changed in: ceph (Ubuntu)
       Status: Triaged => Fix Committed

** This bug has been marked a duplicate of bug 2139385
   [FFE] Update Ceph to new 20.2.0 (Tentacle) version

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2142022

Title:
  resolute FTBFS after patch to not use system boost

Status in ceph package in Ubuntu:
  Fix Committed
Status in ceph package in Debian:
  New

Bug description:
  In [1], ceph was patched to not use system boost. There is no bug
  associated with it, nor does the patch have DEP3 headers, so the
  reasoning behind it is unknown.

  But it is causing an FTBFS[2]:
  (...)
  /usr/include/boost/smart_ptr/intrusive_ptr.hpp:71:44: error: ‘intrusive_ptr_add_ref’ was not declared in this scope; did you mean ‘ceph::common::intrusive_ptr_add_ref’?
     71 |         if( px != 0 ) intrusive_ptr_add_ref( px );
        |                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~
        |                       ceph::common::intrusive_ptr_add_ref
  (...)
  In file included from /usr/include/boost/intrusive_ptr.hpp:16,
                   from /<<PKGBUILDDIR>>/src/common/ceph_context.h:28:
  /usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of ‘constexpr boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&) [with T = TrackedOp]’:
  /<<PKGBUILDDIR>>/src/common/TrackedOp.h:103:20:   required from here
    103 |     opsvc.insert_op(now, op);
        |     ~~~~~~~~~~~~~~~^~~~~~~~~
  /usr/include/boost/smart_ptr/intrusive_ptr.hpp:71:46: error: cannot convert ‘TrackedOp*’ to ‘PrimaryLogPG*’
     71 |         if( px != 0 ) intrusive_ptr_add_ref( px );
        |                                              ^~
        |                                              |
        |                                              TrackedOp*
  (...)


  We need to rebuild ceph in resolute-proposed because of the python
  3.14 update, otherwise it won't pick up the new dependency:

   python3-rados:amd64 Depends python3 (< 3.14)

  
  Autopkgtests are currently failing because of the dependency above.

  
  1. https://launchpad.net/ubuntu/+source/ceph/19.2.3-0ubuntu8/
  2. https://launchpadlibrarian.net/846780867/buildlog_ubuntu-resolute-amd64.ceph_19.2.3-0ubuntu8_BUILDING.txt.gz#:~:text=hpp%3A71%3A44%3A-,error,-%3A%20%E2%80%98intrusive_ptr_add_ref%E2%80%99%20was%20not

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2142022/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list