pkg(8) won't install dependence ports of mail/courier-imap -> databases/courier-authlib-mysql

Hi All.

I'm running IMAP server mail/courier-imap with MySQL authentication in jail.
Options of mail/courier-imap as follows.
Code:
# 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 method, could be build and install mail/courier-imap, security/courier-authlib-base and databases/courier-authlib-mysql

Now migrate to ports-mgmt/poudriere, bulk build ports list as follows.
Code:
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)
Code:
[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.
Code:
New packages to be INSTALLED:
        bash: 5.3.9
        brotli: 1.2.0,1
        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
        cyrus-sasl: 2.1.28_5
        expat: 2.7.4
        gdbm: 1.26
        gettext-runtime: 0.26
        gmp: 6.3.0
        groff: 1.23.0_5
        hidapi: 0.15.0
        icu: 76.1,1
        indexinfo: 0.3.1_1
        krb5: 1.22.1
        ldns: 1.9.0
        libcbor: 0.13.0
        libedit: 3.1.20251016_1,1
        libevent: 2.1.12
        libfido2: 1.16.0
        libiconv: 1.18_1
        libidn: 1.43
        libidn2: 2.3.8
        libinotify: 20240724_3
        libltdl: 2.5.4
        liblz4: 1.10.0_2,1
        libmemcached: 1.1.4_1
        libnghttp2: 1.68.0
        libpaper: 1.1.28_1
        libpsl: 0.21.5_2
        libspf2: 1.2.11_2
        libtlsrpt: 0.5.0_1
        libunistring: 1.4.1
        libunwind: 20250904
        lua54: 5.4.8
        mysql80-client: 8.0.45
        opendkim: 2.10.3_21
        opendmarc: 1.4.2_4
        openssh-portable: 10.2.p1_1,1
        openssl35: 3.5.5
        p5-Clone: 0.47
        p5-DBD-mysql: 5.008
        p5-DBI: 1.647_1
        p5-Digest-HMAC: 1.05
        p5-Encode-Locale: 1.05
        p5-Filter: 1.65
        p5-HTTP-Date: 6.06
        p5-HTTP-Message: 7.01
        p5-IO-HTML: 1.004
        p5-IO-Multiplex: 1.16
        p5-IO-Socket-INET6: 2.73
        p5-LWP-MediaTypes: 6.04
        p5-MIME-Base32: 1.303
        p5-MIME-Base64: 3.16
        p5-Net-DNS: 1.53,1
        p5-Net-LibIDN: 0.12_6
        p5-Net-Server: 2.014
        p5-Pod-Parser: 1.67
        p5-Socket6: 0.29
        p5-Switch: 2.17_1
        p5-TimeDate: 2.33,1
        p5-URI: 5.34
        pcre2: 10.47_1
        perl5: 5.42.0_1
        postfix: 3.10.6,1
        postfix-postfwd: 2.03_2
        psutils: 1.17_6
        public_suffix_list: 20260129
        readline: 8.3.3
        sqlgrey: 1.8.0_6
        sysconftool: 0.22
        uchardet: 0.0.8_1
        unbound: 1.24.2_1
        zstd: 1.5.7_1

Number of packages to be installed: 76

But databases/courier-authlib-mysql not existence!
I assume dpendence chain failed in ports-mgmt/pkg:-/

I'm checked dpendence chain in ports-mgmt/poudriere looking good as follows.
Code:
[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

Could all help me debug?
Thanks all.😸
 
What does pkg info -d courier-imap show?

Code:
     -d, --dependencies
             Display the list of packages on which pkg-name depends.
pkg-info(8)
Hi SirDice

Result is

Code:
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)

Thanks you.
 
Doesn't appear to be registered as a dependency. Odd, but it can sometimes happen if the port has a bug. Check a few other things, pkg info courier-imap should show the options the package was built with.
 
Back
Top