Bug 53294

Summary: Race with _gen/tp-spec-account.xml
Product: Telepathy Reporter: Alexandre Franke <afranke>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexandre Franke 2012-08-09 12:31:24 UTC
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.
Comment 1 Simon McVittie 2013-09-12 18:56:28 UTC
This might have been fixed in telepathy-glib-0.17.6. Please try again?
Comment 2 GitLab Migration User 2019-12-03 20:40:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/101.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.