>>> Preparing source in /var/tmp/portage/dev-util/catalyst-3.0_rc1/work/catalyst-3.0_rc1 ... VERSION=3.0_rc1 setup.py set_version /var/tmp/portage/dev-util/catalyst-3.0_rc1/temp/environment: line 3539: : command not found * QA: python_prepare_all() didn't call distutils-r1_python_prepare_all >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/catalyst-3.0_rc1/work/catalyst-3.0_rc1 ... ----------------------------------------------------------------- This is an unstable amd64 chroot image (named 13.0-abi32+64_20170216-202818) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2:
Created attachment 465342 [details] emerge-info.txt
Created attachment 465344 [details] dev-util:catalyst-3.0_rc1:20170226-204147.log
Created attachment 465346 [details] emerge-history.txt
Created attachment 465348 [details] environment
Created attachment 465350 [details] etc.portage.tbz2
So, this is a broken ebuild. The distutils-r1 eclass does not support using python in python_prepare_all() phase. I don't remember the rationale for that, maybe that restriction is no longer necessary and the eclass could be modified to enable Python there. However, it was like this from day one, so I don't think that code could have ever worked.
commit 2c0d4a87989a1d4d6279940cf098d2c4d9bb1ed6 Author: Mike Frysinger <vapier@gentoo.org> AuthorDate: Thu Nov 19 05:21:07 2015 Commit: Mike Frysinger <vapier@gentoo.org> CommitDate: Thu Nov 19 05:21:07 2015 dev-util/catalyst: update git to permit python-3 The latest version should work w/py3, so start allowing people to test. This is the commit introducing the broken, obviously untested code.
I believe this is fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-util/catalyst?id=5a4e3df46d1dc0e34e4b8ef8bad379426ecba269