While trying to get rid of python3_8 and avahi not yet has an implementation python3_9 I tried avahi without: USE=-python --- # emerge -1 net-dns/avahi These are the packages that would be merged, in order: Calculating dependencies ............ done! [ebuild R ] net-dns/avahi-0.8-r3::gentoo USE="-autoipd bookmarks dbus -doc gdbm gtk -howl-compat introspection -ipv6 mdnsresponder-compat -mono nls -python qt5 (-selinux) systemd -test" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="-python3_7 -python3_8*" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-dns/avahi-0.8-r3::gentoo >>> Failed to emerge net-dns/avahi-0.8-r3, Log file: >>> '/common/emergelog/build/net-dns/avahi-0.8-r3:20210503-230113.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 2.60, 3.23, 4.81 * Package: net-dns/avahi-0.8-r3 * Repository: gentoo * Maintainer: blueness@gentoo.org * USE: abi_x86_32 abi_x86_64 amd64 bookmarks dbus elibc_glibc gdbm gtk introspection kernel_linux mdnsresponder-compat nls qt5 systemd userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * No Python implementation selected for the build. Please add one * of the following values to your PYTHON_TARGETS (in make.conf): * * python3_7 python3_8 * ERROR: net-dns/avahi-0.8-r3::gentoo failed (setup phase): * No supported Python implementation in PYTHON_TARGETS. * * Call stack: * ebuild.sh, line 125: Called pkg_setup * avahi-0.8-r3.ebuild, line 86: Called python_setup * python-r1.eclass, line 776: Called _python_validate_useflags * python-r1.eclass, line 296: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_TARGETS."
Thanks, this looks like a valid issue but already reported. *** This bug has been marked as a duplicate of bug 710244 ***
Though I can circumvent this by introducing a fake python3_9 and I can see that USE=bookmarks catches python, so I did successfully emerge my local new avahi ebuild: --- # emerge -1 net-dns/avahi These are the packages that would be merged, in order: Calculating dependencies .... . .... done! [ebuild U ] net-dns/avahi-0.8-r4::local [0.8-r3::gentoo] USE="-autoipd -bookmarks* dbus -doc gdbm gtk -howl-compat introspection -ipv6 mdnsresponder-compat -mono nls -python qt5 (-selinux) systemd -test" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="(-python3_7%) -python3_8* python3_9%*" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-dns/avahi-0.8-r4::local >>> Installing (1 of 1) net-dns/avahi-0.8-r4::local >>> Jobs: 1 of 1 complete Load avg: 3.67, 3.23, 2.84 >>> Auto-cleaning packages... --- Using the USE=bookmarks should normally inform me as user that USE=python is needed!
Yeah, itβs not using the Python eclasses properly. *** This bug has been marked as a duplicate of bug 710244 ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b908503ff65ef2ea96b09b7a21c6b46935ffa2 commit 50b908503ff65ef2ea96b09b7a21c6b46935ffa2 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-28 15:31:56 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-05-28 15:31:56 +0000 net-dns/avahi: use python-single-r1 instead of python-r1 * Only builds one Python implementation => python-single-r1 * Fix REQUIRED_USE logic. We need to have it all together for python_gen_cond_dep, so we move the bookmarks? (...) dep within the python? ( ... ) one. Closes: https://bugs.gentoo.org/705386 Closes: https://bugs.gentoo.org/710244 Closes: https://bugs.gentoo.org/788043 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org> .../{avahi-0.8-r3.ebuild => avahi-0.8-r4.ebuild} | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-)