pentoo / pentoo-historical

read-only historical backup of pentoo from googlecode
https://code.google.com/p/pentoo/
2 stars 1 forks source link

[rc 1.9] bash-completion does not work #165

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
type: eselect prof<tab>

Original issue reported on code.google.com by blshkv on 13 Aug 2013 at 3:08

GoogleCodeExporter commented 9 years ago
you want it, you figure out how to fix it

Original comment by sidhayn on 13 Aug 2013 at 3:21

GoogleCodeExporter commented 9 years ago
I believe the bash-comletion-r1.eclass is broken in gentoo.

Somehow, the newbashcomp function (see app-admin/eselect ebuild) would install 
script into /usr/share/bash-completion/completions/ directory if it exists.

So the fix is to delete the "completions/" directory and re-emerge:
dbus-glib, eselect, eix, mercurial

Original comment by blshkv on 13 Aug 2013 at 5:37

GoogleCodeExporter commented 9 years ago
you need to make sure app-shells/bash-completion (v1.3) is getting installed 
before all these packages.
If not, they will create the directory.

Original comment by blshkv on 13 Aug 2013 at 5:48

GoogleCodeExporter commented 9 years ago
https://bugs.gentoo.org/show_bug.cgi?id=480838

Original comment by blshkv on 13 Aug 2013 at 5:59

GoogleCodeExporter commented 9 years ago
Ok, so another solution is to upgrade to the 2.1-r1 (will be stable in gentoo 
soon).

Original comment by blshkv on 13 Aug 2013 at 10:08

GoogleCodeExporter commented 9 years ago
I'd say mark it stable in the profile, and check fsscript for any bash 
completions I removed that you want.  I think I just removed the gentoo ones 
since they didn't work.

Original comment by sidhayn on 13 Aug 2013 at 3:14

GoogleCodeExporter commented 9 years ago
Actually, I'd rather wait for gentoo stabilization:
https://bugs.gentoo.org/show_bug.cgi?id=477380
at least the svn bug for sure.

gentoo completions works just fine here. That's the main reason why I want it.

Original comment by blshkv on 13 Aug 2013 at 3:19

GoogleCodeExporter commented 9 years ago
fixed by gentoo and I've updated the appropriate binpkgs

Original comment by sidhayn on 31 Aug 2013 at 5:51

GoogleCodeExporter commented 9 years ago
this is still version of mercurial on the mirror:
http://pentoo.west.us.mirror.inerail.net/Packages/amd64-hardened/dev-vcs/

Original comment by blshkv on 1 Sep 2013 at 5:19

GoogleCodeExporter commented 9 years ago
oh, that's nice. So because you didn't fix mercurial, the "completions" 
directory was still there.

and now you have to fix eselect and eix AGAIN!

Original comment by blshkv on 3 Sep 2013 at 12:09

GoogleCodeExporter commented 9 years ago
yes, super exciting, I know, thanks.  now if only I could get one build a week 
to actually make it through...

Original comment by sidhayn on 3 Sep 2013 at 4:39

GoogleCodeExporter commented 9 years ago
they seems fixed the logic in the eclass 4 days ago:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/bash-completion-r
1.eclass?view=diff&r1=text&tr1=1.10&r2=text&tr2=1.9&diff_format=h

I've tried to rebuild packages without removing the directory and it worked.

So please rebuild these packages.

Original comment by blshkv on 15 Sep 2013 at 8:19

GoogleCodeExporter commented 9 years ago
the bug seems fixed finally

Original comment by blshkv on 21 Sep 2013 at 11:32