#21872 closed defect (fixed)
py26-pyobjc2 does not install on SL x86_64
Reported by: | jochen@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | py26-pyobjc2 |
Description
When trying to install py26-matplotlib I run into a problem with the py26-pyobjc2 port, which bails out with a key error:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename ext = self.ext_map[fullname] KeyError: '_objc'
The full log is attached.
Attachments (1)
Change History (7)
Changed 15 years ago by jochen@…
Attachment: | install.log added |
---|
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Keywords: | pyobjc2 Snow Leopard x86_64 removed |
---|---|
Milestone: | MacPorts 1.8.2 |
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 15 years ago by mf2k (Frank Schima)
This still fails for me.
---> Building py26-pyobjc2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py26-pyobjc2/work/pyobjc-core" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1 Command output: Traceback (most recent call last): File "setup.py", line 324, in <module> '': ['*.bridgesupport'], File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/dist.py", line 219, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/dist.py", line 243, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 528, in resolve raise VersionConflict(dist,req) # XXX put more info here pkg_resources.VersionConflict: (macholib 1.2 (/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages), Requirement.parse('macholib>=1.2.1')) Error: Status 1 encountered during processing.
comment:4 Changed 15 years ago by jmroot (Joshua Root)
If you get the above error, try deactivating py26-py2app-devel and py26-modulegraph-devel and installing py26-py2app (which py26-pyobjc2 now pulls in by default).
Note: See
TracTickets for help on using
tickets.
Looks like the setuptools change that's breaking everything with Python 2.6.3.