From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] sys-apps/init-system-helpers fails. Trying to install needrestart.
Date: Sat, 20 Jul 2024 09:14:08 -0500 [thread overview]
Message-ID: <e76c5956-5157-3a5b-d7a7-7bf9070eda96@gmail.com> (raw)
Howdy,
I did my weekly update the other day a little early. Anyway, I need to
install needrestart but a package fails to build that it depends on.
This is the short error message.
root@Gentoo-1 / # cat
/var/log/portage/sys-apps\:init-system-helpers-1.66\:20240720-133504.log
* Package: sys-apps/init-system-helpers-1.66:0
* Repository: gentoo
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking init-system-helpers_1.66.tar.xz to
/var/tmp/portage/sys-apps/init-system-helpers-1.66/work
>>> Source unpacked in
/var/tmp/portage/sys-apps/init-system-helpers-1.66/work
>>> Preparing source in
/var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helpers
...
* Applying revert-openrc-management.patch
...
[ ok ]
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helpers
...
>>> Source configured.
>>> Compiling source in
/var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helpers
...
>>> Source compiled.
>>> Test phase [not enabled]: sys-apps/init-system-helpers-1.66
>>> Install sys-apps/init-system-helpers-1.66 into
/var/tmp/portage/sys-apps/init-system-helpers-1.66/image
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
* ERROR: sys-apps/init-system-helpers-1.66::gentoo failed (install phase):
* Failed to generate man page
*
* Call stack:
* ebuild.sh, line 136: Called src_install
* environment, line 541: Called die
* The specific snippet of code:
* rst2man man8/service.rst > man8/service.8 || die "Failed to
generate man page";
*
* If you need support, post the output of `emerge --info
'=sys-apps/init-system-helpers-1.66::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=sys-apps/init-system-helpers-1.66::gentoo'`.
* The complete build log is located at
'/var/log/portage/sys-apps:init-system-helpers-1.66:20240720-133504.log'.
* For convenience, a symlink to the build log is located at
'/var/tmp/portage/sys-apps/init-system-helpers-1.66/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/sys-apps/init-system-helpers-1.66/temp/environment'.
* Working directory:
'/var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helpers'
* S:
'/var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helpers'
root@Gentoo-1 / #
It seems to be complaining about rst2man so I thought maybe there was a
linking problem or something and reinstalling the package would help. I
reinstalled dev-python/docutils but it still fails with the same error.
I searched forums, BGO and such but no help that I could find. I also
tried a newer version of init-system-helpers in case the older version
has a flu.
On the locale setting. This is what I have set. My understanding,
LC_ALL shouldn't be set.
root@Gentoo-1 / # locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
root@Gentoo-1 / #
Anyone have a idea how to fix this? This is the new rig with merged
/usr and openrc. In case that matters. Yes, still named Gentoo-1. It
needs a better name but just not high on my list right now. ;-)
Dale
:-) :-)
P. S. I also got a little thing to put the case on that has wheels.
It's a tight fit but the case fits on there. Just gotta be careful when
moving it. It sits on carpet and mostly wanted to get the case off the
floor for air flow. Still trying to get used to this smaller keyboard.
next reply other threads:[~2024-07-20 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 14:14 Dale [this message]
2024-07-21 1:38 ` [gentoo-user] sys-apps/init-system-helpers fails. Trying to install needrestart Dale
2024-07-21 8:23 ` Michael
2024-07-21 11:15 ` Dale
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=e76c5956-5157-3a5b-d7a7-7bf9070eda96@gmail.com \
--to=rdalek1967@gmail.com \
--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