[Bug 297760] mail/dovecot24 LUA option off broken

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 22 Aug 2026 14:17:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297760

            Bug ID: 297760
           Summary: mail/dovecot24 LUA option off broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: alexander@wittig.name

Thanks for creating this port!
There seems to be a bug when disabling the Lua option: the build goes fine, but
in packaging pkg still tries to find Lua related files. See below for the
errors.

I'm using poudriere on 15/stable.



=======================<phase: package        >============================
===== env: 'PKG_NOTES=ports_top_git_hash ports_top_checkout_unclean
port_checkout_unclean'
'PKG_NOTE_ports_top_git_hash=73f0624419dfe7f1ac3a5b3b69d0df0015a0d7e1'
'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_checkout_unclean=no'
NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Building packages for dovecot24-2.4.4
===>   Building dovecot24-2.4.4
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dict-lua-private.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dict-lua.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dlua-compat.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dlua-script-private.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dlua-script.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dlua-wrapper.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/dns-lua.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/doveadm-client-lua.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/mail-lua-plugin.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/mail-lua-settings.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/mail-storage-lua-private.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/include/dovecot/mail-storage-lua.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/lib01_mail_lua_plugin.a:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/lib01_mail_lua_plugin.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/lib22_push_notification_lua_plugin.a:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/lib22_push_notification_lua_plugin.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-lua.a:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-lua.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-lua.so.0:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-lua.so.0.0.0:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-storage-lua.a:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-storage-lua.so:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-storage-lua.so.0:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/dovecot24/work-default/stage/usr/local/lib/dovecot/libdovecot-storage-lua.so.0.0.0:No
such file or directory
*** Error code 1

Stop.
make: stopped making "package" in /usr/ports/mail/dovecot24

-- 
You are receiving this mail because:
You are the assignee for the bug.