On Sun, Feb 03, 2019 at 07:24:17PM -0000, Artur Iwicki wrote:
Hello,
[..]
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.
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-0.0.19.1/resources/modem-manager-gui-symbolic.svg
to
/builddir/build/BUILDROOT/modem-manager-gui-0.0.19.1-5.fc30.x86_64/usr/share/icons/hicolor/symbolic/appsTraceback
(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/libxml2.py", line
296, in get_parent
BUILDSTDERR: return nodeWrap(ret)
BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/libxml2.py", 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:
https://github.com/itstool/itstool/issues/21
Best regards
Georg