1 |
On Sat, Jun 27, 2009 at 10:27 AM, Mark Knecht<markknecht@×××××.com> wrote: |
2 |
> On Sat, Jun 27, 2009 at 10:25 AM, Mark Knecht<markknecht@×××××.com> wrote: |
3 |
>> On Sat, Jun 27, 2009 at 10:18 AM, Alan McKinnon<alan.mckinnon@×××××.com> wrote: |
4 |
>>> On Saturday 27 June 2009 19:10:43 Mark Knecht wrote: |
5 |
>>>> On Sat, Jun 27, 2009 at 2:34 AM, Alan McKinnon<alan.mckinnon@×××××.com> |
6 |
>>> wrote: |
7 |
>>>> > On Saturday 27 June 2009 06:24:12 Mark Knecht wrote: |
8 |
>>>> >> On Fri, Jun 26, 2009 at 12:30 PM, Alan McKinnon<alan.mckinnon@×××××.com> |
9 |
>>>> > |
10 |
>>>> > wrote: |
11 |
>>>> >> > On Friday 26 June 2009 21:05:01 Mark Knecht wrote: |
12 |
>>>> >> >> So the weirdness continues. mesa built but then xorg-server failed |
13 |
>>>> >> >> with the same failure: |
14 |
>>>> >> >> |
15 |
>>>> >> >> |
16 |
>>>> >> >> * >>> SetUID: [chmod go-r] /usr/bin/Xorg ... |
17 |
>>>> >> >> [ ok ] |
18 |
>>>> >> >> |
19 |
>>>> >> >> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link |
20 |
>>>> >> >> `./libglx.so': File exists |
21 |
>>>> >> >> !!! Error: Failed to create /lib/libglx.so |
22 |
>>>> >> > |
23 |
>>>> >> > Looks like you have a file collision between xorg-server and mesa, |
24 |
>>>> >> > which is odd as those packages get a lot of testing. |
25 |
>>>> >> > |
26 |
>>>> >> > Anything on bugs.gentoo.org? |
27 |
>>>> >> |
28 |
>>>> >> Unfortunately it seem that there are bug reports on this and more |
29 |
>>>> >> unfortunately they have apparently been going on nearly a year now. |
30 |
>>>> >> It's not a Gentoo thing specifically as there are Ubuntu, Debian and |
31 |
>>>> >> other distros with reports in their forums. |
32 |
>>>> >> |
33 |
>>>> >> There was a possible by hand fix for it but I'll need to look at that |
34 |
>>>> >> over the weekend to see if it makes sense on this machine. |
35 |
>>>> >> |
36 |
>>>> >> Bummer. I hate banging my head up against a wall made of problems no |
37 |
>>>> >> one seems to be fixing. |
38 |
>>>> >> |
39 |
>>>> >> http://bugs.gentoo.org/247685 |
40 |
>>>> > |
41 |
>>>> > The fix seems (in principle at least) to be brain-dead easy: |
42 |
>>>> > |
43 |
>>>> > - all ebuilds that merge opengl files should put them in distinct |
44 |
>>>> > locations by name to avoid collisions |
45 |
>>>> > - the contents of /usr/lib64/opengl/xorg-x11/extensions/ should be |
46 |
>>>> > symlinks with a sane default put there by xorg-server and modified by |
47 |
>>>> > eselect |
48 |
>>>> > |
49 |
>>>> > Nikos's comments are especially sane in that thread. Perhaps he'll come |
50 |
>>>> > along, see this thread and help you out further. |
51 |
>>>> > |
52 |
>>>> > I suspect that the temporary workaround will be to delete a symlink and |
53 |
>>>> > emerge stuff, then remember to always do this on every future re-emerge |
54 |
>>>> > |
55 |
>>>> > -- |
56 |
>>>> > alan dot mckinnon at gmail dot com |
57 |
>>>> |
58 |
>>>> In concept it does seem fairly straight forward, but to some extent |
59 |
>>>> I'm not clear why my previous attempts didn't work, unless the |
60 |
>>>> questionable files remained behind. What I attempted to do was |
61 |
>>>> completely remove everything X, but I probably didn't specifically |
62 |
>>>> remove the stuff in /usr/lib/opengl/xorg-x11/extensions. I was |
63 |
>>>> expecting the emerge to do that. |
64 |
>>> |
65 |
>>> According to the bug report you mentioned earlier, the ebuild is attempting to |
66 |
>>> perform eselect too late in the process, which fails, and the ebuild |
67 |
>>> immediately exits. |
68 |
>>> |
69 |
>>> So it's not surprising that dodgy files are left behind which you must remove |
70 |
>>> manually. |
71 |
>>> |
72 |
>>> -- |
73 |
>>> alan dot mckinnon at gmail dot com |
74 |
>>> |
75 |
>>> |
76 |
>> So I'm little confused by a couple of the postings in that report. I |
77 |
>> did emerge -C glproto/eselect/mesa/xorg-server and then made sure |
78 |
>> there was nothing left in those directories at all. Should I emerge |
79 |
>> eselect, manually do a select, and then emerge the rest of the files? |
80 |
>> |
81 |
>> Or emerge eselect and maybe mesa, do the eselect, then xorg-server? |
82 |
>> |
83 |
>> mesa is currently building. glproto created |
84 |
>> /usr/lib/opengl/xorg-x11/include, but the other two directories are |
85 |
>> there yet. |
86 |
>> |
87 |
>> Cheers, |
88 |
>> Mark |
89 |
>> |
90 |
> |
91 |
> With mesa building in screen I tried the eselect step. It completes |
92 |
> normally but the extensions directory isn't there yet so there's |
93 |
> nothing to check. |
94 |
> |
95 |
> [detached] |
96 |
> myth12 ~ # eselect opengl list |
97 |
> Available OpenGL implementations: |
98 |
> [1] xorg-x11 * |
99 |
> myth12 ~ # eselect opengl set 1 |
100 |
> Switching to xorg-x11 OpenGL interface... done |
101 |
> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/ |
102 |
> total 12 |
103 |
> drwxr-xr-x 3 root root 4096 Jun 27 10:20 . |
104 |
> drwxr-xr-x 4 root root 4096 Jun 27 10:20 .. |
105 |
> drwxr-xr-x 2 root root 4096 Jun 27 10:20 include |
106 |
> myth12 ~ # |
107 |
> |
108 |
|
109 |
Ok, with mesa finished building there are now two more directories |
110 |
with some header files added in include and some links and files in |
111 |
lib: |
112 |
|
113 |
myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/ |
114 |
total 20 |
115 |
drwxr-xr-x 5 root root 4096 Jun 27 10:28 . |
116 |
drwxr-xr-x 4 root root 4096 Jun 27 10:20 .. |
117 |
drwxr-xr-x 2 root root 4096 Jun 27 10:28 extensions |
118 |
drwxr-xr-x 2 root root 4096 Jun 27 10:28 include |
119 |
drwxr-xr-x 2 root root 4096 Jun 27 10:28 lib |
120 |
myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/ |
121 |
total 8 |
122 |
drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
123 |
drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
124 |
myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/include/ |
125 |
total 716 |
126 |
drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
127 |
drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
128 |
-rw-r--r-- 1 root root 90752 Jun 27 10:28 gl.h |
129 |
-rw-r--r-- 1 root root 461180 Jun 27 10:28 glext.h |
130 |
-rw-r--r-- 1 root root 17155 Jun 27 10:28 glx.h |
131 |
-rw-r--r-- 1 root root 34142 Jun 27 10:28 glxext.h |
132 |
-rw-r--r-- 1 root root 2453 Jun 27 10:20 glxmd.h |
133 |
-rw-r--r-- 1 root root 77887 Jun 27 10:20 glxproto.h |
134 |
-rw-r--r-- 1 root root 10613 Jun 27 10:20 glxtokens.h |
135 |
myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/lib |
136 |
total 456 |
137 |
drwxr-xr-x 2 root root 4096 Jun 27 10:28 . |
138 |
drwxr-xr-x 5 root root 4096 Jun 27 10:28 .. |
139 |
-rw-r--r-- 1 root root 743 Jun 27 10:28 libGL.la |
140 |
lrwxrwxrwx 1 root root 12 Jun 27 10:28 libGL.so -> libGL.so.1.2 |
141 |
lrwxrwxrwx 1 root root 12 Jun 27 10:28 libGL.so.1 -> libGL.so.1.2 |
142 |
-rwxr-xr-x 1 root root 448056 Jun 27 10:28 libGL.so.1.2 |
143 |
myth12 ~ # |
144 |
|
145 |
Still no problem doing a set in eselect. OK so far... (I think) |
146 |
|
147 |
myth12 ~ # eselect opengl list |
148 |
Available OpenGL implementations: |
149 |
[1] xorg-x11 * |
150 |
myth12 ~ # eselect opengl set 1 |
151 |
Switching to xorg-x11 OpenGL interface... done |
152 |
myth12 ~ # |
153 |
|
154 |
Now I'll emerge xorg-server. |
155 |
|
156 |
Cheers, |
157 |
Mark |