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

login
register
mail settings
Submitter Kang Kai
Date June 19, 2013, 11:57 a.m.
Message ID <c30e02ff25c696da4c08bf8e66d0bd7b0858dea9.1371642926.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/51993/
State New
Headers show

Comments

Kang Kai - June 19, 2013, 11:57 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(-)
Ross Burton - June 19, 2013, 12:08 p.m.
On 19 June 2013 12:57, Kai Kang <kai.kang@windriver.com> wrote:
> +sRALLEL_MAKEINST = ""

Typo :)

Ross
Kang Kai - June 20, 2013, 1:36 a.m.
On 2013?06?19? 20:08, Burton, Ross wrote:
> On 19 June 2013 12:57, Kai Kang <kai.kang@windriver.com> wrote:
>> +sRALLEL_MAKEINST = ""
> Typo :)
>
> Ross
>
Sorry, will fix :)

Patch

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..b991093 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"
 
+sRALLEL_MAKEINST = ""
+
 inherit autotools distutils-base pkgconfig
 
 # necessary to let the call for python-config succeed