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