Summary: | x11-wm/lumina-0.8.8_p1 - LXcbEventFilter.cpp:29:92: error: virt-specifiers in ‘nativeEventFilter’ not allowed outside a class definition | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Rubin Simons <me> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | info, jrmalaq, knokmki612, me, orzel, proxy-maint |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
environment x11-wm:lumina-0.8.8_p1:20160529-050648.log Patch to remove Q_DECL_OVERRIDE from LXcbEventFilter.cpp |
Description
Toralf Förster
2016-05-30 18:14:33 UTC
Created attachment 435790 [details]
emerge-history.txt
Created attachment 435792 [details]
environment
Created attachment 435794 [details]
x11-wm:lumina-0.8.8_p1:20160529-050648.log
I ran into this once but could not reproduce after some time: I found mention of precisely this issue here: Can you check if that workaround works? If yes, I'll try and isolate the issue and write a patch that selectively does this. "go to the offending line( line 29 of file "LXcbEventFilter.cpp:29" ) and remove "Q_DECL_OVERRIDE" " See: http://www.pclinuxos.com/forum/index.php?topic=134519.0 PS: Line number might not be precise due to changes to the file in the time since that post. Created attachment 442824 [details, diff] Patch to remove Q_DECL_OVERRIDE from LXcbEventFilter.cpp Patch to remove Q_DECL_OVERRIDE from LXcbEventFilter.cpp. Allows x11-wm/lumina-0.8.8 to build on my machine after adding relevant src_prepare to the ebuild. As far as I know the workaround works. Associated upstream commit that does the same thing but to the header file is https://github.com/trueos/lumina/commit/1aa4cf175af93acb4e8340d37c2316e7e39a5573. I had exactly the same compilation problem this night. I confirm that with the attached patch from Benjamin, compilation is OK (simply put it in /etc/portage/patches/x11-wm/lumina-0.8.8_p1/) hit by this with a portage tree updated today (In reply to Olivier DOLE from comment #6) > I had exactly the same compilation problem this night. > I confirm that with the attached patch from Benjamin, compilation is OK > (simply put it in /etc/portage/patches/x11-wm/lumina-0.8.8_p1/) doesn't work here : # cat /var/tmp/portage/x11-wm/lumina-0.8.8_p1/temp/build.log * Package: x11-wm/lumina-0.8.8_p1 * Repository: gentoo * Maintainer: proxy-maint@gentoo.org rubin@xs4all.nl * Upstream: ken@pcbsd.org https://github.com/pcbsd/lumina/issues * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: compressdebug preserve-libs sandbox splitdebug userpriv usersandbox * Applying patches from /etc/portage/patches/x11-wm/lumina-0.8.8_p1 ... * PatchtoremoveQ_DECL_OVERRIDEfromLXcbEventFilter.patch ... The text leading up to this was: -------------------------- |--- lumina-desktop/LXcbEventFilter.cpp.old 2016-08-09 12:38:50.560878560 +0900 |+++ lumina-desktop/LXcbEventFilter.cpp 2016-08-09 12:39:08.080878615 +0900 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored [ !! ] * ERROR: x11-wm/lumina-0.8.8_p1::gentoo failed (prepare phase): >
> doesn't work here :
> (snip)
Doesn't work for me too.
I tried to change the original file names in patch file like this:
--- a/lumina-desktop/LXcbEventFilter.cpp 2016-08-09 12:38:50.560878560 +0900
+++ b/lumina-desktop/LXcbEventFilter.cpp 2016-08-09 12:39:08.080878615 +0900
Then it came to work.
Does this still happen with versions >=1.2.0? If not, please close this bug. Affected version has been removed. |