Opened 16 years ago

Closed 14 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 setup.py $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.

http://trac.macports.org/ticket/18066

while installing bittorrent over macports the following errors are logged:

--->  Building bittorrent
Error: Target org.macports.build 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 setup.py build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 121, in ?
    setup(**attrs)
  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

yours

Johannes R.

Change History (5)

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

Description: modified (diff)

Please remember WikiFormatting.

comment:2 Changed 16 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 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by tobypeterson

Summary: bittorrent: 10.3 - 10.5bittorrent: MACOSX_DEPLOYMENT_TARGET mismatch

comment:5 Changed 14 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.