Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
None
Description
The scripts/pacakges/galera.spec file for galera4 has a conditional statement to require python3-scons for rhel 8, and requires the scons package for all others. This results in build failures on RHEL 9.
A quick one-character fix is to change the == to >= in the spec file like so:
diff --git a/scripts/packages/galera.spec b/scripts/packages/galera.spec
|
index 3f2a89bf..9ed73982 100644
|
--- a/scripts/packages/galera.spec
|
+++ b/scripts/packages/galera.spec
|
@@ -53,7 +53,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}
|
BuildRequires: glibc-devel
|
BuildRequires: openssl-devel
|
|
-%if 0%{?rhel} == 8
|
+%if 0%{?rhel} >= 8
|
BuildRequires: python3-scons
|
%else
|
BuildRequires: scons |
Not sure if there are other places where RHEL 8 is hard coded or not.
Also it is worth noting that the python3-scons package is no longer available in the RHEL codeready-builder repository like it was in RHEL 8. Instead the package needs to be installed from the EPEL repository.
Attachments
Issue Links
- relates to
-
MDEV-28726 RHEL-9 Builds
- Closed