An error occurred while fetching folder content.
ament.bbclass: Fix PYTHON_SOABI
Andre Rosa authored
  * Make it conditional on ARCH. Otherwise needs to be
    reworked to avoid getting the SOABI from python3-native.

  * See:
    https://github.com/lgsvl/meta-ros2/commit/4b6bb786336695cd04144ff4eeb2e4d6b6b9ad3a
    https://github.com/ros2/rosidl_python/blob/master/python_cmake_module/cmake/Modules/FindPythonExtra.cmake
    https://discourse.ros.org/t/import-error-no-module-named-rclpy-rclpy-cross-compiling/2463/

  * With the patch ros2 cli works well for all listed ARCH-s:

    root@qemuarm64:~# ros2 topic list
    /parameter_events
    /rosout

     root@qemuarm64:~# ros2 topic pub /chatter std_msgs/String "data: Hello world"
     publisher: beginning loop
     publishing #1: std_msgs.msg.String(data='Hello world')

     publishing #2: std_msgs.msg.String(data='Hello world')

     ...

     root@qemuarm64:~# ros2 topic echo /chatter
     data: Hello world

     data: Hello world

     ...
2090fff2
Name Last commit Last update