Skip to contentSkip to conversation

python-pyflame: Disable for mips arch

PATCH New Khem Raj 1 participant 5 messages Aug 27, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/5 python-pyflame: Disable for mips arch

Fails to build as support is missing

src/ptrace.cc:135:48: error: 'regs' has incomplete type

---
 meta-python/recipes-devtools/python/python-pyflame.inc | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python-pyflame.inc +1 -0
index 71fe769765..3914028ec3 100644
@@ -11,3 +11,4 @@ S = "${WORKDIR}/git"
 inherit pkgconfig autotools
 
 COMPATIBLE_HOST_libc-musl_class-target = "null"
+COMPATIBLE_HOST_mipsarch_class-target = "null"
Signature · 1 line
2.18.0
author
#1 lore raw

PATCH 2/5 can-isotp: Upgrade to latest

Fixes build with linux kernel 4.18+

---
 meta-oe/recipes-extended/socketcan/can-isotp_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/socketcan/can-isotp_git.bb +1 -1
index 3c019eb7ce..6ce3cab112 100644
@@ -1,6 +1,6 @@
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931"
-SRCREV = "d1248b0f22ea8dc3b9d84a61bd35a83309bdb4b4"
+SRCREV = "6003f9997587e6a563cebf1f246bcd0eb6deff3d"
 PV = "1.0+git${SRCPV}"
 
 SRC_URI = "git://github.com/hartkopp/can-isotp.git;protocol=https"
Signature · 1 line
2.18.0
author
#2 lore raw

PATCH v2 3/5 gedit: Add dep on python-six-native

In reply to Khem Raj

Fixes errors e.g. recipe-sysroot-native/usr/share/gtk-doc/python/gtkdoc/common.py", line 31, in <module>
import six
ImportError: No module named 'six'
make[3]: *** [install-data-local] Error 1

Cc Andreas Müller <[email protected]>

---
v2: Depend on python3 since thats what is needed

 meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb +4 -2
index ba425ad6b9..ea6439d91a 100644
@@ -3,11 +3,13 @@ SECTION = "x11/gnome"
 LICENSE = "GPLv2+"
 PR = "r2"
 
-DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes intltool-native gnome-common-native libice"
+DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ \
+           gtksourceview2 iso-codes intltool-native gnome-common-native \
+           libice python3-six-native"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-inherit distro_features_check gnome gettext pythonnative
+inherit distro_features_check gnome gettext python3native
 
 REQUIRED_DISTRO_FEATURES = "x11"
 
Signature · 1 line
2.18.0
author
#3 lore raw

PATCH 4/5 mongodb: Exclude on mips arch

In reply to Khem Raj

Support does not exist

---
 meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-dbs/mongodb/mongodb_git.bb +2 -1
index dd22388b57..bcb15e6c5b 100644
@@ -43,8 +43,9 @@ COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
 COMPATIBLE_MACHINE_armv7a = "(!.*armv7a).*"
 COMPATIBLE_MACHINE_armv7ve = "(!.*armv7ve).*"
-COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
 COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"
+# https://jira.mongodb.org/browse/SERVER-16898
+COMPATIBLE_HOST_mipsarch = "null"
 
 PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools,"
 PACKAGECONFIG[wiredtiger] = "--wiredtiger=on,--wiredtiger=off,,"
Signature · 1 line
2.18.0
author
#4 lore raw

PATCH 5/5 libpwquality: Inherit distutils3-base

In reply to Khem Raj

its building a module therefore its important to provide correct cross build environment, distutils3-base automatically inherits python3native this is seen when using clang where it tried to link with gcc since the environment falls back to builtin LDSHARED variable

---
 meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/libpwquality/libpwquality_1.4.0.bb +1 -1
index f2d7922078..7e82bd61a4 100644
@@ -19,7 +19,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 DEPENDS = "cracklib virtual/gettext python3"
 RDEPENDS_python3-libpwquality = "${PN}"
 
-inherit autotools python3native gettext
+inherit autotools distutils3-base gettext
 
 B = "${S}"
 
Signature · 1 line
2.18.0