From: petere (@petere) <noreply+petere@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: [pgbouncer/pgbouncer] PR #1715: ci: Get openldap-servers from EPEL on Rocky 9
Date: Fri, 20 Nov 2026 09:17:52 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1715@github.com> (raw)
Rocky 9.9 no longer has openldap-servers in its "plus" repo, so the CI build fails there now. Rocky used to rebuild it there from the RHEL openldap source, but did not do that for 9.9, where openldap was rebased to 2.6.13. EPEL 9 has had openldap-servers since 2022 and already ships 2.6.13. So use EPEL on Rocky 9 too, the same way as on Rocky 10.
inline patch 1: .github/workflows/pgbouncer-ci.yml (+4/-5 lines) download inline-1.patchdiff --git a/.github/workflows/pgbouncer-ci.yml b/.github/workflows/pgbouncer-ci.ymlindex 42a43522ff15..384df3635810 100644--- a/.github/workflows/pgbouncer-ci.yml+++ b/.github/workflows/pgbouncer-ci.yml@@ -283,11 +283,10 @@ jobs:
# ninja-build (and the -devel packages) live in PowerTools, which is
# called CRB from EL9 onwards; meson itself is in AppStream.
if [ "${{ matrix.name }}" = "rocky-8" ]; then dnf config-manager --set-enabled "powertools"; else dnf config-manager --set-enabled "crb"; fi
- # RHEL 9 dropped the OpenLDAP server; Rocky rebuilds openldap-servers- # in their "plus" repo. RHEL 10 dropped it again, this time without a- # Rocky rebuild anywhere, so pull it from EPEL instead.- if [ "${{ matrix.name }}" = "rocky-9" ]; then dnf config-manager --set-enabled "plus"; fi- if [ "${{ matrix.name }}" = "rocky-10" ]; then dnf -y install epel-release; fi+ # RHEL 9 and later dropped the OpenLDAP server, so pull+ # openldap-servers from EPEL. (Rocky 9 also used to carry a rebuild+ # in their "plus" repo, but that was not updated for 9.9.)+ if [ "${{ matrix.name }}" != "rocky-8" ]; then dnf -y install epel-release; fi
dnf -y install diffutils file gcc iptables libevent-devel libpq-devel make meson ninja-build openldap-clients openldap-devel openldap-servers openssl openssl-devel pam-devel pkg-config postgresql-server postgresql-contrib python3 python3-pip socat sudo systemd-devel wget
if [ "${{ matrix.name }}" != "rocky-8" ]; then dnf -y install c-ares-devel; fi
wget -O /tmp/pandoc.tar.gz https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-linux-amd64.tar.gz