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