Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490578 - sys-apps/paludis: calls python-single-r1_pkg_setup unconditionally
Summary: sys-apps/paludis: calls python-single-r1_pkg_setup unconditionally
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeff (JD) Horelick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 17:17 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2013-11-08 21:34 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info,5.00 KB, text/plain)
2013-11-06 17:17 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 2013-11-06 17:17:13 UTC
Created attachment 362692 [details]
emerge --info

If you define PYTHON_SINGLE_TARGET=python3_3, installing sys-apps/paludis with portage fails during pkg_setup.

>>> Emerging (2 of 2) sys-apps/paludis-1.4.2-r1
 * paludis-1.4.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                             [ ok ]
 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * python2_6 python2_7

 * ERROR: sys-apps/paludis-1.4.2-r1::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET.
 * 
 * Call stack:
 *                 ebuild.sh, line  93:  Called pkg_setup
 *   paludis-1.4.2-r1.ebuild, line  79:  Called python-single-r1_pkg_setup
 *   python-single-r1.eclass, line 259:  Called python_setup
 *   python-single-r1.eclass, line 249:  Called die
 * The specific snippet of code:
 *              die "No supported Python implementation in PYTHON_SINGLE_TARGET."
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/paludis-1.4.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/paludis-1.4.2-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/sys-apps/paludis-1.4.2-r1:20131106-165513.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/paludis-1.4.2-r1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/paludis-1.4.2-r1/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/sys-apps/paludis-1.4.2-r1/work/paludis-1.4.2'

>>> Failed to emerge sys-apps/paludis-1.4.2-r1, Log file:


Ideally, this should be REQUIRED_USE'd so that it becomes a failure during dependency resolution.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-11-08 21:07:07 UTC
The REQUIRED_USE is there. However, it seems like we call the pkg_setup indep of USE=python. I need to check if Python is used outside of Python bindings.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-11-08 21:34:05 UTC
/var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-1.4.2-r1.ebuild,v  <--  paludis-1.4.2-r1.ebuild
new revision: 1.2; previous revision: 1.1

Should be fixed now.