Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Builds outside source folder broken, failed import of _importlib - no detection or valid error message or recommended cleanup. #112305

Closed
Assignees
gpshead
Labels
3.11only security fixes3.12only security fixes3.13bugs and security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error
@nascheme

Description

@nascheme

Bug description:

This bug was exposed byGH-108716. I think it was not the cause, just that it exposed an existing issue.

The build fails with:

./python -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platformFatal Python error: _PyImport_InitCore: failed to initialize importlibPython runtime state: preinitializedImportError: Frozen object named '_frozen_importlib' is invalidCurrent thread 0x00007fb629644740 (most recent call first):  <no Python frame>make: *** [Makefile:932: platform] Error 1

Likelypython doesn't know to look in$(srcdir)/Lib for the_importlib library. It probably looks in./Lib/ and that fails.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12only security fixes3.13bugs and security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp