This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: build error: bootstrap issue with gettext
Type: behavior Stage: needs patch
Components: Build Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: db3l, eric.araujo, georg.brandl, pitrou, python-dev, r.david.murray
Priority: release blocker Keywords:

Created on 2011-03-21 14:12 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg131655 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-03-21 14:12
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
msg131662 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-03-21 15:00
Actually, it's not specific to the DMG build.
msg131663 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-21 15:04
New changeset 160823d258b5 by Antoine Pitrou in branch 'default':
Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9)
http://hg.python.org/cpython/rev/160823d258b5
msg131665 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-03-21 15:08
Should be fixed.
msg131698 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-03-21 22:52
Thank you for catching and fixing this.
History
Date User Action Args
2022-04-11 14:57:15adminsetnosy: + georg.brandl
github: 55830
2011-03-21 22:52:39eric.araujosetnosy: db3l, pitrou, eric.araujo, r.david.murray, python-dev
messages: + msg131698
2011-03-21 15:08:40pitrousetstatus: open -> closed

messages: + msg131665
resolution: fixed
nosy: db3l, pitrou, eric.araujo, r.david.murray, python-dev
2011-03-21 15:04:36python-devsetnosy: + python-dev
messages: + msg131663
2011-03-21 15:00:17pitrousetpriority: normal -> release blocker
title: DMG build error -> build error: bootstrap issue with gettext
nosy: + r.david.murray, pitrou

messages: + msg131662
2011-03-21 14:13:09pitrousetnosy: - pitrou
2011-03-21 14:12:15pitroucreate