Bug#1058039: cctbx: FTBFS with Python 3.12

Graham Inggs ginggs at debian.org
Mon Dec 11 15:08:26 GMT 2023


Source: cctbx
Version:  2022.9+ds2+~3.11.2+ds1-6
Severity: serious
Tags: ftbfs sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

Hi Maintainer

cctbx FTBFS [1] with Python 3.12 as a supported version.  I've copied
what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=cctbx


In file included from
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from
/usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from
/usr/include/boost/python/converter/shared_ptr_to_python.hpp:12,
                 from /usr/include/boost/python/converter/arg_to_python.hpp:15,
                 from /usr/include/boost/python/call.hpp:15,
                 from /usr/include/boost/python/object_core.hpp:14,
                 from /usr/include/boost/python/object.hpp:9,
                 from /<<PKGBUILDDIR>>/boost_adaptbx/graph/graph_type.hpp:4,
                 from /<<PKGBUILDDIR>>/boost_adaptbx/graph/metric_ext.cpp:1:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice
of declaring the Bind placeholders (_1, _2, ...) in the global
namespace is deprecated. Please use <boost/bind/bind.hpp> + using
namespace boost::placeholders, or define
BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/boost_adaptbx/meta_ext.cpp: In function
‘boost::python::list {anonymous}::str_or_unicode_as_char_list(const
boost::python::api::object&)’:
/<<PKGBUILDDIR>>/boost_adaptbx/meta_ext.cpp:439:11: error:
‘PyUnicode_GET_DATA_SIZE’ was not declared in this scope
  439 |       n = PyUnicode_GET_DATA_SIZE(obj);
      |           ^~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/boost_adaptbx/meta_ext.cpp:440:11: error:
‘PyUnicode_AS_DATA’ was not declared in this scope; did you mean
‘PyUnicode_DATA’?
  440 |       c = PyUnicode_AS_DATA(obj);
      |           ^~~~~~~~~~~~~~~~~
      |           PyUnicode_DATA



More information about the debian-science-maintainers mailing list