From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEF22158170 for ; Sun, 21 Jul 2024 11:15:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B07D5E2AA3; Sun, 21 Jul 2024 11:15:31 +0000 (UTC) Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65DF5E2A98 for ; Sun, 21 Jul 2024 11:15:31 +0000 (UTC) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-66a1842b452so14866357b3.3 for ; Sun, 21 Jul 2024 04:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721560530; x=1722165330; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=GDOa5JvUNTIHIsDP+OD2BGbwAmCU1frHeKkjshOGlDE=; b=bTH6NCUpqty1+WKRuJRA0KjFITp2Lbq9kWep2mLBdM94e+AtlYR8Ff/5saNCOuPx/Q CqJmCPuDFBq/92ITrkQVAshfMAE5/fy2QT3vfTaWfMolgLzer6mMb99BZyheb0fa4FnC RccBQyVh6vlWe0+2X3V+6YyJoPddn85p2UBikvZc2u3bZntAQD9+oJbEp1HOJkpz+0hM DBJ1iYdTkSkQewJNpQcGOpIdr6NEkPS2mobnJarUwOu7/TGwFAa+t12LiIa4HNqF1263 ve+Qw+8NSIN869FmeOK8g4lCw4NHQtF+L1cDhanIdGHnKYSSDlBOzM72M0iiReTwO5Ap 0sgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721560530; x=1722165330; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GDOa5JvUNTIHIsDP+OD2BGbwAmCU1frHeKkjshOGlDE=; b=VRdN1mjIsWZgNADX/8DB4ami2N9SrAFvJjHUVgXriEFNLCEVKEj97NvnvDe5VqFOR/ ZG18l2PhNTxD6o3llHXO11EnRPuxxozJhXCSxdA7bQDm4HPAGJYE1pzura5+EGOLNJLu P0urCI9ZQyYJV1gRlEWH402oz84+CIKAQn0qfEyP0bu0EjZBSCa1tssFAz1lMbZCWGT/ EjejU1wxvJ138I8e/+iFqZu1iPN+DWv7vC6lez3xJpOO4T35+XDTQATOtY80Uz7vreUw 2N19JeDi1o8m7mE1fY3jbm38lL5J20XJ4h8TWg6xBqvGvfH19hBbD1Iakaapk7jray8T blRQ== X-Gm-Message-State: AOJu0YwffXm5Kv6/DhdOvNqisrUqiHq0FALcoIo7bDDw2loEIeV+OX3k YJUa8i0Sbw2+TLT9Icv/tkKgHRPLLATKkuWWCyLxS3ie9byEWal8 X-Google-Smtp-Source: AGHT+IFhcH6aqRqGkJuho/83tIHngzPRpJ5bm3/nP5gnx7ufCvlXjcW6kF1VDJ/RuDDnUmijjlUMGw== X-Received: by 2002:a05:690c:2d0c:b0:62c:fcba:cfeb with SMTP id 00721157ae682-66a6a414ce4mr55789367b3.34.1721560530192; Sun, 21 Jul 2024 04:15:30 -0700 (PDT) Received: from [10.7.7.3] ([45.134.140.3]) by smtp.gmail.com with ESMTPSA id 00721157ae682-66952457a69sm12681887b3.38.2024.07.21.04.15.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Jul 2024 04:15:29 -0700 (PDT) Subject: Re: [gentoo-user] sys-apps/init-system-helpers fails. Trying to install needrestart. To: gentoo-user@lists.gentoo.org References: <9dcb5a5f-b98a-f979-69ca-1175e6292149@gmail.com> <1895188.tdWV9SEqCh@rogueboard> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7otKuZekDWiLi3Eig8tj5ZJiCNSYA/h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22@gmail.com> Date: Sun, 21 Jul 2024 06:15:28 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <1895188.tdWV9SEqCh@rogueboard> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 39d1fef0-a04c-486e-a206-4b8b8457ef10 X-Archives-Hash: 7e48f378223eef82de00b8d04bcad1d6 Michael wrote: > On Sunday, 21 July 2024 02:38:46 BST Dale wrote: >> Dale wrote: >>> 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-helper >>> s >>> ... >>> * Applying revert-openrc-management.patch >>> ... >>> [ >>> ok ] >>> >>>>>> Source prepared. >>>>>> Configuring source in >>> /var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helper >>> s >>> ... >>> >>>>>> Source configured. >>>>>> Compiling source in >>> /var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helper >>> s >>> ... >>> >>>>>> 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 >>> 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-helpe >>> rs' * S: >>> '/var/tmp/portage/sys-apps/init-system-helpers-1.66/work/init-system-helpe >>> rs' 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. >> Well, no one else seemed to have a better idea so I tried something. I >> set LC_ALL in make.conf. Guess what, it installed without error with >> that set. During the install, the install guide and I'm pretty sure >> someone on this list said it shouldn't be set because it can override >> other settings. It seems tho, this one package wants it set for some >> reason. >> >> So, if anyone runs up on this problem, set LC_ALL in make.conf, at least >> while this one package is being emerged anyway. >> >> Hope this helps someone else one day. >> >> Dale >> >> :-) :-) > The error points to not liking an empty LC_ALL locale: > > ======================================== > 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): > ================== > > This explains why your workaround allowed it to install. > > The line 615 in locale.py the error refers to states: > > 615 return _setlocale(category, locale) > 616 > 617 def resetlocale(category=LC_ALL): > 618 > 619 """ Sets the locale for category to the default setting. > 620 > 621 The default setting is determined by calling > 622 getdefaultlocale(). category defaults to LC_ALL. > 623 > 624 """ > > >From a quick look I don't know, or understand, why it defaults to LC_ALL, when > further up it is looking for language and encoding, as provided by LC_CTYPE, > which is set correctly in your system. Is this the first time you install > this package? > > Unless someone can offer an explanation for this, you may want to file a bug > report. On this system yes.  On my old rig, LC_ALL is set the same way.  I think when I did that install setting LC_ALL was OK.  I think I saw on package.g.o that the package is maintainer needed.  Filing a bug, if it is a bug, may not get attention for a while.  Does sound like a bug tho.  I'm going to install checkrestart later on.  It's in a overlay but can't recall which one.  I'll boot the old system up later on and find out which one it is in.  I prefer checkrestart anyway.  I just want the tool to tell me what needs restarting.  I like restarting them myself.  ;-)  Dale :-)  :-)