Bug 1223775

Summary: installation-images wrongly uses gettext-runtime-mini
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Disk Usage of gettext-runtime

Description Dominique Leuenberger 2024-05-02 16:04:30 UTC
installation-images has been identified to wrongly pull in gettext-runtime-mini.

All -mini flavors are not supposed to leave OBS and be used in anything else bug the build system. Installation-images does not match that description.

A recent change on gettext-runtime (adding the this-is-only-for-build-envs requires) revealed i-i as failing on this.

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:A/installation-images:openSUSE/standard/x86_64

[  136s] resolving package dependencies...
[  136s] : nothing provides this-is-only-for-build-envs needed by gettext-runtime-mini-0.22.5-1.1.x86_64
[  136s]  in data/base/base.file_list line 179.
[  136s] make: *** [Makefile:83: base] Error 25

The correct package to be used would be gettext-runtime
Comment 1 Stefan Hundhammer 2024-05-02 17:13:52 UTC
Created attachment 874630 [details]
Disk Usage of gettext-runtime

gettext-runtime on my Leap 15.5: 2.0 MiB

But most of /usr/share of that package can easily be omitted, and that would be 548 kiB less.

/usr/share/locale is already 352 kiB that nobody needs.
Comment 2 Steffen Winterfeldt 2024-05-02 17:32:25 UTC
# du -s gettext-runtime*
2476	gettext-runtime
3760	gettext-runtime-mini

But what do I know...
Comment 3 Steffen Winterfeldt 2024-05-02 18:00:52 UTC
Fixed:

- https://github.com/openSUSE/installation-images/pull/709
Comment 4 Dominique Leuenberger 2024-05-02 18:53:54 UTC
(In reply to Steffen Winterfeldt from comment #2)
> # du -s gettext-runtime*
> 2476	gettext-runtime
> 3760	gettext-runtime-mini
> 
> But what do I know...

Heh, what a luck 'mini' refers to the build deps and not the size. Still a very interesting effect