Summary: | app-office/calligra-2.8.5 - In file included from .../work/calligra-2.8.5/krita/image/kis_assert.cpp:24:0: .../work/calligra-2.8.5/krita/image/kis_assert_exception.h:27:1: error: expected class-name before ‘{’ token | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | boxcars |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dracwyrm, office |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=332813 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
app-office:calligra-2.8.5:20141217-042147.log.gz
app-office:calligra-2.8.5:20141221-083915.log.gz calligra-2.8.7-r1 |
Description
boxcars
2014-12-17 04:44:14 UTC
Please attach the entire build log to this bug report. Created attachment 391904 [details]
app-office:calligra-2.8.5:20141217-042147.log.gz
Sorry, yesterday I was trying to upload the log uncompressed.
What is the output of grep exceptions /var/db/pkg/dev-qt/*/USE ? (In reply to Michael Palimaka (kensington) from comment #3) > What is the output of grep exceptions /var/db/pkg/dev-qt/*/USE ? Empty output. $ grep exceptions /var/db/pkg/dev-qt/*/USE $ I suspect one or more Qt packages need to be built with USE="exceptions". If that's the case, we can enforce the appropriate dependency in the ebuild. (In reply to Michael Palimaka (kensington) from comment #5) > I suspect one or more Qt packages need to be built with USE="exceptions". I'm happy to build some or all of them with USE exceptions, if the results of that might help figure it out. But I'd need guideance on which package(s) to start with. I think it could be qtcore, but failing that, calligra has these other qt dependencies: dev-qt/qt3support dev-qt/qtdbus dev-qt/qtdeclarative dev-qt/qtgui dev-qt/qtopengl dev-qt/qtsql dev-qt/qtsvg dev-qt/qtwebkit Created attachment 392166 [details]
app-office:calligra-2.8.5:20141221-083915.log.gz
After rebuilding all of those with USE exceptions, calligra still fails to build. Here's the new log.
Thanks, the exceptions issue is fixed in CVS: + 21 Dec 2014; Michael Palimaka <kensington@gentoo.org> calligra-2.8.5.ebuild, + calligra-2.8.6.ebuild, calligra-2.8.7.ebuild, calligra-9999.ebuild: + Enforce dev-qt/qtcore[exceptions] dependency wrt bug #532762. The new issue looks like upstream bug https://bugs.kde.org/show_bug.cgi?id=332813. I will investigate, but in the meantime building with USE="glew" should workaround. Thanks. And you were right about glew, so thanks again. :) After reading upstream's bug report, it looks like the added OpenGL disablement I added in the 2.9.x ebuild might fix this. @boxcars@gmx.net: add this to the configure section of the ebuild, and then disable glew and opengl for calligra. Post back if it compiles or fails. If it succeeds, then maybe I need to add a bit of extra logic to disable opengl when glew is disabled. # complete disablement of opengl is controlled by USEOPENGL. Defaults to ON. use opengl || mycmakeargs+=( "-DUSEOPENGL=OFF" ) Thanks. (In reply to Jon from comment #11) It does compile with USE="-glew -opengl" after adding that to the ebuild. Created attachment 403878 [details] calligra-2.8.7-r1 Added logic to have user disable opengl if glew is disabled. Not ideal, but it works around this issue as per boxcars@gmx.net testing. Thanks to boxcars@gmx.net for testing this quickly. Glew must have Opengl enabled in order to work. The logic in 2.9.x is very different -- they added extra opengl logic. Will test it. Don't know if this really clears up this bug, as it's more of an upstream issue and by reading that bug report, they were under the attitude that it was a packaging error, as in Gentoo bug, not there's. Thanks for reporting. Glew use flag is dropped (merged into opengl). This is fixed in git now. Please sync. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40140f8ca8162288b9d5404183147109abcc5e2b |