Stage 4 build issues
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: cedk@gentoo.org python@gentoo.org ** 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 |
Stage 4 build issues
Hello Tim,
it sounds like you need to specify USE_PYTHON and run python-updater to fix that issue. Here is my current confguration: # fgrep USE_PYTHON /etc/make.conf USE_PYTHON="2.6 2.7 3.1 3.2" Best, Sebastian |
Stage 4 build issues
Is there an automated way to run python-updater during a stage4 build? Or do I need to manually do that?
-- Tim Messier On Jul 9, 2012 12:54 PM, "Sebastian Pipping" <sping@gentoo.org> wrote: Hello Tim, it sounds like you need to specify USE_PYTHON and run python-updater to fix that issue. Here is my current confguration: * # fgrep USE_PYTHON /etc/make.conf * USE_PYTHON="2.6 2.7 3.1 3.2" Best, Sebastian |
Stage 4 build issues
-----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: cedk@gentoo.org python@gentoo.org * 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+1foAAoJEC8ZTXQF1qEPkjgQAIk4NzWMPc N0X7svNy9v7hiR TFrHESFO+RBYHJ1scSiFw91ZwnX+eC7cGXsteu+cjNeJ3PC0Hj DZfzFXJ9l5eqbT KhSy9zbkpFP5Lzrs6xI6e1NVVsTZjqSbN687eDVnr6CKLO+F6b m3L5ln6vnlSn9+ uEG9iZEtzz+5dImRWSv3DuXY5y9a3Pc+gaH7Vg+y6YBxpUQEn5 GSoYxqQ9c1Z0Lq ClyKqQ6/8MbF5cvzq0PMw2OTdt6CnSBZLmRkMBSDcYhXfgUpPXo9yjW7uH g6Cbi0 lKydWw7+N+NoqYqApBXVMUh5lbSO2sSAiNyzXSw1VPqnSJQq7/qIRxVt28Jak8nU bm2Ov1W0aEDpjWMJxadJuZMGldUa7W5X25AgWxNB+s0/+0f2oL29ObmpqqXcKNth krF8YT04dd4pB9872SbkiResFA8cSS1gAwmhzLEMoauvjazv+U fQhvtTYaGYVEdb elbnEbgcKI5oJGDdWnivsh4HL8c43ervgHIkRQ2kMBFA74IOp3 Ix1kXzx8tqoYSo U8n3qXTHN3Fr7gyAHw6QBV9M48geMY5SSNt4CMgq0mR8shFr8K 9UF6OawZxgHG6S LjzILlBB73HNCEHL0NQFHjtcPB1U8/CTDrPGUNfbrkt+p8cVidtSxxZD7lwjdIgj DnR2CPOLS0Mrmx1n07IB =6aMX -----END PGP SIGNATURE----- |
Stage 4 build issues
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 07/10/2012 12:15 AM, Jorge Manuel B. S. Vicetto wrote: >> * ERROR: dev-python/suds-0.4 failed (compile phase): * >> Building failed with CPython 2.7 in distutils_building() function >> [..] > > 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. The quote at the very top look like Python 2.7 is installed, too. Best, Sebastian -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/7Yo4ACgkQsAvGakAaFgANMwCfbsjDQWxZj3EDoksmFeKAbjZF RSMAoKELjM85szBhnOlEKisAskIW2cZL =YkfJ -----END PGP SIGNATURE----- |
Stage 4 build issues
Yea python2.7 is installed. But the system default python is 3.2 and setuptools is built only for 3. Suds is trying to use python2 (It has a restrict on python 3.*) but is failing due to setuptools not being rebuilt for python2. I will file a bug with for the package maintainers, but I am not sure what they can do about it if suds is not ready for python3...
-- Timothy Messier On Jul 9, 2012 7:02 PM, "Sebastian Pipping" <sping@gentoo.org> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/10/2012 12:15 AM, Jorge Manuel B. S. Vicetto wrote: >> * ERROR: dev-python/suds-0.4 failed (compile phase): * >> Building failed with CPython 2.7 in distutils_building() function >> [..] > > 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. The quote at the very top look like Python 2.7 is installed, too. Best, Sebastian -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/7Yo4ACgkQsAvGakAaFgANMwCfbsjDQWxZj3EDoksmFeKAbjZF RSMAoKELjM85szBhnOlEKisAskIW2cZL =YkfJ -----END PGP SIGNATURE----- |
Stage 4 build issues
Tim Messier wrote:
> I will file a bug with for the package maintainers, but I am not > sure what they can do about it if suds is not ready for python3... I think the ebuild may just need to set PYTHON_DEPEND, SUPPORT_PYTHON_ABIS, and RESTRICT_PYTHON_ABIS. //Peter |
Stage 4 build issues
It looks like those vars are already set
On Jul 9, 2012 8:50 PM, "Peter Stuge" <peter@stuge.se> wrote: Tim Messier wrote: > I will file a bug with for the package maintainers, but I am not > sure what they can do about it if suds is not ready for python3... I think the ebuild may just need to set PYTHON_DEPEND, SUPPORT_PYTHON_ABIS, and RESTRICT_PYTHON_ABIS. //Peter |
| All times are GMT. The time now is 02:00 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.