[MacPorts] #18797: py25-matplotlib dependency fails on Tiger
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- The Portfile for py25-matplotlib (and matplotlib portfile for other python versions) has a dependency for "port:py25-pyobjc2-cocoa". This dependency cannot be installed on Tiger. Here is a patch that removes this dependency for Darwin < 9. -- Ticket URL: <http://trac.macports.org/ticket/18797> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => ram@… -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Changes (by ram@…): * cc: jmr@… (added) Comment: In that case the Cocoa backends won't work on Tiger so a further patch to disable the Cocoa backends will be needed in addition to this. How does the build of py25-pyobjc2-cocoa fail on Leopard? Josh: Do you know of any problem with py25-pyobjc2-cocoa on Tiger? -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by ram@…): Replying to [comment:2 ram@…]:
How does the build of py25-pyobjc2-cocoa fail on Leopard?
Sorry, that should say Tiger. -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by jjstickel@…): In both the py25-pyobjc2 and py25-pyobjc2-cocoa Portfiles, there is: {{{ if {${os.major} < 9} { pre-fetch { return -code error "PyObjC 2.0 requires Mac OS X 10.5" } } }}} I think there was a trac ticket or email thread (not sure now) that explained the reason for this. There exists py25-pyobjc that supposedly works on Tiger (but not Leopard), but there is no py25-pyobjc-cocoa port. -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by ram@…): Got it. I'll look into how to disable the Cocoa backends on Tiger. -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by jmr@…): The deps need to be done as in e.g. py25-game. Prior to PyObjcC 2.0 the core and framework wrappers were not separate. Fortunately upstream will soon (finally) be doing a proper release, and it looks like it will be Tiger compatible. -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by ram@…): Can you try the attached patch to see if it builds, and the Cocoa backends work, on Tiger? -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by jjstickel@…): The port builds and the CocoaAgg backend works now (although it crashed after I used the save file option). Probably this fix should be pushed to the py-matplotlib port. -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by jjstickel@…): Replying to [comment:8 jjstickel@…]:
The port builds and the CocoaAgg backend works now (although it crashed after I used the save file option). Probably this fix should be pushed to the py-matplotlib port. This was on Tiger.
-- Ticket URL: <http://trac.macports.org/ticket/18797#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by ram@…): Replying to [comment:8 jjstickel@…]:
The port builds and the CocoaAgg backend works now (although it crashed after I used the save file option).
Great, any backtrace for the crash? -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by ram@…): fix commited to py-matplotlib and py25-matplotlib in r48002 -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger -------------------------------+-------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-matplotlib -------------------------------+-------------------------------------------- Comment(by jjstickel@…): Replying to [comment:10 ram@…]:
Replying to [comment:8 jjstickel@…]:
The port builds and the CocoaAgg backend works now (although it crashed after I used the save file option).
Great, any backtrace for the crash? No. It was a segmentation fault. Since I plan to be using the WXAgg backend (more features), I do not have the interest to help debug the cocoa backend.
Thanks for the fix to the Portfile, though. -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18797: py25-matplotlib dependency fails on Tiger --------------------------------+------------------------------------------- Reporter: jjstickel@… | Owner: ram@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: py25-matplotlib | --------------------------------+------------------------------------------- Changes (by ram@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/18797#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts