``` # emerge mail-filter/maildrop These are the packages that would be merged, in reverse order: Calculating dependencies * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. * waiting for lock on /var/db/.pkg.portage_lockfile ... [ ok ] ... done! Dependency resolution took 22.93 s (backtrack: 0/20). [ebuild N ] mail-filter/maildrop-3.1.6 USE="gdbm tools -authlib -berkdb -debug -dovecot -ldap -mysql -postgres -static-libs -trashquota" [ebuild N ] net-mail/courier-imap-5.2.6 USE="gdbm -berkdb -debug -gnutls -ipv6 (-selinux) -trashquota" [blocks B ] net-mail/courier-imap ("net-mail/courier-imap" is soft blocking mail-filter/maildrop-3.1.6) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (mail-filter/maildrop-3.1.6:0/0::gentoo, ebuild scheduled for merge) pulled in by mail-filter/maildrop ``` From: https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-filter/maildrop/maildrop-3.1.6.ebuild ``` CDEPEND= <snip> gdbm? ( net-mail/courier-imap[gdbm?,berkdb?] ) ``` I'm not sure what the exact dependency requires.
Its coming from tools. So if USE="tools" you cannot install courier-imap alongside maildrop, REQUIRED_USE could be used here to make this trade-off clearer. https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-filter/maildrop/maildrop-3.1.6.ebuild#n35
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ff74f4f8124849b42823818300603f7bdf6aeb commit f6ff74f4f8124849b42823818300603f7bdf6aeb Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-01-13 19:23:00 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-01-13 19:24:43 +0000 mail-filter/maildrop: fix conflict with courier-imap Closes: https://bugs.gentoo.org/921401 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> ...ldrop-3.1.6.ebuild => maildrop-3.1.6-r1.ebuild} | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6904cc0dea2b31d89401d5be7913e832571f30c9 commit 6904cc0dea2b31d89401d5be7913e832571f30c9 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-01-13 19:24:15 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-01-13 19:24:46 +0000 net-mail/courier-imap: fix conflict with maildrop Bug: https://bugs.gentoo.org/921401 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> .../{courier-imap-5.2.6.ebuild => courier-imap-5.2.6-r1.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
there is a bug in your commit, when i compile maildrop with [ebuild U ~] mail-filter/maildrop-3.1.6-r1::gentoo [3.1.6::local] USE="tools -authlib -berkdb -debug -dovecot -gdbm -ldap -mysql -postgres -static-libs -trashquota" 0 KiB it breaks with: rm: cannot remove '/tmp/emerge/portage/mail-filter/maildrop-3.1.6-r1/image/usr/bin/makedat': No such file or directory * ERROR: mail-filter/maildrop-3.1.6-r1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 2219: Called die * The specific snippet of code: * rm "${D}"/usr/bin/makedat || die; seems "tools" use-flag alone doesn't compile "makedat"
Created attachment 882278 [details, diff] this patch fixes the compile error when only the "tools" use-flag is enabled
Following commit was cross referenced to a different bug. Let's reference it here for completeness: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf561aa184ad1ba8d8a13b07f6a1cc0295294ee8 commit cf561aa184ad1ba8d8a13b07f6a1cc0295294ee8 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: Sun Jan 14 21:17:31 2024 +0100 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: Sun Jan 14 21:18:36 2024 +0100 mail-filter/maildrop: fix again Bug: https://bugs.gentoo.org/922401 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> mail-filter/maildrop/maildrop-3.1.6-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)