-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09-07-2012 15:11, Tim Messier wrote:
> 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?

This is an issue with this particular package. Please file a bug in
Gentoo Bugzilla and assign it to the package maintainers. Let them
know that the package fails to build when the user only has python-3
installed.

> Thanks,
> 
> -- Tim Messier
> 

- -- 
Regards,

Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP+1foAAoJEC8ZTXQF1qEPkjgQAIk4NzWMPcN0X7svNy9v7hiR
TFrHESFO+RBYHJ1scSiFw91ZwnX+eC7cGXsteu+cjNeJ3PC0HjDZfzFXJ9l5eqbT
KhSy9zbkpFP5Lzrs6xI6e1NVVsTZjqSbN687eDVnr6CKLO+F6bm3L5ln6vnlSn9+
uEG9iZEtzz+5dImRWSv3DuXY5y9a3Pc+gaH7Vg+y6YBxpUQEn5GSoYxqQ9c1Z0Lq
ClyKqQ6/8MbF5cvzq0PMw2OTdt6CnSBZLmRkMBSDcYhXfgUpPXo9yjW7uHg6Cbi0
lKydWw7+N+NoqYqApBXVMUh5lbSO2sSAiNyzXSw1VPqnSJQq7/qIRxVt28Jak8nU
bm2Ov1W0aEDpjWMJxadJuZMGldUa7W5X25AgWxNB+s0/+0f2oL29ObmpqqXcKNth
krF8YT04dd4pB9872SbkiResFA8cSS1gAwmhzLEMoauvjazv+UfQhvtTYaGYVEdb
elbnEbgcKI5oJGDdWnivsh4HL8c43ervgHIkRQ2kMBFA74IOp3Ix1kXzx8tqoYSo
U8n3qXTHN3Fr7gyAHw6QBV9M48geMY5SSNt4CMgq0mR8shFr8K9UF6OawZxgHG6S
LjzILlBB73HNCEHL0NQFHjtcPB1U8/CTDrPGUNfbrkt+p8cVidtSxxZD7lwjdIgj
DnR2CPOLS0Mrmx1n07IB
=6aMX
-----END PGP SIGNATURE-----

Reply via email to