Gentoo Archives: gentoo-user

From: Joao Emanuel <joaoemanuel1981@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge world failing with No module name libxml2
Date: Mon, 20 Oct 2008 17:05:43
Message-Id: 712c16260810201005s1316d8egbcb4034078c05e95@mail.gmail.com
In Reply to: [gentoo-user] emerge world failing with No module name libxml2 by Brian Wince
1 2008/10/20 Brian Wince <bwince@×××××××.com>:
2 > All,
3 >
4 > I am trying to use "emerge –uDN world" to upgrade from an older snapshot to
5 > 20081008 and I cannot seem to get past the issues with module libxml2.
6 >
7 > I have tried running python-updater –p and it complains about blocked
8 > packages which are older packages that I have not yet been able to get
9 > updated via the emerge world.
10 >
11 > Is it possible to do an emerge –uDN to the latest snapshot on a system that
12 > was built a year or two ago or do I have to do it in stages?
13 >
14 > If so what is the correct procedure?
15 >
16 > The following is a snipit of the failure and it does not only happen with
17 > epiphany.
18 >
19 >
20 >
21 >
22 >
23 > if [ -f "C/epiphany.xml" ]; then d="../"; else
24 > d="/var/tmp/portage/www-client/ep
25 >
26 > iphany-2.22.3/work/epiphany-2.22.3/help/"; fi; \
27 >
28 > (cd es/ && \
29 >
30 > `which xml2po` -e -p \
31 >
32 > "${d}es/es.po" \
33 >
34 > "${d}C/epiphany.xml" > epiphany.xml.tmp && \
35 >
36 > cp epiphany.xml.tmp epiphany.xml && rm -f epiphany.xml.tmp)
37 >
38 > Traceback (most recent call last):
39 >
40 > File "/usr/bin/xml2po", line 35, in <module>
41 >
42 > import libxml2
43 >
44 > ImportError: No module named libxml2
45 >
46 > make[2]: *** [bg/epiphany.xml] Error 1
47 >
48 > make[2]: *** Waiting for unfinished jobs....
49 >
50 > Traceback (most recent call last):
51 >
52 > Traceback (most recent call last):
53 >
54 > File "/usr/bin/xml2po", line 35, in <module>
55 >
56 > import libxml2
57 >
58 > ImportError: No module named libxml2
59 >
60 > Traceback (most recent call last):
61 >
62 > File "/usr/bin/xml2po", line 35, in <module>
63 >
64 > import libxml2
65 >
66 > ImportError: No module named libxml2
67 >
68 > make[2]: *** [el/epiphany.xml] Error 1
69 >
70 > File "/usr/bin/xml2po", line 35, in <module>
71 >
72 > import libxml2
73 >
74 > ImportError: No module named libxml2
75 >
76 > make[2]: *** [ca/epiphany.xml] Error 1
77 >
78 > make[2]: *** [de/epiphany.xml] Error 1
79 >
80 > Traceback (most recent call last):
81 >
82 > File "/usr/bin/xml2po", line 35, in <module>
83 >
84 > import libxml2
85 >
86 > ImportError: No module named libxml2
87 >
88 > make[2]: *** [en_GB/epiphany.xml] Error 1
89 >
90 > Traceback (most recent call last):
91 >
92 > File "/usr/bin/xml2po", line 35, in <module>
93 >
94 > import libxml2
95 >
96 > ImportError: No module named libxml2
97 >
98 > make[2]: *** [es/epiphany.xml] Error 1
99 >
100 > make[2]: Leaving directory
101 > `/var/tmp/portage/www-client/epiphany-2.22.3/work/epiphany-2.22.3/help'
102 >
103 > make[1]: *** [all-recursive] Error 1
104 >
105 > make[1]: Leaving directory
106 > `/var/tmp/portage/www-client/epiphany-2.22.3/work/epiphany-2.22.3'
107 >
108 > make: *** [all] Error 2
109 >
110 > *
111 >
112 > * ERROR: www-client/epiphany-2.22.3 failed.
113 >
114 > * Call stack:
115 >
116 > * ebuild.sh, line 49: Called src_compile
117 >
118 > * environment, line 2604: Called gnome2_src_compile
119 >
120 > * environment, line 1968: Called die
121 >
122 > * The specific snippet of code:
123 >
124 > * emake || die "compile failure"
125 >
126 > * The die message:
127 >
128 > * compile failure
129 >
130 > *
131 >
132 > * If you need support, post the topmost build error, and the call stack if
133 > relevant.
134 >
135 > * A complete build log is located at
136 > '/var/tmp/portage/www-client/epiphany-2.22.3/temp/build.log'.
137 >
138 > * The ebuild environment file is located at
139 > '/var/tmp/portage/www-client/epiphany-2.22.3/temp/environment'.
140 >
141 > *
142 >
143 >
144 >
145 >
146 >
147 >
148 >
149 >
150 >
151 >
152 >
153 >
154 >
155 > Brian Wince
156 >
157 > Lab Unix System Administrator
158 >
159 > bwince@×××××××.com
160 >
161 > 408.750.8437
162 >
163 >
164 >
165 > Lab Services Website:
166 >
167 > http://eng.redback.com/display/labsvc/Home
168 >
169 >
170
171 Brian try to upgrade or merge again the libxml2 package.
172 After this, try again world update.
173
174 --
175
176 {}s
177
178 Joao Emanuel

Replies

Subject Author
RE: [gentoo-user] emerge world failing with No module name libxml2 Brian Wince <bwince@×××××××.com>