Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1 2/3] package/postgresql: needs locale command
Date: Mon, 21 Sep 2020 10:20:13 +0200	[thread overview]
Message-ID: <20200921102013.622616ed@windsurf> (raw)
In-Reply-To: <20200920150659.7562-2-ps.report@gmx.net>

Hello,

On Sun, 20 Sep 2020 17:06:58 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> Running (as e.g. /etc/init.d/S50postgresql does):
> 
>   su - postgres -c '/usr/bin/pg_ctl initdb -D /var/lib/pgsql'
> 
> gives the following warning:
> 
>   performing post-bootstrap initialization ... sh: locale: not found
>   1970-01-01 01:13:43.498 UTC [246] WARNING:  no usable system locales were found
>   ok

What is the situation with uClibc and musl toolchains ? Do they provide
the "locale" command as well ?

What about external glibc toolchains ? Do we install/copy the locale
tool to the target ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-09-21  8:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 15:06 [Buildroot] [PATCH v1 1/3] package/glibc: install locale cmd independent of NLS Peter Seiderer
2020-09-20 15:06 ` [Buildroot] [PATCH v1 2/3] package/postgresql: needs locale command Peter Seiderer
2020-09-21  8:20   ` Thomas Petazzoni [this message]
2020-09-21 20:04     ` Peter Seiderer
2020-09-21 21:22       ` Arnout Vandecappelle
2020-09-22 21:20         ` Peter Seiderer
2020-09-20 15:06 ` [Buildroot] [PATCH v1 3/3] package/postgresql: set locale for initdb to C Peter Seiderer
2020-09-21 21:25   ` Arnout Vandecappelle
2020-09-22 21:25     ` Peter Seiderer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200921102013.622616ed@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox