Gentoo Archives: gentoo-catalyst

From: "Juan Luis Pérez Pérez" <juanluperez@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Re: libxml2 does not build in stage3.
Date: Wed, 23 Jun 2010 13:42:35
Message-Id: AANLkTilLId8rzI5wqGDGtsle1vTNxskZgXMAG-3r_hfe@mail.gmail.com
In Reply to: [gentoo-catalyst] libxml2 does not build in stage3. by "Juan Luis Pérez Pérez"
1 This error persists nowadays, does anybody know any clue about how to fix this?
2
3 El día 18 de mayo de 2010 16:23, Juan Luis Pérez Pérez
4 <juanluperez@×××××.com> escribió:
5
6 > I got an error building stage3 while emerging libxml2-2.7.7:
7 >
8 > make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2
9 > -2.7.7'
10 >  * Building of dev-libs/libxml2-2.7.7 with CPython 2.6...
11 > Making all in .
12 > make[1]: Entering directory
13 > `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
14 > /usr/bin/python ./generator.py .
15 > Traceback (most recent call last):
16 >  File "./generator.py", line 1186, in <module>
17 >    buildStubs()
18 >  File "./generator.py", line 517, in buildStubs
19 >    (parser, target)  = getparser()
20 >  File "./generator.py", line 34, in getparser
21 >    parser = xml.sax.make_parser()
22 >  File "/usr/lib/python2.6/xml/sax/__init__.py", line 93, in make_parser
23 >    raise SAXReaderNotAvailable("No parsers found", None)
24 > xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
25 > make[1]: *** [gen_prog] Error 1
26 > make[1]: Leaving directory
27 > `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6'
28 > make: *** [all-recursive] Error 1
29 >  * ERROR: dev-libs/libxml2-2.7.7 failed:
30 >  *   Building failed with CPython 2.6 in building() function
31 >  *
32 >  * Call stack:
33 >  *     ebuild.sh, line   54:  Called src_compile
34 >  *   environment, line 4772:  Called python_execute_function '-s'
35 > '--source-dir' 'python' 'building'
36 >  *   environment, line 3563:  Called die
37 >  * The specific snippet of code:
38 >  *                       die "${failure_message}";
39 >  *
40 >  * If you need support, post the output of 'emerge --info
41 > =dev-libs/libxml2-2.7.7',
42 >  * the complete build log and the output of 'emerge -pqv
43 > =dev-libs/libxml2-2.7.7'.
44 >  * The complete build log is located at
45 > '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/build.log'.
46 >  * The ebuild environment file is located at
47 > '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/environment'.
48 >  * S: '/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7'
49 >
50 > My stage*.spec:
51 >
52 > Stage1:
53 > subarch: i686
54 > target: stage1
55 > version_stamp: kmdevelop-20100514
56 > rel_type: default
57 > profile: default/linux/x86/10.0/desktop
58 > snapshot: 20100514
59 > source_subpath: default/stage3-i686-20100511
60 >
61 > Stage2:
62 > subarch: i686
63 > target: stage2
64 > version_stamp: kmdevelop-20100514
65 > rel_type: default
66 > profile: default/linux/x86/10.0/desktop
67 > snapshot: 20100514
68 > source_subpath: default/stage1-i686-kmdevelop-20100514
69 >
70 > Stage3:
71 > subarch: i686
72 > target: stage3
73 > version_stamp: kmdevelop-20100514
74 > rel_type: default
75 > profile: default/linux/x86/10.0/desktop
76 > snapshot: 20100514
77 > source_subpath: default/stage2-i686-kmdevelop-20100514
78 >
79 > Firstly I though It could be that I was building stage1 with no
80 > desktop profile, so xml USE flag wasn't active, but after building
81 > again with desktop profile this error stays.
82 >
83 > --
84 > Juan Luis Pérez Pérez
85 > Website: http://www.juanluperez.com
86 > Registered GNU/Linux user #408294 according to counter.li.org
87 > --
88 > Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
89 > algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
90 > Gracias.
91 > Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
92 >
93
94
95
96 --
97 Juan Luis Pérez Pérez
98 Website: http://www.juanluperez.com
99 Registered GNU/Linux user #408294 according to counter.li.org
100 --
101 Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
102 algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
103 Gracias.
104 Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

Replies

Subject Author
Re: [gentoo-catalyst] Re: libxml2 does not build in stage3. "Guillermo M. Narvaja" <guillermo.narvaja@×××××××××××××××.ar>