Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17686 closed defect (invalid)

Failed To Compile py-ogg

Reported by: martijn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: py-vorbis Cc:
Port: py-ogg

Description (last modified by mf2k (Frank Schima))

py-ogg fails to build on leopard server (10.5.5) and because of that py-vorbis fails too.

$ sudo /opt/local/bin/port install py-ogg
--->  Building py-ogg
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-ogg/work/pyogg-1.3" && /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 70, in ?
    ext_modules = [_oggmodule])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py", line 123, in setup
    dist.parse_config_files()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 339, in parse_config_files
    filenames = self.find_config_files()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py", line 302, in find_config_files
    check_environ()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 209, in check_environ
    os.environ['PLAT'] = get_platform()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py", line 78, in get_platform
    cfgvars = get_config_vars()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars
    func()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.3" during configure

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: py-ogg removed
Port: py-ogg added
Priority: HighNormal

In the future, please use WikiFormatting.

comment:2 Changed 15 years ago by martijn@…

Any updates or progress?

comment:3 Changed 15 years ago by blb@…

distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.3" during configure

What version of the python24 port do you have installed? If it isn't 2.4.6, upgrade it; otherwise try reinstalling it.

comment:4 Changed 15 years ago by martijn@…

After upgrading I was able to build py-vorbis and py-ogg. You can close this ticket. Thanks!

comment:5 Changed 15 years ago by blb@…

Resolution: invalid
Status: newclosed

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.