Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mesa build failure
Date: Fri, 26 Jun 2009 19:05:03
Message-Id: 5bdc1c8b0906261205r32fa0506m7bdd7b19717aadcc@mail.gmail.com
In Reply to: Re: [gentoo-user] mesa build failure by Mark Knecht
1 On Fri, Jun 26, 2009 at 11:31 AM, Mark Knecht<markknecht@×××××.com> wrote:
2 > On Fri, Jun 26, 2009 at 11:23 AM, Mark Knecht<markknecht@×××××.com> wrote:
3 >> On Fri, Jun 26, 2009 at 10:57 AM, Alan McKinnon<alan.mckinnon@×××××.com> wrote:
4 >>> On Friday 26 June 2009 18:43:37 Mark Knecht wrote:
5 >>>> Yep. did all those earlier and saw this OpenGL problem with eselect.
6 >>>> Sort of disregarded it at the time and figured it would get worked out
7 >>>> later but now it's in the way.
8 >>>
9 >>> So what exactly did eselect say at the time?
10 >>>
11 >>> Therein likely lies the solution to your problem.
12 >>
13 >> Well, at the time it seems I remember two options for eselect list
14 >> opengl, but at this point I'm seeing only 1. Anyway, trying to set it
15 >> to 1 causes the same error message I remember:
16 >>
17 >> myth12 ~ # eselect opengl list
18 >> Available OpenGL implementations:
19 >>  [1]   xorg-x11
20 >> myth12 ~ # eselect opengl set 1
21 >> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
22 >> `./libglx.so': File exists
23 >> !!! Error: Failed to create lib/libglx.so
24 >> Killed
25 >> myth12 ~ #
26 >>
27 >> myth12 ~ # slocate libglx
28 >> /usr/lib/opengl/xorg-x11/extensions/libglx.so
29 >> /usr/lib/xorg/modules/extensions/libglx.so
30 >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so
31 >> -rwxr-xr-x 1 root root 338584 Jun 23 16:41
32 >> /usr/lib/opengl/xorg-x11/extensions/libglx.so
33 >> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
34 >> total 344
35 >> drwxr-xr-x 2 root root   4096 Jun 23 16:42 .
36 >> drwxr-xr-x 5 root root   4096 Jun 23 16:42 ..
37 >> -rwxr-xr-x 1 root root 338584 Jun 23 16:41 libglx.so
38 >> myth12 ~ #
39 >>
40 >>
41 >> myth12 ~ # equery belongs /usr/lib/opengl/xorg-x11/extensions/libglx.so
42 >> [ Searching for file(s) /usr/lib/opengl/xorg-x11/extensions/libglx.so in *... ]
43 >> x11-base/xorg-server-1.5.3-r6 (/usr/lib/opengl/xorg-x11/extensions/libglx.so)
44 >> myth12 ~ #
45 >>
46 >> So the file is there and owned by xorg-server which is in the list to
47 >> get rebuilt.
48 >>
49 >>>
50 >>>> I'm trying a kernel rebuild and will reinstall modules, reboot, etc.
51 >>>
52 >>> What do you hope to achieve with that? OpenGL runs in user-space, and you have
53 >>> a problem with a missing header file - totally unrelated to the kernle and
54 >>> it's modules.
55 >>
56 >> I made a mistake earlier when I built this new kernel. (Updating from
57 >> 2.6.19 to 2.6.29) I forgot to include ext2 support in the kernel so
58 >> for a little while I had newer modules than the kernel because I
59 >> couldn't mount the boot directory to install the kernel. I decide this
60 >> morning to rebuild the whole kernel, rewrite the modules and get the
61 >> whole thing consistent. Nothing more than cleaning up an earlier
62 >> mistake.
63 >>
64 >> I've just rebuilt python and run python-updater just to make sure that
65 >> I didn't miss rebuilding something that was required.
66 >>
67 >> I have no issues at all completely removing xorg-server and everything
68 >> it loads and rebuilding it from scratch if folks think that might
69 >> help.
70 >>
71 >> thanks,
72 >> Mark
73 >>
74 >
75 > Humm...removing xorg-server allowed me to set OpenGL to xorg-x11
76 > without an error:
77 >
78 >
79 > myth12 ~ # emerge -C xorg-server
80 >
81 >  x11-base/xorg-server
82 >    selected: 1.5.3-r6
83 >   protected: none
84 >     omitted: none
85 >
86 >>>> 'Selected' packages are slated for removal.
87 >>>> 'Protected' and 'omitted' packages will not be removed.
88 >
89 >>>> Waiting 5 seconds before starting...
90 >>>> (Control-C to abort)...
91 >>>> Unmerging in: 5 4 3 2 1
92 >>>> Unmerging x11-base/xorg-server-1.5.3-r6...
93 >
94 >  * GNU info directory index is up-to-date.
95 > myth12 ~ # updatedb
96 > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
97 > ls: cannot access /usr/lib/opengl/xorg-x11/extensions/: No such file
98 > or directory
99 > myth12 ~ # eselect opengl list
100 > Available OpenGL implementations:
101 >  [1]   xorg-x11
102 > myth12 ~ # eselect opengl set 1
103 > Switching to xorg-x11 OpenGL interface... done
104 > myth12 ~ #
105 >
106 > and now mesa seems to be building.
107 >
108 > Problem solved - sort of. ;-)
109 >
110 > Cheers,
111 > Mark
112 >
113
114 So the weirdness continues. mesa built but then xorg-server failed
115 with the same failure:
116
117 >>> Installing (4 of 11) x11-base/xorg-server-1.5.3-r6
118 * >>> SetUID: [chmod go-r] /usr/bin/Xorg ...
119 [ ok ]
120
121 Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
122 `./libglx.so': File exists
123 !!! Error: Failed to create /lib/libglx.so
124 /var/tmp/portage/x11-base/xorg-server-1.5.3-r6/temp/environment: line
125 3403: 32139 Killed eselect opengl set ${OLD_IMPLEM}
126 * Users of reduced blanking now need:
127 * Option "ReducedBlanking"
128 * In the relevant Monitor section(s).
129 * Make sure your reduced blanking modelines are safe!
130
131 * You must rebuild all drivers if upgrading from xorg-server 1.4.1
132 * or earlier, because the ABI changed. If you cannot start X because
133 * of module version mismatch errors, this is your problem.
134
135 * You can generate a list of all installed packages in the x11-drivers
136 * category using this command:
137 * emerge portage-utils; qlist -I -C x11-drivers/
138
139 - Mark

Replies

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