Hi,
I am using catalyst to build a generalized stage4 that will be installed on
several machines. The stage4 used to build correctly, however I have since
updated the seed stage3 and portage snapshot to keep the stag4 up to date.
It seems that certain packages will not build due to issues with the
stage3's python. Recent stage3s do not have python2. For example if I try
to build a stage4 with dev-python/suds, I get the following error:

>>> Emerging (1 of 46) dev-python/suds-0.4
>>> Failed to emerge dev-python/suds-0.4, Log file:
>>>  '/var/tmp/portage/dev-python/suds-0.4/temp/build.log'
 * Package:    dev-python/suds-0.4
 * Repository: gentoo
 * Maintainer: [email protected] [email protected]
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Building of dev-python/suds-0.4 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools
 * ERROR: dev-python/suds-0.4 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3726:  Called distutils_src_compile
 *   environment, line 1043:  Called python_execute_function
'distutils_building'
 *   environment, line 2110:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info
=dev-python/suds-0.4',
 * the complete build log and the output of 'emerge -pqv
=dev-python/suds-0.4'.
 * The complete build log is located at
'/var/tmp/portage/dev-python/suds-0.4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-python/suds-0.4/temp/environment'.
 * S: '/var/tmp/portage/dev-python/suds-0.4/work/suds-0.4'

 * Messages for package dev-python/suds-0.4:

 * ERROR: dev-python/suds-0.4 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3726:  Called distutils_src_compile
 *   environment, line 1043:  Called python_execute_function
'distutils_building'
 *   environment, line 2110:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info
=dev-python/suds-0.4',
 * the complete build log and the output of 'emerge -pqv
=dev-python/suds-0.4'.
 * The complete build log is located at
'/var/tmp/portage/dev-python/suds-0.4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-python/suds-0.4/temp/environment'.
 * S: '/var/tmp/portage/dev-python/suds-0.4/work/suds-0.4'

When I look in the temp directory for this build, it seems that python2.7
is installed. setuptools is also installed but only for python3.  Is there
a way to have catalyst build setuptools for python2?  Is there a way to
switch the system python to 2.7 or should it stay as python3? Or is this
not really a catalyst issue and rather an issue with the suds ebuild? Is
there any other info that would be helpful?

 Thanks,

-- Tim Messier

Reply via email to