From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6DxcOBFAN2eDgwAAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Nov 2024 12:35:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6DxcOBFAN2eDgwAAqHPOHw (envelope-from ) for ; Fri, 15 Nov 2024 13:35:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=simendsjo.me header.s=fm3 header.b=iCkMwof1; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=Xex+vEi0; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=simendsjo.me (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731674129; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=biB6mG+jCxWr/+3dn8XOrfaLueQQzDmoGfYmqrfR0ig=; b=XClfE4tdffkbTMcTDLC+YRKFDeN6tTyW3qE8o03P0LgjUyHjt1732/v8lF2rDRSCddLAbW nGlzxyI8UsRv666ZW6luEMc1dDE7hMGyr2WuLVUCG4PxJRNyOdgaQ1VI6U4nnhvRNXQR9l C9aB5L8EEytlJerUj3HQOzgd0goSi77P8xj8X0X+CW2SXSpkHhNuuq4ZJTnl1EDLTQlX0I dt+/4gGPc6wf+4ZzJSs9r2M3xEEfI8V03og1uqjU35qoyuioa3d3m/y6PKokpgiWVGhYj0 F39YqLBIJRTw1oziptPelRsdZQ6NF5MZ9A7VijtdXq4c1RWTxvC+zySQfz48vA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=simendsjo.me header.s=fm3 header.b=iCkMwof1; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=Xex+vEi0; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=simendsjo.me (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731674129; a=rsa-sha256; cv=none; b=dxBlW1WZn8KDzWuNH+wDySn4gA9DfAy28KBEXjrL2SaTOPfWTbVby/Aj2fzJMGaodhfazy GRAJiYKFCsScIeN+ucTwdry9JluAzgm1AuNL7p5uO+56MKfV2nUHswIluxEJAJDC0tsO8v MjnZynJu1MvzmZuRkuVvwIH8r/1dKReNl35C4TkyPtmMxmXwso1kB6123vlwZQjOrrXExt suk4CYfUhfc2V5OyT6XMEJowa0ZetgRvPbpCpJZA0G9cuBD7mVeBSxWfKzlxcmSm7889QW WXEXSZffiR7BWZYNIQX3oIaf9nW66/AQKWtEHVwPpIn1AW3ul2BdOxCGT9+wBw== 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 7ABB17CA20 for ; Fri, 15 Nov 2024 13:35:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tButI-00064U-QS; Fri, 15 Nov 2024 06:53:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tButF-00064G-Hr for help-guix@gnu.org; Fri, 15 Nov 2024 06:53:29 -0500 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tButC-0005H8-RS for help-guix@gnu.org; Fri, 15 Nov 2024 06:53:28 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id D0D5311400FB; Fri, 15 Nov 2024 06:53:25 -0500 (EST) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-11.internal (MEProxy); Fri, 15 Nov 2024 06:53:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1731671605; x=1731758005; bh=jF3dsKh5RF 6Xm6xDWQiN1Ify3wzQFUUYeE25PsQ7f+c=; b=iCkMwof1Cx2XEYljxS8a6OPMnQ JrIcbC1ZJjQ5MHeC09cT8bK+OYXJ5Tmk8atTZ3PNHQhTfINVsOoeniSv99SU/pEa RQj25O3hLIjrkflWjBWwLZC+Sy6HEi47dHfJBHflRnsX4iOH+lr4RhVYUFpsQx6n PQAz+l1lQJpwKYV+k70u7CHEEzVxpagm6I8uesfHsT/ib1oNGai9ujRxnsnL3H3l O86V9AYO5tXqA+oVacRWoRXbxGgMs5UFerVMK283FvMpnvNIIlAthfFabI1rMC3O pYlpKJ2tZTSBD4a7E8OQrXkQ56XnFxoAgBOHETJlRIvmoiO7Nhpsr33MxyIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1731671605; x=1731758005; bh=jF3dsKh5RF6Xm6xDWQiN1Ify3wzQFUUYeE2 5PsQ7f+c=; b=Xex+vEi0Zt6Y7EujbzmO+aOQQCP1o5LeiZLpNxIOvq1nZ8L2dV3 SZK9ZLJKurfWDLQs5pN+ES60+hYREBHz2470nV/kYXsY+BlZIQfxpMSn4ANhp8UV O9kZyLAq0y/qxo3cULudhZH1UCUgvOMOz2i+oH3yPFGCTNzbp8u3FhEH3TjRrlxK l33M0dZJQeHnvCQJBt6MQ0Zyiic1SaTuF9JaX3ia8Eb5vvdTT0j3sAhoBWZzyA8k YLk2ZMxQDpwwA4ByGB5qKDtcPwpDanHqja+UPwUOlVEXUUECMJirVyJDO6idojsO JHUIjrew12LiKFHIsxlqz+Syr0K32cNf2Sg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvdeggdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtsegrtderreertdejnecu hfhrohhmpefuihhmvghnucfgnhgushhjppcuoegtohhnthgrtghtsehsihhmvghnughsjh hordhmvgeqnecuggftrfgrthhtvghrnhepgedtleehhedtkeefteekledtfeegteeufeei heefgefggfeuveffvdffveeggeefnecuffhomhgrihhnpehgihhthhhusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgr tghtsehsihhmvghnughsjhhordhmvgdpnhgspghrtghpthhtohepvddpmhhouggvpehsmh htphhouhhtpdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrghdprhgtphht thhopegvughouhesrhgukhhlvghinhdrfhhr X-ME-Proxy: Feedback-ID: i08f14972:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 031F83360079; Fri, 15 Nov 2024 06:53:25 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Fri, 15 Nov 2024 12:53:04 +0100 From: =?UTF-8?Q?Simen_Endsj=C3=B8?= To: "Edouard Klein" Cc: help-guix@gnu.org Message-Id: <99904633-2445-401a-afe9-93034886218c@app.fastmail.com> In-Reply-To: <87o72ghkad.fsf@rdklein.fr> References: <87plmxzfb4.fsf@simendsjo.me> <87o72ghkad.fsf@rdklein.fr> Subject: Re: Software running in a container fails when using fontconfig? Received-SPF: pass client-ip=103.168.172.158; envelope-from=contact@simendsjo.me; helo=fhigh-a7-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam: Yes X-Migadu-Spam: Yes X-Migadu-Spam-Score: 8.00 X-Spam-Score: 8.00 X-Migadu-Queue-Id: 7ABB17CA20 X-Migadu-Scanner: mx11.migadu.com X-TUID: BD3mRZc4W2op Thanks, but it didn't quite work. It did however trigger a state where I= can avoid the bug. Instead of the embedded html showing directly, I get a warning stating t= hat it is disabled because of security. I can choose to disable the sand= box, and the application restarts, showing the html, crashing again. So = I can just not disable the sandbox and avoid triggering the bug. On Fri, Nov 15, 2024, at 11:17, Edouard Klein wrote: > Hi, >=20 > This may miss the mark wildly, but I remember having trouble with > fontconfig in a container a few months ago and solving it with > --emulate-fhs maybe this is worth a try. >=20 > Cheers, >=20 > Edouard. > Simen Endsj=C3=B8 writes: >=20 > > Hi, I'm packaging a piece of software which crashes when launching > > chromium embedded framework. > > > > The error is > > Fontconfig error: Cannot load default config file: No such file: (= null) > > > > I found a similar issue for Nix which suggests the error is caused by > > fontconfig not being installed globally and suggests a patch: > > https://github.com/NixOS/nixpkgs/issues/176081#issuecomment-11459035= 68 > > > > I tried creating a symlink at /etc/fonts/fonts.conf, but while I get > > further, it still crashes. > > > > sudo ln -s ~/.config/fontconfig/fonts.conf /etc/fonts/fonts.conf > > > > Fontconfig warning: no elements found. Check configurat= ion. > > Fontconfig warning: adding /var/cache/fontconfig > > Fontconfig warning: adding fontconfig > > Trace/breakpoint trap > > > > /var/cache/fontconfig is on a read-only filesystem, so I cannot > > experiment with adding it there. > > > > I tried adding all fonts and fontconfig to my system configuration, = but > > this didn't generate /etc/fonts/fonts.conf nor /var/cache/fontconfig= /*. > > > > Unfortunately, I haven't been able to test the Nix patch as my naive= `-L > > ~/code/guix` fails to compile various modules. > > > > Any input before I spent a lot of time trying to get this Nix patch = working? >=20