Bug 1225982

Summary: mtools: Add missing dependency on glibc-gconv-modules-extra
Product: [openSUSE] openSUSE Tumbleweed Reporter: Daan De Meyer <daan.j.demeyer>
Component: BasesystemAssignee: Petr Gajdos <pgajdos>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: kkaempf, mls
Version: CurrentFlags: kkaempf: needinfo? (mls)
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daan De Meyer 2024-06-05 07:58:56 UTC
From the glibc changelog:

```
2024-05-21 - Andreas Schwab <schwab@suse.de>
- Move essential (Latin-1 and UTF based) gconv modules to main glibc
package, other modules to new package glibc-gconv-modules-extra
```

This causes mcopy to fail with the following if glibc-gconv-modules-extra is not installed:

```
Cannot initialize conversion from codepage 850 to UTF-8: Invalid argument
  Cannot initialize conversion from UTF-8 to codepage 850: Invalid argument
  Using internal CP850 conversion table
  mkfs.fat 4.2 (2021-01-31)
  Error converting to codepage 850 Invalid argument
  Error setting code page
  Cannot initialize '::'
  ::: Invalid argument
```

Please add a dependency on glibc-gconv-modules-extra.
Comment 1 Klaus Kämpf 2024-06-10 16:43:58 UTC
@mls - shouldn't we rather add virtual provides/requires for gconv modules?
(Like "Provides gconv(codepage:850)" or similar)
Comment 2 Daan De Meyer 2024-07-06 18:47:49 UTC
Ping
Comment 3 Petr Gajdos 2024-07-08 07:32:17 UTC
Hello Daan,

(In reply to Klaus Kämpf from comment #1)
> @mls - shouldn't we rather add virtual provides/requires for gconv modules?
> (Like "Provides gconv(codepage:850)" or similar)

will use ordinary Requires in the meantime in case there is no complaint.

Feel free to test:
http://download.opensuse.org/repositories/Base:/System/openSUSE_Tumbleweed/x86_64/
Comment 4 Petr Gajdos 2024-07-09 07:40:19 UTC
Factory submission:
https://build.opensuse.org/request/show/1186319
Comment 5 Petr Gajdos 2024-07-11 07:33:16 UTC
Request was accepted.