diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2013-09-23 05:54:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-24 17:24:12 +0100 |
commit | c68888f762f190c24a2fb97c9ff9ea55aadf6375 (patch) | |
tree | 6c4c960dc29379088df43c0eb65ddfadab676c0a /meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb | |
parent | a8971860598c87b29ca74238dd714d7096d0257a (diff) | |
download | poky-c68888f762f190c24a2fb97c9ff9ea55aadf6375.tar.gz |
telepathy-mission-control: do_compile failed (race issue)
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.
There was a similar bug in telepathy-glib which was already fixed, we use the
similar patch to fix it here.
[YOCTO #5184]
(From OE-Core rev: b0f81f460cf96798d79d72da7a3246c321caf654)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb')
-rw-r--r-- | meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb index b2736ca41e..aa776a1cbf 100644 --- a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb +++ b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.15.0.bb | |||
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \ | |||
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | DEPENDS = "libtelepathy dbus-glib gconf libxslt-native" | 7 | DEPENDS = "libtelepathy dbus-glib gconf libxslt-native" |
8 | 8 | ||
9 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-${PV}.tar.gz" | 9 | SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-${PV}.tar.gz \ |
10 | file://tmc-Makefile-fix-race.patch \ | ||
11 | " | ||
10 | SRC_URI[md5sum] = "0efd7d9043f6e189e8ed8111d043b52c" | 12 | SRC_URI[md5sum] = "0efd7d9043f6e189e8ed8111d043b52c" |
11 | SRC_URI[sha256sum] = "88800d1b5f385e94b34721319ff4fe65c493632954d7229b36e57af5b4a7e1b5" | 13 | SRC_URI[sha256sum] = "88800d1b5f385e94b34721319ff4fe65c493632954d7229b36e57af5b4a7e1b5" |
12 | 14 | ||