On Sun, 17 May 2026 at 15:33, João Henrique Ferreira de Freitas via
lists.openembedded.org <[email protected]>
wrote:
> +setup_nativesdk_config() {
> +        export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
> +        export 
> _PYTHON_SYSCONFIGDATA_PATH="${STAGING_LIBDIR_NATIVE}/python-sysconfigdata"
> +        export _PYTHON_PROJECT_BASE="${B}"
> +        export 
> PYTHONPATH=${STAGING_LIBDIR_NATIVE}/python-sysconfigdata:$PYTHONPATH
> +}

Redirecting to native configuration does not look right.
python3targetconfig class is meant specifically to provide target
python configuration, regardless of whether the build environment is
direct yocto, or yocto sdk.

You need to check why the target sysconfigdata is not found, perhaps
by comparing how the recipe builds in plain yocto.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237217): 
https://lists.openembedded.org/g/openembedded-core/message/237217
Mute This Topic: https://lists.openembedded.org/mt/119357401/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

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

Reply via email to