Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446910 - =dev-lang/spidermonkey-1.8.5-r3 - ERROR: dev-lang/spidermonkey-1.8.5-r3 failed (setup phase): * dev-lang/python:2.7 is not installed
Summary: =dev-lang/spidermonkey-1.8.5-r3 - ERROR: dev-lang/spidermonkey-1.8.5-r3 faile...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 19:15 UTC by Kobboi
Modified: 2012-12-11 21:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2012-12-11 19:15:52 UTC
pkg_setup() attempts to set the active python version to 2. But I am installing from a binary and python-2 is in DEPEND, not RDEPEND. 

Either python-2 should get in RDEPEND, or pkg_setup() is not the ebuild phase to set the python version. I do not know what the preferrable solution is.

>>> Extracting info
 * Package:    dev-lang/spidermonkey-1.8.5-r3
 * Repository: gentoo
 * USE:        
 * FEATURES:   sandbox
 * ERROR: dev-lang/spidermonkey-1.8.5-r3 failed (setup phase):
 *   dev-lang/python:2.7 is not installed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called pkg_setup
 *   environment, line 3451:  Called python_set_active_version '2'
 *   environment, line 5513:  Called _python_final_sanity_checks
 *   environment, line  910:  Called die
 * The specific snippet of code:
 *                   die "$(python_get_implementational_package) is not installed";




Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2012-12-11 21:27:00 UTC
+*spidermonkey-1.8.7-r3 (11 Dec 2012)
+*spidermonkey-1.8.5-r4 (11 Dec 2012)
+
+  11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> +spidermonkey-1.8.5-r4.ebuild,
+  +spidermonkey-1.8.7-r3.ebuild:
+  do not call python helpers when merging a binary package, bug 446910
+