Just apply the whole patch.
It stops in do_install.
| rm -r /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/lib-dynload/__pycache__
| rm: cannot remove '/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/lib-dynload/__pycache__': No such file or directory
| make: [Makefile:1707: sharedinstall] Error 1 (ignored)
...
| WARNING: Backtrace (BB generated script):
| #1: do_install, /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/run.do_install.3860389, line 166
| #2: main, /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/run.do_install.3860389, line 240
NOTE: recipe python3-native-3.9.7-r0: task do_install: Failed
ERROR: Task (virtual:native:/home/openvix/5.6/openembedded-core/meta/recipes-devtools/python/python3_3.9.7.bb:do_install) failed with exit code '1'
run.do_install looks like this:
#!/bin/sh
__BITBAKE_LAST_LINE=0
# Emit a useful diagnostic if something fails:
bb_sh_exit_handler() {
ret=$?
if [ "$ret" != 0 ]; then
echo "WARNING: exit code $ret from a shell command."
fi
exit $ret
}
bb_bash_exit_handler() {
ret=$?
{ set +x; } > /dev/null
trap "" DEBUG
if [ "$ret" != 0 ]; then
echo "WARNING: ${BASH_SOURCE[0]}:${__BITBAKE_LAST_LINE} exit $ret from '$1'"
echo "WARNING: Backtrace (BB generated script): "
for i in $(seq 1 $((${#FUNCNAME[@]} - 1))); do
if [ "$i" -eq 1 ]; then
echo -e " #$((i)): ${FUNCNAME[$i]}, ${BASH_SOURCE[$((i-1))]}, line ${__BITBAKE_LAST_LINE}"
else
echo -e " #$((i)): ${FUNCNAME[$i]}, ${BASH_SOURCE[$((i-1))]}, line ${BASH_LINENO[$((i-1))]}"
fi
done
fi
exit $ret
}
bb_bash_debug_handler() {
local line=${BASH_LINENO[0]}
# For some reason the DEBUG trap trips with lineno=1 when scripts exit; ignore it
if [ "$line" -eq 1 ]; then
return
fi
# Track the line number of commands as they execute. This is so we can have access to the failing line number
# in the EXIT trap. See http://gnu-bash.2382.n7.nabble.com/trap-echo-quot-trap-exit-on-LINENO-quot-EXIT-gt-wrong-linenumber-td3666.html
if [ "${FUNCNAME[1]}" != "bb_bash_exit_handler" ]; then
__BITBAKE_LAST_LINE=$line
fi
}
case $BASH_VERSION in
"") trap 'bb_sh_exit_handler' 0
set -e
;;
*) trap 'bb_bash_exit_handler "$BASH_COMMAND"' 0
trap '{ bb_bash_debug_handler; } 2>/dev/null' DEBUG
set -e
shopt -s extdebug
;;
esac
export AR="ar"
export AS="as "
export BUILD_AR="ar"
export BUILD_AS="as "
export BUILD_CC="gcc "
export BUILD_CCLD="gcc "
export BUILD_CFLAGS="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -O2 -pipe"
export BUILD_CPP="gcc -E"
export BUILD_CPPFLAGS="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include"
export BUILD_CXX="g++ "
export BUILD_CXXFLAGS="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -O2 -pipe"
export BUILD_FC="gfortran "
export BUILD_LD="ld "
export BUILD_LDFLAGS="-L/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -L/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,-O1"
export BUILD_NM="nm"
export BUILD_RANLIB="ranlib"
export BUILD_STRIP="strip"
export CC="gcc "
export CCLD="gcc "
export CC_FOR_BUILD="gcc "
export CFLAGS="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -O2 -pipe"
export CFLAGS_FOR_BUILD="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -O2 -pipe"
export CONFIG_SITE="/home/openvix/5.6/openembedded-core/meta/site/endian-little /home/openvix/5.6/openembedded-core/meta/site/common-linux /home/openvix/5.6/openembedded-core/meta/site/common-glibc /home/openvix/5.6/openembedded-core/meta/site/x86_64-linux /home/openvix/5.6/openembedded-core/meta/site/common /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/x86_64-linux_config_site.d/ncurses_config"
export CPP="gcc -E"
export CPPFLAGS="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -I/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include/ncursesw -I/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include/uuid"
export CPPFLAGS_FOR_BUILD="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include"
export CPP_FOR_BUILD="gcc -E"
export CROSSPYTHONPATH="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/lib-dynload/"
export CXX="g++ "
export CXXFLAGS="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -O2 -pipe"
export CXXFLAGS_FOR_BUILD="-isystem/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include -O2 -pipe"
export CXX_FOR_BUILD="g++ "
unset DISTRO
export FC="gfortran "
export GIT_CEILING_DIRECTORIES="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0"
export HOME="/home/openvix"
export LC_ALL="en_US.UTF-8"
export LD="ld "
export LDFLAGS="-L/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -L/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,-O1"
export LDFLAGS_FOR_BUILD="-L/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -L/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib -Wl,-O1"
export LD_FOR_BUILD="ld "
export LOGNAME="openvix"
unset MACHINE
export MAKE="make"
export NM="nm"
export OBJCOPY="objcopy"
export OBJDUMP="objdump"
export OMP_NUM_THREADS="32"
export PATH="/home/openvix/5.6/openembedded-core/scripts/native-intercept:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin/python3-native:/home/openvix/5.6/openembedded-core/scripts:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/sbin:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/sbin:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/bin:/home/openvix/5.6/bitbake/bin:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/hosttools"
export PKG_CONFIG_DIR="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/pkgconfig"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export PKG_CONFIG_LIBDIR="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/pkgconfig"
export PKG_CONFIG_PATH="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/pkgconfig:/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR=""
unset PKG_CONFIG_SYSTEM_INCLUDE_PATH
unset PKG_CONFIG_SYSTEM_LIBRARY_PATH
export PSEUDO_DISABLED="1"
export PSEUDO_UNLOAD="1"
export RANLIB="ranlib"
export READELF="readelf"
unset SHELL
export STRINGS="strings"
export STRIP="strip"
unset TARGET_ARCH
export TZ="UTC"
export USER="openvix"
export base_bindir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/bin"
export base_libdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib"
export base_prefix="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native"
export base_sbindir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/sbin"
export bindir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin"
export datadir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share"
export docdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/doc"
export exec_prefix="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr"
export includedir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include"
export infodir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/info"
export libdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib"
export libexecdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/libexec"
export localstatedir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/var"
export lt_cv_sys_lib_dlsearch_path_spec="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib /lib /lib64 /usr/lib /usr/lib64"
export mandir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/man"
export nonarch_base_libdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib"
export nonarch_libdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib"
export oldincludedir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include"
export prefix="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr"
export sbindir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/sbin"
export servicedir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/srv"
export sharedstatedir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/com"
export sysconfdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/etc"
export systemd_system_unitdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib/systemd/system"
export systemd_unitdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/lib/systemd"
export systemd_user_unitdir="/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/systemd/user"
# line: 1, file: autogenerated
do_install() {
/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/check_build_completeness.py /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/log.do_compile
autotools_do_install
# Make sure we use /usr/bin/env python
for PYTHSCRIPT in `grep -rIl /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin/python3-native/python /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin/python3-native`; do
sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
done
# Add a symlink to the native Python so that scripts can just invoke
# "nativepython" and get the right one without needing absolute paths
# (these often end up too long for the #! parser in the kernel as the
# buffer is 128 bytes long).
ln -s python3-native/python3 /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/bin/nativepython3
for c in /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image//home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/_sysconfigdata*.py; do
python3 /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/reformat_sysconfig.py $c
done
rm /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/__pycache__/_sysconfigdata*.cpython*
mkdir -p /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python-sysconfigdata
sysconfigfile=`find /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image -name _sysconfig*.py`
cp $sysconfigfile /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python-sysconfigdata/_sysconfigdata.py
sed -i \
-e "s,^ 'LIBDIR'.*, 'LIBDIR': '/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib'\,,g" \
-e "s,^ 'INCLUDEDIR'.*, 'INCLUDEDIR': '/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include'\,,g" \
-e "s,^ 'CONFINCLUDEDIR'.*, 'CONFINCLUDEDIR': '/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include'\,,g" \
-e "/^ 'INCLDIRSTOMAKE'/{N; s,/usr/include,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include,g}" \
-e "/^ 'INCLUDEPY'/s,/usr/include,/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include,g" \
/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python-sysconfigdata/_sysconfigdata.py
# Unfortunately the following pyc files are non-deterministc due to 'frozenset'
# being written without strict ordering, even with PYTHONHASHSEED = 0
# Upstream is discussing ways to solve the issue properly, until then let's
# just not install the problematic files.
# More info: http://benno.id.au/blog/2013/01/15/python-determinism
rm /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/test/__pycache__/test_range.cpython*
rm /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/test/__pycache__/test_xml_etree.cpython*
if [ -e /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/usr/lib/python3.9/test ]; then
rm -rf /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/usr/lib/python3.9/test
fi
if [ -e /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/usr/lib/python3.9/lib2to3/tests ]; then
rm -rf /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/usr/lib/python3.9/lib2to3/tests
fi
}
# line: 242, file: /home/openvix/5.6/openembedded-core/meta/classes/autotools.bbclass
autotools_do_install() {
oe_runmake 'DESTDIR=/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image' install
# Info dir listing isn't interesting at this point so remove it if it exists.
if [ -e "/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/info/dir" ]; then
rm -f /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/share/info/dir
fi
}
# line: 64, file: /home/openvix/5.6/openembedded-core/meta/classes/base.bbclass
oe_runmake() {
oe_runmake_call "$@" || die "oe_runmake failed"
}
# line: 55, file: /home/openvix/5.6/openembedded-core/meta/classes/base.bbclass
die() {
bbfatal_log "$*"
}
# line: 59, file: /home/openvix/5.6/openembedded-core/meta/classes/base.bbclass
oe_runmake_call() {
bbnote make -j 8 STAGING_LIBDIR=/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib STAGING_INCDIR=/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include LIB=lib "$@"
make -j 8 STAGING_LIBDIR=/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib STAGING_INCDIR=/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/include LIB=lib "$@"
}
# line: 66, file: /home/openvix/5.6/openembedded-core/meta/classes/logging.bbclass
bbfatal_log() {
if [ -p /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/fifo.3860389 ] ; then
printf "%b\0" "bbfatal_log $*" > /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/fifo.3860389
else
echo "ERROR: $*"
fi
exit 1
}
# line: 21, file: /home/openvix/5.6/openembedded-core/meta/classes/logging.bbclass
bbnote() {
if [ -p /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/fifo.3860389 ] ; then
printf "%b\0" "bbnote $*" > /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/temp/fifo.3860389
else
echo "NOTE: $*"
fi
}
cd '/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/build'
do_install
# cleanup
ret=$?
trap '' 0
exit $ret
Line 166 is this:
rm /home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/image/home/openvix/5.6/builds/openvix/Py3/vuultimo4k/tmp/work/x86_64-linux/python3-native/python3-native-3.9.7-r0/recipe-sysroot-native/usr/lib/python3.9/__pycache__/_sysconfigdata*.cpython*