[MacPorts] #36080: MacVim Build Error
#36080: MacVim Build Error -----------------------------------+---------------------------------------- Reporter: SlaunchaMan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: MacVim -----------------------------------+---------------------------------------- Running on OS X 10.8.1. Build log attached. -- Ticket URL: <https://trac.macports.org/ticket/36080> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36080: MacVim Build Error -----------------------------------+---------------------------------------- Reporter: SlaunchaMan@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: MacVim -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * cc: SlaunchaMan@… (removed) * owner: macports-tickets@… => raimue@… -- Ticket URL: <https://trac.macports.org/ticket/36080#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36080: MacVim +python25: Build Error -----------------------------------+---------------------------------------- Reporter: SlaunchaMan@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: MacVim -----------------------------------+---------------------------------------- Changes (by raimue@…): * status: new => assigned Comment: The problem is related to +python. Do you need specifically python 2.5? For example, try with +python27 instead. {{{ sudo port clean MacVim sudo port install MacVim +python27 +ruby }}} -- Ticket URL: <https://trac.macports.org/ticket/36080#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36080: MacVim +python25: Build Error -----------------------------------+---------------------------------------- Reporter: SlaunchaMan@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: MacVim -----------------------------------+---------------------------------------- Comment(by SlaunchaMan@…): That worked. My old configuration was, somehow, MacVim @7.3.snapshot64_0+python+python25+ruby. -- Ticket URL: <https://trac.macports.org/ticket/36080#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36080: MacVim +python25: Build Error -----------------------------------+---------------------------------------- Reporter: SlaunchaMan@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: MacVim -----------------------------------+---------------------------------------- Changes (by and.damore@…): * cc: and.damore@… (added) Comment: I'm experiencing the very same error using +python26 variant. -- Ticket URL: <https://trac.macports.org/ticket/36080#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#36080: MacVim +python25: Build Error ----------------------------+---------------------- Reporter: SlaunchaMan@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: MacVim | ----------------------------+---------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: I would say `src/version.h` is wrong. In `src/version.c` you can clearly see that more patches have been applied, in snapshot 65 up to 7.3.646. See also `:version` when running MacVim. I identified the real problem to be the way `Python.h` was included which lead to use of the system header instead of the one provided in the `-I` include search path. Fix committed in r97692. -- Ticket URL: <https://trac.macports.org/ticket/36080#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts