[PATCH 1/2] localedata: allow reproducible & parallel install of locale-archive
Maximilian Bosch
maximilian@mbosch.me
Sat Nov 22 23:08:54 GMT 2025
On Sat Oct 11, 2025 at 7:19 PM CEST, Maximilian Bosch wrote:
> On Fri Oct 10, 2025 at 7:29 PM CEST, DJ Delorie wrote:
>> "Maximilian Bosch" <maximilian@mbosch.me> writes:
>>> In the end I figured that it's way simpler to use `find` here rather
>>> than trying to split parts of `build-one-locale` out. Especially since
>>
>> My concern here is that using "find" makes the build non-deterministic,
>> since it now relies on whatever files happen to be in the build tree,
>> regardless of where they came from. Using the internal variables
>> ensures that the list of locales is exactly the list we specified.
>>
>> What if we remove an entry from that list? An incremental build will
>> still pick up the old files.
>>
>> What if a locale silently doesn't build? We'd omit it without warning.
>
> Agreed.
>
> Can you give me a pointer to what the format in SUPPORTED actually is?
> As I said, this doesn't look equivalent to the format for `setlocale(3)`
> and I didn't find any references on what this is.
@DJ I'm still interested in landing this patch, but I could use some
input on what the format in localedata/SUPPORTED actually is compared to
the format used in the locale archives.
More information about the Libc-alpha
mailing list