[MacPorts] #40287: Python support does not work
#40287: Python support does not work -----------------------+-------------------------------- Reporter: wichert@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: MacVim -----------------------+-------------------------------- I noticed that for both binary and source installs of MacVim the python variant does not work. When trying to compile with +python27 I see the following in the debug output: {{{ checking Python version... 2.7 checking Python is 1.4 or better... yep checking Python's install prefix... /opt/local/Library/Frameworks/Python.framework/Versions/2.7 checking Python's execution prefix... /opt/local/Library/Frameworks/Python.framework/Versions/2.7 checking Python's configuration directory... /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config checking if -pthread should be used... no checking if compile and link flags for Python are sane... no: PYTHON DISABLED }}} -- Ticket URL: <https://trac.macports.org/ticket/40287> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: Python support does not work ------------------------+-------------------------------- Reporter: wichert@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim | ------------------------+-------------------------------- Comment (by wichert@…): The exact same problem occurs with the vim port as well. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: Python support does not work ------------------------+-------------------------------- Reporter: wichert@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim | ------------------------+-------------------------------- Comment (by wichert@…): Looking at config.log shows why it fails: {{{ configure:5285: checking Python's install prefix configure:5294: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7 configure:5297: checking Python's execution prefix configure:5306: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7 configure:5328: checking Python's configuration directory configure:5345: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config configure:5399: checking if -pthread should be used configure:5438: result: no configure:5442: checking if compile and link flags for Python are sane configure:5459: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DPYTHON_HOME=\"/opt/local/Library/Frameworks/Python.framework/Versions/2.7\" -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/usr/local/lib conftest.c -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation -u _PyMac_Error Python.framework/Versions/2.7/Python >&5 clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python' }}} Which suggests that this is related to #39223 -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Changes (by ryandesign@…): * cc: raimue@… (removed) * owner: macports-tickets@… => raimue@… * port: MacVim => MacVim, vim -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: MacVim, vim | --------------------------+---------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid Comment: This was fixed in r110123. Clean, run selfupdate, and build again. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by wichert@…): That did not seem to improve things: {{{ wichert@zephyr ~ $ vim -v Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault: 11 }}} -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Changes (by larryv@…): * status: closed => reopened * resolution: invalid => Comment: Please attach your `main.log` and `config.log`: {{{ % sudo port clean vim % sudo port configure vim % echo $(port logfile vim) % echo $(port work vim)/vim*/config.log }}} -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by wichert@…): Attached. Both vim and MacVim show the same segfault. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by wichert@…): I also noticed the existing binary builds for vim were made before r110123 landed and are thus missing python support. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by larryv@…): Replying to [comment:7 wichert@…]:
Attached. Both vim and MacVim show the same segfault.
Sorry, I gave you the wrong command. You need to run this. {{{ sudo port configure vim +python27 }}} -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by larryv@…): Replying to [comment:8 wichert@…]:
I also noticed the existing binary builds for vim were made before r110123 landed
No, they were not. r110123 bumped vim to @7.3.762_3, which [http://packages.macports.org/vim/ has been built].
and are thus missing python support.
We only generate binary archives for default variants, which do not include any of the Python variants. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by wichert@…): The segfaults appears to be related to the variants. Install {{{vim +python27}}} works correctly now, but {{{vim +python27 +ruby}}} will segfault immediately on startup. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by larryv@…): Does `vim +ruby` segfault? -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by wichert@…): {{{vim +ruby}}} indeed also segfaults. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work --------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: MacVim, vim | --------------------------+---------------------- Comment (by wichert@…): {{{vim +ruby19}}} also segfaults. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40287: MacVim , vim: Python support does not work -------------------------+---------------------- Reporter: wichert@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: MacVim vim | -------------------------+---------------------- Changes (by larryv@…): * status: reopened => closed * resolution: => invalid * port: MacVim, vim => MacVim vim Comment: Okay, please open a new ticket specifically about the Ruby issue. -- Ticket URL: <https://trac.macports.org/ticket/40287#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts