locale -a missing on Alpine Linux?

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: locale -a missing on Alpine Linux?
Date: 2022-11-16 18:59:09
Message-ID: b2b491d1-3b36-15b9-6910-5b5540b27f5c@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-11-16 19:02:24 Re: Meson add host_system to PG_VERSION_STR
Previous Message Robert Haas 2022-11-16 18:51:06 Re: when the startup process doesn't (logging startup delays)