Help needed with meson build for modem-manager-gui

Hello everyone,

I'd be really grateful if someone versed in meson could help me fix build errors in modem-manager-gui.
The error is a bit of a random thing, as only some builds fail, and some work fine; I actually haven't been able to reproduce the error on my machines and only see it in Fedora builders.

The tl;dr version is that there seems to be some kind of race condition in the build script, and sometimes it will run into a situation where it tries to install a file that hasn't been created yet - this most often happens with translation files.

If you want to help out, here's the most recent build log: <a href="" title=""></a>

Thanks in advance,


Re: Help needed with meson build for modem-manager-gui

By Georg Sauthoff at 02/05/2019 - 11:40


perhaps the root-cause is itstool - i.e. it errors out some time before
the error message at the end of the log:

BUILDSTDERR: Installing /builddir/build/BUILD/modem-manager-gui- to /builddir/build/BUILDROOT/modem-manager-gui- (most recent call last):
BUILDSTDERR: File "/usr/bin/itstool", line 1611, in <module>
BUILDSTDERR: doc.merge_translations(translations, opts.lang, strict=opts.strict)
BUILDSTDERR: File "/usr/bin/itstool", line 997, in merge_translations
BUILDSTDERR: lcpar = lcpar.parent
BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/", line 296, in get_parent
BUILDSTDERR: return nodeWrap(ret)
BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/", line 580, in nodeWrap
BUILDSTDERR: if name[0:8] == "document":
BUILDSTDERR: TypeError: 'NoneType' object is not subscriptable

There is an open bug report that describes some similar non-determistic
itstool behaviour - when called from gmake:

<a href="" title=""></a>

Best regards