PYTHON_SOABI returns a host version of SOABI while cross-compiling
@nuclearsandwich ya está trabajando en esto.
Desde el 15/5/2020.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Bug report
Required Info:
- Operating System:
- host: Ubuntu 18.04
- target: VxWorks 7
- Installation type:
- source compilation
- Version or commit hash:
- dashing release
- DDS implementation:
- N/A
- Client library (if applicable):
- N/A
Steps to reproduce issue
While cross-compiling the ROS2 dashing release for VxWorks and encounter the following problem
FindPythonExtra.cmake gives back a host PYTHON_SOABI instead of a target one.
It runs get_config_var('SOABI') using native python
"from sysconfig import get_config_var"
"print(get_config_var('SOABI'))"
After that all python ROS2 modules are built with the host extension and not loadable on the target system.
build: _rclpy.cpython-38-x86_64-linux-gnu.so
expected: _rclpy.cpython-38-vxworks.so
Expected behavior
It should give back a target SOABI, not the host one.
Probably a bit more sophisticated check shall be implemented, e.g. run a target version of
python3-config --extension-suffix
Actual behavior
always returns the host python SOABI version
Additional information
It is possible to define -DPYTHON_SOABI="my SOABI" to workaround it.
- Lenguaje dominante
- EmberScript
- Estrellas
- 26
- Forks
- 68
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ros2/rosidl_python
-
Eliminate array resetting loop in _msg_support.c.emPosiblemente ocupada @Lidang-Jiang la tomó hace 168 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ros2/rosidl_python#255 · 1 reacción ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
ros2/rosidl_python#264 · 2 comentarios ·
-
Message named pkg/Duration with field builtin_interfaces/Duration is invalidPosiblemente ocupada @Lidang-Jiang la tomó hace 168 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
ros2/rosidl_python#257 · 8 comentarios ·
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
ros2/rosidl_python#242 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 32/100
ros2/rosidl_python#219 · 2 comentarios ·