[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-release-team
Subject:    Re: KDE Frameworks 5.29.0
From:       "Tobias C. Berner" <tcberner () freebsd ! org>
Date:       2016-12-10 12:03:56
Message-ID: CAOshKte-w9OJaeqUL-EJptaWWYmOFCk61x=t3Pf2Dk76+5Sx3Q () mail ! gmail ! com
[Download RAW message or body]

Hi there

There are still conflicts with the localization files, for example:

 pkg-static: nb-kde5-l10n-16.12.0 conflicts with kf5-ki18n-5.29.0 (installs
files into the same place).  Problematic file:
   /usr/local/share/locale/nb/LC_SCRIPTS/ki18n5/ki18n5.js


I think the one between kdelibs4support and kio is also not yet fixed:

pkg-static: kf5-kdelibs4support-5.29.0 conflicts with kf5-kio-5.29.0
(installs files into the same place).  Problematic file:
/usr/local/share/doc/HTML/ca/kcontrol5/cache/index.cache.bz2



mfg Tobias


On 10 December 2016 at 09:52, Martin Graesslin <mgraesslin@kde.org> wrote:

> On Thursday, December 8, 2016 9:32:13 AM CET David Faure wrote:
> > On mercredi 7 décembre 2016 21:06:11 CET Kevin Funk wrote:
> > > On Wednesday, 7 December 2016 20:10:40 CET Albert Astals Cid wrote:
> > > > El dimecres, 7 de desembre de 2016, a les 10:08:18 CET, David Faure
> va
> > > >
> > > > escriure:
> > > > > On lundi 5 décembre 2016 18:40:46 CET Martin Gräßlin wrote:
> > > > > > Am 2016-12-05 09:20, schrieb David Faure:
> > > > > > > On dimanche 4 décembre 2016 23:42:44 CET šumski wrote:
> > > > > > >> On nedjelja, 4. prosinca 2016. 00:37:52 CET David Faure wrote:
> > > > > > >> > Dear packagers,
> > > > > > >> >
> > > > > > >> > KDE Frameworks 5.29.0 has been uploaded to the usual place.
> > > > > > >> >
> > > > > > >> > New framework: prison
> > > > > > >> >
> > > > > > >> > Public release next Saturday.
> > > > > > >> >
> > > > > > >> > Thanks for the packaging work!
> > > > > > >>
> > > > > > >> kconfig (r129382) breaks compilation of kdevplatform:
> > > > > > >> http://paste.opensuse.org/82016854
> > > > > > >
> > > > > > > Indeed (but it's not the change from RR 129382, it's commit
> > > > > > > cd4e650
> > > > > > > from
> > > > > > > https://phabricator.kde.org/D3386
> > > > > > >
> > > > > > > Seems to come from Inherits=BaseClass while BaseClass doesn't
> use
> > > > > > > arg="true".
> > > > > > >
> > > > > > > Here's a testcase for the kconfig unittests. Martin, can you
> take
> > > > > > > a
> > > > > > > look?
> > > > > >
> > > > > > The earliest I can have a look is probably on Friday, I'm sorry.
> > > > > >
> > > > > > My suggestion is to revert my two commits and I'll redo for next
> > > > > > frameworks.
> > > > >
> > > > > OK, done. New git tag and tarball:
> > > > >
> > > > > kconfig v5.29.0-rc2
> > > > > 47f7e954a58ba5538d055e2f75e483cade48ee8a
> > > > > d6c12e0908de1b91529de15e75a52c9974685c91b423d5b5abeb06f261d0fa47
> > > > > sources/kconfig-5.29.0.tar.xz
> > > >
> > > > Acoording to kfunk the thing that broke kdevplatform wasn't really
> > > > kconfigs
> > > > fault but a side effect of kdevplatform code not being very good.
> > >
> > > Heya,
> > >
> > > the patch restoring the kdevplatform build with KF5 5.29:
> > >   https://cgit.kde.org/kdevplatform.git/commit/?
> > >
> > > id=e84645d1694bdad7f179cd41babce723fe07aa63
> > >
> > > The code in kdevplatform is a bit special, it's probably the only
> place in
> > > whole KDE which broke due to the recent changes in kconfig. I don't
> see an
> > > easy migration path, even if you introduce said change in a later
> kconfig
> > > release.
> > >
> > > I don't mind if you leave kconfig as-is. But that's probably something
> for
> > > dfaure to decide.
> >
> > Well, the change to kdevplatform isn't released yet, so kconfig 5.29-rc1
> > would break compilation of the current kdevplatform releases.
> >
> > Also, the fact that I'm able to write a kconfig unittest that doesn't
> > compile tells me that something isn't right with these kconfig changes
> ---
> > unless it can be proven that what I'm doing in that new test is not
> > meaningful and is (now) forbidden, in which case it should at least be
> > documented. This is certainly worth another month of careful thinking
> > rather than rushing this into 5.29 now that it proved to be not 100%
> > perfect.
>
> I investigated and can prove now that the test is not meaningful: it
> doesn't
> compile on master either. See https://paste.kde.org/po6oahg5p
>
> The problem is the "Inherits" - it doesn't really specify the conditions.
> All
> we have in the documentation is "Class the generated class inherits from.
> This
> class must inherit  KConfigSkeleton."
>
> But inheriting from KConfigSkeleton is not enough as the test case and the
> kdevelop example shows. It must have the same ctors as KConfigSkeleton
> available for the inheriting class. That's the problem with the autotest
> and
> the problem with kdevelop's case. There the ctor existed, but was private
> instead of public.
>
> Given that I think my change can go in, but we also should specify more
> clearly the Inherits requirements.
>
> Cheers
> Martin

[Attachment #3 (text/html)]

<div dir="ltr">Hi there<div><br></div><div>There are still conflicts with the \
localization files, for example:</div><div><br></div><div>  pkg-static: \
nb-kde5-l10n-16.12.0 conflicts with kf5-ki18n-5.29.0 (installs files into the same \
place).   Problematic file:</div><div>     \
/usr/local/share/locale/nb/LC_SCRIPTS/ki18n5/ki18n5.js<br></div><div><br></div><div><br></div><div>I \
think the one between kdelibs4support and kio is also not yet \
fixed:</div><div><br></div><div><span style="font-family:monospace"><span \
style="color:rgb(0,0,0)">pkg-static: kf5-kdelibs4support-5.29.0 conflicts with \
kf5-kio-5.29.0 (installs files into the same place).   Problematic file: \
/usr/local/share/doc/HTML/ca/kcontrol5/cache/index.cache.bz2</span><br> \
<br></span></div><div><br></div><div><br></div><div>mfg \
Tobias</div><div><br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On 10 December 2016 at 09:52, Martin Graesslin <span \
dir="ltr">&lt;<a href="mailto:mgraesslin@kde.org" \
target="_blank">mgraesslin@kde.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thursday, December 8, \
2016 9:32:13 AM CET David Faure wrote:<br> &gt; On mercredi 7 décembre 2016 21:06:11 \
CET Kevin Funk wrote:<br> &gt; &gt; On Wednesday, 7 December 2016 20:10:40 CET Albert \
Astals Cid wrote:<br> &gt; &gt; &gt; El dimecres, 7 de desembre de 2016, a les \
10:08:18 CET, David Faure va<br> &gt; &gt; &gt;<br>
&gt; &gt; &gt; escriure:<br>
&gt; &gt; &gt; &gt; On lundi 5 décembre 2016 18:40:46 CET Martin Gräßlin \
wrote:<br> &gt; &gt; &gt; &gt; &gt; Am 2016-12-05 09:20, schrieb David Faure:<br>
&gt; &gt; &gt; &gt; &gt; &gt; On dimanche 4 décembre 2016 23:42:44 CET šumski \
wrote:<br> &gt; &gt; &gt; &gt; &gt; &gt;&gt; On nedjelja, 4. prosinca 2016. 00:37:52 \
CET David Faure wrote:<br> &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Dear packagers,<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; KDE Frameworks 5.29.0 has been uploaded to the \
usual place.<br> &gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; New framework: prison<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Public release next Saturday.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Thanks for the packaging work!<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; kconfig (r129382) breaks compilation of \
kdevplatform:<br> &gt; &gt; &gt; &gt; &gt; &gt;&gt; <a \
href="http://paste.opensuse.org/82016854" rel="noreferrer" \
target="_blank">http://paste.opensuse.org/<wbr>82016854</a><br> &gt; &gt; &gt; &gt; \
&gt; &gt;<br> &gt; &gt; &gt; &gt; &gt; &gt; Indeed (but it&#39;s not the change from \
RR 129382, it&#39;s commit<br> &gt; &gt; &gt; &gt; &gt; &gt; cd4e650<br>
&gt; &gt; &gt; &gt; &gt; &gt; from<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href="https://phabricator.kde.org/D3386" \
rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>D3386</a><br> &gt; \
&gt; &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; &gt; &gt; Seems to come from \
Inherits=BaseClass while BaseClass doesn&#39;t use<br> &gt; &gt; &gt; &gt; &gt; &gt; \
arg=&quot;true&quot;.<br> &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Here&#39;s a testcase for the kconfig unittests. \
Martin, can you take<br> &gt; &gt; &gt; &gt; &gt; &gt; a<br>
&gt; &gt; &gt; &gt; &gt; &gt; look?<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; The earliest I can have a look is probably on Friday, \
I&#39;m sorry.<br> &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; My suggestion is to revert my two commits and I&#39;ll redo \
for next<br> &gt; &gt; &gt; &gt; &gt; frameworks.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; OK, done. New git tag and tarball:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; kconfig v5.29.0-rc2<br>
&gt; &gt; &gt; &gt; 47f7e954a58ba5538d055e2f75e483<wbr>cade48ee8a<br>
&gt; &gt; &gt; &gt; d6c12e0908de1b91529de15e75a52c<wbr>9974685c91b423d5b5abeb06f261d0<wbr>fa47<br>
 &gt; &gt; &gt; &gt; sources/kconfig-5.29.0.tar.xz<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Acoording to kfunk the thing that broke kdevplatform wasn&#39;t \
really<br> &gt; &gt; &gt; kconfigs<br>
&gt; &gt; &gt; fault but a side effect of kdevplatform code not being very good.<br>
&gt; &gt;<br>
&gt; &gt; Heya,<br>
&gt; &gt;<br>
&gt; &gt; the patch restoring the kdevplatform build with KF5 5.29:<br>
&gt; &gt;     <a href="https://cgit.kde.org/kdevplatform.git/commit/" \
rel="noreferrer" target="_blank">https://cgit.kde.org/<wbr>kdevplatform.git/commit/</a>?<br>
 &gt; &gt;<br>
&gt; &gt; id=<wbr>e84645d1694bdad7f179cd41babce7<wbr>23fe07aa63<br>
&gt; &gt;<br>
&gt; &gt; The code in kdevplatform is a bit special, it&#39;s probably the only place \
in<br> &gt; &gt; whole KDE which broke due to the recent changes in kconfig. I \
don&#39;t see an<br> &gt; &gt; easy migration path, even if you introduce said change \
in a later kconfig<br> &gt; &gt; release.<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t mind if you leave kconfig as-is. But that&#39;s probably \
something for<br> &gt; &gt; dfaure to decide.<br>
&gt;<br>
&gt; Well, the change to kdevplatform isn&#39;t released yet, so kconfig 5.29-rc1<br>
&gt; would break compilation of the current kdevplatform releases.<br>
&gt;<br>
&gt; Also, the fact that I&#39;m able to write a kconfig unittest that \
doesn&#39;t<br> &gt; compile tells me that something isn&#39;t right with these \
kconfig changes ---<br> &gt; unless it can be proven that what I&#39;m doing in that \
new test is not<br> &gt; meaningful and is (now) forbidden, in which case it should \
at least be<br> &gt; documented. This is certainly worth another month of careful \
thinking<br> &gt; rather than rushing this into 5.29 now that it proved to be not \
100%<br> &gt; perfect.<br>
<br>
</div></div>I investigated and can prove now that the test is not meaningful: it \
doesn&#39;t<br> compile on master either. See <a \
href="https://paste.kde.org/po6oahg5p" rel="noreferrer" \
target="_blank">https://paste.kde.org/<wbr>po6oahg5p</a><br> <br>
The problem is the &quot;Inherits&quot; - it doesn&#39;t really specify the \
conditions. All<br> we have in the documentation is &quot;Class the generated class \
inherits from. This<br> class must inherit   KConfigSkeleton.&quot;<br>
<br>
But inheriting from KConfigSkeleton is not enough as the test case and the<br>
kdevelop example shows. It must have the same ctors as KConfigSkeleton<br>
available for the inheriting class. That&#39;s the problem with the autotest and<br>
the problem with kdevelop&#39;s case. There the ctor existed, but was private<br>
instead of public.<br>
<br>
Given that I think my change can go in, but we also should specify more<br>
clearly the Inherits requirements.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font \
color="#888888">Martin</font></span></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic