Re: [gentoo-user] /etc/portage/package.use/java
On 11/18/2010 08:52 PM, Mike Edenfield wrote: 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: platypus kutulu # cat /etc/portage/package.use/java echo This is /etc/portage/package.use/java! Last login: Thu Nov 18 10:35:07 EST 2010 from mike-desktop on pts/2 This is /etc/portage/package.use/java! kut...@platypus ~ $ I would start from grep -R source /etc/portage/package.use/java /etc -- Gary Golden
[gentoo-user] /etc/portage/package.use/java
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: platypus kutulu # cat /etc/portage/package.use/java echo This is /etc/portage/package.use/java! Last login: Thu Nov 18 10:35:07 EST 2010 from mike-desktop on pts/2 This is /etc/portage/package.use/java! kut...@platypus ~ $
Re: [gentoo-user] /etc/portage/package.use/java
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: platypus kutulu # cat /etc/portage/package.use/java echo This is /etc/portage/package.use/java! Last login: Thu Nov 18 10:35:07 EST 2010 from mike-desktop on pts/2 This is /etc/portage/package.use/java! kut...@platypus ~ $ I think you have a . /etc/portage/package.use/java in your .profile somewhere :-) grep -r is your friend here. Most likely it happened when you typed an echo file type command sometime and botched the redirectors -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] /etc/portage/package.use/java
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 ~ # --Mike
Re: [gentoo-user] /etc/portage/package.use/java
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
Re: [gentoo-user] /etc/portage/package.use/java
On 11/18/2010 3:20 PM, Alan McKinnon wrote: 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 Thanks, all fixed. These appear to be dynamically linked/unlinked by eselect, so that musta gone haywire at some point. --Mike