If oe-run-native is used to run something that depends on python3-native then the host python3 is still used as the binary is usr/bin/python3-native/python3, which isn't in $PATH. oe-run-native should search usr/bin for directories called *-native and add those to PATH.
One of the ways to solve it is via find, diff --git a/scripts/oe-run-native b/scripts/oe-run-native index bbdd1d8c1a..1a04613d1d 100755 --- a/scripts/oe-run-native +++ b/scripts/oe-run-native @@ -55,7 +55,7 @@ fi OLD_PATH=$PATH # look for a tool only in native sysroot -PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$OECORE_NATIVE_SYSROOT/bin:$OECORE_NATIVE_SYSROOT/usr/sbin:$OECORE_NATIVE_SYSROOT/sbin +PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$OECORE_NATIVE_SYSROOT/bin:$OECORE_NATIVE_SYSROOT/usr/sbin:$OECORE_NATIVE_SYSROOT/sbin:$(find $OECORE_NATIVE_SYSROOT/usr/bin/ -maxdepth 1 -type d -printf ":%p") tool_find=`/usr/bin/which $tool 2>/dev/null` if [ -n "$tool_find" ] ; then -- Regards, Jagadeesh
Jagadeesh, Can you work in this?
(In reply to comment #2) > Jagadeesh, > > Can you work in this? Sure, I have submitted a patch to solve the issue at http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154241.html Regards, Jagadeesh
Should be resolved with http://cgit.openembedded.org/openembedded-core/commit/?id=a3e9b2224b31cfd836519d0b609f8064adb67cca Regards, Jagadeesh