telepathy gabble 0.17.3 fails on parallel build
Submitted by Dominique Leuenberger
Assigned to Simon McVittie
Description
While building telepathy-gabble 0.17.3, there is a good chance that parallel build fails, with:
[ 64s] /usr/bin/python ../tools/xincludator.py
[ 64s] all.xml > _gen/all.xml.tmp && mv _gen/all.xml.tmp _gen/all.xml
[ 64s] /usr/bin/python ../tools/c-constants-gen.py Gabble _gen/all.xml _gen/enums
[ 64s] /usr/bin/python ../tools/c-constants-gen.py Gabble _gen/all.xml _gen/enums
[ 64s] /usr/bin/python ../tools/glib-gtypes-generator.py
[ 64s] _gen/all.xml _gen/gtypes Gabble
[ 64s] /usr/bin/python ../tools/glib-gtypes-generator.py
[ 64s] _gen/all.xml _gen/gtypes Gabble
[ 64s] Traceback (most recent call last):
[ 64s] File "../tools/c-constants-gen.py", line 182, in <module>
[ 64s] Generator(argv[0], xml.dom.minidom.parse(argv[1]), argv[2])()
[ 64s] File "../tools/c-constants-gen.py", line 24, in call
[ 64s] file_set_contents(self.output_base + '.h', ''.join(self.__header))
[ 64s] File "/home/abuild/rpmbuild/BUILD/telepathy-gabble-0.17.3/tools/libtpcodegen.py", line 42, in file_set_contents
[ 64s] os.rename(filename + '.tmp', filename)
[ 64s] OSError: [Errno 2] No such file or directory
[ 64s] /usr/bin/python ../tools/glib-gtypes-generator.py
[ 64s] _gen/all.xml _gen/gtypes Gabble
[ 64s] make[2]: *** [_gen/enums-gtk-doc.h] Error 1
[ 64s] make[2]: *** Waiting for unfinished jobs....
[ 64s] make[2]: Leaving directory /home/abuild/rpmbuild/BUILD/telepathy-gabble-0.17.3/extensions' [ 64s] make[1]: *** [all-recursive] Error 1 [ 64s] make[1]: Leaving directory
/home/abuild/rpmbuild/BUILD/telepathy-gabble-0.17.3'
[ 64s] make: *** [all] Error 2
[ 64s] error: Bad exit status from /var/tmp/rpm-tmp.Y0g1MJ (%build)
[ 64s]
using "make -j 1" works around this issue