1 |
On Sat, Jun 27, 2009 at 2:00 PM, Volker Armin |
2 |
Hemmann<volkerarmin@××××××××××.com> wrote: |
3 |
> On Samstag 27 Juni 2009, Mark Knecht wrote: |
4 |
>> On Sat, Jun 27, 2009 at 1:25 PM, Volker Armin |
5 |
>> |
6 |
>> Hemmann<volkerarmin@××××××××××.com> wrote: |
7 |
>> > On Samstag 27 Juni 2009, Mark Knecht wrote: |
8 |
>> >> Copying Nikos as I think he may have the answer right on the tip of his |
9 |
>> >> tongue. Bulk of message posted at the bottom. |
10 |
>> >> |
11 |
>> >> On Sat, Jun 27, 2009 at 10:32 AM, Mark Knecht<markknecht@×××××.com> |
12 |
> wrote: |
13 |
>> >> > On Sat, Jun 27, 2009 at 10:27 AM, Mark Knecht<markknecht@×××××.com> |
14 |
> wrote: |
15 |
>> >> >> On Sat, Jun 27, 2009 at 10:25 AM, Mark Knecht<markknecht@×××××.com> |
16 |
>> > |
17 |
>> > wrote: |
18 |
>> >> >>> On Sat, Jun 27, 2009 at 10:18 AM, Alan |
19 |
>> >> >>> McKinnon<alan.mckinnon@×××××.com> |
20 |
>> > |
21 |
>> > wrote: |
22 |
>> >> >>>> On Saturday 27 June 2009 19:10:43 Mark Knecht wrote: |
23 |
>> >> >>>>> On Sat, Jun 27, 2009 at 2:34 AM, Alan |
24 |
>> >> >>>>> McKinnon<alan.mckinnon@×××××.com> |
25 |
>> >> >>>> |
26 |
>> >> >>>> wrote: |
27 |
>> >> >>>>> > On Saturday 27 June 2009 06:24:12 Mark Knecht wrote: |
28 |
>> >> >>>>> >> On Fri, Jun 26, 2009 at 12:30 PM, Alan |
29 |
>> >> >>>>> >> McKinnon<alan.mckinnon@×××××.com> |
30 |
>> >> >>>>> > |
31 |
>> >> >>>>> > wrote: |
32 |
>> >> >>>>> >> > On Friday 26 June 2009 21:05:01 Mark Knecht wrote: |
33 |
>> >> >>>>> >> >> So the weirdness continues. mesa built but then xorg-server |
34 |
>> >> >>>>> >> >> failed with the same failure: |
35 |
>> >> >>>>> >> >> |
36 |
>> >> >>>>> >> >> |
37 |
>> >> >>>>> >> >> * >>> SetUID: [chmod go-r] /usr/bin/Xorg ... |
38 |
>> >> >>>>> >> >> [ ok ] |
39 |
>> >> >>>>> >> >> |
40 |
>> >> >>>>> >> >> Switching to xorg-x11 OpenGL interface...ln: creating |
41 |
>> >> >>>>> >> >> symbolic link `./libglx.so': File exists |
42 |
>> >> >>>>> >> >> !!! Error: Failed to create /lib/libglx.so |
43 |
>> >> >>>>> >> > |
44 |
>> >> >>>>> >> > Looks like you have a file collision between xorg-server and |
45 |
>> >> >>>>> >> > mesa, which is odd as those packages get a lot of testing. |
46 |
>> >> >>>>> >> > |
47 |
>> >> >>>>> >> > Anything on bugs.gentoo.org? |
48 |
>> >> >>>>> >> |
49 |
>> >> >>>>> >> Unfortunately it seem that there are bug reports on this and |
50 |
>> >> >>>>> >> more unfortunately they have apparently been going on nearly a |
51 |
>> >> >>>>> >> year now. It's not a Gentoo thing specifically as there are |
52 |
>> >> >>>>> >> Ubuntu, Debian and other distros with reports in their forums. |
53 |
>> >> >>>>> >> |
54 |
>> >> >>>>> >> There was a possible by hand fix for it but I'll need to look |
55 |
>> >> >>>>> >> at that over the weekend to see if it makes sense on this |
56 |
>> >> >>>>> >> machine. |
57 |
>> >> >>>>> >> |
58 |
>> >> >>>>> >> Bummer. I hate banging my head up against a wall made of |
59 |
>> >> >>>>> >> problems no one seems to be fixing. |
60 |
>> >> >>>>> >> |
61 |
>> >> >>>>> >> http://bugs.gentoo.org/247685 |
62 |
>> >> >>>>> > |
63 |
>> >> >>>>> > The fix seems (in principle at least) to be brain-dead easy: |
64 |
>> >> >>>>> > |
65 |
>> >> >>>>> > - all ebuilds that merge opengl files should put them in |
66 |
>> >> >>>>> > distinct locations by name to avoid collisions |
67 |
>> >> >>>>> > - the contents of /usr/lib64/opengl/xorg-x11/extensions/ should |
68 |
>> >> >>>>> > be symlinks with a sane default put there by xorg-server and |
69 |
>> >> >>>>> > modified by eselect |
70 |
>> >> >>>>> > |
71 |
>> >> >>>>> > Nikos's comments are especially sane in that thread. Perhaps |
72 |
>> >> >>>>> > he'll come along, see this thread and help you out further. |
73 |
>> >> >>>>> > |
74 |
>> >> >>>>> > I suspect that the temporary workaround will be to delete a |
75 |
>> >> >>>>> > symlink and emerge stuff, then remember to always do this on |
76 |
>> >> >>>>> > every future re-emerge |
77 |
>> >> >>>>> > |
78 |
>> >> >>>>> > -- |
79 |
>> >> >>>>> > alan dot mckinnon at gmail dot com |
80 |
>> >> >>>>> |
81 |
>> >> >>>>> In concept it does seem fairly straight forward, but to some |
82 |
>> >> >>>>> extent I'm not clear why my previous attempts didn't work, unless |
83 |
>> >> >>>>> the questionable files remained behind. What I attempted to do was |
84 |
>> >> >>>>> completely remove everything X, but I probably didn't specifically |
85 |
>> >> >>>>> remove the stuff in /usr/lib/opengl/xorg-x11/extensions. I was |
86 |
>> >> >>>>> expecting the emerge to do that. |
87 |
>> >> >>>> |
88 |
>> >> >>>> According to the bug report you mentioned earlier, the ebuild is |
89 |
>> >> >>>> attempting to perform eselect too late in the process, which fails, |
90 |
>> >> >>>> and the ebuild immediately exits. |
91 |
>> >> >>>> |
92 |
>> >> >>>> So it's not surprising that dodgy files are left behind which you |
93 |
>> >> >>>> must remove manually. |
94 |
>> >> >>>> |
95 |
>> >> >>>> -- |
96 |
>> >> >>>> alan dot mckinnon at gmail dot com |
97 |
>> >> >>> |
98 |
>> >> >>> So I'm little confused by a couple of the postings in that report. I |
99 |
>> >> >>> did emerge -C glproto/eselect/mesa/xorg-server and then made sure |
100 |
>> >> >>> there was nothing left in those directories at all. Should I emerge |
101 |
>> >> >>> eselect, manually do a select, and then emerge the rest of the |
102 |
>> >> >>> files? |
103 |
>> >> >>> |
104 |
>> >> >>> Or emerge eselect and maybe mesa, do the eselect, then xorg-server? |
105 |
>> >> >>> |
106 |
>> >> >>> mesa is currently building. glproto created |
107 |
>> >> >>> /usr/lib/opengl/xorg-x11/include, but the other two directories are |
108 |
>> >> >>> there yet. |
109 |
>> >> >>> |
110 |
>> >> >>> Cheers, |
111 |
>> >> >>> Mark |
112 |
>> >> >> |
113 |
>> >> >> With mesa building in screen I tried the eselect step. It completes |
114 |
>> >> >> normally but the extensions directory isn't there yet so there's |
115 |
>> >> >> nothing to check. |
116 |
>> >> >> |
117 |
>> >> >> [detached] |
118 |
>> >> >> myth12 ~ # eselect opengl list |
119 |
>> >> >> Available OpenGL implementations: |
120 |
>> >> >> [1] xorg-x11 * |
121 |
>> >> >> myth12 ~ # eselect opengl set 1 |
122 |
>> >> >> Switching to xorg-x11 OpenGL interface... done |
123 |
>> >> >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/ |
124 |
>> >> >> total 12 |
125 |
>> >> >> drwxr-xr-x 3 root root 4096 Jun 27 10:20 . |
126 |
>> >> >> drwxr-xr-x 4 root root 4096 Jun 27 10:20 .. |
127 |
>> >> >> drwxr-xr-x 2 root root 4096 Jun 27 10:20 include |
128 |
>> >> >> myth12 ~ # |
129 |
>> >> > |
130 |
>> >> > Ok, with mesa finished building there are now two more directories |
131 |
>> >> > with some header files added in include and some links and files in |
132 |
>> >> > lib: |
133 |
>> >> > |
134 |
>> >> > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/ |
135 |
>> >> > total 20 |
136 |
>> >> > drwxr-xr-x 5 root root 4096 Jun 27 10:28 . |
137 |
>> >> > drwxr-xr-x 4 root root 4096 Jun 27 10:20 .. |
138 |
>> >> > drwxr-xr-x 2 root root 4096 Jun 27 10:28 extensions |
139 |
>> >> > drwxr-xr-x 2 root root 4096 Jun 27 10:28 include |
140 |
>> >> > drwxr-xr-x 2 root root 4096 Jun 27 10:28 lib |
141 |
>> >> > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/ |
142 |
>> >> > total 8 |
143 |
>> >> > drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
144 |
>> >> > drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
145 |
>> >> > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/include/ |
146 |
>> >> > total 716 |
147 |
>> >> > drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
148 |
>> >> > drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
149 |
>> >> > -rw-r--r-- 1 root root 90752 Jun 27 10:28 gl.h |
150 |
>> >> > -rw-r--r-- 1 root root 461180 Jun 27 10:28 glext.h |
151 |
>> >> > -rw-r--r-- 1 root root 17155 Jun 27 10:28 glx.h |
152 |
>> >> > -rw-r--r-- 1 root root 34142 Jun 27 10:28 glxext.h |
153 |
>> >> > -rw-r--r-- 1 root root 2453 Jun 27 10:20 glxmd.h |
154 |
>> >> > -rw-r--r-- 1 root root 77887 Jun 27 10:20 glxproto.h |
155 |
>> >> > -rw-r--r-- 1 root root 10613 Jun 27 10:20 glxtokens.h |
156 |
>> >> > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/lib |
157 |
>> >> > total 456 |
158 |
>> >> > drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
159 |
>> >> > drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
160 |
>> >> > -rw-r--r-- 1 root root 743 Jun 27 10:28 libGL.la |
161 |
>> >> > lrwxrwxrwx 1 root root 12 Jun 27 10:28 libGL.so -> libGL.so.1.2 |
162 |
>> >> > lrwxrwxrwx 1 root root 12 Jun 27 10:28 libGL.so.1 -> libGL.so.1.2 |
163 |
>> >> > -rwxr-xr-x 1 root root 448056 Jun 27 10:28 libGL.so.1.2 |
164 |
>> >> > myth12 ~ # |
165 |
>> >> > |
166 |
>> >> > Still no problem doing a set in eselect. OK so far... (I think) |
167 |
>> >> > |
168 |
>> >> > myth12 ~ # eselect opengl list |
169 |
>> >> > Available OpenGL implementations: |
170 |
>> >> > [1] xorg-x11 * |
171 |
>> >> > myth12 ~ # eselect opengl set 1 |
172 |
>> >> > Switching to xorg-x11 OpenGL interface... done |
173 |
>> >> > myth12 ~ # |
174 |
>> >> > |
175 |
>> >> > Now I'll emerge xorg-server. |
176 |
>> >> > |
177 |
>> >> > Cheers, |
178 |
>> >> > Mark |
179 |
>> >> |
180 |
>> >> OK - so now I'm not so sure what the correct next step is. The |
181 |
>> >> xorg-server emerge completed cleanly but the contents of the |
182 |
>> >> extensions directory are a single file, not a link and now eselect |
183 |
>> >> opengl set 1 fails: |
184 |
>> >> |
185 |
>> >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/ |
186 |
>> >> total 20 |
187 |
>> >> drwxr-xr-x 5 root root 4096 Jun 27 10:28 . |
188 |
>> >> drwxr-xr-x 4 root root 4096 Jun 27 10:20 .. |
189 |
>> >> drwxr-xr-x 2 root root 4096 Jun 27 10:57 extensions |
190 |
>> >> drwxr-xr-x 2 root root 4096 Jun 27 10:28 include |
191 |
>> >> drwxr-xr-x 2 root root 4096 Jun 27 10:28 lib |
192 |
>> >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/ |
193 |
>> >> total 340 |
194 |
>> >> drwxr-xr-x 2 root root 4096 Jun 27 10:57 . |
195 |
>> >> drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
196 |
>> >> -rwxr-xr-x 1 root root 334456 Jun 27 10:57 libglx.so |
197 |
>> >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/include/ |
198 |
>> >> total 716 |
199 |
>> >> drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
200 |
>> >> drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
201 |
>> >> -rw-r--r-- 1 root root 90752 Jun 27 10:28 gl.h |
202 |
>> >> -rw-r--r-- 1 root root 461180 Jun 27 10:28 glext.h |
203 |
>> >> -rw-r--r-- 1 root root 17155 Jun 27 10:28 glx.h |
204 |
>> >> -rw-r--r-- 1 root root 34142 Jun 27 10:28 glxext.h |
205 |
>> >> -rw-r--r-- 1 root root 2453 Jun 27 10:20 glxmd.h |
206 |
>> >> -rw-r--r-- 1 root root 77887 Jun 27 10:20 glxproto.h |
207 |
>> >> -rw-r--r-- 1 root root 10613 Jun 27 10:20 glxtokens.h |
208 |
>> >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/lib/ |
209 |
>> >> total 456 |
210 |
>> >> drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
211 |
>> >> drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
212 |
>> >> -rw-r--r-- 1 root root 743 Jun 27 10:28 libGL.la |
213 |
>> >> lrwxrwxrwx 1 root root 12 Jun 27 10:28 libGL.so -> libGL.so.1.2 |
214 |
>> >> lrwxrwxrwx 1 root root 12 Jun 27 10:28 libGL.so.1 -> libGL.so.1.2 |
215 |
>> >> -rwxr-xr-x 1 root root 448056 Jun 27 10:28 libGL.so.1.2 |
216 |
>> >> myth12 ~ # |
217 |
>> >> |
218 |
>> >> |
219 |
>> >> myth12 ~ # eselect opengl list |
220 |
>> >> Available OpenGL implementations: |
221 |
>> >> [1] xorg-x11 |
222 |
>> >> myth12 ~ # eselect opengl set 1 |
223 |
>> >> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link |
224 |
>> >> `./libglx.so': File exists |
225 |
>> >> !!! Error: Failed to create lib/libglx.so |
226 |
>> >> Killed |
227 |
>> >> myth12 ~ # |
228 |
>> >> |
229 |
>> >> |
230 |
>> >> |
231 |
>> >> myth12 ~ # slocate libglx.so |
232 |
>> >> /usr/lib/opengl/xorg-x11/extensions/libglx.so |
233 |
>> >> /usr/lib/xorg/modules/extensions/libglx.so |
234 |
>> >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so |
235 |
>> >> -rwxr-xr-x 1 root root 334456 Jun 27 10:57 |
236 |
>> >> /usr/lib/opengl/xorg-x11/extensions/libglx.so |
237 |
>> >> myth12 ~ # ls -al /usr/lib/xorg/modules/extensions/libglx.so |
238 |
>> >> lrwxrwxrwx 1 root root 42 Jun 23 16:42 |
239 |
>> >> /usr/lib/xorg/modules/extensions/libglx.so -> |
240 |
>> >> //usr//lib/opengl/ati/extensions/libglx.so |
241 |
>> >> myth12 ~ # |
242 |
>> >> |
243 |
>> >> |
244 |
>> >> The second one is a link that I suppose it broken because it's showing |
245 |
>> >> up in red. However I don't know if it was there after removing |
246 |
>> >> everything and redoing the emerges as I didn't check for it. |
247 |
>> >> |
248 |
>> >> Basically, if the 'thing' in extensions is supposed to be a link, then |
249 |
>> >> where is the real libglx.so supposed to go? |
250 |
>> >> |
251 |
>> >> Con-fuzed... |
252 |
>> >> |
253 |
>> >> - Mark |
254 |
>> > |
255 |
>> > /usr/lib64/opengl/ati/extensions/libglx.so |
256 |
>> > /usr/lib64/opengl/xorg-x11/extensions/libglx.so |
257 |
>> > |
258 |
>> > is where libglx.so belongs |
259 |
>> > |
260 |
>> > /usr/lib64/xorg/modules/extensions/libglx.so |
261 |
>> > |
262 |
>> > is the symlink |
263 |
>> > |
264 |
>> > so, why not follow the instructions in the bug, that was posted in the |
265 |
>> > thread? |
266 |
>> |
267 |
>> Which is what I got by doing a reinstall. So what's the problem? |
268 |
>> |
269 |
>> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so |
270 |
>> -rwxr-xr-x 1 root root 334456 Jun 27 12:56 |
271 |
> |
272 |
> that is correct. |
273 |
> |
274 |
>> /usr/lib/opengl/xorg-x11/extensions/libglx.so |
275 |
>> myth12 ~ # ls -al /usr/lib/xorg/modules/extensions/libglx.so |
276 |
>> lrwxrwxrwx 1 root root 45 Jun 27 13:00 |
277 |
>> /usr/lib/xorg/modules/extensions/libglx.so -> |
278 |
>> /usr/lib/opengl/xorg-x11/extensions/libglx.so |
279 |
>> myth12 ~ # |
280 |
>> |
281 |
> |
282 |
> and that is correct too. |
283 |
> |
284 |
> equery belongs /usr/lib64/opengl/xorg-x11/extensions/libglx.so |
285 |
> * Searching for /usr/lib64/opengl/xorg-x11/extensions/libglx.so ... |
286 |
> x11-base/xorg-server-1.6.1.901-r4 (/usr/lib64/opengl/xorg- |
287 |
> x11/extensions/libglx.so) |
288 |
> |
289 |
> mesa does not install any libglx files. |
290 |
> |
291 |
> |
292 |
|
293 |
I think it's all working now. I still cannot run X as I cannot figure |
294 |
out the right wat to set up xorg.conf for the TV Out port but as far |
295 |
as the mesa build failure after emerging things a few times and |
296 |
finally figuring out what I had to delete, etc., I *think* it's OK |
297 |
now. |
298 |
|
299 |
As far as the bug report went it just didn't click for me. |
300 |
Disappointing that after something like 10 months no one has fixed the |
301 |
ebuild. |
302 |
|
303 |
Cheers, |
304 |
Mark |