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

Antonin Godard
2024-11-29T14:06:34Z

Hi Quentin,

On Mon Nov 25, 2024 at 7:12 PM CET, Quentin Schulz wrote:
> 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?

Totally, thank you for noticing this.

Antonin

--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering