Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mysql is being pulled in again!
Date: Thu, 04 Mar 2010 17:07:36
Message-Id: 358eca8f1003040907r248b3dcjf9aada6f30734aa@mail.gmail.com
In Reply to: Re: [gentoo-user] mysql is being pulled in again! by Alan McKinnon
1 On 4 March 2010 15:57, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On Thursday 04 March 2010 17:37:23 Mick wrote:
3 >> I am trying to understand what is pulling in mysql again.  This
4 >> morning a load of qt packages were being updated and I noticed a bunch
5 >> of perl and virtual packages in there too.  Rest assured dev-db/mysql
6 >> was in there, again.  This is despite the fact that the mysql use flag
7 >> seem to be not active as far as portage is concerned:
8 >>
9 >> # euse -i mysql
10 >> global use flags (searching: mysql)
11 >> ************************************************************
12 >> [-    ] mysql - Adds mySQL Database support
13 >>
14 >> local use flags (searching: mysql)
15 >> ************************************************************
16 >> [-    ] mysql (app-admin/ulogd):
17 >> Build MYSQL output plugin to save packets in a mysql database.
18 >>
19 >> [-    ] mysql (net-misc/mediatomb):
20 >> Use dev-db/mysql as backend rather than SQLite3. If this USE flag is
21 >> disabled, dev-db/sqlite is used in its stead.
22 >>
23 >> Looking into it further I see that the virtual package is pulling the
24 >> database in:
25 >>
26 >> # equery depends dev-db/mysql
27 >> [ Searching for packages depending on dev-db/mysql... ]
28 >> virtual/mysql-5.0 (=dev-db/mysql-5.0*)
29 >>
30 >> # equery depends virtual/mysql
31 >> [ Searching for packages depending on virtual/mysql... ]
32 >> dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0)
33 >> dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql)
34 >> dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql)
35 >> dev-perl/DBD-mysql-4.00.5 (virtual/mysql)
36 >> x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql)
37 >>
38 >> So, is this telling me the virtual mysql package depends of the real
39 >> mysql and vice versa?  Should I give up and accept that just like a
40 >> LAMP build, from now on a Linux desktop *must* run mysql and nothing
41 >> else will do?  I've read that sqlite is borked and won't do what
42 >> semantic-desktop wants, but what about people who for arguments sake
43 >> want to run postgress or some other database?
44 >
45 > The tool you want to answer this question is
46 >
47 > emerge -t
48
49 Right, but I started this mammoth emerge before I spent enough time
50 looking at its contents I'm afraid. :-( I could of course uninstall
51 them and try again, but there's steam coming out the back of this old
52 box and I would rather not have to rinse and repeat.
53
54 This is what was pulled in today and most of the perl stuff seemed
55 like new installs:
56
57 Thu Mar 4 09:20:24 2010 >>> dev-libs/libffi-3.0.9
58 Thu Mar 4 09:20:49 2010 >>> dev-db/mysql-init-scripts-1.2
59 Thu Mar 4 09:26:49 2010 >>> net-dns/bind-tools-9.4.3_p5
60 Thu Mar 4 09:33:38 2010 >>> dev-perl/Net-Daemon-0.43
61 Thu Mar 4 09:34:57 2010 >>> perl-core/Storable-2.20
62 Thu Mar 4 09:35:22 2010 >>> dev-perl/yaml-0.68
63 Thu Mar 4 09:35:56 2010 >>> perl-core/Test-Harness-3.17
64 Thu Mar 4 09:36:32 2010 >>> perl-core/Package-Constants-0.02
65 Thu Mar 4 09:37:07 2010 >>> perl-core/Sys-Syslog-0.27
66 Thu Mar 4 09:37:26 2010 >>> virtual/perl-Storable-2.20
67 Thu Mar 4 09:37:41 2010 >>> virtual/perl-Test-Harness-3.17
68 Thu Mar 4 09:37:57 2010 >>> virtual/perl-Package-Constants-0.02
69 Thu Mar 4 09:38:15 2010 >>> virtual/perl-Sys-Syslog-0.27
70 Thu Mar 4 09:38:46 2010 >>> dev-perl/PlRPC-0.2020-r1
71 Thu Mar 4 09:39:19 2010 >>> perl-core/IO-Zlib-1.09
72 Thu Mar 4 09:39:35 2010 >>> virtual/perl-IO-Zlib-1.09
73 Thu Mar 4 09:40:09 2010 >>> perl-core/Archive-Tar-1.54
74 Thu Mar 4 09:40:27 2010 >>> virtual/perl-Archive-Tar-1.54
75 Thu Mar 4 09:41:03 2010 >>> perl-core/Module-Build-0.34.0201
76 Thu Mar 4 09:41:19 2010 >>> virtual/perl-Module-Build-0.34.0201
77 Thu Mar 4 09:41:52 2010 >>> perl-core/ExtUtils-CBuilder-0.26.03
78 Thu Mar 4 09:42:08 2010 >>> virtual/perl-ExtUtils-CBuilder-0.26.03
79 Thu Mar 4 09:42:48 2010 >>> perl-core/File-Spec-3.30
80 Thu Mar 4 09:43:21 2010 >>> perl-core/ExtUtils-ParseXS-2.20.0401
81 Thu Mar 4 09:43:37 2010 >>> virtual/perl-ExtUtils-ParseXS-2.20.0401
82 Thu Mar 4 09:43:53 2010 >>> virtual/perl-File-Spec-3.30
83 Thu Mar 4 09:44:48 2010 >>> dev-perl/DBI-1.609
84 Thu Mar 4 09:47:31 2010 >>> dev-util/boost-build-1.41.0
85 Thu Mar 4 09:55:19 2010 >>> media-gfx/exiv2-0.19
86 Thu Mar 4 11:49:55 2010 >>> dev-libs/boost-1.41.0-r3
87 Thu Mar 4 12:29:27 2010 >>> dev-db/mysql-5.0.84-r1
88 Thu Mar 4 12:29:44 2010 >>> virtual/mysql-5.0
89 Thu Mar 4 12:30:32 2010 >>> dev-perl/DBD-mysql-4.00.5
90 Thu Mar 4 13:08:28 2010 >>> x11-libs/qt-core-4.6.2-r1
91 Thu Mar 4 13:12:49 2010 >>> x11-libs/qt-dbus-4.6.2
92 Thu Mar 4 13:28:44 2010 >>> x11-libs/qt-script-4.6.2
93 Thu Mar 4 13:32:06 2010 >>> x11-libs/qt-sql-4.6.2
94 Thu Mar 4 13:33:58 2010 >>> x11-libs/qt-test-4.6.2
95 Thu Mar 4 14:01:18 2010 >>> x11-libs/qt-xmlpatterns-4.6.2
96 Thu Mar 4 15:45:26 2010 >>> x11-libs/qt-gui-4.6.2
97 Thu Mar 4 16:11:12 2010 >>> x11-libs/qt-qt3support-4.6.2
98 Thu Mar 4 16:17:31 2010 >>> x11-libs/qt-opengl-4.6.2
99 Thu Mar 4 16:21:11 2010 >>> x11-libs/qt-svg-4.6.2
100
101
102 > There will be a reason why mysql is being pulled in, most likely a package
103 > that must have it.
104
105 If a package must have it, wouldn't the USE flag mysql switch to + ?
106
107 > If a user wants postgres, he should install and run postgres. How would this
108 > affect the presence or absence of mysql?
109
110 Well, I am assuming that if postgres can do what mysql does, then it
111 could work in its place. Like if syslog-ng will do what metalog does,
112 then the virtual/log-thingie will not insist in pulling in metalog.
113 Anyway, the postgres is just an example of asking why are we locking
114 down the choice of a database to a particular package/provider.
115
116 I am thinking that x11-libs/qt-sql-4.6.2 may be what started this
117 emerge of mysql.
118 --
119 Regards,
120 Mick

Replies

Subject Author
[gentoo-user] Re: mysql is being pulled in again! Nikos Chantziaras <realnc@×××××.de>
Re: [gentoo-user] mysql is being pulled in again! Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] mysql is being pulled in again! Roy Wright <roy@××××××.org>
Re: [gentoo-user] mysql is being pulled in again! Alan McKinnon <alan.mckinnon@×××××.com>