Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743022 - kde-apps/kmail-20.08.1: dependencies are incomplete
Summary: kde-apps/kmail-20.08.1: dependencies are incomplete
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-16 22:24 UTC by David C. Bryant
Modified: 2020-09-17 18:14 UTC (History)
2 users (show)

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


Attachments
Screenshot from Dolphin: excerpted from /var/log/portage/ (myspell.png,13.04 KB, image/png)
2020-09-16 22:24 UTC, David C. Bryant
Details
KMail installation log (kde-apps:kmail-20.04.3:20200815-131530.zip,43.47 KB, application/zip)
2020-09-17 15:43 UTC, David Bryant
Details
Second log file from KMail installation (kde-apps:kmail-20.04.3:20200815-131642.log,182 bytes, text/log)
2020-09-17 16:29 UTC, David Bryant
Details
Portage log from installation of kde-frameworks/sonnet (kde-frameworks:sonnet-5.70.0:20200630-181423.log,140.19 KB, text/log)
2020-09-17 16:30 UTC, David Bryant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David C. Bryant 2020-09-16 22:24:26 UTC
Created attachment 660795 [details]
Screenshot from Dolphin: excerpted from /var/log/portage/

I'm part of the KDE-doc-English team. I'm currently revising the documentation for the kmail2 package, which hasn't been updated in seven years. I'm staging my commits on my Gentoo system.

I noticed that the spellchecking function for kmail2 on my Gentoo system was inoperative. I have multiple versions of Linux installed on my PC, so I booted up openSUSE LEAP. That system has kmail2 5.14.2 installed, very close to Gentoo's current branch (5.14.3). I noticed that openSUSE is using a package called "myspell-en".

I did a --search  with the "emerge" command. Here is some output.

*  app-dicts/aspell-en
      Latest version available: 2018.04.16.0
      Latest version installed: 2018.04.16.0
      Size of files: 181 KiB
      Homepage:      http://aspell.net
      Description:   English (US, British, Canadian) language dictionary for aspell
      License:       myspell-en_CA-KevinAtkinson public-domain Princeton Ispell

[That package, "aspell", was probably installed when I first compiled kmail, although I'm not certain of that ... see attached screenshot.]

*  app-dicts/myspell-en
      Latest version available: 20170101
      Latest version installed: [ Not Installed ]
      Size of files: 5,822 KiB
      Homepage:      https://extensions.libreoffice.org/extensions/english-dictionaries
      Description:   English dictionaries for myspell/hunspell
      License:       GPL-2 LGPL-2.1 Princeton myspell-en_CA-KevinAtkinson

Today I installed the "myspell-en" package, and the spellchecking function started working. I infer that kmail may have once used "aspell", but now it's looking for "myspell". I think that app-dicts/myspell-en ought to be automatically pulled in when kmail is installed, so that the spellchecking function will work as advertised. If y'all don't agree, then the Gentoo package should at least inform the user who emerges the "kde-apps/kmail" package that he must install a dictionary if he wants to use kmail's spellchecking function.

I have been logging all of my "portage" activity. The attached screenshot is from /var/log/portage/. Thanks!
Comment 1 Andreas Sturmlechner gentoo-dev 2020-09-17 07:18:00 UTC
What is this screenshot supposed to tell us? Please always paste your `emerge --info` to bugs.

Now on to your problem:

> $ emerge -qetp kmail
> [ebuild   R   ] kde-apps/kmail-20.08.1
> [...]
> [nomerge      ] kde-frameworks/sonnet-5.74.0 [5.74.0]
> [ebuild   R   ]  app-text/hunspell-1.7.0-r2 
> [ebuild   R   ]   app-dicts/myspell-en-20190101-r1 
> [ebuild   R   ]   app-dicts/myspell-de-2017.01.12

kde-apps/kmail hard-depends on kde-frameworks/sonnet.
IUSE="hunspell" is default enabled in kde-frameworks/sonnet.
app-text/hunspell provides L10N USE_EXPAND variable, this will pull in myspell-* as needed, more on that here:
https://wiki.gentoo.org/wiki/Localization/Guide#L10N
Comment 2 David Bryant 2020-09-17 15:41:22 UTC
Thank you very much. Here are the log files from the last time I installed kmail2 (I have installed it twice) and the initial installation of sonnet (portage did not update this when I re-installed kmail2). I guess I was intimidated by the size of the log file (1.2 MiB). But I see now that gzip squishes it pretty well. (Looks like I'll have to do multiple attachments).
Comment 3 David Bryant 2020-09-17 15:43:00 UTC
Created attachment 661026 [details]
KMail installation log
Comment 4 David Bryant 2020-09-17 16:29:35 UTC
Created attachment 661029 [details]
Second log file from KMail installation

Sorry so slow. Had an "internal serrver error" problem.
Comment 5 David Bryant 2020-09-17 16:30:28 UTC
Created attachment 661032 [details]
Portage log from installation of kde-frameworks/sonnet
Comment 6 Andreas Sturmlechner gentoo-dev 2020-09-17 16:41:02 UTC
The logs are not really relevant. Solution to your problem is in comment #1.
Comment 7 Jonas Stein gentoo-dev 2020-09-17 18:14:12 UTC
please test and report.