Created attachment 892202 [details] Build log While doing a world update got this error. This was the message that portage showed after the failure This package will overwrite one or more files that may belong to other packages (see list below). You can use a command such as `portageq owners / <filename>` to identify the installed package that owns a file. If portageq reports that only one package owns a file then do NOT file a bug report. A bug report is only useful if it identifies at least two or more packages that are known to install the same file(s). If a collision occurs and you can not explain where the file came from then you should simply ignore the collision since there is not enough information to determine if a real problem exists. Please do NOT file a bug report at https://bugs.gentoo.org/ unless you report exactly which two packages install the same file(s). See https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to solve the problem. And once again, please do NOT file a bug report unless you have completely understood the above message. Detected file collision(s): /usr/share/bash-completion/completions/tree Searching all installed packages for file collisions... Press Ctrl-C to Stop app-text/tree-2.1.1:0::gentoo /usr/share/bash-completion/completions/tree Package 'app-shells/bash-completion-2.13.0' NOT merged due to file collisions. If necessary, refer to your elog messages for the whole content of the above message. Messages for package app-shells/bash-completion-2.13.0: This package will overwrite one or more files that may belong to other packages (see list below). You can use a command such as `portageq owners / <filename>` to identify the installed package that owns a file. If portageq reports that only one package owns a file then do NOT file a bug report. A bug report is only useful if it identifies at least two or more packages that are known to install the same file(s). If a collision occurs and you can not explain where the file came from then you should simply ignore the collision since there is not enough information to determine if a real problem exists. Please do NOT file a bug report at https://bugs.gentoo.org/ unless you report exactly which two packages install the same file(s). See https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to solve the problem. And once again, please do NOT file a bug report unless you have completely understood the above message. Detected file collision(s): /usr/share/bash-completion/completions/tree Searching all installed packages for file collisions... Press Ctrl-C to Stop app-text/tree-2.1.1:0::gentoo /usr/share/bash-completion/completions/tree Package 'app-shells/bash-completion-2.13.0' NOT merged due to file collisions. If necessary, refer to your elog messages for the whole content of the above message. GNU info directory index is up-to-date.
The question is whether /usr/share/bash-completion/completions/tree is better in tree, bash-completions, or whether it's the same content.
(In reply to Sam James from comment #1) > The question is whether /usr/share/bash-completion/completions/tree is > better in tree, bash-completions, or whether it's the same content. The one in app-text/tree is a custom Gentoo one, let's punt it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3502e4f637e92eedb871b5aab25aec6ea238308a commit 3502e4f637e92eedb871b5aab25aec6ea238308a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-03 12:34:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-03 12:35:19 +0000 app-shells/bash-completion: block old app-text/tree which installs its own completion >=app-text/tree-2.1.1-r1 defers to the new one in >=bash-completion-2.13.0. Closes: https://bugs.gentoo.org/931129 Signed-off-by: Sam James <sam@gentoo.org> .../{bash-completion-2.13.0.ebuild => bash-completion-2.13.0-r1.ebuild} | 1 + app-shells/bash-completion/bash-completion-9999.ebuild | 1 + 2 files changed, 2 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5635a24b44a19a8a762d20554ff58da9e041b37b commit 5635a24b44a19a8a762d20554ff58da9e041b37b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-03 12:32:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-03 12:33:22 +0000 app-text/tree: drop homebrew bash-completion >=app-shells/bash-completion-2.13.0 installs its own superior one, so go for that, rather than an old Gentoo-local one. Bug: https://bugs.gentoo.org/931129 Signed-off-by: Sam James <sam@gentoo.org> app-text/tree/tree-2.1.1-r1.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)