From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6P9oO7DWwV4rBQAA0tVLHw (envelope-from ) for ; Mon, 18 May 2020 00:28:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +AtHN7DWwV7/GgAA1q6Kng (envelope-from ) for ; Mon, 18 May 2020 00:28:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 52821940368 for ; Mon, 18 May 2020 00:28:32 +0000 (UTC) Received: from localhost ([::1]:49120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaTdt-0007y0-J0 for larch@yhetil.org; Sun, 17 May 2020 20:28:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaTdT-0007xU-Jw for bug-guix@gnu.org; Sun, 17 May 2020 20:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaTdS-0002Bq-JX for bug-guix@gnu.org; Sun, 17 May 2020 20:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaTdS-000305-FM for bug-guix@gnu.org; Sun, 17 May 2020 20:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41174: Epiphany can't find fonts Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 May 2020 00:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41174 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41174@debbugs.gnu.org Received: via spool by 41174-submit@debbugs.gnu.org id=B41174.158976163511471 (code B ref 41174); Mon, 18 May 2020 00:28:02 +0000 Received: (at 41174) by debbugs.gnu.org; 18 May 2020 00:27:15 +0000 Received: from localhost ([127.0.0.1]:45155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaTch-0002yx-0D for submit@debbugs.gnu.org; Sun, 17 May 2020 20:27:15 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:13373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaTcf-0002yl-11 for 41174@debbugs.gnu.org; Sun, 17 May 2020 20:27:13 -0400 Received: from nijino.local (194-96-185-81.hdsl.highway.telekom.at [194.96.185.81]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49QKb161pbz3wWT for <41174@debbugs.gnu.org>; Mon, 18 May 2020 02:27:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1589761629; bh=/4CakGjKSiaexCML8aMuAlq+jZm8vOKp4qdTz6bWEMY=; h=Subject:From:To:Date:In-Reply-To:References; b=gRiDpbuFggDop6quESCeMdSgsQBaa3SAKb9ugBWw0irfHZ/LRGCNp6ePorpD2aIls XoxopkTl2gHkh0FFgk8vCJCBXgPh4ZT09G3obUvV7iw21ltZNIrj4y+dwp96uvgkb2 KFEpTeoL/r45wPTdlQ+QfZqyDPetBziut1Cpq4FQ= Message-ID: From: Leo Prikler Date: Mon, 18 May 2020 02:27:08 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=gRiDpbuF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 6OlJ9nPDWYQE Hi Guix, After some discussion in IRC and testing, I found out that adding $GUIX_PROFILE/share/fonts to the webkit sandbox (during initialization via `webkit_web_context_add_path_to_sandbox') resolves this problem. A more general solution would be to iterate over $XDG_DATA_DIRS, append `/fonts' to each item and add the resulting path to the sandbox (if it is a directory). As this is a problem related to the webkit sandbox, it probably affects other packages, that make use of it, as well. Looking even deeper (i.e. diving into the webkitgtk source), it appears that there is indeed a `bindFonts' procedure in the BubblewrapLauncher, but that only considers $XDG_DATA_HOME/fonts, not all of $XDG_DATA_DIRS. As this is the root of the issue, it should probably be fixed there. Regards, Leo Note for those looking for a workaround: Assuming you're installing your fonts to $GUIX_PROFILE/share/fonts, making $XDG_CACHE_HOME/fonts or $HOME/.fonts a symlink to that should work.