On Thu, Jul 2, 2026 at 1:56 PM Ross Burton via lists.openembedded.org
<[email protected]> wrote:

> Now that meson.bbclass tells meson where to install Python files this
> recipe just needs to know the value of PYTHON_SITEPACKAGES_DIR for
> FILES, so just inherit python3-dir to remove a dependency on the target
> python recipe.
>
> Signed-off-by: Ross Burton <[email protected]>
> ---
>  meta/recipes-devtools/python/python3-pycairo_1.29.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb
> b/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb
> index 20c2c332cdb..9b78e4f3d3f 100644
> --- a/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb
> +++ b/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb
> @@ -17,7 +17,7 @@ SRC_URI[sha256sum] =
> "f3f7fde97325cae80224c09f12564ef58d0d0f655da0e3b040f5807bd5
>
>  S = "${UNPACKDIR}/pycairo-${PV}"
>
> -inherit meson pkgconfig python3targetconfig github-releases
> +inherit meson pkgconfig python3-dir github-releases
>

This change introduces a regression than can be verified with:

bitbake python3-pycairo -c do_install -f
file
/work/build/tmp/work/*/python3-pycairo/*/image/usr/lib/python*/site-packages/cairo/_cairo.cpython-*-linux-gnu.so

This will change the arch on the library name from "aarch64" to "x86_64"
when we build for arm64 target.

+
/work/build/tmp/work/armv8a-oe-linux/python3-pycairo/1.29.1/image/usr/lib/python3.14/site-packages/cairo/_
cairo.cpython-314-x86_64-linux-gnu.so: ELF 64-bit LSB shared object, ARM
aarch64, version 1 (SYSV), dynamically linked,
BuildID[sha1]=f787b1386510f091a34cb71fd91929e14128dc1e, with debug_info,
not stripped
-
/work/build/tmp/work/armv8a-oe-linux/python3-pycairo/1.29.1/image/usr/lib/python3.14/site-packages/cairo/_
cairo.cpython-314-aarch64-linux-gnu.so: ELF 64-bit LSB shared object, ARM
aarch64, version 1 (SYSV), dynamically linked,
BuildID[sha1]=f787b1386510f091a34cb71fd91929e14128dc1e, with debug_info,
not stripped

Jose


>
>  CFLAGS += "-fPIC"
>
> --
> 2.43.0
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244770): 
https://lists.openembedded.org/g/openembedded-core/message/244770
Mute This Topic: https://lists.openembedded.org/mt/120082280/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to