Gentoo Archives: gentoo-catalyst

From: "Guillermo M. Narvaja" <guillermo.narvaja@×××××××××××××××.ar>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Building stage3: x11-libs/libxcb-1.4-r1 failed - No module named _elementtree
Date: Wed, 21 Oct 2009 11:02:04
Message-Id: 1256122939.32086.19.camel@yapeyu.lambdasistemas.com
1 Hi,
2 I'm stuck with an error building stage3.
3
4 Compile of x11-libs/libxcb-1.4-r1 fails with this error:
5 --------
6 Traceback (most recent call last):
7 File "./c_client.py", line 2, in <module>
8 from xml.etree.cElementTree import *
9 File "/usr/lib/python2.6/xml/etree/cElementTree.py", line 3, in
10 <module>
11 from _elementtree import *
12 ImportError: No module named _elementtree
13 make[1]: *** [xc_misc.h] Error 1
14 --------
15
16 The problem it's related with python-2.6 package. When compiled with
17 "build" use flag, it doesn't builds _elementtree module.
18
19 -----> Relevant part in python-2.6.2-r1.ebuild <-----
20 src_configure() {
21 # Disable extraneous modules with extra dependencies.
22 if use build; then
23 export PYTHON_DISABLE_MODULES="dbm bsddb gdbm _curses
24 _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
25 ...
26 -----> END <-----
27
28 I don't know if other package should provide the required
29 _elementtree.so file.
30
31 Or maybe python should be built without the "build" flag?
32
33
34 Here is my current config:
35
36 Catalyst version 2.0.6.905
37
38 >>>> stage1.spec <<<<
39 subarch: x86
40 target: stage1
41 version_stamp: lambda-2009.0
42 rel_type: default
43 profile: default/linux/x86/2008.0
44 snapshot: lambda-2009.0
45 source_subpath: default/stage3-i686-20090714
46 chost: i686-pc-linux-gnu
47
48 >>>> stage2.spec <<<<
49 subarch: pentium4
50 target: stage2
51 version_stamp: lambda-2009.0
52 rel_type: default
53 profile: default/linux/x86/2008.0
54 snapshot: lambda-2009.0
55 source_subpath: default/stage1-x86-lambda-2009.0
56 chost: i686-pc-linux-gnu
57
58 >>>> stage3-desktop.spec <<<<
59 subarch: pentium4
60 target: stage3
61 version_stamp: lambda-2009.0
62 rel_type: default
63 profile: default/linux/x86/2008.0/desktop
64 snapshot: lambda-2009.0
65 source_subpath: default/stage2-pentium4-lambda-2009.0
66
67
68
69 --
70 Guillermo M. Narvaja
71 Lambda Sistemas S.R.L.
72 www.fierro-soft.com.ar
73 Tel: (5411) 4857-6662
74 Cel: (5411) 15-6783-4435
75 Email: guillermo.narvaja@×××××××××××××××.ar
76 MSN: guillermo_narvaja@×××××××.com
77 Skype: guillermonarvaja
78 Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina