On Tue, Dec 10, 2019 at 2:13 PM Andreas Müller <[email protected]> wrote: > > On Tue, Dec 10, 2019 at 8:59 PM Khem Raj <[email protected]> wrote: > > > > On Mon, Dec 9, 2019 at 12:36 AM Andreas Müller <[email protected]> > > wrote: > > > > > > * it is a dependency for upcoming gnome shell > > > * this is the latest stable version currently [1] > > > > > > [1] http://ftp.gnome.org/pub/gnome/sources/gjs/1.63/gjs-1.63.1.news > > > > > > > Managed to crash qemu on mips, that said it might be fine to mark this > > incompatible with mips > > since there might be fewer users needing it on mips arch > > So upgrade to 1.58.3 did not solve (did not really expect it). > > Shall I disable both? As > > COMPATIBLE_HOST_mipsarchn32 = "null" > COMPATIBLE_HOST_mipsarchn64 = "null" >
you could do for all mips arches with COMPATIBLE_HOST_mipsarch = "null" I dont know how ppc/riscv will turn out but we can keep adding more disabling code like this as we see it. > Andreas > > > > > https://errors.yoctoproject.org/Errors/Details/296905/ > > > > > Signed-off-by: Andreas Müller <[email protected]> > > > --- > > > .../gjs/gjs/0001-Disable-tests-on-host.patch | 33 +++++++++++++++++ > > > meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb | 37 +++++++++++++++++++ > > > 2 files changed, 70 insertions(+) > > > create mode 100644 > > > meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch > > > create mode 100644 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb > > > > > > diff --git > > > a/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch > > > b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch > > > new file mode 100644 > > > index 000000000..0953214fb > > > --- /dev/null > > > +++ b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch > > > @@ -0,0 +1,33 @@ > > > +From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001 > > > +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> > > > +Date: Sat, 18 May 2019 01:14:07 +0200 > > > +Subject: [PATCH] Disable tests on host > > > +MIME-Version: 1.0 > > > +Content-Type: text/plain; charset=UTF-8 > > > +Content-Transfer-Encoding: 8bit > > > + > > > +Upstream-Status: Inappropriate [OE-specific] > > > + > > > +Signed-off-by: Andreas Müller <[email protected]> > > > +--- > > > + configure.ac | 4 +--- > > > + 1 file changed, 1 insertion(+), 3 deletions(-) > > > + > > > +diff --git a/configure.ac b/configure.ac > > > +index fa4e136..056e96e 100644 > > > +--- a/configure.ac > > > ++++ b/configure.ac > > > +@@ -335,9 +335,7 @@ AS_IF([test "x$with_dbus_tests" != "xno"], [ > > > + ]) > > > + AM_CONDITIONAL([DBUS_TESTS], [test "x$with_dbus_tests" != "xno"]) > > > + > > > +-AC_MSG_CHECKING([for a suitable UTF-8 locale to run the tests in]) > > > +-TESTS_LOCALE=$($srcdir/build/choose-tests-locale.sh) > > > +-AC_MSG_RESULT([$TESTS_LOCALE]) > > > ++TESTS_LOCALE=C > > > + AC_SUBST([TESTS_LOCALE]) > > > + > > > + AC_SUBST([gjsjsdir], [\${datadir}/gjs-1.0]) > > > +-- > > > +2.20.1 > > > + > > > diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb > > > b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb > > > new file mode 100644 > > > index 000000000..ddd5196b2 > > > --- /dev/null > > > +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb > > > @@ -0,0 +1,37 @@ > > > +SUMMARY = "Javascript bindings for GNOME" > > > +LICENSE = "MIT & LGPLv2+" > > > +LIC_FILES_CHKSUM = " \ > > > + file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \ > > > + file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \ > > > +" > > > + > > > +GNOMEBASEBUILDCLASS = "autotools" > > > + > > > +DEPENDS = "mozjs gtk+3" > > > + > > > +inherit gnomebase gsettings gobject-introspection vala gettext > > > features_check upstream-version-is-even > > > + > > > +SRC_URI[archive.md5sum] = "bce6dea9a6583a8b3c6af5854df76aaf" > > > +SRC_URI[archive.sha256sum] = > > > "ca9fcd47b95ab0fc445301b2595e51fcea24d6f3cd87c190fe07006146d773ae" > > > +SRC_URI += "file://0001-Disable-tests-on-host.patch" > > > + > > > +# gobject-introspection is mandatory and cannot be configured > > > +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" > > > +UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection > > > --disable-introspection" > > > + > > > +EXTRA_OECONF = " \ > > > + --without-dbus-tests \ > > > + --disable-installed-tests \ > > > +" > > > + > > > +do_configure_prepend() { > > > + # make configure find gobject-introspection test code. Although we > > > set > > > + # --disable-installed-tests gjs builds them > > > + sed -i 's|:$GI_DATADIR|:${STAGING_DIR_NATIVE}$GI_DATADIR|g' > > > ${S}/configure.ac > > > +} > > > + > > > +FILES_${PN} += "${datadir}/gjs-1.0/lsan" > > > + > > > +PACKAGES =+ "${PN}-valgrind" > > > +FILES_${PN}-valgrind = "${datadir}/gjs-1.0/valgrind" > > > +RSEPENDS_${PN}-valgrind += "valgrind" > > > -- > > > 2.21.0 > > > > > > -- > > > _______________________________________________ > > > Openembedded-devel mailing list > > > [email protected] > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
