Skip to content
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

Closed
pitrou opened this issue Mar 21, 2011 · 5 comments
Closed

build error: bootstrap issue with gettext #55830

pitrou opened this issue Mar 21, 2011 · 5 comments
Labels
build The build process and cross-build release-blocker type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Mar 21, 2011

BPO 11621
Nosy @db3l, @pitrou, @merwok, @bitdancer

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:

assignee = None
closed_at = <Date 2011-03-21.15:08:40.338>
created_at = <Date 2011-03-21.14:12:15.918>
labels = ['type-bug', 'build', 'release-blocker']
title = 'build error: bootstrap issue with gettext'
updated_at = <Date 2011-03-21.22:52:39.802>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2011-03-21.22:52:39.802>
actor = 'eric.araujo'
assignee = 'none'
closed = True
closed_date = <Date 2011-03-21.15:08:40.338>
closer = 'pitrou'
components = ['Build']
creation = <Date 2011-03-21.14:12:15.918>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 11621
keywords = []
message_count = 5.0
messages = ['131655', '131662', '131663', '131665', '131698']
nosy_count = 5.0
nosy_names = ['db3l', 'pitrou', 'eric.araujo', 'r.david.murray', 'python-dev']
pr_nums = []
priority = 'release blocker'
resolution = 'fixed'
stage = 'needs patch'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue11621'
versions = ['Python 3.3']

@pitrou
Copy link
Member Author

pitrou commented Mar 21, 2011

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

@pitrou pitrou added build The build process and cross-build type-bug An unexpected behavior, bug, or error labels Mar 21, 2011
@pitrou
Copy link
Member Author

pitrou commented Mar 21, 2011

Actually, it's not specific to the DMG build.

@pitrou pitrou changed the title DMG build error build error: bootstrap issue with gettext Mar 21, 2011
@python-dev
Copy link
Mannequin

python-dev mannequin commented Mar 21, 2011

New changeset 160823d258b5 by Antoine Pitrou in branch 'default':
Issue bpo-11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9)
http://hg.python.org/cpython/rev/160823d258b5

@pitrou
Copy link
Member Author

pitrou commented Mar 21, 2011

Should be fixed.

@pitrou pitrou closed this as completed Mar 21, 2011
@merwok
Copy link
Member

merwok commented Mar 21, 2011

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
Projects
None yet
Development

No branches or pull requests

2 participants