Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eselect binutils list not matching
Date: Wed, 27 Jun 2012 18:28:46
Message-Id: CAEH5T2NHDaKs0LbvaCWXwGjG2khPPCjT-Yd+XqWTgvhhKCtieQ@mail.gmail.com
In Reply to: Re: [gentoo-user] eselect binutils list not matching by Mark Knecht
1 On Wed, Jun 27, 2012 at 9:34 AM, Mark Knecht <markknecht@×××××.com> wrote:
2 > On Tue, Jun 26, 2012 at 8:27 PM, Paul Hartman
3 > <paul.hartman+gentoo@×××××.com> wrote:
4 >> On Sun, Jun 24, 2012 at 1:27 PM, Mark Knecht <markknecht@×××××.com> wrote:
5 >>> Hi,
6 >>>   One of my machines is giving an undesired response in eselect:
7 >>>
8 >>> c2stable ~ # eselect binutils list
9 >>> !!! Error: Pattern  does not match any installed version of binutils!
10 >>> exiting
11 >>> c2stable ~ #
12 >>
13 >> Mine does the same thing on 1 computer but works on 2 others. All with
14 >> the same versions of all involved packages. Weird.
15 >>
16 >
17 > Hey, at least I'm in good company if my old friend Paul Hartman sees
18 > the same thing. :-)
19 >
20 > There is a patch to the binutils.eselect file here that worked for me:
21 >
22 > https://423525.bugs.gentoo.org/attachment.cgi?id=316441
23 >
24 > Before patching (if you do at all - I recommend you don't patch unless
25 > you just want to) run this command in the directory you are running
26 > eselect in. (For me it was just /root)
27 >
28 > echo -*
29 >
30 > On a 'good' machine it returns
31 >
32 > -q
33 >
34 > On a 'bad' machine here it returns
35 >
36 > --help -q
37 >
38 > I don't think the machine is really bad. I think eselect was likely
39 > just not being selective enough about how it works with whatever is in
40 > the directory or search path? Not sure.
41 >
42 > If you see something different you might add it to the bug report but
43 > I suspect we've got the same issue.
44
45 Ah-ha. When I run the command from a directory which does not contain
46 any files or dirs starting with hyphen, it is fine. In my user dir
47 there is ~/- directory for some reason, so that must have been
48 confusing it.

Replies

Subject Author
Re: [gentoo-user] eselect binutils list not matching Mark Knecht <markknecht@×××××.com>