Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642162 - app-editors/vim-8.0.1298: python and python3 vim features cannot both be enabled
Summary: app-editors/vim-8.0.1298: python and python3 vim features cannot both be enabled
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
: 642190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-24 21:06 UTC by Lucian Poston
Modified: 2017-12-25 12:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucian Poston 2017-12-24 21:06:07 UTC
In 8.0.1298, with python USE and python2 and python3 targets, vim will only be compiled with -python and +python3 features (as shown by vim --version).

According to :h python, in order for both python and python3 to be enabled, they both must be set to dynamic. See the config options at https://github.com/vim/vim/commit/b744b2fa3216740c74d74bd62b26b6a539f026d1#diff-54bf403182cf57004606e0e7af6a627bR1427

The configure in the ebuild will need to be updated to something like $(use_enable python python3interp dynamic) $(use_enable python pythoninterp dynamic)
Comment 1 Tim Harder gentoo-dev 2017-12-25 09:33:43 UTC
*** Bug 642190 has been marked as a duplicate of this bug. ***
Comment 2 Tim Harder gentoo-dev 2017-12-25 09:35:33 UTC
Closing as won't fix since this was done on purpose via bug #615832.
Comment 3 Lucian Poston 2017-12-25 12:42:44 UTC
(In reply to Tim Harder from comment #2)
> Closing as won't fix since this was done on purpose via bug #615832.

Ok. Thanks.

Unfortunately, that leaves users with external vim plugins (e.g. in ~/.vim/) that require both py and py3 in the dark.