Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mesa build failure
Date: Sat, 27 Jun 2009 17:10:45
Message-Id: 5bdc1c8b0906271010n4634914boe4c83c6d58cad71c@mail.gmail.com
In Reply to: Re: [gentoo-user] mesa build failure by Alan McKinnon
1 On Sat, Jun 27, 2009 at 2:34 AM, Alan McKinnon<alan.mckinnon@×××××.com> wrote:
2 > On Saturday 27 June 2009 06:24:12 Mark Knecht wrote:
3 >> On Fri, Jun 26, 2009 at 12:30 PM, Alan McKinnon<alan.mckinnon@×××××.com>
4 > wrote:
5 >> > On Friday 26 June 2009 21:05:01 Mark Knecht wrote:
6 >> >> So the weirdness continues. mesa built but then xorg-server failed
7 >> >> with the same failure:
8 >> >>
9 >> >>
10 >> >>  * >>> SetUID: [chmod go-r] /usr/bin/Xorg ...
11 >> >>                        [ ok ]
12 >> >>
13 >> >> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
14 >> >> `./libglx.so': File exists
15 >> >> !!! Error: Failed to create /lib/libglx.so
16 >> >
17 >> > Looks like you have a file collision between xorg-server and mesa, which
18 >> > is odd as those packages get a lot of testing.
19 >> >
20 >> > Anything on bugs.gentoo.org?
21 >>
22 >> Unfortunately it seem that there are bug reports on this and more
23 >> unfortunately they have apparently been going on nearly a year now.
24 >> It's not a Gentoo thing specifically as there are Ubuntu, Debian and
25 >> other distros with reports in their forums.
26 >>
27 >> There was a possible by hand fix for it but I'll need to look at that
28 >> over the weekend to see if it makes sense on this machine.
29 >>
30 >> Bummer. I hate banging my head up against a wall made of problems no
31 >> one seems to be fixing.
32 >>
33 >> http://bugs.gentoo.org/247685
34 >
35 > The fix seems (in principle at least) to be brain-dead easy:
36 >
37 > - all ebuilds that merge opengl files should put them in distinct locations by
38 > name to avoid collisions
39 > - the contents of /usr/lib64/opengl/xorg-x11/extensions/ should be symlinks
40 > with a sane default put there by xorg-server and modified by eselect
41 >
42 > Nikos's comments are especially sane in that thread. Perhaps he'll come along,
43 > see this thread and help you out further.
44 >
45 > I suspect that the temporary workaround will be to delete a symlink and emerge
46 > stuff, then remember to always do this on every future re-emerge
47 >
48 > --
49 > alan dot mckinnon at gmail dot com
50
51 In concept it does seem fairly straight forward, but to some extent
52 I'm not clear why my previous attempts didn't work, unless the
53 questionable files remained behind. What I attempted to do was
54 completely remove everything X, but I probably didn't specifically
55 remove the stuff in /usr/lib/opengl/xorg-x11/extensions. I was
56 expecting the emerge to do that.
57
58 I will repeat the experiment this morning and post back info on the
59 steps as I go along.
60
61 I suppose I could copy Nikos on this thread directly to possibly catch
62 his attention but I
63 ll save that for later.
64
65 Cheers,
66 Mark
67
68 Cheers,
69 Mark

Replies

Subject Author
Re: [gentoo-user] mesa build failure Alan McKinnon <alan.mckinnon@×××××.com>