[Bug 293399] security/courier-authlib: pkg(8) won't install dependence ports of mail/courier-imap -> databases/courier-authlib-mysql

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Feb 2026 06:23:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293399

            Bug ID: 293399
           Summary: security/courier-authlib: pkg(8) won't install
                    dependence ports of mail/courier-imap ->
                    databases/courier-authlib-mysql
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: epopen@gmail.com
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)
          Assignee: madpilot@FreeBSD.org

Hi Ports maintainer

Original thread:
https://forums.freebsd.org/threads/pkg-8-wont-install-dependence-ports-of-mail-courier-imap-databases-courier-authlib-mysql.101752/

I'm running IMAP server mail/courier-imap with MySQL authentication in jail.
Options of mail/courier-imap as follows.
   # This file is auto-generated by 'make config'.
   # Options for courier-imap-5.3.2_1,2
   _OPTIONS_READ=courier-imap-5.3.2_1,2
   _FILE_COMPLETE_OPTIONS_LIST=AUTH_LDAP AUTH_MYSQL AUTH_PGSQL AUTH_SQLITE
AUTH_USERDB AUTH_VCHKPW DOCS GDBM GNUTLS INOTIFY IPV6 TRASHQUOTA
   OPTIONS_FILE_UNSET+=AUTH_LDAP
   OPTIONS_FILE_SET+=AUTH_MYSQL
   OPTIONS_FILE_UNSET+=AUTH_PGSQL
   OPTIONS_FILE_UNSET+=AUTH_SQLITE
   OPTIONS_FILE_UNSET+=AUTH_USERDB
   OPTIONS_FILE_UNSET+=AUTH_VCHKPW
   OPTIONS_FILE_UNSET+=DOCS
   OPTIONS_FILE_SET+=GDBM
   OPTIONS_FILE_UNSET+=GNUTLS
   OPTIONS_FILE_SET+=INOTIFY
   OPTIONS_FILE_SET+=IPV6
   OPTIONS_FILE_SET+=TRASHQUOTA

In previous ports-mgmt/portmaster & ports-mgmt/pkg method, could be build and
install mail/courier-imap, security/courier-authlib-base and
databases/courier-authlib-mysql

Now migrate to ports-mgmt/poudriere, full bulk build ports list as follows.
   mail/courier-imap
   mail/opendkim
   mail/opendmarc
   mail/postfix
   mail/postfix-postfwd
   mail/sqlgrey
   security/openssh-portable

It could be build depenence databases/courier-authlib-mysql and successful as
follows (Other dependencies ports was built)
   [00:03:54] [01] [00:00:00] Building databases/courier-authlib-mysql |
courier-authlib-mysql-0.72.7
   [00:05:24] [01] [00:01:30] Finished databases/courier-authlib-mysql |
courier-authlib-mysql-0.72.7: Success
   [00:05:25] [01] [00:00:00] Building mail/courier-imap |
courier-imap-5.3.2_1,2
   [00:08:27] [01] [00:03:02] Finished mail/courier-imap |
courier-imap-5.3.2_1,2: Success

And ports-mgmt/pkg install command into jail directory [MAIL_JAIL] as follows
   # pkg --rootdir [MAIL_JAIL] install -y mail/courier-imap mail/opendkim
mail/opendmarc mail/postfix mail/postfix-postfwd mail/sqlgrey
security/openssh-portable


Generated install package lists as follows.
    New packages to be INSTALLED:
    ....
    coreutils: 9.9
    courier-authlib-base: 0.72.7
    courier-imap: 5.3.2_1,2
    courier-unicode: 2.5.0
    curl: 8.17.0
    ....

But databases/courier-authlib-mysql not existence and install.

I'm checked dpendence chain in ports-mgmt/poudriere looking good as follows.
    [00:03:17] [Dry Run] mail/courier-imap depends on
databases/courier-authlib-mysql
    [00:03:17] [Dry Run] mail/courier-imap depends on
security/courier-authlib-base
    ...
    [00:03:17] [Dry Run] databases/courier-authlib-mysql depends on
databases/mysql80-client
    [00:03:17] [Dry Run] databases/courier-authlib-mysql depends on
devel/courier-unicode
    ...
    [00:03:17] [Dry Run] databases/courier-authlib-mysql depends on
security/courier-authlib-base

Checking dependence of mail/courier-imap by pkg(8) result as follows.
    # pkg info -d courier-imap
    courier-imap-5.3.2_1,2:
            sysconftool-0.22
            perl5-5.42.0_1
            pcre2-10.47_1
            openssl35-3.5.5
            libinotify-20240724_3
            libidn2-2.3.8
            courier-unicode-2.5.0
            courier-authlib-base-0.72.7
            courier-unicode-2.5.0 (libcourier-unicode.so.11)
            courier-authlib-base-0.72.7 (libcourierauth.so.0)
            courier-authlib-base-0.72.7 (libcourierauthsasl.so.0)
            openssl35-3.5.5 (libcrypto.so.17)
            gdbm-1.26 (libgdbm.so.6)
            libidn2-2.3.8 (libidn2.so.0)
            libinotify-20240724_3 (libinotify.so.0)
            pcre2-10.47_1 (libpcre2-8.so.0)
            openssl35-3.5.5 (libssl.so.17)

Checking dependence of security/courier-authlib-base by pkg(8) result as
follows.
    # pkg info -d courier-authlib-base
    courier-authlib-base-0.72.7:
            sysconftool-0.22
            perl5-5.42.0_1
            libltdl-2.5.4
            libidn2-2.3.8
            courier-unicode-2.5.0
            libltdl-2.5.4 (libltdl.so.7)
Both no dependency on databases/courier-authlib-mysql!


Checking information of mail/courier-imap by pkg(8) result as follows.
    courier-imap-5.3.2_1,2
    Name           : courier-imap
    Version        : 5.3.2_1,2
    Installed on   : Fri Feb 20 02:29:13 2026 CST
    Origin         : mail/courier-imap
    Architecture   : FreeBSD:15:amd64
    Prefix         : /usr/local
    Categories     : mail
    Licenses       : GPLv3
    Maintainer     : madpilot@FreeBSD.org
    WWW            : https://www.courier-mta.org/imap/
    Comment        : IMAP (and POP3) server that provides access to Maildir
mailboxes
    Options        :
            AUTH_LDAP      : off
            AUTH_MYSQL     : on
            AUTH_PGSQL     : off
            AUTH_SQLITE    : off
            AUTH_USERDB    : off
            AUTH_VCHKPW    : off
            DOCS           : off
            GDBM           : on
            GNUTLS         : off
            INOTIFY        : on
            IPV6           : on
            TRASHQUOTA     : on
    Shared Libs required:
            libc++.so.1
            libc.so.7
            libcourier-unicode.so.11
            libcourierauth.so.0
            libcourierauthsasl.so.0
            libcrypto.so.17
            libcxxrt.so.1
            libgcc_s.so.1
            libgdbm.so.6
            libidn2.so.0
            libinotify.so.0
            libm.so.5
            libpcre2-8.so.0
            libssl.so.17
            libthr.so.3
    Annotations    :
            FreeBSD_version: 1500068
            build_timestamp: 2026-02-19T17:44:06+0000
            built_by       : poudriere-git-3.4.5
            port_checkout_unclean: no
            port_git_hash  : c6a80d646d95392f13da873351a68c79d1c2efec
            ports_top_checkout_unclean: yes
            ports_top_git_hash: a77e4647912b0d3c63957f3ff85ce1428ee7f4fa
            repo_type      : binary
    Flat size      : 882KiB
    Description    : Courier-IMAP is a server that provides IMAP access to
Maildir mailboxes.
    ...
    purpose of providing IMAP access to Maildirs.

    Courier-IMAP implements some extensions to the basic Maildir mail
    ...
    and uses the same Maildir extensions is SqWebMail, and maildrop.

    Features:
         * Extremely small footprint.
         * Abstract authentication modules.
         * Virtual mailbox support.
         * Pop3 daemon.


May I misconfiguration or other, but no idea right now.
Can help I debug?

Thanks a lot.

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