Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Is this a bug in equery
Date: Thu, 24 Nov 2005 19:11:05
Message-Id: 20051124190540.GA29639@princeton.edu
In Reply to: [gentoo-user] Re: Is this a bug in equery by Harry Putnam
1 On Thu, Nov 24, 2005 at 12:04:03PM -0600, Harry Putnam wrote:
2 > Don't know about you guys but I don't see where this really works at
3 > all like it should.... examples follow:
4 >
5 > root # ls /usr/portage/dev-db/mysql
6 > ChangeLog mysql-3.23.58-r1.ebuild mysql-4.1.15-r30.ebuild
7 > Manifest mysql-4.0.25-r2.ebuild mysql-4.1.15.ebuild
8 > files mysql-4.0.26.ebuild mysql-5.0.15.ebuild
9 > metadata.xml mysql-4.1.14.ebuild mysql-5.0.16-r1.ebuild
10 > mysql-5.0.16-r30.ebuild
11 >
12
13 <big snip where the OP shows that <=mysql-4.0.26 returns nothing while
14 "greater-than-or-equal-to" returns 5.0.15 only>
15
16 That is the intended behaviour. 'equery uses' only greps the use flags
17 for installed packages. If you want non-installed packages, you need
18 to use the '-a' flag
19
20 i.e.
21
22 [02:00 PM]wwong ~ $ equery uses '>=mysql-4.0.26'
23 [ Searching for packages matching >=mysql-4.0.26... ]
24 [ Colour Code : set unset ]
25 [ Legend : Left column (U) - USE flags from make.conf ]
26 [ : Right column (I) - USE flags packages was installed with ]
27 [ Found these USE variables for dev-db/mysql-4.1.14 ]
28 U I
29 - - big-tables : Make tables contain up to 1.844E+19 rows
30 - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
31 - - 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
32 + + doc : Adds extra documentation (API, Javadoc, etc)
33 - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
34 + + perl : Adds support/bindings for the Perl language.
35 + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants.
36 - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
37 + + ssl : Adds support for Secure Socket Layer connections
38 - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
39 + + tcpd : Adds support for TCP wrappers
40 - - cluster : Add support for NDB clustering.
41 - - utf8 : Use UTF8 encoding instead of LATIN1.
42 - - geometry : Add support for geometry data.
43 - - extraengine : Add support for alternative storage engines.
44 [02:02 PM]wwong ~ $ equery uses -a '<=mysql-4.0.26'
45 [ Searching for packages matching <=mysql-4.0.26... ]
46 [ Colour Code : set unset ]
47 [ Legend : Left column (U) - USE flags from make.conf ]
48 [ : Right column (I) - USE flags packages was installed with ]
49 [ Found these USE variables for dev-db/mysql-3.23.58-r1 ]
50 U I
51 - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
52 - - 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
53 - - innodb : Adds innodb support for mySQL (transaction support)
54 + + perl : Adds support/bindings for the Perl language.
55 + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants.
56 + + ssl : Adds support for Secure Socket Layer connections
57 - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
58 + + tcpd : Adds support for TCP wrappers
59 [ Found these USE variables for dev-db/mysql-4.0.26 ]
60 U I
61 - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
62 - - 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
63 + + doc : Adds extra documentation (API, Javadoc, etc)
64 - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
65 + + perl : Adds support/bindings for the Perl language.
66 + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants.
67 - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
68 + + ssl : Adds support for Secure Socket Layer connections
69 - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
70 + + tcpd : Adds support for TCP wrappers
71 - - big-tables : Make tables contain up to 1.844E+19 rows
72 [ Found these USE variables for dev-db/mysql-4.0.25-r2 ]
73 U I
74 - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
75 - - 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
76 + + doc : Adds extra documentation (API, Javadoc, etc)
77 - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
78 + + perl : Adds support/bindings for the Perl language.
79 + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants.
80 - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
81 + + ssl : Adds support for Secure Socket Layer connections
82 - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
83 + + tcpd : Adds support for TCP wrappers
84 - - big-tables : Make tables contain up to 1.844E+19 rows
85
86 This is the same behaviour as all other equery commands: by default only
87 the installed packages are displayed.
88
89 HTH,
90
91 W
92 --
93 "Those of you who are yawning are ok, but if you're terrified you should speak
94 up." ~DeathMech, S. Sondhi. P-town PHY 205
95 Sortir en Pantoufles: up 12 days, 11:21
96 --
97 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Is this a bug in equery Harry Putnam <reader@×××××××.com>