Hi,

This fix works for me. It makes sense.

wrynose branch also has the very same issue. Could this fix also be applied
there ?

Thanks

On Mon, May 18, 2026 at 8:17 AM Alexander Kanavin via lists.openembedded.org
<[email protected]> wrote:

> From: Alexander Kanavin <[email protected]>
>
> For the class to work, target python needs to be present in the target
> sysroot. This was done only for :target builds but not for :nativesdk
> ones, and this patch addresses that.
>
> The issue was reported in
> https://lists.openembedded.org/g/openembedded-core/message/237188
> (but the proposed fix there isn't right).
>
> Signed-off-by: Alexander Kanavin <[email protected]>
> ---
>  meta/classes-recipe/python3targetconfig.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes-recipe/python3targetconfig.bbclass
> b/meta/classes-recipe/python3targetconfig.bbclass
> index 2877665737..3b9333a4be 100644
> --- a/meta/classes-recipe/python3targetconfig.bbclass
> +++ b/meta/classes-recipe/python3targetconfig.bbclass
> @@ -8,6 +8,7 @@ inherit python3native
>
>  EXTRA_PYTHON_DEPENDS ?= ""
>  EXTRA_PYTHON_DEPENDS:class-target = "python3"
> +EXTRA_PYTHON_DEPENDS:class-nativesdk = "nativesdk-python3"
>  DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}"
>
>  setup_target_config() {
> --
> 2.47.3
>
>
> 
>
>

-- 
João Henrique Ferreira de Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237249): 
https://lists.openembedded.org/g/openembedded-core/message/237249
Mute This Topic: https://lists.openembedded.org/mt/119370886/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

  • [OE-core... Alexander Kanavin via lists.openembedded.org
    • Re:... João Henrique Ferreira de Freitas via lists . openembedded . org

Reply via email to