Opendkim RPM dependencies for EL10 EPEL

@jonathan I believe your name is on the maintainer for OpenDKIM EPEL ? :slight_smile:

For my LEMP stack, I use OpenDKIM, which was previously available in EPEL 7/8/9 repos. I guess EPEL 10 hasn’t got around to building opendkim for EL10 and probably because it’s waiting on a lot of dependencies to be built for EL10 that are not available yet?

I tried building OpenDKIM RPM for EL10 and going down an ever-increasing rabbit hole of dependencies that need to be built for EL10 that are not yet available in AlmaLinux 10 Kitten OS, at least. AlmaLinux 10 Kitten repos do not yet ship many of the BuildRequires that upstream OpenDKIM and its dependencies expect.

Would help if AlmaLinux 10/10 Kitten have the dependencies out of the box to make OpenDKIM RPM builds easier for folks - I’d imagine it would help EPEL 10 folks too :slight_smile:

Below is a summary of what I had to pull from older or alternative SRPM sources and build myself to satisfy every BuildRequires in the OpenDKIM chain and still haven’t be able to build OpenDKIM RPMs yet as I am sure there are more dependencies needed.


1. Core OpenDKIM BuildRequires

  • opendkim.spec (EPEL 9) needs:
    • openssl-devel
    • openldap-devel
    • sendmail-milter-devel
    • libbsd-devel
    • opendbx-devel (missing in EL10 → pulled from EPEL 9)
    • systemd
    • which
    • curl

2. OpenDBX → Firebird → libtomcrypt

  • opendbx.spec depends on:
    • mariadb-connector-c-devel
    • libpq-devel
    • sqlite-devel
    • firebird-devel (missing → pulled from EPEL 9)
    • readline-devel
    • freetds-devel
    • ncurses-devel
  • firebird.spec in turn requires:
    • libtomcrypt-devel (missing → pulled from EPEL 9)
    • libstdc++-static
    • chrpath
    • procmail
    • plus the usual Autotools / ICU / systemd units etc.

3. Lua & Perl Testing Modules

  • OpenDKIM’s Doctools and tests also expect Lua
    • lua-devel (pulled from AL10-vault)
  • We needed Perl testing harnesses for the memcached chain:
    • perl-Test-Simple
    • perl-Test-Harness
    • Also their deps: perl, perl(ExtUtils::MakeMaker), perl(Time::HiRes), Benchmark

4. memcached → libmemcached → Sphinx → SystemTap

  • memcached.spec (EL10 SRPM) needs:
    • perl(Test::Harness|More|Time::HiRes)
    • selinux-policy
  • python-sphinx.spec (EL10 SRPM) needed to generate docs
  • systemtap.spec provided systemtap-sdt-devel for DTrace-enabled builds
  • libmemcached.spec (EL 8 SRPM → built on EL10) needs at build time:
    • memcached (server)
    • python3-sphinx
    • systemtap-sdt-devel
    • libevent-devel

5. selinux-policy Chain

  • selinux-policy.spec (EL10 SRPM) itself requires at build time:
    • checkpolicy ≥ 3.8
    • groff
    • policycoreutils-devel ≥ 3.8

p.s. similarly EPEL 10 seems to be missing pure-ftpd RPMs though they were easier to rebuild for EL10 :slight_smile:

edit: ah some packages existed when I spun up a local test AlmaLinux 10 Kitten instance - previously was searching https://pkgs.org/ to confirm if a package existed but seems not all EL10 packages that exist are reported at https://pkgs.org/.

This dependency tree doesn’t look too bad to tackle, I’ve done worse :slight_smile: Let me see what I can come up with!

Also, can’t we just let FTP die already? Heh. I’ll work on that one too.

1 Like

Pure-FTPd coming to an EPEL near you:

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-bc25f43368
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-b736a081f4

1 Like

Hope you had a nice dinner :slight_smile: Yeah if only, still folks rely on FTP :smiley:

Definitely appreciate the help. Seems opendkim is one of those packages that each new RHEL major release takes longer to build - happened with EL9 too - probably due to the amount of dependencies folks are waiting to land in new major RHEL releases :slight_smile:

Sweet :+1:

edit: ah some packages existed when I spun up a local test AlmaLinux 10 Kitten instance - previously was searching https://pkgs.org/ to confirm if a package existed but seems not all EL10 packages that exist are reported at https://pkgs.org/.

FYI, if it helps, last attempt at OpenDKIM EL10 RPM build ended stuck at python-sphinx build stage with

python-sphinx-1:7.2.6-10.el10         ########################################
setting SOURCE_DATE_EPOCH=1730160000
error: Failed build dependencies:
	tex(FreeSerif.otf) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(anyfontsize.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(capt-of.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(cmap.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(ctablestack.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(fncychap.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(framed.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(luatex85.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(needspace.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(parskip.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(polyglossia.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(tabulary.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(titlesec.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(upquote.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(utf8x.def) is needed by python-sphinx-1:7.2.6-10.el10.noarch
	tex(wrapfig.sty) is needed by python-sphinx-1:7.2.6-10.el10.noarch

For opendkim it’s all just EPEL packages as best I can see.

I’ll bypass the sphinx stack in the package for EL10 if that ends up being the only blocker - getting sphinx in new EPEL releases can take ages because of it’s mess of dependencies so I generally just conditionalize them out for the EPEL release until we can get the stack built later on.

First blocker (libtomcrypt) is on its way to EPEL10:
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-104bb45a51
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-87cf647704

1 Like

Sounds like a plan :slight_smile:

Cheers :hugs:

opendkim for EPEL10 (Kitten/Stream): FEDORA-EPEL-2025-0761b5ec6c — unspecified update for opendbx and opendkim — Fedora Updates System

1 Like

and for EPEL10.0: FEDORA-EPEL-2025-34f2639ed2 — unspecified update for opendbx and opendkim — Fedora Updates System

1 Like

Sweet thanks for the update :+1: