I'm installing a new Gentoo system, and I'm not used to so many python versions available and each package wanting one or another...
Some want python_single_target_python3_12 other want python_single_target_python3_11, etc.
Should I set PYTHON_SINGLE_TARGET and PYTHON_TARGET globally in make.conf, or should I set python_single_target_python3_12 -python_single_target_python3_11 for each package in /etc/portage/package.use?
I'm trying to install suricata and samba (for instance), but portage keeps complaining about python.
This is the content of
Code: Select all
# cat /etc/portage/package.use/custom
www-apache/mod_security geoip json
www-servers/apache -apache2_modules_http2 apache2_modules_ratelimit apache2_modules_reqtimeout apache2_modules_proxy apache2_modules_proxy_connect apache2_modules_proxy_http apache2_modules_proxy_wstunnel apache2_modules_remoteip
net-analyzer/suricata geoip rust python_single_target_python3_12
net-analyzer/tcpdump -samba
dev-db/freetds mssql
dev-db/mysql big-tables cluster
dev-db/postgresql server
dev-java/icedtea-bin -gtk
dev-lang/php embed ftp fpm mysql mysqli mssql pdo postgres gd zip soap xmlreader xmlwriter xmlrpc calendar curl sockets
dev-libs/apr-util mysql postgres openssl
net-nds/openldap sasl ssl
net-vpn/openvpn examples iproute2
www-servers/nginx aio rtmp NGINX_MODULES_HTTP: stub_status mp4 push_stream flv
www-servers/tomcat -gtk -cups
net-fs/samba ads client cluster gnutls winbind python_single_target_python3_12 python_target_python3_12 -python_single_target_python3_11 -python_single_target_python3_13
sys-libs/talloc python_single_target_python3_12 python_target_python3_12 -python_single_target_python3_11 -python_single_target_python3_13 -python_single_target_python3_14
sys-libs/tdb python_single_target_python3_12 python_target_python3_12 -python_single_target_python3_11 -python_single_target_python3_13 -python_single_target_python3_14
sys-libs/tevent python_single_target_python3_12 python_target_python3_12 -python_single_target_python3_11 -python_single_target_python3_13 -python_single_target_python3_14
Code: Select all
[ebuild N ] net-fs/samba-4.22.5-r1 USE="acl ads client cluster json ldap pam python regedit system-mitkrb5 winbind -addc -ceph -cups -debug (-fam) -glusterfs -gpg -iprint -llvm-libunwind -lmdb -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_12 -python3_11 -python3_13"
!!! The following binary packages have been ignored due to non matching USE:
=net-fs/samba-4.22.5-r1 -ads -client -cluster -json -ldap -python -winbind
=net-fs/samba-4.22.5-r1 -ads -client -cluster -json -ldap -python -python_single_target_python3_12 python_single_target_python3_13 -winbind
=net-fs/samba-4.22.5-r1 -ads -cluster cups -json -ldap -python -python_single_target_python3_12 python_single_target_python3_13 -winbind
=net-fs/samba-4.22.5-r1 -ads -cluster cups -json -ldap -python systemd -winbind
=net-fs/samba-4.22.5-r1 -ads -cluster cups -json -ldap -python -python_single_target_python3_12 python_single_target_python3_13 systemd -winbind
=sys-libs/tdb-1.4.13 -python
=sys-libs/tdb-1.4.13 -python -python_single_target_python3_12 python_single_target_python3_13
=sys-libs/tevent-0.16.2 -python
=sys-libs/tevent-0.16.2 -python -python_single_target_python3_12 python_single_target_python3_13
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_13
=sys-libs/libcap-ng-0.8.5 -python python_targets_python3_12 -python_targets_python3_13
=sys-libs/libcap-ng-0.8.5 -python python_targets_python3_12
=sys-libs/libcap-ng-0.8.5 -python
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_13 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python python_targets_python3_12 -python_targets_python3_13 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python python_targets_python3_12 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_10 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_10 python_targets_python3_12 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_10 python_targets_python3_12 -python_targets_python3_13 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_10 -python_targets_python3_13 -python_targets_python3_14
=sys-libs/libcap-ng-0.8.5 -python -python_targets_python3_10 python_targets_python3_11 -python_targets_python3_13 -python_targets_python3_14
NOTE: The --binpkg-respect-use=n option will prevent emerge
from ignoring these binary packages if possible.
Using --binpkg-respect-use=y will silence this warning.
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by net-fs/samba-4.22.5-r1::gentoo[python_single_target_python3_12,-python_single_target_python3_11,ads,-python_single_target_python3_13,-addc]
# required by net-fs/cifs-utils-7.4::gentoo
>=net-dns/bind-9.18.42 gssapi
# required by dev-python/setuptools-80.9.0-r1::gentoo
# required by dev-python/setuptools-scm-9.2.2::gentoo
>=dev-python/wheel-0.46.2 python_targets_python3_12
# required by dev-python/setuptools-80.9.0-r1::gentoo
# required by dev-python/setuptools-scm-9.2.2::gentoo
>=dev-python/trove-classifiers-2026.1.14.14 python_targets_python3_12
# required by dev-python/jaraco-text-4.0.0::gentoo
# required by dev-python/jaraco-collections-5.2.1::gentoo
# required by dev-python/setuptools-80.9.0-r1::gentoo
# required by dev-python/setuptools-scm-9.2.2::gentoo
>=dev-python/jaraco-context-6.1.0 python_targets_python3_12
Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.What are my options?





