Summary: | dev-db/mysql-5.7.23-r2 requires libevent with USE=-server | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Wegener <swegener> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | digitalaudiorock |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=640b8e5b86ef37c4c8efcecefac7411ae7a0dc0a commit 640b8e5b86ef37c4c8efcecefac7411ae7a0dc0a Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-10-23 00:33:29 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-10-23 00:33:29 +0000 dev-db/mysql: Respin patch for serverless installation on 5.7 Closes: https://bugs.gentoo.org/669236 Signed-off-by: Brian Evans <grknight@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-db/mysql/Manifest | 2 +- dev-db/mysql/mysql-5.7.23-r2.ebuild | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) *** Bug 669920 has been marked as a duplicate of this bug. *** |
mysql-5.7.23-r2 fails to build with USE=-server, because it tries to build against the bundled libevent, which we intentionally remove to build against the system libevent: > CMake Error at cmake/libevent.cmake:22 (ADD_SUBDIRECTORY): > ADD_SUBDIRECTORY given source "libevent" which is not an existing > directory. > Call Stack (most recent call first): > cmake/libevent.cmake:46 (MYSQL_USE_BUNDLED_LIBEVENT) > CMakeLists.txt:534 (MYSQL_CHECK_LIBEVENT) For USE=server we pass -DWITH_LIBEVENT=system to cmake. It looks like we need it for both cases, because the libevent checks in cmake are not conditional.