Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831945 - kde-apps/kmail: RDEPEND on kde-apps/akonadi-import-wizard
Summary: kde-apps/kmail: RDEPEND on kde-apps/akonadi-import-wizard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 01:30 UTC by atosser
Modified: 2022-03-03 11:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description atosser 2022-01-24 01:30:26 UTC
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
Comment 1 Andreas Sturmlechner gentoo-dev 2022-01-24 09:24:34 UTC
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 ***
Comment 2 Andreas Sturmlechner gentoo-dev 2022-01-24 09:29:01 UTC
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.
Comment 3 atosser 2022-01-24 17:05:45 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2022-03-03 11:07:53 UTC
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(+)