Calculate Forum

Проблема с установкой yd-tools::stuff на этапе компиляции

> emerge x11-misc/yd-tools::stuff
> 
> Local copy of remote index is up-to-date and will be used.
> 
> Local copy of remote index is up-to-date and will be used.
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies                           ... done!            
> [ebuild  N    #] x11-misc/yd-tools-1.11.0-r1::stuff  USE="nls" PYTHON_TARGETS="-python3_8" 0 KiB
> 
> Total: 1 package (1 new), Size of downloads: 0 KiB
> 
> Would you like to merge these packages? [Yes/No] y
> >>> Verifying ebuild manifests
> >>> Emerging (1 of 1) x11-misc/yd-tools-1.11.0-r1::stuff
> >>> Failed to emerge x11-misc/yd-tools-1.11.0-r1, Log file:
> >>>  '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/temp/build.log'
> >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.88, 0.77, 0.84
>  * Package:    x11-misc/yd-tools-1.11.0-r1
>  * Repository: stuff
>  * Maintainer: brothermechanic@gmail.com
>  * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU
>  * FEATURES:   network-sandbox preserve-libs sandbox usersandbox
> >>> Unpacking source...
> >>> Unpacking yandex-disk-indicator-1.11.0.tar.gz to /var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work
> >>> Source unpacked in /var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work
> >>> Preparing source in /var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0 ...
>  * Looking in translations for new locales ...
>  [ ok ]
>  * Disable locale: be ...
>  [ ok ]
>  * Disable locale: bg ...
>  [ ok ]
>  * Disable locale: el ...
>  [ ok ]
> >>> Source prepared.
> >>> Configuring source in /var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0 ...
> >>> Source configured.
> >>> Compiling source in /var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0 ...
> >>> Source compiled.
> >>> Test phase [not enabled]: x11-misc/yd-tools-1.11.0-r1
> 
> >>> Install x11-misc/yd-tools-1.11.0-r1 into /var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/image
>  * No Python implementation selected for the build. Please add one
>  * of the following values to your PYTHON_TARGETS (in make.conf):
>  * 
>  * python3_6 python3_7 python3_8
> 
>  * ERROR: x11-misc/yd-tools-1.11.0-r1::stuff failed (install phase):
>  *   No supported Python implementation in PYTHON_TARGETS.
>  * 
>  * Call stack:
>  *     ebuild.sh, line  127:  Called src_install
>  *   environment, line 2988:  Called python_foreach_impl 'python_newscript' 'yandex-disk-indicator.py' 'yandex-disk-indicator'
>  *   environment, line 2626:  Called _python_obtain_impls
>  *   environment, line  708:  Called _python_validate_useflags
>  *   environment, line  806:  Called die
>  * The specific snippet of code:
>  *       die "No supported Python implementation in PYTHON_TARGETS."
>  * 
>  * If you need support, post the output of `emerge --info '=x11-misc/yd-tools-1.11.0-r1::stuff'`,
>  * the complete build log and the output of `emerge -pqv '=x11-misc/yd-tools-1.11.0-r1::stuff'`.
>  * The complete build log is located at '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/temp/build.log'.
>  * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/temp/environment'.
>  * Working directory: '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0'
>  * S: '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0'
> 
>  * Messages for package x11-misc/yd-tools-1.11.0-r1:
> 
>  * No Python implementation selected for the build. Please add one
>  * of the following values to your PYTHON_TARGETS (in make.conf):
>  * 
>  * python3_6 python3_7 python3_8
>  * ERROR: x11-misc/yd-tools-1.11.0-r1::stuff failed (install phase):
>  *   No supported Python implementation in PYTHON_TARGETS.
>  * 
>  * Call stack:
>  *     ebuild.sh, line  127:  Called src_install
>  *   environment, line 2988:  Called python_foreach_impl 'python_newscript' 'yandex-disk-indicator.py' 'yandex-disk-indicator'
>  *   environment, line 2626:  Called _python_obtain_impls
>  *   environment, line  708:  Called _python_validate_useflags
>  *   environment, line  806:  Called die
>  * The specific snippet of code:
>  *       die "No supported Python implementation in PYTHON_TARGETS."
>  * 
>  * If you need support, post the output of `emerge --info '=x11-misc/yd-tools-1.11.0-r1::stuff'`,
>  * the complete build log and the output of `emerge -pqv '=x11-misc/yd-tools-1.11.0-r1::stuff'`.
>  * The complete build log is located at '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/temp/build.log'.
>  * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/temp/environment'.
>  * Working directory: '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0'
>  * S: '/var/calculate/tmp/portage/x11-misc/yd-tools-1.11.0-r1/work/yandex-disk-indicator-1.11.0'

Не ставится ни из одного репозитория.

Конечно, это не решение, а всего лишь FYI. С deluged была ошибка с питоном, решилась установкой dev-python/pip и с его помощью в локальную директорию pyopenssl и cryptography.

А какой Python установлен, нужен вывод команды
eix -I dev-lang/python

> eix -I dev-lang/python
[I] dev-lang/python
     Доступные версии:      
     (2.7)  2.7.18_p10{tbz2} 2.7.18_p11{tbz2}
     (3.6)  3.6.13_p5(3.6/3.6m)^t ~3.6.14(3.6/3.6m)^t
     (3.7)  3.7.10_p6(3.7/3.7m)^t ~3.7.11(3.7/3.7m)^t
     (3.8)  3.8.10_p2^t ~3.8.11^t
     (3.9)  3.9.5_p2^t{tbz2} ~3.9.6^t
     (3.10) ~3.10.0_beta2^t ~3.10.0_beta3^t ~3.10.0_beta4^t
       {berkdb bluetooth build examples gdbm hardened ipv6 +ncurses +readline +sqlite +ssl test +threads tk verify-sig +wide-unicode wininst +xml ELIBC="uclibc"}
     Установленные версии:  2.7.18_p11(2.7){tbz2}(22:17:21 17.07.2021)(bluetooth gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -examples -hardened -tk -verify-sig -wininst ELIBC="-uclibc") 3.9.5_p2(3.9)^t{tbz2}(15:52:57 12.06.2021)(bluetooth gdbm ipv6 ncurses readline sqlite ssl xml -build -examples -hardened -test -tk -verify-sig -wininst)
     Домашняя страница:     https://www.python.org/
     Описание:              An interpreted, interactive, object-oriented programming language

[I] dev-lang/python-exec
     Доступные версии:      (2) 2.4.6-r4{tbz2} ~2.4.7 ~2.4.8^t
       {+native-symlinks test PYTHON_TARGETS="pypy3 python3_10 python3_8 python3_9"}
     Установленные версии:  2.4.6-r4(2){tbz2}(15:28:29 01.06.2021)(native-symlinks PYTHON_TARGETS="pypy3 python3_8 python3_9 -python3_10")
     Домашняя страница:     https://github.com/mgorny/python-exec/
     Описание:              Python script wrapper

[I] dev-lang/python-exec-conf
     Доступные версии:      (2) 2.4.6{tbz2}
       {PYTHON_TARGETS="pypy3 python3_10 python3_8 python3_9"}
     Установленные версии:  2.4.6(2){tbz2}(12:33:18 10.06.2021)(PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8")
     Домашняя страница:     https://github.com/mgorny/python-exec/
     Описание:              Configuration file for dev-lang/python-exec

Найдено 3 совпадение.

А какой Python установлен, нужен вывод команды
python --version

python --version
Python 3.9.5

© 2007-2020 Calculate Ltd.
Mastodon Mastodon