[Bug 2142022] Re: resolute FTBFS after patch to not use system boost
Trent Lloyd
2142022 at bugs.launchpad.net
Fri Mar 6 06:25:34 UTC 2026
Just wanted to note that, I think after this bug was created, a new upstream major version (20.2) was uploaded, as part of this bug:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2139385
That release built, but hasn't migrated.
--
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:
Triaged
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