Race with _gen/tp-spec-account.xml
Submitted by Alexandre Franke
Assigned to Telepathy bugs list
Description
Parallel build fails with the following:
/usr/bin/python ../tools/glib-client-gen.py
$subclass $subclass_assert
--group echo account-manager | tr - _
--guard "TP_GEN_TP_CLI_echo account-manager | tr a-z- A-Z_
_H_INCLUDED"
--iface-quark-prefix=TP_IFACE_QUARK
--tp-proxy-api=0.7.6
--deprecation-attribute=_TP_GNUC_DEPRECATED
--deprecate-reentrant=TP_DISABLE_DEPRECATED
--generate-reentrant=_gen/reentrant-methods.list
_gen/tp-spec-account-manager.xml Tp_Cli _gen/tp-cli-account-manager
Traceback (most recent call last):
File "../tools/glib-client-gen.py", line 1263, in <module>
dom = xml.dom.minidom.parse(argv[0])
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1920, in parse
Traceback (most recent call last):
File "../tools/glib-client-gen.py", line 1263, in <module>
dom = xml.dom.minidom.parse(argv[0])
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1920, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 922, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '_gen/tp-spec-account.xml'
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '_gen/tp-spec-account-manager.xml'
make[2]: *** [_gen/tp-cli-account-manager-body.h] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2]: *** [_gen/tp-cli-account-body.h] Erreur 1
make[2] : on quitte le répertoire « /home/afranke/Devel/jhbuild-checkout/telepathy-glib/telepathy-glib »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/afranke/Devel/jhbuild-checkout/telepathy-glib »
make: *** [all] Erreur 2
This looks similar to bug #52480 but is not exactly the same.
Version: git master