--- emerge -vat1 omniORB These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] net-misc/omniORB-4.1.4-r2::gentoo USE="ssl -doc -static-libs" PYTHON_TARGETS="-python2_7" 3022 KiB Total: 1 package (1 new), Size of downloads: 3022 KiB Would you like to merge these packages? [Yes/No] y .... >>> '/var/log/portage/build/net-misc/omniORB-4.1.4-r2:20150425-081218.log.gz' * Messages for package net-misc/omniORB-4.1.4-r2: * No Python implementation selected for the build. Please set * the PYTHON_TARGETS variable in your make.conf to include one * of the following values: * * python2_7 * ERROR: net-misc/omniORB-4.1.4-r2::gentoo failed (setup phase): * No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS. * * Call stack: * ebuild.sh, line 93: Called pkg_setup * ebuild.sh, line 321: Called python-single-r1_pkg_setup * python-single-r1.eclass, line 464: Called python_setup * python-single-r1.eclass, line 454: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS." * ---- the ebuild should use REQUIRED_USE="$PYTHON_REQUIRED_USE" to make it clear to portage that this useflag must be set. https://wiki.gentoo.org/wiki/Project:Python/python-r1#PYTHON_REQUIRED_USE
Created attachment 401974 [details] emerge --info
commit dd5396cb80f0b3434113092cf76472775c7b2905 Author: Michael Orlitzky <mjo@gentoo.org> Date: Tue Aug 16 09:44:11 2016 -0400 net-misc/omniORB: new version using EAPI=6 and a few ebuild fixes. There has been a new version of this maintainer-needed package available for a while, and a user requested a version bump, so I've updated to the latest available stable release (bug 560680). In doing so, I added the missing PYTHON_DEPS and PYTHON_REQUIRED_USE from the python-single-r1 eclass (bug 547660). I also patched the build system to use a umask of 022 instead of 002 when creating directories, to fix compilation on systems with TPE (bug 576040). For the new version, the ebuild was updated to use EAPI=6. Some patches were dropped, as the fixes were merged upstream. IPv6 support was added with a straightforward $(use_with ipv6) call. Some errors were clarified, and some quoting adjusted -- minor housekeeping. Gentoo-Bug: 547660 Gentoo-Bug: 560680 Gentoo-Bug: 576040 Package-Manager: portage-2.2.28