#36080: MacVim +python25: Build Error ----------------------------+---------------------- Reporter: SlaunchaMan@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: MacVim | ----------------------------+---------------------- Comment (by and.damore@…): Further info: Python <= 2.6 only had [http://docs.python.org/c-api/cobject.html CObject API] to interface with C extensions, 2.7 introduced [http://docs.python.org/c-api/capsule.html Capsules API] therefore offering two APIs and then 3.2 dropped CObject leaving only Capsules. The issue we're experiencing is simply due to the fact that Python 2.6 and 2.5 lack Capsules' symbols and those symbols are being used in the MacVim snapshot that is currently in ports. Seems a patch to build with 2.5 has been committed in [https://groups.google.com/forum/?fromgroups=#!searchin/vim_dev/7.3.579/vim_d... build 579], that should work with 2.6 as well. Port MacVim's current state is '''snapshot 65''' from [http://github.com/b4winckler/macvim Björn Winckler's macvim repository] that is based on Vim's 277 build according to file ''src/version.h''. I think the solution is simply to disable ''python25'' and ''python26'' variants until MacVim snapshot will merge with Vim's build 579. I'm attaching the simple patch to comment out pre-2.7 variants, in the same patch I've edited PYTHON build argument from python25 and python26 to be coherent with each variant. -- Ticket URL: <https://trac.macports.org/ticket/36080#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS