Summary: | [qt overlay] =dev-qt/qtdeclarative-5.2.0_beta1 - qsgbatchrenderer.cpp:(.text+0xb813): undefined reference to `glClearDepth' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gianni Rossi <nasus.maximos> |
Component: | [OLD] Development | Assignee: | Qt Bug Alias <qt> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | caiorcasimiro, maxposedon, sven.eden |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 454132 | ||
Attachments: |
Patch that resolves this issue by linking GL
Patch for qtmultimedia build.log /usr/lib64/libQt5Gui.prl |
Description
Gianni Rossi
2013-10-24 17:19:22 UTC
Created attachment 361808 [details, diff]
Patch that resolves this issue by linking GL
Created attachment 361810 [details, diff]
Patch for qtmultimedia
Can you please: 1) Attach the complete build log, so we know relevant information. Thank you very much in advance. Created attachment 361888 [details]
build.log
So this affects both qtdeclarative and qtmultimedia? Can you attach your /usr/lib64/libQt5Gui.prl please? Created attachment 361922 [details]
/usr/lib64/libQt5Gui.prl
Ah you're using gles! glClearDepth() is not available on gles, there's only the single-precision variant glClearDepthf(). The code does support gles, but for some reason QT_OPENGL_ES is not defined. The patch is wrong. We probably need to handle that define via QCONFIG_DEFINE in qtgui. Workaround for now is to build qtgui with USE="-gles2". *** Bug 481744 has been marked as a duplicate of this bug. *** (In reply to Davide Pesavento from comment #8) > We probably need to handle that define via QCONFIG_DEFINE in qtgui. > > Workaround for now is to build qtgui with USE="-gles2". Or to change the Makefile in the current workdirs and add "-lGL" to LIBS. Both packages compile fine then. (In reply to Sven Eden from comment #10) > (In reply to Davide Pesavento from comment #8) > > We probably need to handle that define via QCONFIG_DEFINE in qtgui. > > > > Workaround for now is to build qtgui with USE="-gles2". > > Or to change the Makefile in the current workdirs and add "-lGL" to LIBS. > Both packages compile fine then. Just a quick note: I have built qtgui with USE="-gles2" now, but got the reported errors with this as well. The linker only succeeds if "-lGL" is appended to the LIBS list. 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. (In reply to Davide Pesavento from comment #12) > 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. WOW! I did: 1) emerge --oneshot qtgui:5 => Merged without problems 2) emerge --oneshot qtdeclarative:5 => Merged without problems And the biggest joy: 3) emerge --oneshot qtwekit:5 => Merged without problems, too! Ah! USE Flags used: qtgui: USE="accessibility -debug eglfs evdev gif gles2 glib -harfbuzz -ibus jpeg -kms opengl png {-test} udev xcb" qtdeclarative: USE="-debug localstorage {-test} widgets xml" qtwebkit: USE="-debug gstreamer -libxml2 multimedia opengl qml {-test} udev webp widgets xslt" Great! Thanks a lot. *** Bug 489416 has been marked as a duplicate of this bug. *** |