Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547660 - net-misc/omniORB 4.1.4-r2 should REQUIRED_USE for PYTHON_TARGETS ( fails pkg_setup )
Summary: net-misc/omniORB 4.1.4-r2 should REQUIRED_USE for PYTHON_TARGETS ( fails pkg_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-25 08:20 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2016-08-16 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,8.27 KB, text/plain)
2015-04-25 08:22 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-25 08:20:39 UTC
---

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
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-25 08:22:26 UTC
Created attachment 401974 [details]
emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2016-08-16 19:10:33 UTC
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