I just finished building Python 3.12.1 using similar instructions to above.   I now run "find usr/lib*/python* -name '*.so' | xargs strip --strip-unneeded" instead of "find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true" I used a longer list of packages installed at compile time, some of these not needed for Python but needed for BorgBackup I found that using newer v