Description:
This doesn't return anything:
rpm -q --requires mysql-community-9.7.0-10.fc43.src.rpm | grep libedit
However when running this:
sudo dnf builddep mysql-community-9.7.0-10.fc43.src.rpm
rpmbuild --rebuild mysql-community-9.7.0-10.fc43.src.rpm
This happens
-- EDITLINE_INCLUDE_DIR
-- EDITLINE_LIBRARY EDITLINE_LIBRARY-NOTFOUND
CMake Warning at cmake/readline.cmake:29 (MESSAGE):
Cannot find EDITLINE development libraries. You need to install the
required packages:
Debian/Ubuntu: apt install libedit-dev
RedHat/Fedora/Oracle Linux: yum install libedit-devel
SuSE: zypper install libedit-devel
Call Stack (most recent call first):
CMakeLists.txt:1902 (WARN_MISSING_SYSTEM_EDITLINE)
CMake Error at CMakeLists.txt:1904 (MESSAGE):
-DWITH_EDITLINE=system, but missing system libraries.
You can use -DWITH_EDITLINE=bundled instead.
-- Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.0i4qtF (%build)
How to repeat:
Rebuild the MySQL RPM on a system with a minimal set of packages installed.
Suggested fix:
Add libedit-devel to the declared dependencies or make `-DWITH_EDITLINE=bundled` the default.
Description: This doesn't return anything: rpm -q --requires mysql-community-9.7.0-10.fc43.src.rpm | grep libedit However when running this: sudo dnf builddep mysql-community-9.7.0-10.fc43.src.rpm rpmbuild --rebuild mysql-community-9.7.0-10.fc43.src.rpm This happens -- EDITLINE_INCLUDE_DIR -- EDITLINE_LIBRARY EDITLINE_LIBRARY-NOTFOUND CMake Warning at cmake/readline.cmake:29 (MESSAGE): Cannot find EDITLINE development libraries. You need to install the required packages: Debian/Ubuntu: apt install libedit-dev RedHat/Fedora/Oracle Linux: yum install libedit-devel SuSE: zypper install libedit-devel Call Stack (most recent call first): CMakeLists.txt:1902 (WARN_MISSING_SYSTEM_EDITLINE) CMake Error at CMakeLists.txt:1904 (MESSAGE): -DWITH_EDITLINE=system, but missing system libraries. You can use -DWITH_EDITLINE=bundled instead. -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.0i4qtF (%build) How to repeat: Rebuild the MySQL RPM on a system with a minimal set of packages installed. Suggested fix: Add libedit-devel to the declared dependencies or make `-DWITH_EDITLINE=bundled` the default.