* Yocto Python package upgradation from 3.10 to 3.11.5 version
@ 2024-07-10 10:02 jahnavijha14
2024-07-10 10:06 ` [OE-core] " Alexander Kanavin
0 siblings, 1 reply; 2+ messages in thread
From: jahnavijha14 @ 2024-07-10 10:02 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]
Hi,
I want to upgrade the Python package version (3.10) present in yocto Kirkstone build to Python-3.11.5 version.
For this I created my own layer and inside that have added Python recipe file for 3.11.5 version and its related files.
When I bitbake the recipe for python. (bitbake python3). I encounter one error related to do_configure which says:
checking for --with-build-python... configure: error: "nativepython3" has incompatible version 3.10 (expected: 3.11).
How do I link my Python 3.11.5 with nativepython3?
//////////////////////////////////////////////////////////////////
| checking whether -lc should be explicitly linked in... no
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... yes
| checking for --with-build-python... configure: error: "nativepython3" has incompatible version 3.10 (expected: 3.11)
| NOTE: The following config.log files may provide further information.
////////////////////////////////////////////////////////////////////////
[-- Attachment #2: Type: text/html, Size: 1385 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [OE-core] Yocto Python package upgradation from 3.10 to 3.11.5 version
2024-07-10 10:02 Yocto Python package upgradation from 3.10 to 3.11.5 version jahnavijha14
@ 2024-07-10 10:06 ` Alexander Kanavin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2024-07-10 10:06 UTC (permalink / raw)
To: jahnavijha14; +Cc: openembedded-core
Is your upgraded python used for both python3 and python3-native?
nativepython3 is coming from python3-native variant of the recipe, so
somehow that is still using the 3.10?
It helps if you publish the layer. It's difficult to help without
seeing what you did exactly.
Alex
On Wed, 10 Jul 2024 at 12:02, jahnavijha14 via lists.openembedded.org
<jahnavijha14=gmail.com@lists.openembedded.org> wrote:
>
> Hi,
>
> I want to upgrade the Python package version (3.10) present in yocto Kirkstone build to Python-3.11.5 version.
> For this I created my own layer and inside that have added Python recipe file for 3.11.5 version and its related files.
>
> When I bitbake the recipe for python. (bitbake python3). I encounter one error related to do_configure which says:
>
> checking for --with-build-python... configure: error: "nativepython3" has incompatible version 3.10 (expected: 3.11).
>
> How do I link my Python 3.11.5 with nativepython3?
>
> //////////////////////////////////////////////////////////////////
>
> | checking whether -lc should be explicitly linked in... no
> | checking dynamic linker characteristics... GNU/Linux ld.so
> | checking how to hardcode library paths into programs... immediate
> | checking whether stripping libraries is possible... yes
> | checking if libtool supports shared libraries... yes
> | checking whether to build shared libraries... yes
> | checking whether to build static libraries... yes
> | checking for --with-build-python... configure: error: "nativepython3" has incompatible version 3.10 (expected: 3.11)
> | NOTE: The following config.log files may provide further information.
>
> ////////////////////////////////////////////////////////////////////////
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#201728): https://lists.openembedded.org/g/openembedded-core/message/201728
> Mute This Topic: https://lists.openembedded.org/mt/107139491/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-10 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 10:02 Yocto Python package upgradation from 3.10 to 3.11.5 version jahnavijha14
2024-07-10 10:06 ` [OE-core] " Alexander Kanavin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox