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 16:04:09
Message-Id: 5bdc1c8b0906260904h60f51380i9dd411f1538e5737@mail.gmail.com
In Reply to: Re: [gentoo-user] mesa build failure by Alan McKinnon
1 On Fri, Jun 26, 2009 at 8:24 AM, Alan McKinnon<alan.mckinnon@×××××.com> wrote:
2 > On Friday 26 June 2009 17:16:26 Mark Knecht wrote:
3 >> Hi,
4 >>    As part of emerge @world mesa isn't building. It complains (I
5 >> think) about a missing GL/glxproto.h file.
6 >>
7 >>    Anyone know where this  file is supposed to come from?
8 >
9 > x11-proto/glproto
10 >
11 > alan@nazgul ~/.ssh $ locate glxproto.h
12 > /usr/lib64/opengl/xorg-x11/include/glxproto.h
13 > /usr/include/GL/glxproto.h
14 > alan@nazgul ~/.ssh $ equery belongs /usr/lib64/opengl/xorg-
15 > x11/include/glxproto.h
16 >  * Searching for /usr/lib64/opengl/xorg-x11/include/glxproto.h ...
17 > x11-proto/glproto-1.4.10 (/usr/lib64/opengl/xorg-x11/include/glxproto.h)
18 >
19 >
20 > (The second file in the locate output is a symlink to the first)
21 >
22 > --
23 > alan dot mckinnon at gmail dot com
24 >
25 >
26
27 Interesting. Thanks guys.
28
29 so is this a mistake in the ebuild? Why isn't it picking it up automatically?
30
31 I seemed to already have the package installed:
32
33 myth12 ~ # emerge -pv -1 glproto
34
35 These are the packages that would be merged, in order:
36
37 Calculating dependencies... done!
38 [ebuild R ] x11-proto/glproto-1.4.9 0 kB
39
40 Total: 1 package (1 reinstall), Size of downloads: 0 kB
41 myth12 ~ #
42
43 Looks like there's some other problem. Look at the end of me trying to
44 reinstall it:
45
46
47 >>> Emerging (1 of 1) x11-proto/glproto-1.4.9
48 * glproto-1.4.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
49 [ ok ]
50 * checking ebuild checksums ;-) ...
51 [ ok ]
52 * checking auxfile checksums ;-) ...
53 [ ok ]
54 * checking miscfile checksums ;-) ...
55 [ ok ]
56 >>> Unpacking source...
57 >>> Unpacking glproto-1.4.9.tar.bz2 to /var/tmp/portage/x11-proto/glproto-1.4.9/work
58 >>> Source unpacked in /var/tmp/portage/x11-proto/glproto-1.4.9/work
59 >>> Compiling source in /var/tmp/portage/x11-proto/glproto-1.4.9/work/glproto-1.4.9 ...
60 ./configure --prefix=/usr --build=i686-pc-linux-gnu
61 --host=i686-pc-linux-gnu --mandir=/usr/share/man
62 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
63 --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share
64 checking for a BSD-compatible install... /usr/bin/install -c
65 checking whether build environment is sane... yes
66 checking for a thread-safe mkdir -p... /bin/mkdir -p
67 checking for gawk... gawk
68 checking whether make sets $(MAKE)... yes
69 configure: creating ./config.status
70 config.status: creating Makefile
71 config.status: creating glproto.pc
72 make -j2
73 make: Nothing to be done for `all'.
74 >>> Source compiled.
75 >>> Test phase [not enabled]: x11-proto/glproto-1.4.9
76
77 >>> Install glproto-1.4.9 into /var/tmp/portage/x11-proto/glproto-1.4.9/image/ category x11-proto
78 make[1]: Entering directory
79 `/var/tmp/portage/x11-proto/glproto-1.4.9/work/glproto-1.4.9'
80 make[1]: Nothing to be done for `install-exec-am'.
81 test -z "/usr/include/GL" || /bin/mkdir -p
82 "/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL"
83 /usr/bin/install -c -m 644 'glxint.h'
84 '/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxint.h'
85 /usr/bin/install -c -m 644 'glxmd.h'
86 '/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxmd.h'
87 /usr/bin/install -c -m 644 'glxproto.h'
88 '/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxproto.h'
89 /usr/bin/install -c -m 644 'glxtokens.h'
90 '/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxtokens.h'
91 test -z "/usr/include/GL/internal" || /bin/mkdir -p
92 "/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/internal"
93 /usr/bin/install -c -m 644 'glcore.h'
94 '/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/internal/glcore.h'
95 test -z "/usr/lib/pkgconfig" || /bin/mkdir -p
96 "/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/lib/pkgconfig"
97 /usr/bin/install -c -m 644 'glproto.pc'
98 '/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/lib/pkgconfig/glproto.pc'
99 make[1]: Leaving directory
100 `/var/tmp/portage/x11-proto/glproto-1.4.9/work/glproto-1.4.9'
101 * Moving GL files for dynamic switching ...
102 [ ok ]
103 >>> Completed installing glproto-1.4.9 into /var/tmp/portage/x11-proto/glproto-1.4.9/image/
104
105
106 >>> Installing (1 of 1) x11-proto/glproto-1.4.9
107
108 Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
109 `./libglx.so': File exists
110 !!! Error: Failed to create /lib/libglx.so
111 /var/tmp/portage/x11-proto/glproto-1.4.9/temp/environment: line 3218:
112 17432 Killed eselect opengl set --use-old
113 ${OPENGL_DIR}
114 >>> Auto-cleaning packages...
115
116 >>> No outdated packages were found on your system.
117
118 * GNU info directory index is up-to-date.
119 myth12 ~ #
120
121 the glxproto.h file does exist:
122
123
124 myth12 ~ # slocate glxproto
125 /usr/include/GL/glxproto.h
126 /usr/lib/opengl/xorg-x11/include/glxproto.h
127 myth12 ~ #
128
129
130 How do I fix this issue with it complaining about the link?
131
132 the mesa emerge is still failing the same way:
133
134 i686-pc-linux-gnu-gcc -c -I. -I../../../include
135 -I../../../include/GL/internal -I../../../src/mesa
136 -I../../../src/mesa/glapi -I/usr/include/drm -O2 -march=i686
137 -fomit-frame-pointer -pipe -ffast-math -Wall -Wmissing-prototypes
138 -std=c99 -ffast-math -fno-strict-aliasing -fPIC -D_GNU_SOURCE
139 -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS
140 -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING
141 -DHAVE_ALIAS -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT
142 -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" clientattrib.c
143 -o clientattrib.o
144 In file included from clientattrib.c:32:
145 glxclient.h:54:25: error: GL/glxproto.h: No such file or directory
146 In file included from clientattrib.c:32:
147 glxclient.h:294: error: expected specifier-qualifier-list before 'GLXContextTag'
148 clientattrib.c: In function 'do_enable_disable':
149 clientattrib.c:42: error: '__GLXcontext' has no member named
150 'client_state_private'
151 clientattrib.c:50: error: '__GLXcontext' has no member named 'error'
152 clientattrib.c:50: error: '__GLXcontext' has no member named 'error'
153 clientattrib.c: In function '__indirect_glPushClientAttrib':
154
155
156 Does the 'GL' at the front contribute to the problem?
157
158 Thanks,
159 Mark

Replies

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