Repro steps: Install app-editors/vim-8.2.4328 with "minimal" flag Install app-editors/vim-core-8.2.4328 with "minimal" flag Error: * Detected file collision(s): * * /build/eve/usr/share/vim/vim82/defaults.vim * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * app-editors/vim-8.2.4328:0::portage-stable * /build/eve/usr/share/vim/vim82/defaults.vim
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.