Opened 12 years ago

Closed 10 years ago

#18585 closed defect (fixed)

bittorrent: MACOSX_DEPLOYMENT_TARGET mismatch

Reported by: jrspam-macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: python 10.3 10.5 $MACOSX_DEPLOYMENT_TARGET Cc:
Port: bittorrent

Description (last modified by raimue (Rainer Müller))

Hi, i'm reffering to the followin' closed ticket as it seems exactly the same issue.

while installing bittorrent over macports the following errors are logged:

--->  Building bittorrent
Error: Target returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bittorrent/work/BitTorrent-5.2.0" && /opt/local/bin/python2.4 build " returned error 1
Command output: Traceback (most recent call last):
  File "", line 121, in ?
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/", line 123, in setup
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/", 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/", line 302, in find_config_files
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/", line 209, in check_environ
    os.environ['PLAT'] = get_platform()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/", line 78, in get_platform
    cfgvars = get_config_vars()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/", line 488, in get_config_vars
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/", line 373, in _init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.3" during configure


Johannes R.

Change History (5)

comment:1 Changed 12 years ago by raimue (Rainer Müller)

Description: modified (diff)

Please remember WikiFormatting.

comment:2 Changed 12 years ago by jrspam-macports@…

I had a look into it and would say it can be changed

  1. easy - if you say the mac version is >= (greater or eaqual) to the required version or
  2. complicated - if you have to maintain the mac-version for every package that test against it.

My workaround was quite easy, i just edited the .plist which has the version stored in it.

comment:3 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 12 years ago by tobypeterson

Summary: bittorrent: 10.3 - 10.5bittorrent: MACOSX_DEPLOYMENT_TARGET mismatch

comment:5 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Should be OK now that we set MDT all the time.

Note: See TracTickets for help on using tickets.