| Summary: | app-editors/vim[minimal] File collision when installing app-editors/vim-core[minimal] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | enlightened |
| Component: | Current packages | Assignee: | Vim Maintainers <vim> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | computersforpeace, dpark, floppym |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=830177 https://bugs.gentoo.org/show_bug.cgi?id=834498 |
||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
enlightened
2022-03-01 18:29:03 UTC
Please include the full package category/name in the summary when creating bug reports. I assume you are using some forked version of the Gentoo repository. Please ensure you are using the latest ebuild from Gentoo. Also, please provide emerge --info and attach a build log. (Yes, this report is coming from Chromium OS.)
But the problem comes from the fact that the [[ -f ${vimfiles}/... ]] logic was not respecting SYSROOTs, nor was it handling the file-move logic that portage can normally do post-install, if you have your blockers right [1].
But it looks like you've completely given up on USE=minimal here?
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0816769373e7ee62685158b65f7cfde287e5d936
I guess that solves the problem technically, but we actually do use USE=minimal, so it's probably be nice to reintroduce it. I think it would just need a blocker, like:
## vim.ebuild
RDEPEND="minimal? ( !app-editors/vim-core )"
## vim-core.ebuild
RDEPEND="!app-editors/vim-core[minimal]"
or similar.
[1] https://devmanual.gentoo.org/general-concepts/dependencies/#blockers
I don't really see the point/benefit. (In reply to Mike Gilbert from comment #4) > I don't really see the point/benefit. Is vim-core[minimal] equivalently "small" compared to vim[minimal] (modulo perhaps some docs, etc., which can be stripped via other means)? If so, then indeed there's not much point. It looks like USE=minimal cuts down the installed size of app-editors/vim-core from 36.1 MiB to 15.5 MiB. Perhaps someone could look into reducing that further. On app-editors/vim, USE=minimal reduces the size from 3.6 MiB to 1.5 MiB. |