Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-catalyst
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-catalyst@g.o
From: "Guillermo M. Narvaja" <guillermo.narvaja@...>
Subject: Building stage3: x11-libs/libxcb-1.4-r1 failed - No module named _elementtree
Date: Wed, 21 Oct 2009 08:02:19 -0300
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@...
MSN: guillermo_narvaja@...
Skype: guillermonarvaja
Lavalleja 519 1er Piso - Ciudad de Buenos Aires - Argentina



Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Too many problems with groupadd when creating stage3
Next by thread:
emerge under catalyst not quiet?
Previous by date:
Re: Too many problems with groupadd when creating stage3
Next by date:
Re: Too many problems with groupadd when creating stage3


Updated Nov 19, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.