Hi,
i had a short look at the build logs at koji. Started with the libraries and the first error I found was in libguestfs. Didn’t have a such deep look, if this solves several other builds as it should be a common dependency.
What would be the best solution to place the patch? Upstream directly at RedHat? Mailing List or BugZilla? Its my first time to contribute to a RHEL related software.
I did not verify the following patch with a successful build:
diff --git a/appliance/excludefiles.in b/appliance/excludefiles.in
index 181b1828d..75a19f12a 100644
--- a/appliance/excludefiles.in
+++ b/appliance/excludefiles.in
@@ -8,6 +8,7 @@ dnl This file is processed by m4 with one of the
dnl following symbols defined (depending on the distro):
dnl
dnl REDHAT=1 For Fedora, RHEL, EPEL and workalikes.
+dnl ROCKY=1 For Rocky Linux.
dnl DEBIAN=1 For Debian.
dnl UBUNTU=1 For Ubuntu.
dnl ARCHLINUX=1 For Archlinux.
diff --git a/appliance/hostfiles.in b/appliance/hostfiles.in
index e78c79bd3..859d0dcc2 100644
--- a/appliance/hostfiles.in
+++ b/appliance/hostfiles.in
@@ -6,6 +6,7 @@ dnl This file is processed by m4 with one of the
dnl following symbols defined (depending on the distro):
dnl
dnl REDHAT=1 For Fedora, RHEL, EPEL and workalikes.
+dnl ROCKY=1 For Rocky Linux.
dnl DEBIAN=1 For Debian.
dnl UBUNTU=1 For Ubuntu.
dnl ARCHLINUX=1 For Archlinux.
diff --git a/appliance/packagelist.in b/appliance/packagelist.in
index 77a07acc6..b44e0e044 100644
--- a/appliance/packagelist.in
+++ b/appliance/packagelist.in
@@ -5,6 +5,7 @@ dnl This file is processed by m4 with one of the
dnl following symbols defined (depending on the distro):
dnl
dnl REDHAT=1 For Fedora, RHEL, EPEL and workalikes.
+dnl ROCKY=1 For Rocky Linux.
dnl DEBIAN=1 For Debian.
dnl UBUNTU=1 For Ubuntu.
dnl ARCHLINUX=1 For Archlinux.
@@ -22,6 +23,9 @@ dnl ./configure --with-extra-packages="gdb valgrind [etc]"
dnl Basically the same with a few minor tweaks.
ifelse(UBUNTU,1,`define(`DEBIAN',1)')
+dnl Make Rocky compatible to RHEL.
+ifelse(ROCKY,1,`define(`REDHAT',1)')
+
ifelse(REDHAT,1,
cryptsetup
cryptsetup-luks dnl old name used before Fedora 17
diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4
index db67c6916..dc0984355 100644
--- a/m4/guestfs-appliance.m4
+++ b/m4/guestfs-appliance.m4
@@ -117,7 +117,7 @@ AC_ARG_WITH([distro],
]
)
AM_CONDITIONAL([HAVE_RPM],
- [AS_CASE([$DISTRO], [REDHAT | SUSE | OPENMANDRIVA | MAGEIA ], [true],
+ [AS_CASE([$DISTRO], [REDHAT | ROCKY | SUSE | OPENMANDRIVA | MAGEIA ], [true],
[*], [false])])
AM_CONDITIONAL([HAVE_DPKG],
[AS_CASE([$DISTRO], [DEBIAN | UBUNTU ], [true],