Build failed in Jenkins: plasma-framework_master_qt5 #862

Sebastian Kügler sebas at kde.org
Mon Oct 28 17:51:09 UTC 2013


On Monday, October 28, 2013 17:27:14 Marco Martin wrote:
> On Monday 28 October 2013 17:12:20 Kevin Ottens wrote:
> > On Monday 28 October 2013 16:07:08 KDE CI System wrote:
> > > See <http://build.kde.org/job/plasma-framework_master_qt5/862/>
> >
> > If someone has an idea about that failure on build.kde.org that would be
> > welcome. I can't seem to reproduce it here, and I did a completely clean
> > build... It's as if it was building against an outdate kdelibs or ecm.
> 
> build works fine here too, so can't reproduce.
> it seemslike the cmake macro that generates the json for the plugin from
> the  desktop file isn't working?

It is working, but too late, it seems. I see the same problem with two vpn 
plugins in the plasma-nm repo (I'm probably the only one who builds that right 
now).

It is like the kservice_desktop_to_json() macro is run too late, because the 
.json file is generated alright, but apparently not at the point where it's 
included in the build -- so moc (or whatever is is that does this 
Q_PLUGIN_METADATA doesn't find it and fails. When looking into the build 
directory, the file is there (after the first, clean build). Re-running make 
makes it build OK reliably here. This looks like a race condition:

0 desktoptojson is started from cmake
2 Q_PLUGIN_METADATA macro is evaluated
1 .json file arrives on disk

I have not figured out why this happens, maybe someone else has an idea? I've 
tried shuffling around the kservice_desktop_to_json() macro, to no avail.

Ideas welcome...
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Kde-frameworks-devel mailing list