
Hi Dirk,
-----Original Message----- From: Dirk Müller <dirk@dmllr.de> Sent: 28 January 2022 15:43 To: factory@lists.opensuse.org Subject: RFC: changing default build environment to use only glibc-locale-base
Hi all,
Some time ago I noticed that Fedora is building all their packages with very minimal locales installed quite successfully. In fedora, if there is the occasional packaging testsuite that requires a specific locale being installed, Fedora just uses "BuildRequires: glibc-langpack-$lang".
openSUSE currently doesn't have this granularity. we have glibc-locale-base, which covers C and en_US locale and we have glibc-locale which covers everything else.
The vast majority of packages are building and testing fine in the default C.utf8/en_US.utf8 call. By switching to glibc-locale-base, we're saving about 227 MB of data to pull and install on every build. That's like 2TB of data less written for a full distro build. if you're behind crappy internet like a german citizen would be, then you love the speedup.
Any comments, concerns? Yes I'm aware a few packages will fail to build. I've done a full rebuild of :Ring:0-Bootstrap/1-Minimalx and had about 10 build failures, and submitted already fixes for all of them.
I submitted this to rpm maintainer for review, and he's fine if the opensuse tumbleweed distro team accepts the challenge. I'm happy to help with the fallout, the simplest fix is an additional "Buildrequires: glibc-locale". In some other cases it just requires to change the locale that is exported to a locale that is provided by glibc-locale-base
https://build.opensuse.org/request/show/949701
Comments, feedback, objections?
That sounds good! It will likely help to speed-up builds. Thanks, Guillaume
Thanks, Dirk