/etc/profile.d/bash-completion has a test for /etc/bash_completion, and if it exists source it. That file is not there. There is however a /etc/bash_completion.d/ directory but the only thing in it is gentoo-completion.... Clearly some things aren't being installed. I'll investigate this further when I am not at work ;-)
hhm, if you installed app-shells/bash-completion you will have /etc/bash_complettion.... i found a SLOT error though :)
Thought I would comment with some info. I have the same experience with no /etc/bash_completion installed with this ebuild. It looks like some files are missing from the distfile. Or perhaps the source is not properly referenced?? Here's the emerge output: QonoS etc # emerge bash-completion Calculating dependencies ...done! >>> emerge app-shells/bash-completion-20020624 to / >>> md5 ;-) bash-completion-20020624.tar.bz2 >>> Unpacking source... >>> Unpacking bash-completion-20020624.tar.bz2 >>> Source unpacked. >>> Install bash-completion-20020624 into /var/tmp/portage/bash-completion- 20020624/image/ category app-shells install: cannot stat `bash_completion': No such file or directory install: cannot stat `contrib/dict': No such file or directory install: cannot stat `contrib/harbour': No such file or directory install: cannot stat `contrib/isql': No such file or directory install: cannot stat `contrib/larch': No such file or directory install: cannot stat `contrib/lilypond': No such file or directory install: cannot stat `contrib/p4': No such file or directory install: cannot stat `contrib/ri': No such file or directory /usr/lib/portage/bin/dodoc: COPYING does not exist. /usr/lib/portage/bin/dodoc: Changelog does not exist. /usr/lib/portage/bin/dodoc: README does not exist. strip: >>> Completed installing into /var/tmp/portage/bash-completion-20020624/image/ >>> Merging app-shells/bash-completion-20020624 to / --- /etc/ --- /etc/bash_completion.d/ --- /etc/bash_completion.d/gentoo.completion --- /etc/profile.d/ --- /etc/profile.d/bash-completion >>> Safely unmerging already-installed instance... >>> Config file management enabled for /etc/ >>> Config file management enabled for /usr/kde/2/share/config/ >>> Config file management enabled for /usr/kde/3/share/config/ --- !empty dir /etc/profile.d --- !empty dir /etc/bash_completion.d --- !empty dir /etc >>> original instance of package unmerged safely. * Add the following line to your ~/.bashrc to * activate completion support in your bash: * [ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash- completion >>> Regenerating /etc/ld.so.cache... >>> app-shells/bash-completion-20020624 merged. * Regenerating GNU info directory index... * Processed 60 info files.
hhm, looks like the source tarball changed unexpectedly. i don't have access to a gentoo machine, so i can't fix myself ben: could you perhaps make the following changes to the ebuild? 1) copy the current ebuild to bash-completion-20020704.ebuild (to update to the latest version. 2) Change S to ${WORKDIR}/bash_completion 3) Check that this is indeed is the fix :) thanks
Hi yeah, bash-completion-20020624.tar.bz2 unpacks to bash_completion so variable S have to be ${WORKDIR}/bash_completion instead of ${WORKDIR}/${P/-/_} same for bash-completion-20020704.tar.bz2 attached ebuilds and digest, I hope it's OK Thilo :) /artur
Created attachment 1962 [details] bash-completion ebuild fix and version update
bangert mark this invalid already it appears to have been a one time thing, either that or it was fixed. I can't reproduce.