Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611044 - dev-util/catalyst-3.0_rc1 : /.../environment:line <snip>: : command not found
Summary: dev-util/catalyst-3.0_rc1 : /.../environment:line <snip>: : command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-26 21:09 UTC by Toralf Förster
Modified: 2018-01-10 14:10 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.59 KB, text/plain)
2017-02-26 21:09 UTC, Toralf Förster
Details
dev-util:catalyst-3.0_rc1:20170226-204147.log (dev-util:catalyst-3.0_rc1:20170226-204147.log,14.81 KB, text/plain)
2017-02-26 21:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,401.79 KB, text/plain)
2017-02-26 21:09 UTC, Toralf Förster
Details
environment (environment,137.17 KB, text/plain)
2017-02-26 21:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,33.32 KB, application/x-bzip)
2017-02-26 21:09 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-26 21:09:24 UTC
>>> 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:
Comment 1 Toralf Förster gentoo-dev 2017-02-26 21:09:27 UTC
Created attachment 465342 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-26 21:09:31 UTC
Created attachment 465344 [details]
dev-util:catalyst-3.0_rc1:20170226-204147.log
Comment 3 Toralf Förster gentoo-dev 2017-02-26 21:09:34 UTC
Created attachment 465346 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-26 21:09:37 UTC
Created attachment 465348 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-26 21:09:40 UTC
Created attachment 465350 [details]
etc.portage.tbz2
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-26 21:42:39 UTC
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.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-26 21:45:25 UTC
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.