* Problems with installed bash completions were found: * * cabal-install: incorrect name, no completions for 'cabal-install' command defined. * cabal: missing alias (symlink) for completed command. * * For more details on installing bash-completions, please see: * https://wiki.gentoo.org/wiki/Bash/Installing_completion_files Long story short, it should be installed as 'cabal' rather than 'cabal-install'.
I'm all for fixing it, but it's unclear what exactly and which version started to require it.
You need to change: newbashcomp "${S}/bash-completion/cabal" ${PN} to: dobashcomp "${S}/bash-completion/cabal" Since that's how the executable is named. It became necessary since bash-completion-2.0 prerelease (I think that was named 1.90) upstream and will become necessary with 2.1-r90 in Gentoo. The change is backwards compatible. However, users of old bash-completion versions will need to re-enable the completion due to name change. You may want to do it in a revbump and add the revbump to the bash-completion-2.1-r90 mask.
Is this fixed? *cabal-install-1.18.0.3-r1 (21 Oct 2014) 21 Oct 2014; Sergei Trofimovich <slyfox@gentoo.org> +cabal-install-1.18.0.3-r1.ebuild: Update binary completion name to match 'cabal' tool name (bug #526266 by Michał Górny).
Yes, of course. Forgot to close the bug, sorry.