kdecoration2 mess - std::function makes the world fun

Sune Vuorela sune at debian.org
Thu Aug 20 14:08:22 UTC 2015


Hi Release Team, hi pkg-kde (and a couple of BCC's just as a FYI)

(not subscribed to -release, please CC me)

After having spent quite some time today looking at the current kdecoration2 
mess (tracked at https://bugs.kde.org/show_bug.cgi?id=350964 ,  at 
debian:796194, debian:796184 and probably many more)

The crash happens around when a std::function (a c++11 feature) is passed 
across a library boundary and some parts of it is built with gcc5 and others 
with 4.9.

According to Matthias Klose, upstream actually gives no guarantees for for 
their abi for c++11, so I guess the steps forward should be:

1) Immediately binNMU src:kdecoration2 in testing, then when that is done, 
binNMU src:kwin, src:oxygen and src:breeze all in testing. (that's for release 
team)

2) At the same time, do a library transition for libkdecoration2-5 and rename 
it to libkdecoration2-5v5 and binNMU the rdeps (the same as mentioned above)

3) And add std::function to the list of types in interfaces to be careful 
about when looking if a package should be renamed or not.

I'm leaving debconf tonight and is likely not able to do anything of the above 
for the near future, so I hope someone picks it up on it.

Have fun,

/Sune



More information about the pkg-kde-talk mailing list