Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#22698 closed defect (invalid)

py25-pyobjc2 install fails

Reported by: rssolis@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: py25-pyobjc2

Description (last modified by jmroot (Joshua Root))

MacBook 2.53 GHz Intel Core 2 Duo - OS X version 10.6.1

The following install attempt:

macbook-pro:Scrabble rssolis$ sudo port -d install py25-matplotlib &> debug.log

yields the following error near the bottom of debug.log:

--->  Building py25-pyobjc2
DEBUG: Executing org.macports.build (py25-pyobjc2)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pyobjc2/work/pyobjc-core" && /opt/local/bin/python2.5 setup.py --no-user-cfg build'
Traceback (most recent call last):
  File "setup.py", line 321, in <module>
    '': ['*.bridgesupport'],
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 260, in __init__
    self.fetch_build_eggs(attrs.pop('setup_requires'))
  File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 284, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File "/opt/local/lib/python2.5/site-packages/pkg_resources.py", line 569, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (macholib 1.2 (/opt/local/lib/python2.5/site-packages), Requirement.parse('macholib>=1.2.1'))
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_py25-pyobjc2/work/pyobjc-core" && /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 321, in <module>
    '': ['*.bridgesupport'],
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 260, in __init__
    self.fetch_build_eggs(attrs.pop('setup_requires'))
  File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 284, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File "/opt/local/lib/python2.5/site-packages/pkg_resources.py", line 569, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (macholib 1.2 (/opt/local/lib/python2.5/site-packages), Requirement.parse('macholib>=1.2.1'))

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pyobjc2/work/pyobjc-core" && /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 321, in <module>
    '': ['*.bridgesupport'],
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 260, in __init__
    self.fetch_build_eggs(attrs.pop('setup_requires'))
  File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 284, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File "/opt/local/lib/python2.5/site-packages/pkg_resources.py", line 569, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (macholib 1.2 (/opt/local/lib/python2.5/site-packages), Requirement.parse('macholib>=1.2.1'))

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for py25-pyobjc2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: py25-pyobjc2 py25-pyobjc2-cocoa
Error: Status 1 encountered during processing.

Attachments (1)

debug.log (86.7 KB) - added by rssolis@… 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by rssolis@…

Cc: rssolis@… added

Cc Me!

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: rssolis@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to jmr@…
Port: py25-pyobjc2 added
Summary: matplotlib install failspy25-pyobjc2 install fails

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Works for me. If you attach the entire debug log it would probably shed more light.

Changed 14 years ago by rssolis@…

Attachment: debug.log added

comment:4 in reply to:  3 Changed 14 years ago by rssolis@…

Replying to jmr@…:

Works for me. If you attach the entire debug log it would probably shed more light.

Ok - I've attached the full debug.log file.

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

Resolution: invalid
Status: newclosed

OK, you apparently have py25-py2app-devel installed, so since the dependency in py25-pyobjc2 names py25-py2app, and it is not installed, it can't be automatically upgraded. Upgrade your outdated ports.

comment:6 in reply to:  5 Changed 14 years ago by rssolis@…

Replying to jmr@…:

OK, you apparently have py25-py2app-devel installed, so since the dependency in py25-pyobjc2 names py25-py2app, and it is not installed, it can't be automatically upgraded. Upgrade your outdated ports.

Yes - thanks! I uninstalled py25-py2app-devel and py25-modulegraph-devel, then reinstalled py25-py2app, and finally matplotlib. All works well now.

Note: See TracTickets for help on using tickets.