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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5190515852A for ; Mon, 19 Aug 2024 18:17:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75BF92BC013; Mon, 19 Aug 2024 18:17:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 551562BC013 for ; Mon, 19 Aug 2024 18:17: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 5333C340C57 for ; Mon, 19 Aug 2024 18:17:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C62A1EEA for ; Mon, 19 Aug 2024 18:17:46 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1724091453.b341ff7d283ccc6186eeb29c21baaa22499baadc.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/virtualx.eclass X-VCS-Directories: eclass/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: b341ff7d283ccc6186eeb29c21baaa22499baadc X-VCS-Branch: master Date: Mon, 19 Aug 2024 18:17: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: 0786c9ed-1f98-47e8-8519-b6c402eaaf35 X-Archives-Hash: 1df7f1b7e2b35caba3b3d4bfc682ebc4 commit: b341ff7d283ccc6186eeb29c21baaa22499baadc Author: Robin H. Johnson gentoo org> AuthorDate: Mon Aug 19 18:14:45 2024 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Aug 19 18:17:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b341ff7d virtualx.eclass: addpredict /dev/dri/ for Xvfb w/ mesa-24.2.0 Newer Mesa tries to access /dev/dri/ when used in Xvfb, and this triggers a sandbox error; discovered and verified w/ sci-mathematics/fricas-1.3.11-r2. Reference: https://public-inbox.gentoo.org/gentoo-dev/bb4927ba-5ced-3352-86bb-d87f37ceaab6 woodpecker.gentoo.org/T/#t Signed-off-by: Robin H. Johnson gentoo.org> eclass/virtualx.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 6e77cd662bdd..f7318eafc59e 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -113,6 +113,7 @@ virtx() { export XAUTHORITY= einfo "Starting Xvfb ..." + addpredict /dev/dri/ # Needed for Xvfb w/ >=mesa-24.2.0 debug-print "${FUNCNAME}: Xvfb -displayfd 1 ${xvfbargs[*]}" local logfile=${T}/Xvfb.log