Solved Dovecot 2.4.2 on Alma Linux 9 compile failure

HageHosting

Verified User
Joined
Sep 25, 2006
Messages
71
Get the following error when compiling Dovecot
 

Attachments

  • Scherm­afbeelding 2025-11-12 om 15.41.53.png
    Scherm­afbeelding 2025-11-12 om 15.41.53.png
    91.4 KB · Views: 24
@HageHostng, please check if you are using customised dovecot configuration script. Maybe you are enabling extra dovecot features there?

On our test servers the new dovecot builds fine on all supported Linux distributions. If you have no customizations please open a support ticket.
 
OS Version =

NAME="AlmaLinux"
VERSION="9.6 (Sage Margay)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.6"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.6 (Sage Margay)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.6"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.6"
SUPPORT_END=2032-06-01
 
OS Version =

NAME="AlmaLinux"
VERSION="9.6 (Sage Margay)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.6"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.6 (Sage Margay)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.6"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.6"
SUPPORT_END=2032-06-01
Could you check if you have such packages installed on your server ?
Code:
rpm -qa | grep -i compat-lua
 
Please try to remove this package:

compat-lua-devel-5.1.5-20.el9.x86_64

then try to build Dovecot once again.
That did the job thanks:

2025/11/12 16:52:12 info executing task task=action=rewrite&value=mail_sni
2025/11/12 16:52:12 info finished task duration=587.386012ms task=action=rewrite&value=mail_sni
inactive
Enabling dovecot in systemd...
Restarting dovecot.
[root@web01 dovecot]#
 
Back
Top