Bug #120398 missing build dependency: libevent-devel
Submitted: 4 May 9:29
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:9.7.0 OS:Any
Assigned to: CPU Architecture:Any

[4 May 9:29] Daniël van Eeden
Description:
When rebuilding the source RPM the libevent-devel dependency isn't declared while the system library is the default.

How to repeat:
CMake Warning at cmake/libevent.cmake:39 (MESSAGE):
  Cannot find LIBEVENT development libraries.  You need to install the
  required packages:

    Debian/Ubuntu:              apt install libevent-dev
    RedHat/Fedora/Oracle Linux: yum install libevent-devel
    SuSE:                       zypper install libevent-devel

Call Stack (most recent call first):
  CMakeLists.txt:1913 (WARN_MISSING_SYSTEM_LIBEVENT)

CMake Error at CMakeLists.txt:1915 (MESSAGE):
  -DWITH_LIBEVENT=system, but missing system libraries.

  You can use -DWITH_LIBEVENT=bundled instead.