https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-vcs/git-machete-3.24.2 problems with installed bash completions. Discovered on: amd64 (internal ref: ci)
Created attachment 889671 [details] build.log build log and emerge --info
Reassigning to Portage maintainers because I strongly believe this to be false positive from the QA check. Summary for said maintainers: dev-vcs/git-machete install shell-completion files for the Git subcommand "git machete" rather than for a stand-alone executable. I have confirmed that the bashcomp file it provides *does* work when I try to use in a bash session, however the Portage QA check claims no completions are provided.
*** Bug 930585 has been marked as a duplicate of this bug. ***
Just to clarify how this works: dev-vcs/git-machete installs a completion file that defines a function called "_git_machete". The "complete" command is never called in this file. The _git_machete function is actually called by a completion file provided by dev-vcs/git.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=8bbdc814485d2990630d4217f68830fe1148801c commit 8bbdc814485d2990630d4217f68830fe1148801c Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-04-24 15:35:32 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-04-24 15:35:32 +0000 Remove QA warning when no bash completions are found This triggers unwanted warnings in at least two known cases. Bug: https://bugs.gentoo.org/928599 Bug: https://bugs.gentoo.org/928869 Signed-off-by: Mike Gilbert <floppym@gentoo.org> bin/install-qa-check.d/60bash-completion | 3 --- 1 file changed, 3 deletions(-)