Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530788 - app-eselect/eselect-bashcomp-1.3.6 incompatible with app-shells/bash-completion-2*
Summary: app-eselect/eselect-bashcomp-1.3.6 incompatible with app-shells/bash-completi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 17:04 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2017-07-02 21:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-11-26 17:04:38 UTC
Looks like a problem with the --global flag only

% sudo eselect bashcomp enable --global eselect
!!! Error: /usr/share/bash-completion/eselect doesn't exist

% ls -l /usr/share/bash-completion/completions/eselect
-rw-r--r-- 1 root root 1536 Nov 26 16:59 /usr/share/bash-completion/completions/eselect
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-11-26 17:14:50 UTC
Well, that is a problem with sudo not passing the env var, ES_BASHCOMP_DIRS
Comment 2 Ulrich Müller gentoo-dev 2014-11-26 18:17:03 UTC
Just to make sure, what does "eselect bashcomp version" output?
Comment 3 Ulrich Müller gentoo-dev 2014-11-26 19:20:17 UTC
Probably better if all issues related to the new bash-completion (and transition to it) are in one hand, so I've passed maintainership of app-admin/eselect-bashcomp to mgorny.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-11-26 21:33:48 UTC
(In reply to Ulrich Müller from comment #2)
> Just to make sure, what does "eselect bashcomp version" output?

% eselect bashcomp version
bashcomp.eselect 1.3.6
eselect 1.4.3
Comment 5 Tanktalus 2016-11-10 20:20:15 UTC
So somewhere along the lines bash-completion got "!app-eselect/eselect-bashcomp" in its RDEPEND.  However, that means that there no longer is any /etc/bash/bashrc.d/bashcomp.sh installed.  That means that app-eselect/eselect-bashcomp needs to be installing it, or something similar to it, to get bash completion working again.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-11-10 20:26:46 UTC
(In reply to Tanktalus from comment #5)
> So somewhere along the lines bash-completion got
> "!app-eselect/eselect-bashcomp" in its RDEPEND.  However, that means that
> there no longer is any /etc/bash/bashrc.d/bashcomp.sh installed.  That means
> that app-eselect/eselect-bashcomp needs to be installing it, or something
> similar to it, to get bash completion working again.

app-shells/bash-completion (/etc/bash/bashrc.d/bash_completion.sh)
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-02 21:49:00 UTC
All current versions of bash-completion block split eselect-bashcomp, and it's masked for removal now.