Created attachment 767314 [details] Stage1 Log. I tried to re-bootstrap the Gentoo Prefix, but it failed when bootstrapping Python-3.9.6 at stage1.
My laptop is MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) running on macOS Monterey 12.3.
checking for the platform triplet based on compiler characteristics... darwin configure: error: internal configure error for the platform triplet, please file a bug report * Triggering Darwin with GCC toolchain * Bootstrapping Python-3.9.6 * Unpacking Python-3.9.6 * Compiling Python-3.9.6 ]2;stage1: configuring Python-3.9.6./configure --host=x86_64-apple-darwin21 --prefix=/Users/zx/Gentoo/tmp/usr --mandir=/Users/zx/Gentoo/tmp/usr/share/man --infodir=/Users/zx/Gentoo/tmp/usr/share/info --datadir=/Users/zx/Gentoo/tmp/usr/share --sysconfdir=/Users/zx/Gentoo/tmp/etc --localstatedir=/Users/zx/Gentoo/tmp/var/lib --build=x86_64-apple-darwin21 --with-system-ffi --without-ensurepip --disable-ipv6 --disable-shared --libdir=/Users/zx/Gentoo/tmp/usr/lib checking build system type... x86_64-apple-darwin21 checking host system type... x86_64-apple-darwin21 checking for python3.9... no checking for python3... python3 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... "darwin" checking for x86_64-apple-darwin21-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /Users/zx/Gentoo/tmp/usr/bin/sed checking for --with-cxx-main=<compiler>... no checking for the platform triplet based on compiler characteristics... darwin configure: error: internal configure error for the platform triplet, please file a bug report
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a2d84b5dea75df392e9d4fc093b88c77087fd687 commit a2d84b5dea75df392e9d4fc093b88c77087fd687 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-30 18:15:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-30 18:15:42 +0000 bootstrap-prefix.sh: crank up Python 3.9 version Closes: https://bugs.gentoo.org/843368 Closes: https://bugs.gentoo.org/835579 Signed-off-by: Sam James <sam@gentoo.org> scripts/bootstrap-prefix.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Created attachment 789017 [details, diff] Patch for using python 3.9.13 Using python 3.9.13 I am able to successfully build python on macOS 12.2 Monterey amd64, and macOS 12.4 Monterey arm64.
I wonder what happened here, because I was able to bootstrap just fine on arm64-macos (macOS 12.2)