Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611176 - dev-lang/spidermonkey-45.0.2 : * No supported Python implementation installed.
Summary: dev-lang/spidermonkey-45.0.2 : * No supported Python implementation instal...
Status: RESOLVED OBSOLETE
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: 2017-02-28 07:36 UTC by Toralf Förster
Modified: 2017-08-26 17:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.89 KB, text/plain)
2017-02-28 07:36 UTC, Toralf Förster
Details
dev-lang:spidermonkey-45.0.2:20170228-052953.log (dev-lang:spidermonkey-45.0.2:20170228-052953.log,1.60 KB, text/plain)
2017-02-28 07:36 UTC, Toralf Förster
Details
die.env (die.env,275.52 KB, text/plain)
2017-02-28 07:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,378.38 KB, text/plain)
2017-02-28 07:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,38.27 KB, application/x-bzip)
2017-02-28 07:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-02-28 07:36:53 UTC
 * ERROR: dev-lang/spidermonkey-45.0.2::gentoo failed (setup phase):
 *   No supported Python implementation installed.
 * 
 * Call stack:
 *                    ebuild.sh, line 115:  Called pkg_setup

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named hardened_20170217-144156) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
 [2] x86_64-pc-linux-gnu-5.4.0-hardenednopie
 [3] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
 [4] x86_64-pc-linux-gnu-5.4.0-hardenednossp
 [5] x86_64-pc-linux-gnu-5.4.0-vanilla

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
Comment 1 Toralf Förster gentoo-dev 2017-02-28 07:36:56 UTC
Created attachment 465484 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-28 07:36:59 UTC
Created attachment 465486 [details]
dev-lang:spidermonkey-45.0.2:20170228-052953.log
Comment 3 Toralf Förster gentoo-dev 2017-02-28 07:37:03 UTC
Created attachment 465488 [details]
die.env
Comment 4 Toralf Förster gentoo-dev 2017-02-28 07:37:06 UTC
Created attachment 465490 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-02-28 07:37:10 UTC
Created attachment 465492 [details]
etc.portage.tbz2
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2017-02-28 12:55:42 UTC
Any thoughts on why this is?  

python-any-r1 is inherited, PYTHON_COMPAT=( python2_7 ) is specified, $PYTHON_DEPS is in DEPEND, and python-any-r1_pkg_setup is called as the last item of moz_pkg-setup just like it is for firefox et. al..

So far as I am aware, that checks all the boxes...?
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2017-02-28 13:03:16 UTC
Also, could you force a check of spidermonkey-38.2.1_rc0 to see if it fails the same way?
Comment 8 Michal Jakubowski 2017-02-28 17:14:35 UTC
* Package:    dev-lang/spidermonkey-38.2.1_rc0
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc jit kernel_linux system-icu userland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
 * No Python implementation found for the build. This is usually
 * a bug in the ebuild. Please report it to bugs.gentoo.org
 * along with the build log.
Comment 9 Michal Jakubowski 2017-02-28 17:15:50 UTC
* Call stack:
 *                        ebuild.sh, line 115:  Called pkg_setup
 *   spidermonkey-38.2.1_rc0.ebuild, line  40:  Called moz_pkgsetup
 *            mozcoreconf-v4.eclass, line 115:  Called python-any-r1_pkg_setup
 *             python-any-r1.eclass, line 343:  Called python_setup
 *             python-any-r1.eclass, line 331:  Called die
 * The specific snippet of code:
 *      die "No supported Python implementation installed."
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-28 19:10:32 UTC
eclass-debug.log from anyone who could repro, please.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-28 19:19:38 UTC
Oh, nevermind. The original issue was that the ebuild was setting a different value of PYTHON_REQ_USE, which then the mozcoreconf eclass overrode. The repeat inherit guard caused PYTHON_DEPS not to be redefined, so PYTHON_DEPS had the old value, while python_setup() logic used the new. As a result, smaller set of PYTHON_REQ_USE was enforced by deps while python_setup() bailed out because of mismatched flags.
Comment 12 Toralf Förster gentoo-dev 2017-02-28 19:51:52 UTC
(In reply to Michał Górny from comment #10)
just curious how to achieve that file ? Is it just somewhere under /var/tmp/portage/ ?
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-28 21:36:30 UTC
(In reply to Toralf Förster from comment #12)
> (In reply to Michał Górny from comment #10)
> just curious how to achieve that file ? Is it just somewhere under
> /var/tmp/portage/ ?

Yes, in the temp/ subdirectory.
Comment 14 Jory A. Pratt gentoo-dev 2017-08-26 17:57:44 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team