public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guillermo M. Narvaja" <guillermo.narvaja@fierro-soft.com.ar>
To: gentoo-catalyst@lists.gentoo.org
Subject: [gentoo-catalyst] Building stage3: x11-libs/libxcb-1.4-r1 failed - No module named _elementtree
Date: Wed, 21 Oct 2009 08:02:19 -0300	[thread overview]
Message-ID: <1256122939.32086.19.camel@yapeyu.lambdasistemas.com> (raw)

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




                 reply	other threads:[~2009-10-21 11:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1256122939.32086.19.camel@yapeyu.lambdasistemas.com \
    --to=guillermo.narvaja@fierro-soft.com.ar \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox