Bug 26004

Summary: Localised aspell-* did not get installed
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: REOPENED --- QA Contact:
Severity: enhancement    
Priority: Normal CC: mageia, marja11, thierry.vignaud
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: aspell-0.60.8-1.mga7.src.rpm meta-task CVE:
Status comment:
Attachments: ddebug.log, xz compressed, for comment 3

Description Morgan Leijström 2020-01-01 23:41:04 CET
Description of problem:
Upon fresh install using Mageia 7.1 classic + online update medias, selecting swedish, plasma, all default:
 aspell got installed but only language is aspell-en. 
- It shopuld have chosen aspell-sv (too)

Related, i guess: Bug 19974 - Use rich weak dependencies for langpack / locale packages
Comment 1 Lewis Smith 2020-01-02 21:51:41 CET
This is iffy. All the aspell languages are seperate packages, to be specifically installed.
What Morgan says makes sense in a perfect world: if your installed locale is non-English language, the installer would *ideally* install additionally the appropriate aspell language pkg - if available. Easier said than done. But it would have to contain them all.
This is very refined. It is clearly no problem for the user to add the required aspell language pkg.

This is an installation policy matter, so assigning to the ISO group for comment if nothing else.

Source RPM: aspell => aspell-0.60.8-1.mga7.src.rpm
Severity: normal => enhancement
Assignee: bugsquad => isobuild

Comment 2 Morgan Leijström 2020-01-02 22:03:20 CET
While rather easy to install afterwards, programs needing dictionaries have more or less elegant ways telling one is missing, and for what checker (aspell, autocorr, jortho...)


A lot of other localised -sv got selected and installed automatically - like autocorr-sv, hyphen-sv and correct languages and help in thunderbird, firefox, gimp...

So i was thinking why not also autocorr got -sv too?
Comment 3 Martin Whitaker 2020-01-05 01:45:03 CET
I tried to reproduce this, but aspell was not installed. Please can you attach the /root/drakx/ddebug.log from your installed system.

CC: (none) => mageia

Comment 4 Morgan Leijström 2020-01-05 02:00:42 CET
Created attachment 11441 [details]
ddebug.log, xz compressed, for comment 3
Comment 5 Martin Whitaker 2020-01-05 11:08:14 CET
From the installer log, the aspell package wasn't installed. The lib64aspell15 package was installed (required by the sonnet package), but lib64aspell15 neither requires nor recommends aspell-dictionary, which is why none of the aspell language packages were installed.

Compare with hunspell. Both the hunspell and lib64hunspell1.7_0 packages recommend hunspell-dictionary, which pulls in the appropriate language package.

So this is a packaging issue. Whether accidental or deliberate, I don't know.

Assigning to the registered maintainer for aspell.

Assignee: isobuild => shlomif

Comment 6 Thierry Vignaud 2020-01-05 17:36:35 CET
As far as classic installer is concerned, t's just there's no matching lines in meta-task's rpmsrate.
Nor is aspell (which is thus pulled as a dep of another package)
But I'm not sure we want to alter rpmsrate 

eg, we can change:
CAT_SPELLCHECK
  5 hunspell-bg hunspell-ca

into:
CAT_SPELLCHECK
  5 hunspell-bg hunspell-ca
  5 aspell-en aspell-fr 


Which is enough to got the relevant aspell dictionnaries to be installed depending on the selected locales

CC: (none) => thierry.vignaud

Thierry Vignaud 2020-01-05 17:36:41 CET

Source RPM: aspell-0.60.8-1.mga7.src.rpm => aspell-0.60.8-1.mga7.src.rpm meta-task

Comment 7 Aurelien Oudelet 2021-07-06 13:17:52 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 8 Marja Van Waes 2021-09-07 14:10:02 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 9 Morgan Leijström 2021-09-07 16:56:03 CEST
From comment 5:
> Compare with hunspell. Both the hunspell and lib64hunspell1.7_0 packages
> recommend hunspell-dictionary, which pulls in the appropriate language package.

Also see comment 6

Is shlomi still around?

Version: 7 => 8
Status: RESOLVED => REOPENED
Resolution: OLD => (none)

Comment 10 Marja Van Waes 2021-09-07 20:22:12 CEST
(In reply to Morgan Leijström from comment #9)
> From comment 5:
> > Compare with hunspell. Both the hunspell and lib64hunspell1.7_0 packages
> > recommend hunspell-dictionary, which pulls in the appropriate language package.
> 
> Also see comment 6
> 
> Is shlomi still around?

Unfortunately not, I miss him.

Reassigning

Assignee: shlomif => pkg-bugs
CC: (none) => marja11