Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 559742

Summary: net-libs/webkit-gtk-2.8.5 fails to merge with 'gles2' USE flag set: ANGLE/ShaderLang.h: No such file or directory
Product: Gentoo Linux Reporter: Robin Kauffman <robink>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log for net-libs/webkit-gtk-2.8.5 on 2015-09-06

Description Robin Kauffman 2015-09-06 07:46:42 UTC
Created attachment 411114 [details]
Build log for net-libs/webkit-gtk-2.8.5 on 2015-09-06

net-libs/webkit-gtk-2.8.5 fails t merge with the gles2 USE flag set.  It was suggested that the 'wayland' and/or 'webgl' USE flags might be causing compilation issues, and indeed they were, but the ebuild still fails to merge with 'gles2' set and neither 'wayland' nor 'webgl' set.  A build log is attached.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-06 22:06:01 UTC
The wayland USE flag for webkit-gtk is masked. It's masked specifically because of build failures (see the comment in /usr/portage/profiles/base/package.use.mask). Don't unmask it unless you know what you are doing, e.g. not unless you have a patch to fix the failures.

The attached build log is for webkit-gtk-1.6.3-r200 and there is no gles2 flag in sight.

So which error in which version of webkit-gtk are you reporting?
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-06 22:10:24 UTC
Also, webkit-gtk-1.6.3-r200 which failed in your attached log is long obsolete and was removed from the tree two years ago...
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-06 22:14:10 UTC
I apologize, I was reading the wrong log file with a similar filename.

Can you please check, does building with USE="egl gles2 webgl -wayland" fix the problem?

It's possible that gles2 flag requires webgl.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-06 22:46:21 UTC
After going through the log - USE=webgl in theory should not be necessary.

It seems that you were using an outdated version of the 2.8.5 ebuild; the build failure you got was caused by -DENABLE_GLES2=ON not being passed to cmake, and this was fixed in git on August 24 without a revision bump (see bug #554096 - your symptoms are different due to parallel make and different flag combination, but the underlying cause is I believe the same).

So please resync :)

Again, I sincerely apologize for mixing up your log file and an old downloaded build failure for 1.6.3.

*** This bug has been marked as a duplicate of bug 554096 ***
Comment 5 Robin Kauffman 2015-09-07 07:16:39 UTC
(In reply to Alexandre Rostovtsev from comment #4)
> After going through the log - USE=webgl in theory should not be necessary.
> 
> It seems that you were using an outdated version of the 2.8.5 ebuild; the
> build failure you got was caused by -DENABLE_GLES2=ON not being passed to
> cmake, and this was fixed in git on August 24 without a revision bump (see
> bug #554096 - your symptoms are different due to parallel make and different
> flag combination, but the underlying cause is I believe the same).
> 
> So please resync :)
> 
> Again, I sincerely apologize for mixing up your log file and an old
> downloaded build failure for 1.6.3.
> 
> *** This bug has been marked as a duplicate of bug 554096 ***

Got it, I need to check on my fileserver isn't running sync at night.  I thought it was, obviously it wasn't.  It restarted this morning due to power failure; maybe that fixed it (fcron seems to occasionally just *stop working* after a while; I should figure out why that is).  Will try with the ebuild and report back, but I trust your assessment and you can leave this bug closed despite the fact that I have yet to satisfy my uncertainty.
Comment 6 Robin Kauffman 2015-09-07 19:37:47 UTC
(In reply to Robin Kauffman from comment #5)
> (In reply to Alexandre Rostovtsev from comment #4)
> > After going through the log - USE=webgl in theory should not be necessary.
> > 
> > It seems that you were using an outdated version of the 2.8.5 ebuild; the
> > build failure you got was caused by -DENABLE_GLES2=ON not being passed to
> > cmake, and this was fixed in git on August 24 without a revision bump (see
> > bug #554096 - your symptoms are different due to parallel make and different
> > flag combination, but the underlying cause is I believe the same).
> > 
> > So please resync :)
> > 
> > Again, I sincerely apologize for mixing up your log file and an old
> > downloaded build failure for 1.6.3.
> > 
> > *** This bug has been marked as a duplicate of bug 554096 ***
> 
> Got it, I need to check on my fileserver isn't running sync at night.  I
> thought it was, obviously it wasn't.  It restarted this morning due to power
> failure; maybe that fixed it (fcron seems to occasionally just *stop
> working* after a while; I should figure out why that is).  Will try with the
> ebuild and report back, but I trust your assessment and you can leave this
> bug closed despite the fact that I have yet to satisfy my uncertainty.

The problem was indeed the out-of-date ebuild.  After syncing, the new ebuild works quite well.  I'm guessing the 'wayland' USE flag doesn't yet work, but given that it's an upstream issue I wouldn't want to bug people here without a fix, like you said.