public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] /etc/portage/package.use/java
  @ 2010-11-18 20:20 99%     ` Alan McKinnon
  0 siblings, 0 replies; 1+ results
From: Alan McKinnon @ 2010-11-18 20:20 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 21:36 on Thursday 18 November 2010, Mike 
Edenfield did opine thusly:

> On 11/18/2010 1:40 PM, Alan McKinnon wrote:
> > Apparently, though unproven, at 17:52 on Thursday 18 November 2010, Mike
> > 
> > Edenfield did opine thusly:
> >> Is there something special about the file name
> >> /etc/portage/package.use/java ?  For some reason, if I create this file
> >> to hold USE flags for my java packages, bash tries to source it when I
> >> log in.  As far as I can tell this is the only filename that gets this
> > 
> >> wierd treatment:
> > grep -r is your friend here. Most likely it happened when you typed an
> > "echo > file" type command sometime and botched the redirectors
> 
> Huh.  Found it, but now I'm even more confused than before:
> 
> platypus ~ # ls -alF /etc/bash_completion.d/java
> lrwxrwxrwx 1 root root 30 Nov 16 08:18 /etc/bash_completion.d/java ->
> //etc/portage/package.use/java
> 
> I'm pretty sure I didn't actually make that softlink myself, and I have
> no idea where it came from:
> 
> platypus ~ # equery belongs /etc/bash_completion.d/java
>  * Searching for /etc/bash_completion.d/java ...
> platypus ~ #

Maybe you had the bad luck to install an awesomely dodgy ebuild. Here's what 
it should be:

# ls -al /etc/bash_completion.d/java
lrwxrwxrwx 1 root root 31 Oct 27 03:08 /etc/bash_completion.d/java -> 
/usr/share/bash-completion/java


You can either just fix the symlink, or remerge bash-completion.

I'd also check /etc/bash_completion.d/ for any more dodgy symlinks


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-11-18 15:52     [gentoo-user] /etc/portage/package.use/java Mike Edenfield
2010-11-18 18:40     ` Alan McKinnon
2010-11-18 19:36       ` Mike Edenfield
2010-11-18 20:20 99%     ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox