dev-libs/libpeas: skip gjs tests

it fails with usersandbox

Closes: https://bugs.gentoo.org/961580
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1381
Merges: https://codeberg.org/gentoo/gentoo/pulls/1381
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-07-10 15:24:59 +02:00
committed by Sam James
parent 7851a246b9
commit f0405fb532
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
https://bugs.gentoo.org/961580
skip tests for gjs due to sandbox restrictions (usersandbox)
--- a/tests/libpeas/meson.build
+++ b/tests/libpeas/meson.build
@@ -9,7 +9,8 @@ libpeas_tests_sources = [
libpeas_tests_c_args = ['-UG_DISABLE_ASSERT', '-UG_DISABLE_CAST_CHECKS']
if build_gjs_loader == true
- libpeas_tests_sources += [['extension-gjs', [gjs_dep]]]
+ warning('gjs tests are currently disabled due to sandbox restrictions #961580')
+# libpeas_tests_sources += [['extension-gjs', [gjs_dep]]]
endif
if build_lua51_loader == true

View File

@@ -59,6 +59,9 @@ PATCHES=(
# Gentoo-specific lua tweak hack
"${FILESDIR}"/${PN}-2.2.1-lua_impl.patch
"${FILESDIR}"/${PN}-1.38.1-test-extension.patch
# https://bugs.gentoo.org/961580
"${FILESDIR}"/${PN}-2.2.1-skip_test_gjs.patch
)
pkg_setup() {