[gentoo-user] Re: ERROR: dev-lang/python-3.9.2::gentoo failed (install phase)

2021-03-14 Thread Valmor F. de Almeida




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



[gentoo-user] [SOLVED] Re: ERROR: dev-lang/python-3.9.2::gentoo failed (install phase)

2021-03-14 Thread Valmor F. de Almeida




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




Re: [gentoo-user] Kodi 19 stabilization

2021-03-14 Thread Steve Evans
On Sun, 14 Mar 2021 14:57:22 -0700
Daniel Frey  wrote:

> Does anyone know if Kodi 19 is planning to be stabilized soon? I
> haven't been able to update TV frontends since October.
> 
> (Before you say remove Kodi, don't bother - these are TV frontends
> and their only purpose is to run Kodi!)
> 
> I'm also not interested in unmasking a ton of things to get it to
> install...
> 

I have been running Kodi 19 since it was added to Gentoo and only had
to unmask dev-libs/libudfread to get it to build. It has worked
well other than some (non official) add ons not working because they
have not been upgraded to Python 3.

Steve
-- 

Steve EvansE-mail: mailto:ste...@gorbag.com
Registered Linux user #217906: http://counter.li.org
Public Encryption Key: http://www.gorbag.com/public-key.html


5.4.97-gentoo Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GNU/Linux

 22:43:54 up 1 day, 14:28,  5 users,  load average: 0.44, 0.29, 0.24





[gentoo-user] Kodi 19 stabilization

2021-03-14 Thread Daniel Frey
Does anyone know if Kodi 19 is planning to be stabilized soon? I haven't 
been able to update TV frontends since October.


(Before you say remove Kodi, don't bother - these are TV frontends and 
their only purpose is to run Kodi!)


I'm also not interested in unmasking a ton of things to get it to install...

Dan