public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Building stage3: x11-libs/libxcb-1.4-r1 failed - No module named _elementtree
@ 2009-10-21 11:02 Guillermo M. Narvaja
  0 siblings, 0 replies; only message in thread
From: Guillermo M. Narvaja @ 2009-10-21 11:02 UTC (permalink / raw
  To: gentoo-catalyst

Hi,
I'm stuck with an error building stage3. 

Compile of x11-libs/libxcb-1.4-r1 fails with this error:
--------
Traceback (most recent call last):
  File "./c_client.py", line 2, in <module>
    from xml.etree.cElementTree import *
  File "/usr/lib/python2.6/xml/etree/cElementTree.py", line 3, in
<module>
    from _elementtree import *
ImportError: No module named _elementtree
make[1]: *** [xc_misc.h] Error 1
--------

The problem it's related with python-2.6 package. When compiled with
"build" use flag, it doesn't builds _elementtree module.

-----> Relevant part in python-2.6.2-r1.ebuild <-----
src_configure() {
        # Disable extraneous modules with extra dependencies.
        if use build; then
                export PYTHON_DISABLE_MODULES="dbm bsddb gdbm _curses
_curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
...
-----> END <-----

I don't know if other package should provide the required
_elementtree.so file.

Or maybe python should be built without the "build" flag?


Here is my current config:

Catalyst version 2.0.6.905

>>>> stage1.spec <<<<
subarch: x86
target: stage1
version_stamp: lambda-2009.0
rel_type: default
profile: default/linux/x86/2008.0
snapshot: lambda-2009.0
source_subpath: default/stage3-i686-20090714
chost: i686-pc-linux-gnu

>>>> stage2.spec <<<<
subarch: pentium4
target: stage2
version_stamp: lambda-2009.0
rel_type: default
profile: default/linux/x86/2008.0
snapshot: lambda-2009.0
source_subpath: default/stage1-x86-lambda-2009.0
chost: i686-pc-linux-gnu

>>>> stage3-desktop.spec <<<<
subarch: pentium4
target: stage3
version_stamp: lambda-2009.0
rel_type: default
profile: default/linux/x86/2008.0/desktop
snapshot: lambda-2009.0
source_subpath: default/stage2-pentium4-lambda-2009.0



-- 
Guillermo M. Narvaja
Lambda Sistemas S.R.L.
www.fierro-soft.com.ar
Tel: (5411) 4857-6662
Cel: (5411) 15-6783-4435
Email: guillermo.narvaja@fierro-soft.com.ar
MSN: guillermo_narvaja@hotmail.com
Skype: guillermonarvaja
Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-21 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21 11:02 [gentoo-catalyst] Building stage3: x11-libs/libxcb-1.4-r1 failed - No module named _elementtree Guillermo M. Narvaja

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