Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Is this a bug in equery
Date: Thu, 24 Nov 2005 17:14:58
Message-Id: 87wtix9b3f.fsf@newsguy.com
In Reply to: Re: [gentoo-user] Re: Is this a bug in equery by Paul Varner
1 Paul Varner <fuzzyray@g.o> writes:
2
3 > Changed to:
4 >
5 > $ ./equery files --type vim-6.4
6 > [ Searching for packages matching vim-6.4... ]
7 > !!! Invalid syntax: missing operator
8 > !!! If you want only specific versions please use one of
9 > !!! the following operators as prefix for the package name:
10 > !!! > >= = <= <
11 > !!! Example to only match gcc versions greater or equal 3.2:
12 > !!! >=sys-devel/gcc-3.2
13 > !!!
14 > !!! Note: The symbols > and < are used for redirection in the shell
15 > !!! and must be quoted if either one is used.
16 >
17 > Regards,
18 > Paul
19
20 Don't know about you guys but I don't see where this really works at
21 all like it should.... examples follow:
22
23 root # ls /usr/portage/dev-db/mysql
24 ChangeLog mysql-3.23.58-r1.ebuild mysql-4.1.15-r30.ebuild
25 Manifest mysql-4.0.25-r2.ebuild mysql-4.1.15.ebuild
26 files mysql-4.0.26.ebuild mysql-5.0.15.ebuild
27 metadata.xml mysql-4.1.14.ebuild mysql-5.0.16-r1.ebuild
28 mysql-5.0.16-r30.ebuild
29
30 equery uses mysql-4.0.26
31 [ Searching for packages matching mysql-4.0.26... ]
32 !!! Invalid syntax: missing operator
33 !!! If you want only specific versions please use one of
34 !!! the following operators as prefix for the package name:
35 !!! > >= = <= <
36 !!! Example to only match gcc versions greater or equal 3.2:
37 !!! >=sys-devel/gcc-3.2
38
39 Now try following the directions regardless of quoting technique:
40
41 Lessthan or equal too:
42 equery uses "<=mysql-4.0.26"
43 [ Searching for packages matching <=mysql-4.0.26... ]
44 !!! No matching packages found for "<=mysql-4.0.26"
45
46 Using Mariusz method:
47
48 equery uses "<"=mysql-4.0.26
49 [ Searching for packages matching <=mysql-4.0.26... ]
50 !!! No matching packages found for "<=mysql-4.0.26"
51
52
53 Only greater than seems to work and it doesn't really do what you
54 expect:
55
56 There are 7 ebuids that are equal to or greater than mysql-4.0.26
57
58 equery uses ">"=mysql-4.0.26
59 or
60 equery uses ">="mysql-4.0.26
61 or
62 equery uses ">=mysql-4.0.26"
63
64 [ Searching for packages matching >=mysql-4.0.26... ]
65 [ Colour Code : set unset ]
66 [ Legend : Left column (U) - USE flags from make.conf ]
67 [ : Right column (I) - USE flags packages was installed with ]
68 [ Found these USE variables for dev-db/mysql-5.0.15 ]
69 U I
70 + + berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
71 - - big-tables : Make tables contain up to 1.844E+19 rows
72 - - cluster : Add support for NDB clustering.
73 - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
74 - - doc : Adds extra documentation (API, Javadoc, etc)
75 - - extraengine : Add support for alternative storage engines.
76 - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
77 + + perl : Adds support/bindings for the Perl language.
78 + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants.
79 - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
80 + + ssl : Adds support for Secure Socket Layer connections
81 - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
82 - - utf8 : Use UTF8 encoding instead of LATIN1.
83
84 Apparently only one is shown.
85
86 --
87 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Is this a bug in equery Willie Wong <wwong@×××××××××.EDU>