| Summary: | macOS Catalina prefix bootstrap fails: dev-lang/python-3.11.3: raise RuntimeError("Failed to build some stdlib modules") | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | 2857 <2857> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
stage3.log, zstd compressed
stage2.log, zstd compressed stage1.log, zstd compressed build.log, zstd compressed |
||
|
Description
2857
2023-06-09 14:41:34 UTC
Created attachment 863607 [details]
stage2.log, zstd compressed
Created attachment 863608 [details]
stage1.log, zstd compressed
Created attachment 863609 [details]
build.log, zstd compressed
*** WARNING: renaming "_ctypes" since importing it failed: dlopen(/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/build/lib.macosx-10.15-x86_64-3.11/_ctypes.cpython
-311-darwin.bundle, 2): Symbol not found: __dyld_shared_cache_contains_path
Referenced from: /Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/build/lib.macosx-10.15-x86_64-3.11/_ctypes.cpython-311-darwin.bundle
Expected in: flat namespace
in /Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/build/lib.macosx-10.15-x86_64-3.11/_ctypes.cpython-311-darwin.bundle
The following modules found by detect_modules() in setup.py have not
been built, they are *disabled* by configure:
_dbm _gdbm _scproxy
_tkinter nis ossaudiodev
readline
Following modules built successfully but were removed because they could not be imported:
_ctypes
Traceback (most recent call last):
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/./setup.py", line 1600, in <module>
main()
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/./setup.py", line 1570, in main
setup(# PyPI Metadata (PEP 301)
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/Lib/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/./setup.py", line 523, in build_extensions
self.summary(mods_built, mods_disabled)
File "/Volumes/backup/gentoo_prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/Python-3.11.3/./setup.py", line 601, in summary
raise RuntimeError("Failed to build some stdlib modules")
RuntimeError: Failed to build some stdlib modules
make: *** [Makefile:872: sharedmods] Error 1
* ERROR: dev-lang/python-3.11.3::gentoo_prefix failed (compile phase):
* emake failed
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=849472dfa3e08b890b31bf72e11f5969e9ce2db2 commit 849472dfa3e08b890b31bf72e11f5969e9ce2db2 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2023-06-28 06:26:35 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2023-06-28 06:26:35 +0000 dev-lang/python-3.11.3: hide __dyld_shared_cache_contains_path on macOS 10.15 Bug: https://bugs.gentoo.org/908187 Signed-off-by: Fabian Groffen <grobian@gentoo.org> dev-lang/python/python-3.11.3.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) when possible, please confirm whether the fix works for you |