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

Bug 489416

Summary: [qt-overlay] =dev-qt/qtwebkit-5.2.0_beta1 - Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:66:32: error: expected ‘)’ before ‘PFNGLGETGRAPHICSRESETSTATUSEXTPROC’
Product: Gentoo Linux Reporter: Caio Casimiro <caiorcasimiro>
Component: [OLD] DevelopmentAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caiorcasimiro, sven.eden, tomboy64
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge --info =qtwebkit-5.2.0_beta1
Output of emerge --info =dev-qt/qtwebkit-5.2.0_beta1-r1
build.log, created with `LC_ALL=C MAKEOPTS=-j1 FEATURES="-ccache" emerge -j1 qtwebkit:5 -1O`

Description Caio Casimiro 2013-10-26 01:16:13 UTC
Build fails due to lack of the declaration of symbol GL_APIENTRYP:

/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
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);
Comment 1 Caio Casimiro 2013-10-26 01:29:12 UTC
Created attachment 361938 [details]
Build log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-26 09:58:05 UTC
Please comment with the output of `emerge --info =dev-qt/qtwebkit-5.2.0_beta1-r1`

Thank you in advance.
Comment 3 M. B. 2013-10-26 10:31:30 UTC
Created attachment 361958 [details]
emerge --info =qtwebkit-5.2.0_beta1
Comment 4 Caio Casimiro 2013-10-26 11:15:56 UTC
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.

Thanks,
Caio.
Comment 5 M. B. 2013-10-26 12:09:27 UTC
Created attachment 361968 [details]
build.log, created with `LC_ALL=C MAKEOPTS=-j1 FEATURES="-ccache" emerge -j1 qtwebkit:5 -1O`
Comment 6 Davide Pesavento gentoo-dev 2013-10-27 17:22:41 UTC
Could have the same cause as bug 489278. Did you build qtgui with USE=gles2 ?
Comment 7 Caio Casimiro 2013-10-27 17:50:42 UTC
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"?

Thanks!
Caio.
Comment 8 Davide Pesavento gentoo-dev 2013-10-27 19:23:58 UTC
(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.
Comment 9 M. B. 2013-10-28 15:58:54 UTC
for me gles2 is globally enabled, meaning qtgui:5 is built with it.
Comment 10 Sven Eden 2013-11-13 15:28:06 UTC
Hi everybody!

I could do what I wanted, qtwebkit was not emergable, until today.

Please see
https://bugs.gentoo.org/show_bug.cgi?id=489278#c12

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.
Comment 11 Davide Pesavento gentoo-dev 2013-11-13 16:49:40 UTC

*** This bug has been marked as a duplicate of bug 489278 ***