path: root/meta
diff options
authorRichard Purdie <>2015-03-25 12:31:44 +0000
committerRichard Purdie <>2015-03-25 12:38:44 +0000
commit2d923d6dfe9431dbc005f8ba39838eb4519c471c (patch)
tree358367a79f5411851c8db7c007a10ad89305e0c5 /meta
parent13eef8f4dfcd72a6262e8291e2e08d52e3d327a2 (diff)
python-pygobject: Disable parallel make install in native case
Comments within the commit describe the issue. Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta')
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/ b/meta/recipes-devtools/python/
index e7f17ff689..f4359bb257 100644
--- a/meta/recipes-devtools/python/
+++ b/meta/recipes-devtools/python/
@@ -12,6 +12,19 @@ SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
file://obsolete_automake_macros.patch \
+# libtool-native doesn't have fixinstall.patch applied which means
+# that libs get relinked at installation time. This triggers a
+# relinking along the lines of:
+# gcc -L/tmp/foo/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/lib -lpyglib-2.0-python -o .libs/
+# where /tmp/foo is DESTDIR and pyglib-2.0-python may be installed/reinstalled
+# at the same time as the gcc command runs.
+# If this happens between the handoff between gcc and ld, you can see:
+# /bin/ld: cannot find -lpyglib-2.0-python
+# Adding a dependency rule like install-pyglibLTLIBRARIES: install-libLTLIBRARIES
+# would be ideal but automake can't cope with that without manually
+# defining the whole function. Give up and disable parallel make in native builds.
+PARALLEL_MAKEINST_class-native = ""
SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9"
SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6"
S = "${WORKDIR}/pygobject-${PV}"