Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697640 - dev-db/mysql-8.0.17 has no USE=server required by virtual/mysql-5.6-r12
Summary: dev-db/mysql-8.0.17 has no USE=server required by virtual/mysql-5.6-r12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-13 16:21 UTC by Keith Harrison
Modified: 2019-10-16 17:33 UTC (History)
1 user (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 Keith Harrison 2019-10-13 16:21:40 UTC
I cannot upgrade to mysql-8 because it does not have a server use flag required by virtual/mysql.

Reproducible: Always

Steps to Reproduce:
1. emerge -1pv dev-db/mysql

Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-db/mysql-5.7.27-r1:0/18::gentoo  USE="perl server -cjk (-client-libs) -cracklib -debug -experimental -jemalloc -latin1 -libressl -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc -test -yassl" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-db/mysql:0

  (dev-db/mysql-8.0.17:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-db/mysql-5.6[server] required by (virtual/mysql-5.6-r12:0/18::gentoo, installed)


# equery uses dev-db/mysql
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-db/mysql-8.0.17:
 U I
 - - cjk       : Add CJK support for InnoDB fulltext search using app-text/mecab
 - - cracklib  : Support for cracklib strong password checking
 - - debug     : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - jemalloc  : Use dev-libs/jemalloc for memory management
 - - latin1    : Use LATIN1 encoding instead of UTF8
 - - libressl  : Enable SSL connections and crypto functions using dev-libs/libressl
 - - numa      : Enable NUMA support using sys-process/numactl (NUMA kernel support is also required)
 + - perl      : Add optional support/bindings for the Perl language
 - - profiling : Add support for statement profiling (requires USE=community).
 - - router    : Build the MySQL router program
 - - tcmalloc  : Use the dev-util/google-perftools libraries to replace the malloc() implementation with a possibly faster one
 - - test      : Install upstream testsuites for end use.
Comment 1 Tomáš Mózes 2019-10-14 03:30:50 UTC
Newer packages depend on mysql-c-connector, I think you can remove virtual/mysql and install mysql-8 directly.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2019-10-14 11:01:34 UTC
Seems like you have missed some news items over the last 2 years:

virtual/libmysqlclient is already gone, see https://archives.gentoo.org/gentoo-dev/message/63351418568891b35409035d9bfc8f6a

Therefore USE=server became superfluous and was removed because packages like dev-db/mysql, dev-db/mariadb or dev-db/percona-server are now always server :)

With this change, virtual/mysql became obsolete, see https://www.gentoo.org/support/news-items/2019-02-13-virtual-mysql-depenedency.html
Comment 3 Keith Harrison 2019-10-14 14:59:25 UTC
dev-db/mysqltuner depends on virtual/mysql

Shall I open a new bug?
Comment 4 Brian Evans (RETIRED) gentoo-dev 2019-10-14 15:14:24 UTC
Please fix this.  The server USE should not be removed
Comment 5 Larry the Git Cow gentoo-dev 2019-10-16 17:33:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a7ec625f74ee03eccfed61921b0ece07ac26c8

commit 64a7ec625f74ee03eccfed61921b0ece07ac26c8
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-10-16 17:33:00 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-10-16 17:33:00 +0000

    dev-db/mysql: Version bump for 8.0.l8
    
    Restore server USE as well
    
    Closes: https://bugs.gentoo.org/697640
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mysql/Manifest            |    2 +
 dev-db/mysql/mysql-8.0.18.ebuild | 1119 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 1121 insertions(+)