Scenario: - security/libsodium installed - mail/dovecot being rebuilt Result: - dovecot includes a dependency on libsodium, but this is not recorded in the package dependencies Expected result: - dependencies recorded in the package should match reality Fix: - include "--without-sodium" in CONFIGURE_ARGS
Cannot reproduce the error. Maybe, it is a portmaster error. Portmaster was updated yesterday, did you have the recent version? - 3.19.16. Add maintainer of portmaster to CC-List.
How to reproduce: - Install libsodium - Build dovecot using portmaster - Observe that dovecot's dependency list ('pkg query %dn-%dv') does not include libsodium - Uninstall libsodium (does not require uninstallation of dovecot because of missing recording of dependency) - Observe that dovecot's library dependencies are not satisfied ('pkg check -da')
Also, during the configure stage of the build one can see that a dependency on libsodium is picked up.
Sorry, pkg check -da shows nothing.
sorry, forgot to deinstall libsodium. pkg info dovecot Shared Libs required: libbz2.so.1 libcrypto.so.43 libmysqlclient.so.18 libssl.so.45 => libsodium.so.23
and readelf -d /usr/local/libexec/dovecot/auth|grep NEED 0x0000000000000001 (NEEDED) Shared library: [libstats_auth.so] 0x0000000000000001 (NEEDED) Shared library: [libdovecot.so.0] 0x0000000000000001 (NEEDED) Shared library: [libcrypt.so.5] 0x0000000000000001 (NEEDED) Shared library: [libpam.so.5] => 0x0000000000000001 (NEEDED) Shared library: [libsodium.so.23] 0x0000000000000001 (NEEDED) Shared library: [libmysqlclient.so.18] 0x0000000000000001 (NEEDED) Shared library: [libz.so.6] 0x0000000000000001 (NEEDED) Shared library: [libm.so.5] 0x0000000000000001 (NEEDED) Shared library: [libexecinfo.so.1] 0x0000000000000001 (NEEDED) Shared library: [libssl.so.45] 0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.43] 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] 0x000000006ffffffe (VERNEED) 0xb050 0x000000006fffffff (VERNEEDNUM) 1
A commit references this bug: Author: ler Date: Sun Oct 14 13:30:40 UTC 2018 New revision: 482041 URL: https://svnweb.freebsd.org/changeset/ports/482041 Log: mail/dovecot: don't pick up libsodium if installed. PR: 232236 Submitted by: d8zNeCFG@aon.at Changes: head/mail/dovecot/Makefile
Committed, Thanks.