Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757594 - dev-db/mysql-8.0.22 fails configure: LIBEVENT_PTHREADS variable not set
Summary: dev-db/mysql-8.0.22 fails configure: LIBEVENT_PTHREADS variable not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-29 13:03 UTC by Matthias Hanft
Modified: 2020-11-30 01:18 UTC (History)
1 user (show)

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


Attachments
emerge --info (emergeinfo.txt,6.09 KB, text/plain)
2020-11-29 13:03 UTC, Matthias Hanft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Hanft 2020-11-29 13:03:03 UTC
Created attachment 675700 [details]
emerge --info

"emerge -auv @world" wants to upgrade dev-db/mysql from 8.0.21-r1 to 8.0.22.

emerge fails with

[...]
-- CMAKE_C_LINK_FLAGS:
-- CMAKE_CXX_LINK_FLAGS:
-- CMAKE_EXE_LINKER_FLAGS -Wl,-O1 -Wl,--as-needed
-- CMAKE_MODULE_LINKER_FLAGS -Wl,-O1 -Wl,--as-needed
-- CMAKE_SHARED_LINKER_FLAGS -Wl,-O1 -Wl,--as-needed
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -O2 -march=i686 -pipe -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wundef -Wwrite-strings -Wjump-misses-init -Wstringop-truncation
C++             -O2 -march=i686 -pipe -Di386 -felide-constructors -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Wundef -Woverloaded-virtual -Wcast-qual -Wimplicit-fallthrough=2 -Wstringop-truncation -Wsuggest-override -Wlogical-op
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBEVENT_PTHREADS
    linked by target "mysqlx" in directory /var/tmp/portage/dev-db/mysql-8.0.22/work/mysql/plugin/x
    linked by target "sql_main" in directory /var/tmp/portage/dev-db/mysql-8.0.22/work/mysql/sql

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: dev-db/mysql-8.0.22::gentoo failed (configure phase):
 *   cmake failed
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-11-30 01:16:07 UTC
Upstream is now requiring dev-libs/libevent[threads] (https://github.com/mysql/mysql-server/commit/2b84f0e376c8609ebe32ddb079294c0d67334ac0)
Comment 2 Larry the Git Cow gentoo-dev 2020-11-30 01:18:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d181d26c266e5c8ee3f73e4aa5d093d8fa4e62b

commit 3d181d26c266e5c8ee3f73e4aa5d093d8fa4e62b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-11-30 01:17:52 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-11-30 01:18:27 +0000

    dev-db/mysql: depend on dev-libs/libevent[threads]
    
    Closes: https://bugs.gentoo.org/757594
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mysql/mysql-8.0.22.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)