Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835579 - Failed when bootstrapping Python-3.9.6.
Summary: Failed when bootstrapping Python-3.9.6.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-18 14:23 UTC by Zexi
Modified: 2022-07-01 06:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Stage1 Log. (stage1.log.zip,187.21 KB, application/zip)
2022-03-18 14:23 UTC, Zexi
Details
Patch for using python 3.9.13 (bootstrap-prefix-python3.9.13.patch,336 bytes, patch)
2022-06-30 18:19 UTC, Alice
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zexi 2022-03-18 14:23:31 UTC
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.
Comment 1 Zexi 2022-03-18 14:46:34 UTC
My laptop is MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) running on macOS Monterey 12.3.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-18 19:02:49 UTC
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
Comment 3 Larry the Git Cow gentoo-dev 2022-06-30 18:16:42 UTC
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(-)
Comment 4 Alice 2022-06-30 18:19:53 UTC
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.
Comment 5 Fabian Groffen gentoo-dev 2022-07-01 06:31:05 UTC
I wonder what happened here, because I was able to bootstrap just fine on arm64-macos (macOS 12.2)