Gentoo Archives: gentoo-dev

From: Francesco Riosa <vivo75@×××××.com>
To: gentoo-dev@l.g.o, "Robin H. Johnson" <robbat2@g.o>
Subject: Re: [gentoo-dev] The future of virtual/mysql and virtual/libmysqlclient
Date: Wed, 14 Feb 2018 16:14:13
Message-Id: 05a3f0e7-9b8d-c090-282d-e670c87e71f3@gmail.com
In Reply to: Re: [gentoo-dev] The future of virtual/mysql and virtual/libmysqlclient by "Robin H. Johnson"
1 On 14/02/2018 05:37, Robin H. Johnson wrote:
2 > On Tue, Feb 13, 2018 at 09:32:32PM -0500, Brian Evans wrote:
3 >> I have a plan I would like some eyes on...
4 >>
5 >> I want to gradually *BAN* the use of virtual/mysql and
6 >> virtual/libmysqlclient as dependencies.
7 > Overall I agree, but there's some slight concerns I have.
8 >
9 >> To accomplish this, force dev-db/mysql-connector-c to be the only souce
10 >> of libmysqlclient.so.
11 >>
12 >> Packages that choose to support libmariadb.so instead can include a
13 >> libmariadb USE to hook up to dev-db/mariadb-connector-c that will be
14 >> introduced (and they can live side-by-side). The motivation for this
15 >> could be licensing with libmariadb being LGPL instead of GPL. This is
16 >> similar to ffmpeg/libav, except the libraries can co-exist.
17 > Have all the concerns about using slightly different libmysqlclient.so
18 > builds been resolved? Esp for pre-built binaries (I don't know if there
19 > are any left in the tree).
20 >
21 >> The current providers of virtual/mysql would get a new USE flag that is
22 >> MASKED for all users for the transition period and pull in the lib
23 >> package(s) when that USE is disabled.
24 >>
25 >> virtual/mysql would become a server reference for USERS only. It would
26 >> be a QA warning violation to depend directly on virtual/mysql as it can
27 >> live anywhere.
28 > This part worries me slightly. I do understand that mysql-embedded is
29 > retired entirely, but apps that spun up their own local mysqld instance
30 > would still be affected this this change.
31
32 Checked a random desktop install and found these packages depending on
33 virtual/mysql:
34
35 vivo@Monfi ~ $ equery d virtual/mysql
36  * These packages depend on virtual/mysql:
37 dev-db/mariadb-10.2.12 (server ? ~virtual/mysql-5.6[embedded=,static=])
38 dev-libs/apr-util-1.6.1 (mysql ? =virtual/mysql-5*)
39 dev-libs/cyrus-sasl-2.1.26-r11 (mysql ? virtual/mysql)
40 dev-libs/redland-1.0.17-r1 (mysql ? virtual/mysql)
41 kde-apps/akonadi-17.12.2 (mysql ? virtual/mysql)
42 net-analyzer/net-snmp-5.7.3_p3 (mysql ? virtual/mysql)
43 net-mail/mailutils-3.4 (mysql ? virtual/mysql)
44 sci-mathematics/glpk-4.63 (mysql ? virtual/mysql)
45
46 It would be interesting to know how their ${*DEPEND} should look after
47 the change.
48
49 Honestly I'd also like to understand the rationale better, why this
50 change is needed?
51 Are the implementations of Oracle mysql and Mariadb so different that
52 it's not possible anymore to consider those equivalent (for what
53 packages see)?
54
55 Thanks in advance,
56 Francesco

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies