Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-server update failed: missing GL/glext.h
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Ivan Timokhin
n00b
n00b


Joined: 04 Feb 2015
Posts: 3

PostPosted: Tue Dec 01, 2015 1:20 pm    Post subject: xorg-server update failed: missing GL/glext.h Reply with quote

I beg your pardon, but I was running the usual world update, when suddenly xorg-server failed to build.
Build log here: https://gist.github.com/ivan-timokhin/38d1421726171df999a5, but the short version is that it's missing GL/glext.h for whatever reason.
I have 'ati' (proprietary) and 'xorg-x11' as available OpenGL implementations, but it fails identically with both eselected.
Any help would be deeply appreciated.

Edit:
It seems that said glext.h disappeared when updating from 'eselect-opengl-1.2.7' to 'eselect-opengl-1.3.1-r4'. I've tried masking the latter, but 'emerge -auDN @world' insists on unmasking it.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Dec 01, 2015 2:51 pm    Post subject: Re: xorg-server update failed: missing GL/glext.h Reply with quote

GL/glext.h should have been installed as part of media-libs/mesa-11.0.6
Try # emerge -1avt mesa
Back to top
View user's profile Send private message
Ivan Timokhin
n00b
n00b


Joined: 04 Feb 2015
Posts: 3

PostPosted: Tue Dec 01, 2015 4:48 pm    Post subject: Reply with quote

Thanks! 'emerge -1avt mesa' run into blocked packages, but 'emerge -1avt mesa xorg-server' worked perfectly!
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 832
Location: Cape Town, South Africa

PostPosted: Tue Dec 01, 2015 5:02 pm    Post subject: Re: xorg-server update failed: missing GL/glext.h Reply with quote

charles17 wrote:
GL/glext.h should have been installed as part of media-libs/mesa-11.0.6
Try # emerge -1avt mesa


Sorry to jump in, but is this part of the same issue?

Code:

* package x11-proto/glproto-1.4.17-r1 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/include/GL/glxproto.h
 *      /usr/include/GL/glxmd.h
 *      /usr/include/GL/glxtokens.h
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * None of the installed packages claim the file(s).
 *
 * Package 'x11-proto/glproto-1.4.17-r1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


/usr/include/GL
Code:

-rw-r--r-- 1 root root    681 Apr 12  2015 freeglut.h
-rw-r--r-- 1 root root   9007 Apr 12  2015 freeglut_ext.h
-rw-r--r-- 1 root root  26523 Apr 12  2015 freeglut_std.h
lrwxrwxrwx 1 root root     43 Nov  2 08:31 gl.h -> ../../lib64/opengl/xorg-x11/include/GL/gl.h
-rw-r--r-- 1 root root 158833 Oct 26 15:35 gl_mangle.h
-rw-r--r-- 1 root root 238719 Oct 26 15:35 glcorearb.h
-rw-r--r-- 1 root root 925388 Apr 13  2015 glew.h
lrwxrwxrwx 1 root root     44 Nov  2 08:31 glext.h -> ../../lib64/opengl/global/include/GL/glext.h
-rw-r--r-- 1 root root  17255 Oct  3 10:56 glu.h
-rw-r--r-- 1 root root   3315 Oct  3 10:56 glu_mangle.h
-rw-r--r-- 1 root root    639 Apr 12  2015 glut.h
lrwxrwxrwx 1 root root     44 Nov  2 08:31 glx.h -> ../../lib64/opengl/xorg-x11/include/GL/glx.h
-rw-r--r-- 1 root root   3471 Oct 26 15:35 glx_mangle.h
-rw-r--r-- 1 root root  68423 Apr 13  2015 glxew.h
lrwxrwxrwx 1 root root     45 Nov  2 08:31 glxext.h -> ../../lib64/opengl/global/include/GL/glxext.h
-rw-r--r-- 1 root root   4706 Oct  3 11:32 glxint.h
lrwxrwxrwx 1 root root     46 Nov  2 08:31 glxmd.h -> ../../lib64/opengl/xorg-x11/include/GL/glxmd.h
lrwxrwxrwx 1 root root     49 Nov  2 08:31 glxproto.h -> ../../lib64/opengl/xorg-x11/include/GL/glxproto.h
lrwxrwxrwx 1 root root     50 Nov  2 08:31 glxtokens.h -> ../../lib64/opengl/xorg-x11/include/GL/glxtokens.h
drwxr-xr-x 2 root root   4096 Oct 26 15:36 internal
-rw-r--r-- 1 root root   8980 Oct 26 15:35 osmesa.h
-rw-r--r-- 1 root root  62206 Apr 13  2015 wglew.h
-rw-r--r-- 1 root root  43255 Oct 26 15:35 wglext.h
-rw-r--r-- 1 root root   4451 Oct 26 15:35 wmesa.h


Mesa is at: Installed versions: 10.3.7-r1

Do I need to make it ~amd64?

thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
Ivan Timokhin
n00b
n00b


Joined: 04 Feb 2015
Posts: 3

PostPosted: Tue Dec 01, 2015 6:16 pm    Post subject: Reply with quote

Uhh, I'm not sure, but latest stable mesa seems to be 11.0.6. If the problem is that it is ~amd64, maybe you could just re-sync the portage tree?
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 832
Location: Cape Town, South Africa

PostPosted: Tue Dec 01, 2015 7:11 pm    Post subject: Reply with quote

Ivan Timokhin wrote:
Uhh, I'm not sure, but latest stable mesa seems to be 11.0.6. If the problem is that it is ~amd64, maybe you could just re-sync the portage tree?


Mmm .. I had the .git problem earlier today, and resynched, but indeed after I did a eix-sync now, there is a new version of Mesa available.

However that doesn't fix my problem, as x11-proto/glproto-1.4.17-r1 still barfs.

But I think this is not related to this thread, so will give it it's own thread....

thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
spidark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2011
Posts: 147

PostPosted: Wed Dec 02, 2015 3:02 pm    Post subject: Reply with quote

iandoug wrote:
Ivan Timokhin wrote:
Uhh, I'm not sure, but latest stable mesa seems to be 11.0.6. If the problem is that it is ~amd64, maybe you could just re-sync the portage tree?


Mmm .. I had the .git problem earlier today, and resynched, but indeed after I did a eix-sync now, there is a new version of Mesa available.

However that doesn't fix my problem, as x11-proto/glproto-1.4.17-r1 still barfs.

But I think this is not related to this thread, so will give it it's own thread....

thanks, Ian


Hallo iandoug,
Sorry for breaking into this thread,
Funny that you mentioned that you had that .git problem earlier, because i had that same problem, and glproto failed to compile .
Code:
* package x11-proto/glproto-1.4.17-r1 NOT merged
 *
 * Detected file collision(s):
 *
 *    /usr/include/GL/glxtokens.h
 *    /usr/include/GL/glxproto.h
 *    /usr/include/GL/glxmd.h

So tried
Code:
FEATURES="-collision-detect -protect-owned" emerge -av glproto

That did not solved the issue.
However
Code:
COLLISION_IGNORE="/usr/include/GL/" emerge -av glproto
did.
I,m not sure that it has something to do with the removal of my .git dirs as advised in this thread https://forums.gentoo.org/viewtopic-p-7848038.html?sid=f7d5c775c602829cd9f2bb5cac6e0bb6
Mesa is also failing here after re-sync.

Code:

 * package media-libs/mesa-11.0.6 NOT merged
 *
 * Detected file collision(s):
 *
 *    /usr/lib64/libEGL.so
 *    /usr/lib64/libEGL.so.1
 *    /usr/lib64/libGL.so
 *    /usr/lib64/libGL.so.1
 *    /usr/lib64/libGLESv2.so
 *    /usr/lib64/libGLESv2.so.2


Thanks in advance.
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 832
Location: Cape Town, South Africa

PostPosted: Wed Dec 02, 2015 3:50 pm    Post subject: Reply with quote

@ spidark

I deleted the files causing collisions, then emerge was able to run to completion.

Note: I only did this because emerge and equery showed that no other packages owned the files in question.

Had the same issue with 2 or three packages. I suspect ebuild bugs or somesuch, since we should not be having issues like that.

Cheers, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
spidark
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2011
Posts: 147

PostPosted: Wed Dec 02, 2015 6:30 pm    Post subject: Reply with quote

iandoug wrote:
@ spidark

I deleted the files causing collisions, then emerge was able to run to completion.

Note: I only did this because emerge and equery showed that no other packages owned the files in question.

Had the same issue with 2 or three packages. I suspect ebuild bugs or somesuch, since we should not be having issues like that.

Cheers, Ian

Yup, iandoug, that fixed mesa collision issues. 8)
Cheers Spidark.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum