Bug 54016

Summary: fix for "make -j" safety
Product: Telepathy Reporter: Dan Winship <danw>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fix

Description Dan Winship 2012-08-24 16:25:13 UTC
Created attachment 66073 [details] [review]
fix

run "make -j" enough times and eventually you'll hit:

Traceback (most recent call last):
  File "../tools/glib-ginterface-gen.py", line 840, in <module>
    end_headers, not_implemented_func, allow_havoc)()
  File "../tools/glib-ginterface-gen.py", line 766, in __call__
    file_set_contents(self.basename + '.h', '\n'.join(self.__header))
  File "/builddir/build/BUILD/telepathy-idle-0.1.12/tools/libtpcodegen.py", line 42, in file_set_contents
    os.rename(filename + '.tmp', filename)
OSError: [Errno 2] No such file or directory
make[2]: *** [_gen/svc.h] Error 1

for reasons unknown this happens more reliably on some architectures...
Comment 1 Jonny Lamb 2012-08-28 11:13:37 UTC
Merged to master, thanks!

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.