[2/3] python-pygobject: disable parallel install

Submitted by Kang Kai on June 20, 2013, 3:29 a.m.

Details

Message ID f8ded7765f7f781b06f56cddb7da82a633beb6f5.1371698863.git.kai.kang@windriver.com
State Accepted
Commit e87a0c81c77d11f892a34c2d14ffbeb4342d32dd
Headers show

Commit Message

Kang Kai June 20, 2013, 3:29 a.m.
The installation of __glib.so is invoked by install-data-am target
which are generated by automake. installing libpyglib-2.0-python is
invoked by install-exec-am.

"make install" will firstly install libpyglib-2.0-python, then install
__glib.so, the sequence should not be broken, since _glib.so has
dependence on libpyglib-2.0-python. But when enable parallel install,
the sequence maybe break then installation fails with:
 "/usr/bin/ld: cannot find -lpyglib-2.0-python"

Disable parallel install to fix this issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 .../python/python-pygobject_2.27.91.bb             |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
index 3dc2d99..322521b 100644
--- a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
+++ b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
@@ -20,6 +20,8 @@  S = "${WORKDIR}/pygobject-${PV}"
 FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
 EXTRA_OECONF += "--disable-introspection"
 
+PARALLEL_MAKEINST = ""
+
 inherit autotools distutils-base pkgconfig
 
 # necessary to let the call for python-config succeed