From: Eli Schwartz <eschwartz@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] librsvg fails to install
Date: Sun, 17 Nov 2024 02:47:34 -0500 [thread overview]
Message-ID: <3c82dc63-0a5c-4914-8f11-af0197a12331@gentoo.org> (raw)
In-Reply-To: <ZzmaJApVD6bp-169@ca.inter.net>
[-- Attachment #1.1: Type: text/plain, Size: 2486 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
prev parent reply other threads:[~2024-11-17 7:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 6:43 [gentoo-user] librsvg fails to install Philip Webb
2024-11-17 7:01 ` Eli Schwartz
2024-11-17 7:24 ` Philip Webb
2024-11-17 7:47 ` Eli Schwartz [this message]
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=3c82dc63-0a5c-4914-8f11-af0197a12331@gentoo.org \
--to=eschwartz@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/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