Bug 1223775 - installation-images wrongly uses gettext-runtime-mini
Summary: installation-images wrongly uses gettext-runtime-mini
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Steffen Winterfeldt
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 16:04 UTC by Dominique Leuenberger
Modified: 2024-05-02 18:53 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Disk Usage of gettext-runtime (209.99 KB, image/png)
2024-05-02 17:13 UTC, Stefan Hundhammer
Details

Note You need to log in before you can comment on or make changes to this bug.
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