public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Stage 4 build issues
@ 2012-07-09 15:11 Tim Messier
  2012-07-09 16:53 ` Sebastian Pipping
  2012-07-09 22:15 ` Jorge Manuel B. S. Vicetto
  0 siblings, 2 replies; 8+ messages in thread
From: Tim Messier @ 2012-07-09 15:11 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 3289 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3824 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-09 15:11 [gentoo-catalyst] Stage 4 build issues Tim Messier
@ 2012-07-09 16:53 ` Sebastian Pipping
  2012-07-09 17:01   ` Tim Messier
  2012-07-09 22:15 ` Jorge Manuel B. S. Vicetto
  1 sibling, 1 reply; 8+ messages in thread
From: Sebastian Pipping @ 2012-07-09 16:53 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-09 16:53 ` Sebastian Pipping
@ 2012-07-09 17:01   ` Tim Messier
  0 siblings, 0 replies; 8+ messages in thread
From: Tim Messier @ 2012-07-09 17:01 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 752 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-09 15:11 [gentoo-catalyst] Stage 4 build issues Tim Messier
  2012-07-09 16:53 ` Sebastian Pipping
@ 2012-07-09 22:15 ` Jorge Manuel B. S. Vicetto
  2012-07-09 23:00   ` Sebastian Pipping
  1 sibling, 1 reply; 8+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2012-07-09 22:15 UTC (permalink / raw
  To: gentoo-catalyst

-----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+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-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-09 22:15 ` Jorge Manuel B. S. Vicetto
@ 2012-07-09 23:00   ` Sebastian Pipping
  2012-07-09 23:17     ` Tim Messier
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Pipping @ 2012-07-09 23:00 UTC (permalink / raw
  To: gentoo-catalyst

-----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-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-09 23:00   ` Sebastian Pipping
@ 2012-07-09 23:17     ` Tim Messier
  2012-07-10  0:50       ` Peter Stuge
  0 siblings, 1 reply; 8+ messages in thread
From: Tim Messier @ 2012-07-09 23:17 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

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-----
>
>

[-- Attachment #2: Type: text/html, Size: 1774 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-09 23:17     ` Tim Messier
@ 2012-07-10  0:50       ` Peter Stuge
  2012-07-10  0:52         ` Tim Messier
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Stuge @ 2012-07-10  0:50 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-catalyst] Stage 4 build issues
  2012-07-10  0:50       ` Peter Stuge
@ 2012-07-10  0:52         ` Tim Messier
  0 siblings, 0 replies; 8+ messages in thread
From: Tim Messier @ 2012-07-10  0:52 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 660 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-10  3:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 15:11 [gentoo-catalyst] Stage 4 build issues Tim Messier
2012-07-09 16:53 ` Sebastian Pipping
2012-07-09 17:01   ` Tim Messier
2012-07-09 22:15 ` Jorge Manuel B. S. Vicetto
2012-07-09 23:00   ` Sebastian Pipping
2012-07-09 23:17     ` Tim Messier
2012-07-10  0:50       ` Peter Stuge
2012-07-10  0:52         ` Tim Messier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox