Summary: | app-editors/vim: warning on a missing file when USE=minimal | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dongsu Park <dpark> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/23115 https://bugs.gentoo.org/show_bug.cgi?id=830177 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dongsu Park
2021-10-26 14:15:56 UTC
Thanks for the report & background. I agree, it seems easiest to just install that file. I'll add that. Ugh, so.. vim-core installs /usr/share/vim/vim82/defaults.vim? Filed a PR to fix the issue. https://github.com/gentoo/gentoo/pull/23115 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc72192754c8a1ff9014fd739a2d07056b25ed1e commit fc72192754c8a1ff9014fd739a2d07056b25ed1e Author: Dongsu Park <dpark@linux.microsoft.com> AuthorDate: 2021-11-29 15:59:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-01 17:06:55 +0000 app-editors/vim: remove warning due to missing defaults.vim vim >= 8.2.3428 prints out a warning on missing file, when it is built with USE="minimal" and `app-editors/vim-core` is not installed. ``` $ vim E1187: Failed to source defaults.vim Press ENTER or type command to continue ``` To remove warning, explicitly install /usr/share/vim/vim82/defaults.vim. Closes: https://bugs.gentoo.org/820356 Signed-off-by: Dongsu Park <dpark@linux.microsoft.com> Signed-off-by: Sam James <sam@gentoo.org> app-editors/vim/vim-8.2.0814-r100.ebuild | 6 ++++++ app-editors/vim/vim-8.2.3428-r1.ebuild | 6 ++++++ app-editors/vim/vim-8.2.3567.ebuild | 6 ++++++ app-editors/vim/vim-8.2.3582.ebuild | 6 ++++++ app-editors/vim/vim-9999.ebuild | 6 ++++++ 5 files changed, 30 insertions(+) I'm now getting this same error about failing to source defaults.vim after installing app-editors/vim-8.2.4328. I do _not_ have USE=minimal, and vim-core 8.2.4328 is installed as well. The file /usr/share/vim/defaults.vim does not exist, and "equery b /usr/share/vim/defaults.vim" does not return anything. "equery f app-editors/vim-core" does not list this file, so it appears that vim-core no longer installs it. Should this issue be reopened? I could create a new issue if that's better. I rolled back to 8.2.3741, and I no longer get the error about missing defaults. I was expecting to find that the file /usr/share/vim/defaults.vim had been restored, but it actually still does not exist even though the warning is gone. (In reply to James Baldassari from comment #5) > I'm now getting this same error about failing to source defaults.vim after > installing app-editors/vim-8.2.4328. I do _not_ have USE=minimal, and > vim-core 8.2.4328 is installed as well. > > The file /usr/share/vim/defaults.vim does not exist, and "equery b > /usr/share/vim/defaults.vim" does not return anything. "equery f > app-editors/vim-core" does not list this file, so it appears that vim-core > no longer installs it. > > Should this issue be reopened? I could create a new issue if that's better. Related to bug 834498. |