diff options
author | Kai Kang <kai.kang@windriver.com> | 2013-06-19 07:49:42 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-25 17:30:31 +0100 |
commit | edf278eec71552bcd3ac661dce8e8b7489463f6a (patch) | |
tree | 09ac78ecc72d6101464daabd3fa1e9d8ba6c50bb /meta/recipes-devtools/python/python-pygtk | |
parent | e87a0c81c77d11f892a34c2d14ffbeb4342d32dd (diff) | |
download | openembedded-core-edf278eec71552bcd3ac661dce8e8b7489463f6a.tar.gz openembedded-core-edf278eec71552bcd3ac661dce8e8b7489463f6a.tar.bz2 openembedded-core-edf278eec71552bcd3ac661dce8e8b7489463f6a.zip |
python-pygtk: fix parallel compile issue
defs.c dependes on gdk-types.defs and gtk-types.defs. When parallel
compile, it may fails with:
"IOError: [Errno 2] No such file or directory: 'gtk-types.defs'"
Add them to dependences of defs.c to fix this issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-pygtk')
-rw-r--r-- | meta/recipes-devtools/python/python-pygtk/update-dependences-of-defs.c.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pygtk/update-dependences-of-defs.c.patch b/meta/recipes-devtools/python/python-pygtk/update-dependences-of-defs.c.patch new file mode 100644 index 0000000000..3ed954eee5 --- /dev/null +++ b/meta/recipes-devtools/python/python-pygtk/update-dependences-of-defs.c.patch @@ -0,0 +1,38 @@ +From dc024e9079bbffbb44436ba3e70a758ebad5520f Mon Sep 17 00:00:00 2001 +From: "Song.Li" <Song.Li@windriver.com> +Date: Sat, 5 Jan 2013 14:55:59 +0800 +Subject: [PATCH] update dependences of defs.c in Makefile.am + +In gtk/Makefile.am, defs.c should dependes on gdk-types.defs and +gtk-types.defs, otherwise it fails occasionally when parallel compile. +The error message: +"IOError: [Errno 2] No such file or directory: 'gtk-types.defs'" + +Add them to dependences of defs.c to fix this issue. + +Upstream-Status: Submitted +https://bugzilla.gnome.org/show_bug.cgi?id=702706 + +Signed-off-by: Song.Li <Song.Li@windriver.com> +Signed-off-by: Kai Kang <kai.kang@windriver.com> + +--- + gtk/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gtk/Makefile.am b/gtk/Makefile.am +index 7bb5d0c..91826cb 100644 +--- a/gtk/Makefile.am ++++ b/gtk/Makefile.am +@@ -289,7 +289,7 @@ if HAVE_GIO_TYPES_DEFS + extra_codegen_args += --register $(PYGOBJECT_DEFSDIR)/gio-types.defs + endif + +-.defs.c: ++.defs.c: gdk-types.defs gtk-types.defs + ($(PYTHON) $(CODEGENDIR)/codegen.py \ + $(PYGTK_CODEGEN_DEFINES) \ + -I $(srcdir) \ +-- +1.7.9.5 + |