Summary: | app-editors/vim-8.1.1846 seems to build against the wrong python version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Albert W. Hopkins <marduk> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, theli.ua |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
vim-8.2.0360.ebuild.patch
vim-8.2.0360.ebuild.patch |
Description
Albert W. Hopkins
2019-08-15 16:41:04 UTC
Confirming this. After removing python3.6:
!!! existing preserved libs:
>>> package: dev-lang/python-3.6.10-r2
* - /usr/lib64/libpython3.6m.so.1.0
* used by /usr/bin/vim (app-editors/vim-8.2.0360)
$ emerge -qpv app-editors/vim
[ebuild R ] app-editors/vim-8.2.0360 USE="acl nls perl python -X -cscope -debug -gpm -lua -luajit -minimal -racket -ruby (-selinux) -sound -tcl -terminal -vim-pager" PYTHON_SINGLE_TARGET="python3_7 -python3_6 (-python3_8)"
I think the problem is: $(use_with python python3-command $(type -P $(eselect python show --python3))) Created attachment 636702 [details]
vim-8.2.0360.ebuild.patch
Use ${PYTHON} variable exported by python eclasses.
Created attachment 636704 [details]
vim-8.2.0360.ebuild.patch
I encountered the same issue, only the other way around. My system was updated from python 3.6 to 3.7, but vim was still compiled with python3.6m, because of course I only change the eselect setting after the whole update was complete. Sorry for the noise, but I just noticed this applies to vim and gvim separately. I need to recompile both to work around this issue. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fb8f74b3454aab69dddd132bad5d1b656ef85cb commit 4fb8f74b3454aab69dddd132bad5d1b656ef85cb Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2020-07-04 20:38:21 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2020-07-04 20:38:41 +0000 app-editors/vim: get python3 interpreter using ${PYTHON} variable. Patch courtesy of Alexander Tsoy <alexander@tsoy.me>. Closes: https://bugs.gentoo.org/692226 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> app-editors/vim/vim-8.2.0814.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0cc4defd62bddc9e3b0e59984ee98f32035027 commit 1e0cc4defd62bddc9e3b0e59984ee98f32035027 Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2020-07-04 20:35:21 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2020-07-04 20:38:41 +0000 app-editors/gvim: get python3 interpreter using ${PYTHON} variable. Patch courtesy of Alexander Tsoy <alexander@tsoy.me>. Bug: https://bugs.gentoo.org/692226 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> app-editors/gvim/gvim-8.2.0814.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |