Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281625 - kde-base/kwin-4.3.3 fails to build with USE="-opengl"
Summary: kde-base/kwin-4.3.3 fails to build with USE="-opengl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://websvn.kde.org/?view=revision&...
Whiteboard:
Keywords:
: 282418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-15 22:29 UTC by Bartosz Brachaczek
Modified: 2009-11-23 19:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
a patch from upstream (4.3.3-fix_no_opengl.patch,934 bytes, patch)
2009-11-08 19:11 UTC, Bartosz Brachaczek
Details | Diff
an updated ebuild (kwin-4.3.3.ebuild,1.23 KB, text/plain)
2009-11-08 19:12 UTC, Bartosz Brachaczek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2009-08-15 22:29:36 UTC
I get the following error message:

[ 73%] Building CXX object kwin/effects/CMakeFiles/kwin4_effect_builtins.dir/logout/logout.o
/var/tmp/portage/kde-base/kwin-4.3.0/work/kwin-4.3.0/kwin/effects/logout/logout.cpp: In member function ‘virtual void KWin::LogoutEffect::reconfigure(QFlags<KWin::Effect::ReconfigureFlag>)’:
/var/tmp/portage/kde-base/kwin-4.3.0/work/kwin-4.3.0/kwin/effects/logout/logout.cpp:66: error: ‘useBlur’ was not declared in this scope
make[2]: *** [kwin/effects/CMakeFiles/kwin4_effect_builtins.dir/logout/logout.o] Błąd 1
make[1]: *** [kwin/effects/CMakeFiles/kwin4_effect_builtins.dir/all] Błąd 2
make[1]: *** Oczekiwanie na niezakończone zadania....
Linking CXX shared module ../../lib/kcm_kwin4_effect_builtins.so
[ 73%] Built target kcm_kwin4_effect_builtins
make: *** [all] Błąd 2

Link to upstream patch in URL.

Reproducible: Always

Steps to Reproduce:
1. USE="-opengl" emerge =kde-base/kwin-4.3.0
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-23 19:09:44 UTC
*** Bug 282418 has been marked as a duplicate of this bug. ***
Comment 2 Ross Drummond 2009-08-25 02:12:36 UTC
(In reply to comment #1)
> *** Bug 282418 has been marked as a duplicate of this bug. ***
> 

Oops! I did not realize that this bug had already been notified.

I was able to clear the error by enabling the opengl USE flag.

This may be achieved by appending the following line to your /etc/portage/package.use file;

kde-base/kwin opengl

This error has already been corrected upstream in the KDE repository;

http://websvn.kde.org/?view=rev&revision=1009293

I suggest that because this correction will automatically be included in the next version of kwin the Gentoo kde team consider recommending this work around to others who strike this error and close this bug.

Comment 3 Bartosz Brachaczek 2009-09-15 21:00:49 UTC
I see that no one is going to fix that and there's also no real need since 4.3.1 is in tree for some time and it compiles fine. Marking WONTFIX
Comment 4 Bartosz Brachaczek 2009-11-08 19:10:56 UTC
Reopening because kwin-4.3.3 fails to build without OpenGL support again. I updated URL to link to the proper upstream patch.
I'm attaching a patch from upstream and an updated ebuild (in ebuild I've also deleted a hack for windowOpacity since it's fixed in 4.3.3 and the hack isn't needed anymore).
Comment 5 Bartosz Brachaczek 2009-11-08 19:11:52 UTC
Created attachment 209655 [details, diff]
a patch from upstream
Comment 6 Bartosz Brachaczek 2009-11-08 19:12:20 UTC
Created attachment 209656 [details]
an updated ebuild
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-23 12:46:59 UTC
*prod prod*
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-23 19:49:03 UTC
Thanks for bug and the patch.
Applied to main tree.

Also sorry that the previously the patch was ignored.
We used to have 570 bugs in our buglist. Now we reduced it on 263.

Cheers