Skip to content

build error: bootstrap issue with gettext #55830

Description

@pitrou
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']

Activity

  1. pitrou commented on Mar 21, 2011

    @pitrou
    MemberAuthor

    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
  2. added
    buildThe build process and cross-build
    type-bugAn unexpected behavior, bug, or error
    on Mar 21, 2011
  3. pitrou commented on Mar 21, 2011

    @pitrou
    MemberAuthor

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

  4. changed the title [-]DMG build error[/-] [+]build error: bootstrap issue with gettext[/+] on Mar 21, 2011
  5. python-dev commented on Mar 21, 2011

    python-devmannequin
    Mannequin

    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

  6. pitrou commented on Mar 21, 2011

    @pitrou
    MemberAuthor

    Should be fixed.

  7. merwok commented on Mar 21, 2011

    @merwok
    Member

    Thank you for catching and fixing this.

  8. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildrelease-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions