On 11/17/24 2:24 AM, Philip Webb wrote:
> 241117 Eli Schwartz wrote:
>> Portage told you which info to post when asking for help.
>> Please include this information
>> and in particular note that it says to post the *complete* log:
>>>  * If you need support, post the output of `emerge --info 
>>> '=gnome-base/librsvg-2.57.3-r2::gentoo'`,
>>>  * the complete build log and the output of `emerge -pqv 
>>> '=gnome-base/librsvg-2.57.3-r2::gentoo'`.
>>>  * The complete build log is located at 
>>> '/var/log/emerge-logs/gnome-base:librsvg-2.57.3-r2:20241117-062927.log'.
>>>  * For convenience, a symlink to the build log is located at 
>>> '/var/tmp/portage/portage/gnome-base/librsvg-2.57.3-r2/temp/build.log'.
> 
> Thanks for your very prompt response.  Here is what seems to be required :


Thanks. I tracked down the key part:


> /var/log/emerge-logs/gnome-base:librsvg-2.57.3-r2:20241117-062927.log :
> 


> rst2man 
> /var/tmp/portage/portage/gnome-base/librsvg-2.57.3-r2/work/librsvg-2.57.3/rsvg-convert.rst
>  rsvg-convert.1
> [...]
> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python3.12/rst2man", line 8, in <module>
>     sys.exit(rst2man())
>              ^^^^^^^^^
>   File "/usr/lib/python3.12/site-packages/docutils/core.py", line 760, in 
> rst2man
>     rst2something('manpage', 'Unix manual (troff)', 'user/manpage.html')
>   File "/usr/lib/python3.12/site-packages/docutils/core.py", line 739, in 
> rst2something
>     locale.setlocale(locale.LC_ALL, '')
>   File "/usr/lib/python3.12/locale.py", line 615, in setlocale
>     return _setlocale(category, locale)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> locale.Error: unsupported locale setting
> [...]
> make[2]: *** [Makefile:1657: rsvg-convert.1] Error 1
> make[2]: *** Waiting for unfinished jobs....



> I believe that's all that Portage asks for : let me know, if not.
> Any suggested solutions are very welcome.

You may also notice that at a couple points the logs mentioned something
interesting:

> warning: setlocale: LC_TIME: cannot change locale (en_SE.UTF-8): No such file 
> or directory


Which implies that somewhere you have set a locale that isn't valid or
functional. You also have LANG="en_US.UTF-8", but at least one locale
override exists somewhere -- maybe in your bashrc or profile.

Having a broken locale can cause programs to randomly fail if they're
unable to handle such failures. That appears to be the case here.


-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to