Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bash-completion ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Jesse
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 148

PostPosted: Thu Jul 04, 2002 10:29 pm    Post subject: bash-completion ?? Reply with quote

After just emerging bash-completion and following the instructions at the very end to add the line to my .bashrc file, it's a no go

Upon closer inspection of what got installed, the /etc/profile.d/bash-completion file referes to a file called /etc/bash_completion which doesnt exist at all. There is however a /etc/bash_completion.d/ directory which has some custom completions for portage. This file is not refered to from anywhere....

Is this package working !??! Oddly enough a search for bash AND completion on these forums yields 0 results ??
Back to top
View user's profile Send private message
jmarshall
n00b
n00b


Joined: 04 Jul 2002
Posts: 10

PostPosted: Thu Jul 04, 2002 10:43 pm    Post subject: Reply with quote

I have bash-completion (version 20020624) installed and working fine. I do have a file in /etc called bash_completion. I also have a directory in /etc called bash_completion.d/, which contains the Gentoo-specific completions you mentioned. The files in the bash_completion.d/ directory are sourced by the file /etc/bash_completion.

I would try unmerging, and then merging again, bash-completion.
Back to top
View user's profile Send private message
Jesse
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 148

PostPosted: Thu Jul 04, 2002 11:02 pm    Post subject: Reply with quote

uh oh ...
after doing an emerge --clean rsync; emerge bash-completion ...

Code:

>>> 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.


these files DO exist in the downloaded file though so i think the ebuild is messed ??? this is with portage 2.0.9
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jul 04, 2002 11:54 pm    Post subject: Re: bash-completion ?? Reply with quote

Jesse wrote:
After just emerging bash-completion and following the instructions at the very end to add the line to my .bashrc file, it's a no go

Upon closer inspection of what got installed, the /etc/profile.d/bash-completion file referes to a file called /etc/bash_completion which doesnt exist at all. There is however a /etc/bash_completion.d/ directory which has some custom completions for portage. This file is not refered to from anywhere....

Is this package working !??! Oddly enough a search for bash AND completion on these forums yields 0 results ??


Did you remember to put the following in your ~/.bashrc:

Code:

[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion

_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Jesse
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 148

PostPosted: Fri Jul 05, 2002 12:52 am    Post subject: Reply with quote

and i quot from my original post:
Quote:

... and following the instructions at the very end to add the line to my .bashrc file


The problem is that the ebuild trys to install some files (which DO exist in the downloaded file and DO get unpacked into the /var/tmp/portage working direcoty) that it for some reason cant.

Just did another emerge --clean rsync and it seemed to pull in another ebuild for bash-completion but with the same results ...
Any suggestions?
Back to top
View user's profile Send private message
jmarshall
n00b
n00b


Joined: 04 Jul 2002
Posts: 10

PostPosted: Fri Jul 05, 2002 12:57 am    Post subject: Reply with quote

Did you already try to "rm -rf /usr/portage/distfiles/bash-completion* /var/tmp/portage/bash-completion*" to force it to re-download and unpack the bash-completion archive again?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 1:03 am    Post subject: Reply with quote

Removing the bash-completion tarball won't do anything, because Portage will refuse to unpack if the download was corrupted in any way. The /var/tmp/portage/ directory, on the other hand, might have something to do with it.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
Jesse
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 148

PostPosted: Fri Jul 05, 2002 1:05 am    Post subject: Reply with quote

eh... just tied. Did another emerge --clean rsync which correctly pulled in the files that were removed by me but still the same results ... I tried playing with the directories within the ebuild but still cannot get it to find those files. Im just not familiar enough with the ebuild system to look any further than that ....
Back to top
View user's profile Send private message
cyc
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 89

PostPosted: Fri Jul 05, 2002 5:35 am    Post subject: Reply with quote

why not to submit a bug to the developers?
_________________
http://www.gentoo-de.org
Gentoo userpage
Back to top
View user's profile Send private message
Jesse
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 148

PostPosted: Fri Jul 05, 2002 5:52 am    Post subject: Reply with quote

I wanted to first check to see if it was a simple problem that could be fixed or a problem on my side...

https://bugs.gentoo.org/show_bug.cgi?id=4564
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum