Opened 14 years ago

Closed 13 years ago

#28838 closed defect (fixed)

sudo port install py-pyobjc2 - has an error

Reported by: jlb46@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: py-pyobjc2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Running 10.6.6, all up to date, first try at MacPorts. Going through the recommended freevo list of install (http://doc.freevo.org/MacOSX) and at "sudo port install py-pyobjc" I got an error :

Error: Target org.macports.fetch returned: PyObjC 1.4 is for Mac OS X 10.4 and lower. On 10.5, use py-pyobjc2 instead.

Attachments (1)

main.txt (9.6 KB) - added by jlb46@… 14 years ago.
main.log

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by jlb46@…

sudo port install py-pyobjc2 seems to work, maybe a check on the OS and using pyobjc2 instead would make things easier? There is probably no way to install the ld one on 10.6 anyhow, right?

comment:2 Changed 14 years ago by jlb46@…

Nope, it did not work:

...
--->  Building py-pyobjc2
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for py-pyobjc2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyobjc2/main.log
Error: Status 1 encountered during processing.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Provide the main.log, please.

Changed 14 years ago by jlb46@…

Attachment: main.txt added

main.log

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

Port: py-pyobjc2 added

Please remember to fill in the Port field.

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

That's the log for py-pyobjc…

comment:6 Changed 14 years ago by andreim@…

Glancing through the error logs, looks like it's failing due to an unmet dependency (see last line):

:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 322, in ?
:info:build     package_data = {
:info:build   File "/opt/local/lib/python2.4/distutils/core.py", line 110, in setup
:info:build     _setup_distribution = dist = klass(attrs)
:info:build   File "/opt/local/lib/python2.4/site-packages/setuptools/dist.py", line 260, in __init__
:info:build     self.fetch_build_eggs(attrs.pop('setup_requires'))
:info:build   File "/opt/local/lib/python2.4/site-packages/setuptools/dist.py", line 283, in fetch_build_eggs
:info:build     for dist in working_set.resolve(
:info:build   File "/opt/local/lib/python2.4/site-packages/pkg_resources.py", line 569, in resolve
:info:build     raise VersionConflict(dist,req) # XXX put more info here
:info:build pkg_resources.VersionConflict: (altgraph 0.6.7 (/opt/local/lib/python2.4/site-packages), Requirement.parse('altgraph>=0.7'))

comment:7 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: sudo port install py-pyobjc - has an errorsudo port install py-pyobjc2 - has an error

That would have been fixed by r81294 then.

Note: See TracTickets for help on using tickets.