locale -a missing on Alpine Linux? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject locale -a missing on Alpine Linux?
Date
Msg-id b2b491d1-3b36-15b9-6910-5b5540b27f5c@enterprisedb.com
Whole thread Raw
Responses Re: locale -a missing on Alpine Linux?
List pgsql-hackers
Since 2fe3bdbd691a, initdb has been failing on malleefowl:

performing post-bootstrap initialization ... sh: locale: not found
2022-11-15 23:48:44.288 EST [10436] FATAL:  could not execute command 
"locale -a": command not found
2022-11-15 23:48:44.288 EST [10436] STATEMENT:  SELECT 
pg_import_system_collations('pg_catalog');

That's precisely the kind of thing this patch was supposed to catch, but 
obviously it's not good that initdb is now failing.

First of all, is this a standard installation of this OS, or is perhaps 
something incomplete, broken, or unusual about the current OS installation?



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: when the startup process doesn't (logging startup delays)
Next
From: Andres Freund
Date:
Subject: Re: Meson add host_system to PG_VERSION_STR