Package: src:ceph
Version: 18.2.4+ds-11
Severity: serious
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.13

ceph ftbfs with Python 3.13 as the default

[...]
/<<PKGBUILDDIR>>/src/common/ceph_context.h: In member function ‘void ceph::common::CephContext::set_mon_addrs(const std::vector<entity_addrvec_t>&)’: /<<PKGBUILDDIR>>/src/common/ceph_context.h:285:26: warning: ‘void std::atomic_store_explicit(shared_ptr<_Tp>*, shared_ptr<_Tp>, memory_order) [with _Tp = vector<entity_addrvec_t>]’ is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead [-Wdeprecated-declarations] 285 | atomic_store_explicit(&_mon_addrs, std::move(ptr), std::memory_order_relaxed); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/memory:81,
                 from /<<PKGBUILDDIR>>/src/mgr/MgrContext.h:17:
/usr/include/c++/14/bits/shared_ptr_atomic.h:173:5: note: declared here
173 | atomic_store_explicit(shared_ptr<_Tp>* __p, shared_ptr<_Tp> __r,
      |     ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/common/ceph_context.h: In member function ‘std::shared_ptr<std::vector<entity_addrvec_t> > ceph::common::CephContext::get_mon_addrs() const’: /<<PKGBUILDDIR>>/src/common/ceph_context.h:288:36: warning: ‘std::shared_ptr<_Tp> std::atomic_load_explicit(const shared_ptr<_Tp>*, memory_order) [with _Tp = vector<entity_addrvec_t>]’ is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead [-Wdeprecated-declarations] 288 | auto ptr = atomic_load_explicit(&_mon_addrs, std::memory_order_relaxed); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/shared_ptr_atomic.h:133:5: note: declared here
  133 |     atomic_load_explicit(const shared_ptr<_Tp>* __p, memory_order)
      |     ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mgr/PyModule.cc: In member function ‘int PyModule::load(PyThreadState*)’: /<<PKGBUILDDIR>>/src/mgr/PyModule.cc:363:20: warning: ‘void PySys_SetArgv(int, wchar_t**)’ is deprecated [-Wdeprecated-declarations]
  363 |       PySys_SetArgv(1, (wchar_t**)argv);
      |       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:125,
                 from /<<PKGBUILDDIR>>/src/mgr/BaseMgrModule.h:4,
                 from /<<PKGBUILDDIR>>/src/mgr/PyModule.cc:14:
/usr/include/python3.13/sysmodule.h:10:38: note: declared here
10 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
      |                                      ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/mgr/PyModule.cc:367:70: warning: ‘wchar_t* Py_GetPath()’ is deprecated [-Wdeprecated-declarations] 367 | wstring sys_path(wstring(begin(paths), end(paths)) + Py_GetPath()); | ~~~~~~~~~~^~
In file included from /usr/include/python3.13/Python.h:123:
/usr/include/python3.13/pylifecycle.h:46:43: note: declared here
   46 | Py_DEPRECATED(3.13) PyAPI_FUNC(wchar_t *) Py_GetPath(void);
      |                                           ^~~~~~~~~~
/<<PKGBUILDDIR>>/src/mgr/PyModule.cc:368:7: error: ‘PySys_SetPath’ was not declared in this scope; did you mean ‘Py_GetPath’?
  368 |       PySys_SetPath(const_cast<wchar_t*>(sys_path.c_str()));
      |       ^~~~~~~~~~~~~
      |       Py_GetPath

Reply via email to