Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551060 - dev-db/postgresql[server] dev-db/mysql[-minimal] please unify server/client only USE flags
Summary: dev-db/postgresql[server] dev-db/mysql[-minimal] please unify server/client o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-03 10:22 UTC by Marcin Mirosław
Modified: 2015-07-29 20:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2015-06-03 10:22:58 UTC
If I would install only postgresql client libraries then I need to install:
dev-db/postgresql[-server]
when I'd like to have only mysql client library I need to install:
dev-db/mysql[minimal]

Could be the USE flags unified? "minimal" isn't informative for me, I prefer "server" USE flag.
So I would like to see dev-db/mysql[server] and dev-db/postgresql[server].

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2015-06-04 01:15:27 UTC
> So I would like to see dev-db/mysql[server] and dev-db/postgresql[server].

+1
Comment 2 Brian Evans (RETIRED) gentoo-dev 2015-06-04 01:34:51 UTC
I actually have thoughts to do the opposite but still could rename the minimal flag if you really want it.

I may either have to:

1) create a virtual/libmysqlclient with the mysql-connector-c (currently only in mysql overlay) as the primary library to link to and the servers never, or via a client-libs USE, install the libraries.  Minimal, or -server, would be simple tools

2) Wait for mariadb to catch up to dev-db/mysql with so.20.  This would mean delaying MySQL 5.7 until (probably) MariaDB 10.2.x
Comment 3 Aaron W. Swenson gentoo-dev 2015-06-04 01:57:24 UTC
(In reply to Brian Evans from comment #2)
> I actually have thoughts to do the opposite but still could rename the
> minimal flag if you really want it.

In our case for PostgreSQL, "minimal" would not be representative of reality. The difference between client-only and server is, effectively, whether or not the server binary is created. The bulk of the work in the libs. (So, even compiling libs only would only save 2 or 3 minutes out of 15 on my machine.)

I have no idea what it's like on MySQL's side.
Comment 4 Brian Evans (RETIRED) gentoo-dev 2015-07-29 20:50:36 UTC
USE="server" introduced on the mysql, and derivatives, server packages in ~arch first