1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00
Files
poky/meta/recipes-devtools
Niko Mauno c5126983d9 python3-maturin: Fix cross compilation issue for armv7l, mips64, ppc
When bitbaking python3-rpds-py it built extension module as:

  site-packages/rpds/rpds.cpython-312-armv7l-linux-gnueabihf.so

Which caused error on target:

  root@qemuarm:~# python3 -c "from rpds import HashTrieMap, HashTrieSet, List"
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3.12/site-packages/rpds/__init__.py", line 1, in <module>
      from .rpds import *
  ModuleNotFoundError: No module named 'rpds.rpds'

Where as it should have been:

  site-packages/rpds/rpds.cpython-312-arm-linux-gnueabihf.so

Associated upstream bug report:
https://github.com/PyO3/maturin/issues/2203

Associated upstream pull request:
https://github.com/PyO3/maturin/pull/2204

Note - mitigation has not been tested with musl:
https://github.com/PyO3/maturin/pull/2204#issuecomment-2323952320

(From OE-Core rev: 32a8a7379008cc6e367b7664c5b10b29f0bb8136)

(From OE-Core rev: d2f73e3840c21997b918d1f1cfae965c618c1076)

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
..
2024-01-21 12:27:12 +00:00
2024-03-01 09:28:51 +00:00
2024-02-08 17:12:54 +00:00
2024-09-19 05:11:35 -07:00
2024-02-03 22:08:26 +00:00
2024-03-05 12:24:49 +00:00
2024-06-14 05:19:22 -07:00
2024-08-26 05:18:43 -07:00
2024-09-09 06:08:10 -07:00
2024-03-07 17:25:02 +00:00
2024-07-26 07:43:46 -07:00
2024-08-10 06:34:25 -07:00
2024-08-10 06:34:25 -07:00
2023-12-21 10:38:29 +00:00
2024-03-01 09:28:51 +00:00
2024-09-03 05:39:12 -07:00
2024-03-07 17:25:03 +00:00
2024-05-03 06:12:21 -07:00
2024-02-06 10:32:19 +00:00
2024-03-01 09:28:52 +00:00
2024-03-18 12:21:45 +00:00