From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22594158015 for ; Wed, 20 Dec 2023 21:50:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46C802BC014; Wed, 20 Dec 2023 21:50:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E5C72BC014 for ; Wed, 20 Dec 2023 21:50:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C4D23406C2 for ; Wed, 20 Dec 2023 21:50:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DB429C4 for ; Wed, 20 Dec 2023 21:50:46 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1703108954.24169a21f2659e77eec49678f2ac8230dfd24d1e.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/emacs/emacs-29.1-r5.ebuild app-editors/emacs/emacs-29.1-r6.ebuild app-editors/emacs/emacs-29.1.90.ebuild app-editors/emacs/emacs-29.1.9999.ebuild app-editors/emacs/emacs-30.0.9999.ebuild X-VCS-Directories: app-editors/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 24169a21f2659e77eec49678f2ac8230dfd24d1e X-VCS-Branch: master Date: Wed, 20 Dec 2023 21:50:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b699276-9145-46a0-bffc-d77cb542b99a X-Archives-Hash: 55f3edbe10283eb810c4e648740522ed commit: 24169a21f2659e77eec49678f2ac8230dfd24d1e Author: Ulrich Müller gentoo org> AuthorDate: Wed Dec 20 21:47:00 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Dec 20 21:49:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24169a21 app-editors/emacs: Disable tests that use bwrap This is more specific than excluding bytecomp-tests.el altogether. Signed-off-by: Ulrich Müller gentoo.org> app-editors/emacs/emacs-29.1-r5.ebuild | 12 ++++++------ app-editors/emacs/emacs-29.1-r6.ebuild | 12 ++++++------ app-editors/emacs/emacs-29.1.90.ebuild | 12 ++++++------ app-editors/emacs/emacs-29.1.9999.ebuild | 12 ++++++------ app-editors/emacs/emacs-30.0.9999.ebuild | 12 ++++++------ 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/app-editors/emacs/emacs-29.1-r5.ebuild b/app-editors/emacs/emacs-29.1-r5.ebuild index 6664eddcef73..7b5f7d58bc97 100644 --- a/app-editors/emacs/emacs-29.1-r5.ebuild +++ b/app-editors/emacs/emacs-29.1-r5.ebuild @@ -207,6 +207,12 @@ src_prepare() { # with a wrong library name. sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die + # Tests that use bubblewrap don't work in the sandbox: + # "bwrap: setting up uid map: Permission denied" + # So, disrupt the search for the bwrap executable. + sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \ + test/lisp/emacs-lisp/bytecomp-tests.el || die + AT_M4DIR=m4 eautoreconf } @@ -427,12 +433,6 @@ src_test() { %lisp/vc/vc-tests.el %lisp/vc/vc-bzr-tests.el - # Reason: fails if bubblewrap (bwrap) is installed - # "bwrap: setting up uid map: Permission denied" - # - # bytecomp-tests--dest-mountpoint - %lisp/emacs-lisp/bytecomp-tests.el - # Reason: tries to access network # internet-is-working %src/process-tests.el diff --git a/app-editors/emacs/emacs-29.1-r6.ebuild b/app-editors/emacs/emacs-29.1-r6.ebuild index abc42779db8c..9cfd899f30d4 100644 --- a/app-editors/emacs/emacs-29.1-r6.ebuild +++ b/app-editors/emacs/emacs-29.1-r6.ebuild @@ -207,6 +207,12 @@ src_prepare() { # with a wrong library name. sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die + # Tests that use bubblewrap don't work in the sandbox: + # "bwrap: setting up uid map: Permission denied" + # So, disrupt the search for the bwrap executable. + sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \ + test/lisp/emacs-lisp/bytecomp-tests.el || die + AT_M4DIR=m4 eautoreconf } @@ -427,12 +433,6 @@ src_test() { %lisp/vc/vc-tests.el %lisp/vc/vc-bzr-tests.el - # Reason: fails if bubblewrap (bwrap) is installed - # "bwrap: setting up uid map: Permission denied" - # - # bytecomp-tests--dest-mountpoint - %lisp/emacs-lisp/bytecomp-tests.el - # Reason: tries to access network # internet-is-working %src/process-tests.el diff --git a/app-editors/emacs/emacs-29.1.90.ebuild b/app-editors/emacs/emacs-29.1.90.ebuild index 3edf4c2cb75b..9aff860d84f5 100644 --- a/app-editors/emacs/emacs-29.1.90.ebuild +++ b/app-editors/emacs/emacs-29.1.90.ebuild @@ -204,6 +204,12 @@ src_prepare() { # with a wrong library name. sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die + # Tests that use bubblewrap don't work in the sandbox: + # "bwrap: setting up uid map: Permission denied" + # So, disrupt the search for the bwrap executable. + sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \ + test/lisp/emacs-lisp/bytecomp-tests.el || die + AT_M4DIR=m4 eautoreconf } @@ -424,12 +430,6 @@ src_test() { %lisp/vc/vc-tests.el %lisp/vc/vc-bzr-tests.el - # Reason: fails if bubblewrap (bwrap) is installed - # "bwrap: setting up uid map: Permission denied" - # - # bytecomp-tests--dest-mountpoint - %lisp/emacs-lisp/bytecomp-tests.el - # Reason: tries to access network # internet-is-working %src/process-tests.el diff --git a/app-editors/emacs/emacs-29.1.9999.ebuild b/app-editors/emacs/emacs-29.1.9999.ebuild index 3edf4c2cb75b..9aff860d84f5 100644 --- a/app-editors/emacs/emacs-29.1.9999.ebuild +++ b/app-editors/emacs/emacs-29.1.9999.ebuild @@ -204,6 +204,12 @@ src_prepare() { # with a wrong library name. sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die + # Tests that use bubblewrap don't work in the sandbox: + # "bwrap: setting up uid map: Permission denied" + # So, disrupt the search for the bwrap executable. + sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \ + test/lisp/emacs-lisp/bytecomp-tests.el || die + AT_M4DIR=m4 eautoreconf } @@ -424,12 +430,6 @@ src_test() { %lisp/vc/vc-tests.el %lisp/vc/vc-bzr-tests.el - # Reason: fails if bubblewrap (bwrap) is installed - # "bwrap: setting up uid map: Permission denied" - # - # bytecomp-tests--dest-mountpoint - %lisp/emacs-lisp/bytecomp-tests.el - # Reason: tries to access network # internet-is-working %src/process-tests.el diff --git a/app-editors/emacs/emacs-30.0.9999.ebuild b/app-editors/emacs/emacs-30.0.9999.ebuild index 32cee85d854a..9ed35f39b910 100644 --- a/app-editors/emacs/emacs-30.0.9999.ebuild +++ b/app-editors/emacs/emacs-30.0.9999.ebuild @@ -205,6 +205,12 @@ src_prepare() { # with a wrong library name. sed -i -e "/CHECK_MODULES/s/libseccomp/DiSaBlE&/" configure.ac || die + # Tests that use bubblewrap don't work in the sandbox: + # "bwrap: setting up uid map: Permission denied" + # So, disrupt the search for the bwrap executable. + sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \ + test/lisp/emacs-lisp/bytecomp-tests.el || die + AT_M4DIR=m4 eautoreconf } @@ -426,12 +432,6 @@ src_test() { %lisp/vc/vc-tests.el %lisp/vc/vc-bzr-tests.el - # Reason: fails if bubblewrap (bwrap) is installed - # "bwrap: setting up uid map: Permission denied" - # - # bytecomp-tests--dest-mountpoint - %lisp/emacs-lisp/bytecomp-tests.el - # Reason: tries to access network # internet-is-working %src/process-tests.el