-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error: bootstrap issue with gettext #55830
Labels
build
The build process and cross-build
release-blocker
type-bug
An unexpected behavior, bug, or error
Comments
Looks like a bootstrap issue, could be related to the latest getopt changes: Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/setup.py", line 13, in <module>
from distutils.core import Extension, setup
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/Lib/distutils/core.py", line 18, in <module>
from distutils.dist import Distribution
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/Lib/distutils/dist.py", line 17, in <module>
from distutils.fancy_getopt import FancyGetopt, translate_longopt
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/Lib/distutils/fancy_getopt.py", line 14, in <module>
import getopt
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/Lib/getopt.py", line 37, in <module>
from gettext import gettext as _
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/Lib/gettext.py", line 49, in <module>
import locale, copy, io, os, re, struct, sys
File "/Users/db3l/buildarea.dmg/3.x.dmg/build/Lib/struct.py", line 12, in <module>
from _struct import *
ImportError: No module named '_struct'
make: *** [sharedmods] Error 1 |
Actually, it's not specific to the DMG build. |
New changeset 160823d258b5 by Antoine Pitrou in branch 'default': |
Should be fixed. |
Thank you for catching and fixing this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
build
The build process and cross-build
release-blocker
type-bug
An unexpected behavior, bug, or error
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: