Summary: | kde-base/kwin-4.10.1-r2 fails to upgrade from kde-base/kwin-4.9.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Väth <martin> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Väth
2013-04-02 04:46:45 UTC
Is that to say that it failed with ccache, but worked without? (In reply to comment #1) > Is that to say that it failed with ccache, but worked without? No, ccache has nothing to do with the bug. I wrote this only in case somebody wants to repeat my hack, uses ccache, and wants to be completely on the safe side (probably, it is not even necessary to compile a second time). (I considered the bug as major, because startkde depends on kwin, and so a kde-based system becomes practically broken in the middle of an upgrade.) I updated last week my netbook, works for me. kde-stable team had done the same. I guess its ccache related and ccache is evil as we all known. (In reply to comment #3) > I guess its ccache related and ccache is evil as we all known. It is definitely not ccache related. I have analyzed and desribed the cause, please read it: The header file kwinglobals.h is read from the installed version instead of from the new version, because there is #include <...> instead of #include "..." in kwinglutils_funcs.h (which, however, must not just be patched into kwinglutils_funcs.h, because the latter is installed and thus probably needs the #include <...> for other programs using that file). It presumable works if for whatever reason you had already a newer version of kwin than 4.9.5. Maybe it also does not occur with certain useflags combinations (if e.g. #include "kwinglobals.h" occurs before the include of kwinglutils_funcs.h in a compilation unit there is no problem - I did not check carefully in which combinations this is the case, but obviously not in all). Maybe the problem was fixed in kwin-4.10.2 which now is stable. Of course, I did not downgrade just to test it. Just for the record: My USE for kdewin are opengl -aqua -debug -gles |