kde-apps/kmail has an optional runtime dep for kde-apps/akonadi-import-wizard but no useflag to express it. Reproducible: Always Steps to Reproduce: emerge kmail run automatic import wizard fails to run Expected Results: either for kmail to have a mandatory Rdepend on kde-apps/akonadi-import-wizard or a useflag for import-wizard
Portage has no support for proper optional RDEPENDs and RDEPEND-only IUSE are banned. *** This bug has been marked as a duplicate of bug 710284 ***
Does not really fit the other bug after all. What we can do is add the dependency to the optfeature list displayed at the end of emerge in pkg_postinst.
This is fine for my usecase, it was just a blindside complicated by KDE's nesting structure for the PIM/Kontact stack. I could understand it being a duplicate if Kontact was the KDE expected way to use kmail. But, seeing as Kontact is really a wrapper and kmail can be used completely independant of kontact it makes for a wierd situation on gentoo platforms. Thank you for looking into it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=937c78f47be49a169ac85d7c747936dd6e574363 commit 937c78f47be49a169ac85d7c747936dd6e574363 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-03-03 11:07:42 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-03-03 11:07:42 +0000 kde-apps/kmail: Add kde-apps/akonadi-import-wizard optfeature Closes: https://bugs.gentoo.org/831945 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/kmail/kmail-21.12.3.ebuild | 1 + kde-apps/kmail/kmail-21.12.49.9999.ebuild | 1 + kde-apps/kmail/kmail-9999.ebuild | 1 + 3 files changed, 3 insertions(+)