I use Yocto(warrior) and want to create valid extensible sdk. My problem is that after installation of created sdk i get:

{SDK-INSTALL-DIR}/sysroots/x86_64-pokysdk-linux/usr/bin/python3: line 5: {SDK-INSTALL-DIR}/sysroots/x86_64-pokysdk-linux/usr/bin/python3.7.real: No such file or directory

I installed also sdk-ext from core-image-minimal and there is no such problem. I started to compare differences between both installations and found out that my sdk has binary {SDK-INSTALL-DIR}/sysroots/x86_64-pokysdk-linux/usr/bin/python3.7.real and this binary is not relocated(wrong interpreter path). After loading sdk's environment, PATH variable has {SDK-INSTALL-DIR}/sysroots/x86_64-pokysdk-linux/usr/bin as first entry - and that is why devtool does not work. If i remove python3 from {SDK-INSTALL-DIR}/sysroots/x86_64-pokysdk-linux/usr/bin/ then devtool is working well. Working(relocated) python3 exists in {SDK-INSTALL-DIR}/*buildtools*/sysroots/x86_64-pokysdk-linux/usr/bin/python3 - the same in sdk for core-image-minimal.

Can anybody tell me why i have not relocated python3 binary in {SDK-INSTALL-DIR}/sysroots/x86_64-pokysdk-linux/usr/bin and other sdk's dont have this? What kind of package it comes from? I thought it is nativesdk-python3 but core-image-minimal builds it also and there is no problem. Is there any detailed documentation about directory structure of installed sdk?


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48059): https://lists.yoctoproject.org/g/yocto/message/48059
Mute This Topic: https://lists.yoctoproject.org/mt/69952557/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to