* [gentoo-user] ERROR: dev-lang/python-3.9.2::gentoo failed (install phase)
@ 2021-03-14 7:20 Valmor F. de Almeida
2021-03-14 18:08 ` [gentoo-user] " Valmor F. de Almeida
0 siblings, 1 reply; 3+ messages in thread
From: Valmor F. de Almeida @ 2021-03-14 7:20 UTC (permalink / raw
To: gentoo-user
Hello,
Has anyone seen this recently?
* Messages for package dev-lang/python-3.9.2:
* ERROR: dev-lang/python-3.9.2::gentoo failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_install
* environment, line 3125: Called python_domodule 'epython.py'
* environment, line 2609: Called python_get_sitedir
* environment, line 2834: Called _python_export 'PYTHON_SITEDIR'
* environment, line 633: Called die
* The specific snippet of code:
* PYTHON_SITEDIR=$("${PYTHON}" -c 'import
distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die;
*
* If you need support, post the output of `emerge --info
'=dev-lang/python-3.9.2::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=dev-lang/python-3.9.2::gentoo'`.
* The complete build log is located at
'/var/tmp/portage/dev-lang/python-3.9.2/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-lang/python-3.9.2/temp/environment'.
* Working directory:
'/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2'
* S: '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2'
The error in the log file is:
Fatal Python error: init_import_site: Failed to import the site module
I sync portage once a week. Sync problem?
Inputs appreciated.
Thanks,
--
Valmor
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: ERROR: dev-lang/python-3.9.2::gentoo failed (install phase)
2021-03-14 7:20 [gentoo-user] ERROR: dev-lang/python-3.9.2::gentoo failed (install phase) Valmor F. de Almeida
@ 2021-03-14 18:08 ` Valmor F. de Almeida
2021-03-14 18:43 ` [gentoo-user] [SOLVED] " Valmor F. de Almeida
0 siblings, 1 reply; 3+ messages in thread
From: Valmor F. de Almeida @ 2021-03-14 18:08 UTC (permalink / raw
To: gentoo-user
On 3/14/21 2:20 AM, Valmor F. de Almeida wrote:
>
> Hello,
>
> Has anyone seen this recently?
>
> * Messages for package dev-lang/python-3.9.2:
>
> * ERROR: dev-lang/python-3.9.2::gentoo failed (install phase):
> * (no error message)
> *
> * Call stack:
> * ebuild.sh, line 125: Called src_install
> * environment, line 3125: Called python_domodule 'epython.py'
> * environment, line 2609: Called python_get_sitedir
> * environment, line 2834: Called _python_export 'PYTHON_SITEDIR'
> * environment, line 633: Called die
> * The specific snippet of code:
> * PYTHON_SITEDIR=$("${PYTHON}" -c 'import
> distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die;
> *
> * If you need support, post the output of `emerge --info
> '=dev-lang/python-3.9.2::gentoo'`,
> * the complete build log and the output of `emerge -pqv
> '=dev-lang/python-3.9.2::gentoo'`.
> * The complete build log is located at
> '/var/tmp/portage/dev-lang/python-3.9.2/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/dev-lang/python-3.9.2/temp/environment'.
> * Working directory:
> '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2'
> * S: '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2'
>
> The error in the log file is:
>
> Fatal Python error: init_import_site: Failed to import the site module
>
> I sync portage once a week. Sync problem?
>
> Inputs appreciated.
> Thanks,
> --
> Valmor
Added info; not sure this helps troubleshooting but I tried this and works:
Python 3.9.1 (default, Jan 30 2021, 04:59:43)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import distutils.sysconfig
>>> print(distutils.sysconfig.get_python_lib())
/usr/lib/python3.9/site-packages
>>>
Thanks,
--
Valmor
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] [SOLVED] Re: ERROR: dev-lang/python-3.9.2::gentoo failed (install phase)
2021-03-14 18:08 ` [gentoo-user] " Valmor F. de Almeida
@ 2021-03-14 18:43 ` Valmor F. de Almeida
0 siblings, 0 replies; 3+ messages in thread
From: Valmor F. de Almeida @ 2021-03-14 18:43 UTC (permalink / raw
To: gentoo-user
On 3/14/21 1:08 PM, Valmor F. de Almeida wrote:
>
>
> On 3/14/21 2:20 AM, Valmor F. de Almeida wrote:
>>
>> Hello,
>>
>> Has anyone seen this recently?
>>
>> * Messages for package dev-lang/python-3.9.2:
>>
>> * ERROR: dev-lang/python-3.9.2::gentoo failed (install phase):
>> * (no error message)
>> *
>> * Call stack:
>> * ebuild.sh, line 125: Called src_install
>> * environment, line 3125: Called python_domodule 'epython.py'
>> * environment, line 2609: Called python_get_sitedir
>> * environment, line 2834: Called _python_export 'PYTHON_SITEDIR'
>> * environment, line 633: Called die
>> * The specific snippet of code:
>> * PYTHON_SITEDIR=$("${PYTHON}" -c 'import
>> distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') ||
>> die;
>> *
>> * If you need support, post the output of `emerge --info
>> '=dev-lang/python-3.9.2::gentoo'`,
>> * the complete build log and the output of `emerge -pqv
>> '=dev-lang/python-3.9.2::gentoo'`.
>> * The complete build log is located at
>> '/var/tmp/portage/dev-lang/python-3.9.2/temp/build.log'.
>> * The ebuild environment file is located at
>> '/var/tmp/portage/dev-lang/python-3.9.2/temp/environment'.
>> * Working directory:
>> '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2'
>> * S: '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2'
>>
>> The error in the log file is:
>>
>> Fatal Python error: init_import_site: Failed to import the site module
>>
>> I sync portage once a week. Sync problem?
>>
>> Inputs appreciated.
>> Thanks,
>> --
>> Valmor
>
>
> Added info; not sure this helps troubleshooting but I tried this and works:
>
> Python 3.9.1 (default, Jan 30 2021, 04:59:43)
> [GCC 9.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import distutils.sysconfig
> >>> print(distutils.sysconfig.get_python_lib())
> /usr/lib/python3.9/site-packages
> >>>
>
> Thanks,
> --
> Valmor
For the record:
emerge --sync
solved it.
--
Valmor
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-14 18:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-14 7:20 [gentoo-user] ERROR: dev-lang/python-3.9.2::gentoo failed (install phase) Valmor F. de Almeida
2021-03-14 18:08 ` [gentoo-user] " Valmor F. de Almeida
2021-03-14 18:43 ` [gentoo-user] [SOLVED] " Valmor F. de Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox