Gentoo Archives: gentoo-catalyst

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Stage 4 build issues
Date: Tue, 10 Jul 2012 00:02:50
Message-Id: 4FFB57E9.6070900@gentoo.org
In Reply to: [gentoo-catalyst] Stage 4 build issues by Tim Messier
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 09-07-2012 15:11, Tim Messier wrote:
5 > Hi, I am using catalyst to build a generalized stage4 that will be
6 > installed on several machines. The stage4 used to build correctly,
7 > however I have since updated the seed stage3 and portage snapshot
8 > to keep the stag4 up to date. It seems that certain packages will
9 > not build due to issues with the stage3's python. Recent stage3s do
10 > not have python2. For example if I try to build a stage4 with
11 > dev-python/suds, I get the following error:
12 >
13 >>>> Emerging (1 of 46) dev-python/suds-0.4 Failed to emerge
14 >>>> dev-python/suds-0.4, Log file:
15 >>>> '/var/tmp/portage/dev-python/suds-0.4/temp/build.log'
16 > * Package: dev-python/suds-0.4 * Repository: gentoo *
17 > Maintainer: cedk@g.o python@g.o * USE: amd64
18 > elibc_glibc kernel_linux multilib userland_GNU * FEATURES:
19 > sandbox * Building of dev-python/suds-0.4 with CPython 2.7...
20 > python2.7 setup.py build -b build-2.7 Traceback (most recent call
21 > last): File "setup.py", line 21, in <module> from setuptools import
22 > setup, find_packages ImportError: No module named setuptools *
23 > ERROR: dev-python/suds-0.4 failed (compile phase): * Building
24 > failed with CPython 2.7 in distutils_building() function * * Call
25 > stack: * ebuild.sh, line 85: Called src_compile *
26 > environment, line 3726: Called distutils_src_compile *
27 > environment, line 1043: Called python_execute_function
28 > 'distutils_building' * environment, line 2110: Called die * The
29 > specific snippet of code: * die
30 > "${failure_message}"; * * If you need support, post the output of
31 > 'emerge --info =dev-python/suds-0.4', * the complete build log and
32 > the output of 'emerge -pqv =dev-python/suds-0.4'. * The complete
33 > build log is located at
34 > '/var/tmp/portage/dev-python/suds-0.4/temp/build.log'. * The ebuild
35 > environment file is located at
36 > '/var/tmp/portage/dev-python/suds-0.4/temp/environment'. * S:
37 > '/var/tmp/portage/dev-python/suds-0.4/work/suds-0.4'
38 >
39 > * Messages for package dev-python/suds-0.4:
40 >
41 > * ERROR: dev-python/suds-0.4 failed (compile phase): * Building
42 > failed with CPython 2.7 in distutils_building() function * * Call
43 > stack: * ebuild.sh, line 85: Called src_compile *
44 > environment, line 3726: Called distutils_src_compile *
45 > environment, line 1043: Called python_execute_function
46 > 'distutils_building' * environment, line 2110: Called die * The
47 > specific snippet of code: * die
48 > "${failure_message}"; * * If you need support, post the output of
49 > 'emerge --info =dev-python/suds-0.4', * the complete build log and
50 > the output of 'emerge -pqv =dev-python/suds-0.4'. * The complete
51 > build log is located at
52 > '/var/tmp/portage/dev-python/suds-0.4/temp/build.log'. * The ebuild
53 > environment file is located at
54 > '/var/tmp/portage/dev-python/suds-0.4/temp/environment'. * S:
55 > '/var/tmp/portage/dev-python/suds-0.4/work/suds-0.4'
56 >
57 > When I look in the temp directory for this build, it seems that
58 > python2.7 is installed. setuptools is also installed but only for
59 > python3. Is there a way to have catalyst build setuptools for
60 > python2? Is there a way to switch the system python to 2.7 or
61 > should it stay as python3? Or is this not really a catalyst issue
62 > and rather an issue with the suds ebuild? Is there any other info
63 > that would be helpful?
64
65 This is an issue with this particular package. Please file a bug in
66 Gentoo Bugzilla and assign it to the package maintainers. Let them
67 know that the package fails to build when the user only has python-3
68 installed.
69
70 > Thanks,
71 >
72 > -- Tim Messier
73 >
74
75 - --
76 Regards,
77
78 Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
79 Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng
80
81
82 -----BEGIN PGP SIGNATURE-----
83 Version: GnuPG v2.0.19 (GNU/Linux)
84 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
85
86 iQIcBAEBAgAGBQJP+1foAAoJEC8ZTXQF1qEPkjgQAIk4NzWMPcN0X7svNy9v7hiR
87 TFrHESFO+RBYHJ1scSiFw91ZwnX+eC7cGXsteu+cjNeJ3PC0HjDZfzFXJ9l5eqbT
88 KhSy9zbkpFP5Lzrs6xI6e1NVVsTZjqSbN687eDVnr6CKLO+F6bm3L5ln6vnlSn9+
89 uEG9iZEtzz+5dImRWSv3DuXY5y9a3Pc+gaH7Vg+y6YBxpUQEn5GSoYxqQ9c1Z0Lq
90 ClyKqQ6/8MbF5cvzq0PMw2OTdt6CnSBZLmRkMBSDcYhXfgUpPXo9yjW7uHg6Cbi0
91 lKydWw7+N+NoqYqApBXVMUh5lbSO2sSAiNyzXSw1VPqnSJQq7/qIRxVt28Jak8nU
92 bm2Ov1W0aEDpjWMJxadJuZMGldUa7W5X25AgWxNB+s0/+0f2oL29ObmpqqXcKNth
93 krF8YT04dd4pB9872SbkiResFA8cSS1gAwmhzLEMoauvjazv+UfQhvtTYaGYVEdb
94 elbnEbgcKI5oJGDdWnivsh4HL8c43ervgHIkRQ2kMBFA74IOp3Ix1kXzx8tqoYSo
95 U8n3qXTHN3Fr7gyAHw6QBV9M48geMY5SSNt4CMgq0mR8shFr8K9UF6OawZxgHG6S
96 LjzILlBB73HNCEHL0NQFHjtcPB1U8/CTDrPGUNfbrkt+p8cVidtSxxZD7lwjdIgj
97 DnR2CPOLS0Mrmx1n07IB
98 =6aMX
99 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-catalyst] Stage 4 build issues Sebastian Pipping <sping@g.o>