Source: ros-geometry2
Version: 0.7.7-1
Tags: upstream
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/ros/geometry2/issues/568

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:


cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tf2_ros && /usr/bin/c++ 
-DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB 
-DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 
-DROS_PACKAGE_NAME=\"tf2_ros\" -Dtf2_ros_EXPORTS 
-I/<<PKGBUILDDIR>>/tf2_ros/include 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/devel/include 
-I/<<PKGBUILDDIR>>/tf2/include -I/<<PKGBUILDDIR>>/tf2_msgs/include 
-I/usr/include/xmlrpcpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -MD -MT 
tf2_ros/CMakeFiles/tf2_ros.dir/src/static_transform_broadcaster.cpp.o -MF 
CMakeFiles/tf2_ros.dir/src/static_transform_broadcaster.cpp.o.d -o 
CMakeFiles/tf2_ros.dir/src/static_transform_broadcaster.cpp.o -c 
/<<PKGBUILDDIR>>/tf2_ros/src/static_transform_broadcaster.cpp
/<<PKGBUILDDIR>>/tf2_py/src/tf2_py.cpp: In function ‘PyObject* 
transform_converter(const geometry_msgs::TransformStamped*)’:
/<<PKGBUILDDIR>>/tf2_py/src/tf2_py.cpp:89:11: error: ‘PyEval_CallObject’ was 
not declared in this scope; did you mean ‘PyObject_CallObject’?
   89 |   pinst = PyEval_CallObject(pclass, pargs);
      |           ^~~~~~~~~~~~~~~~~
      |           PyObject_CallObject
make[3]: *** [tf2_py/CMakeFiles/tf2_py.dir/build.make:79: 
tf2_py/CMakeFiles/tf2_py.dir/src/tf2_py.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make[2]: *** [CMakeFiles/Makefile2:1855: tf2_py/CMakeFiles/tf2_py.dir/all] 
Error 2

If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/711398/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to