Build fails due to lack of the declaration of symbol GL_APIENTRYP:
In file included from /var/tmp/portage/dev-qt/qtwebkit-5.2.0_beta1-r1/work/qtwebkit-opensource-src-5.2.0-beta1/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:35:0:
/var/tmp/portage/dev-qt/qtwebkit-5.2.0_beta1-r1/work/qtwebkit-opensource-src-5.2.0-beta1/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:66:32: error: expected ‘)’ before ‘PFNGLGETGRAPHICSRESETSTATUSEXTPROC’
typedef GC3Denum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
Created attachment 361938 [details]
Please comment with the output of `emerge --info =dev-qt/qtwebkit-5.2.0_beta1-r1`
Thank you in advance.
Created attachment 361958 [details]
emerge --info =qtwebkit-5.2.0_beta1
Created attachment 361962 [details]
Output of emerge --info =dev-qt/qtwebkit-5.2.0_beta1-r1
Output of emerge --info =dev-qt/qtwebkit-5.2.0_beta1-r1.
Created attachment 361968 [details]
build.log, created with `LC_ALL=C MAKEOPTS=-j1 FEATURES="-ccache" emerge -j1 qtwebkit:5 -1O`
Could have the same cause as bug 489278. Did you build qtgui with USE=gles2 ?
I haven't tried to rebuild qtgui with USE="gles2" but with USE="-gles2", as it was described in that bug report, but with no success.
Should I have built with USE="gles2" instead of USE="-gles2"?
(In reply to Caio Casimiro from comment #7)
> I haven't tried to rebuild qtgui with USE="gles2" but with USE="-gles2", as
> it was described in that bug report, but with no success.
> Should I have built with USE="gles2" instead of USE="-gles2"?
No, that's fine, you did the right thing. This means it's a different bug then.
for me gles2 is globally enabled, meaning qtgui:5 is built with it.
I could do what I wanted, qtwebkit was not emergable, until today.
Quote: "This should be fixed in git.
Please sync your local clone of qt overlay, then *re-emerge* *qtgui* first, and finally try again with qtdeclarative. Let me know if it works for you."
After emerging qtgui and qtdeclarative, qtwebkit merged without problems on my system.
*** This bug has been marked as a duplicate of bug 489278 ***