Re: [docs] [yocto-docs PATCH 5/5] poky.yaml.in: add missing locales dependency

Quentin Schulz
2024-11-25T18:12:45Z

Hi Antonin,

On 11/20/24 4:10 PM, Antonin Godard via lists.yoctoproject.org wrote:
> This is a requirement for building the documentation, otherwise we get
> (on Ubuntu 24.04):
>
> File "/usr/lib/python3.12/locale.py", line 615, in setlocale
> return _setlocale(category, locale)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> locale.Error: unsupported locale setting
>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> documentation/poky.yaml.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in
> index d95b73c74ad7979609c6e7f4e1be5343968da743..0158203da7d4db9eadf21943d10256c6bc49a290 100644
> --- a/documentation/poky.yaml.in
> +++ b/documentation/poky.yaml.in
> @@ -63,6 +63,7 @@ UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL: >-
> UBUNTU_DEBIAN_HOST_PACKAGES_DOC: >-
> git
> librsvg2-bin
> + locales
> make
> python3-saneyaml
> python3-sphinx-rtd-theme
> @@ -135,6 +136,7 @@ FEDORA_HOST_PACKAGES_DOC: >-
> python3-saneyaml
> python3-sphinx-rtd-theme
> git
> + glibc-locale-source
> make
> python3-pip
> which
> @@ -203,6 +205,7 @@ OPENSUSE_PIP3_HOST_PACKAGES_ESSENTIAL: GitPython
>
> OPENSUSE_HOST_PACKAGES_DOC: >-
> git
> + glibc-i18ndata
> rsvg-convert
> make
> python3-pip
> @@ -286,6 +289,7 @@ ALMALINUX_HOST_PACKAGES_ESSENTIAL_CMDS: |-
>
> ALMALINUX_HOST_PACKAGES_DOC: >-
> git
> + olibc-locale-source

I believe this is a typo here and should read glibc-locale-source?

Cheers,
Quentin