#39270: python27: building "Build Applet.app" fails on 10.8 due to removed QuickDraw headers --------------------------+-------------------------- Reporter: d.schreij@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: mountainlion Port: python27 | --------------------------+-------------------------- Changes (by larryv@…): * cc: macports.org@… (added) Comment: Replying to [comment:6 macports.org@…]:
When installing a fresh copy of MacPorts on mountain lion, python27 can't be installed because of this bug.
I installed python27 from source on 10.8 just the other day and did not encounter this problem.
Since a lot of packages directly depend on python27, all those packages can't be installed neither (703 in total, without py27-* still 174). Counting also rdependent packages, many more are affected.
It seems that the bug has been fixed upstream (see http://bugs.python.org/issue18098) but the fix will only be available with python 2.7.6. I think because so many packages are affected for mountain lion users, getting a work around for the bug would be appreciated very much by many.
Given that this is literally the only ticket that has been filed, I have to conclude that MacPorts users are, by and large, not encountering this. I can only speculate as to why.
Maybe the fix can be backported to 2.7.5?
I suppose it wouldn’t hurt to apply the fix ourselves until 2.7.6 is out. Can you try the following? {{{ % sudo port clean python27 % curl https://trac.macports.org/raw-attachment/ticket/39270/skip-Build- Applet.patch | patch -d $(port dir python27) -p5 % sudo port install python27 }}} -- Ticket URL: <https://trac.macports.org/ticket/39270#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X