On 14 September 2013 09:49, Robert Yang <[email protected]> wrote: > There might be an error when parallel build: > > [snip] > Traceback (most recent call last): > File "/path/to/tools/glib-gtypes-generator.py", line 304, in <module> > GTypesGenerator(dom, argv[1], argv[2])() > File "/path/to/tools/glib-gtypes-generator.py", line 295, in __call__ > file_set_contents(self.output + '.h', ''.join(self.header)) > File "/path/to/tools/libtpcodegen.py", line 42, in file_set_contents > os.rename(filename + '.tmp', filename) > OSError: [Errno 2] No such file or directory > [snip] > > This is a race issue, the _gen/gtypes.h and _gen/gtypes-body.h may > write(remove/rename) _gen/gtypes.tmp at the same time, then there would > be the error. > > Use ".NOTPARALLEL: _gen/gtypes.h _gen/gtypes-body.h" will fix the > problem.
This is going to be a game of whack-a-mole as the root cause is the bad temporary filename assignment in libtpcodegen.py. Is there an upstream bug for this? Ross _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
