From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0HTMFkYgN2c+MwEAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Nov 2024 10:19:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0HTMFkYgN2c+MwEAqHPOHw (envelope-from ) for ; Fri, 15 Nov 2024 11:19:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=OQ2omFiS; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1731665990; a=rsa-sha256; cv=pass; b=DFOyBmtICoTh75BktjzzfVeKEhu+TUG378Xfjt7odEjPvvXfCrWOHRFQUzj9PEFbwHRmVR eWxAS1g8M1Ul1S4VggDDLQgu7395JhHAP0TouiQ7yR8BFL3uWGMAbIWIz4ro9qasltjnBF G/FsIKpqoyY4dp01WD5jmsUHST1gcTJ69H7R7iqPbSzXsCjlG6Awzhj8K9tlMj0Ht6nXTr YenPMILwSY+7OFZcgBlFo8t3FRV2Un1xsGshnKUzFbdkxMxnO8VFBQsPGmGx0yqw55Stpy AlLtNs9SzCZpV/UjJ+KIijoxk7b+HEkvb5tlEOQcj1Th/ZUuIDHeGCcqfZMKzg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=OQ2omFiS; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731665990; 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=ex/LW/m+lPF04HxdyR4HH/GA6w7RhBMOcNDkDfwbBCY=; b=VIFrvA/4ULptcOOH3/VwQjE6VGCOAdoVn0l33zXlRItLQyuRrnIW853t/haTxpf+ZIKA6I JTapIVouyf44Iiqn/xLFjFlgG/BqC0QQqsJx1Wpq3LmVexGHORvVOjISV+36QD2AGELEvh UEBV3jEFApRTax9tC1a+v2ClYqTnKP/WrhFk8cgmRVwegmdqwxpEq/7mD5wM1II18pfwqL qFYyol9IzR8nvusq2PDFLVOi1m2lIILRX1p7N3n98k2B5QFUOUItthQCvX4npMu/ttANUz 9LMHatwExWyTVSe38SBh+U6ii8BwL9SnIghcjrXdmI8j6NSl8ntxvlLTRnaL9w== 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 A60961F28E for ; Fri, 15 Nov 2024 11:19:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBtQC-0007EX-Gj; Fri, 15 Nov 2024 05:19:24 -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 1tBtQ9-0007EM-Ix for help-guix@gnu.org; Fri, 15 Nov 2024 05:19:21 -0500 Received: from sender-op-o11.zoho.eu ([136.143.169.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBtQ7-0004RX-78 for help-guix@gnu.org; Fri, 15 Nov 2024 05:19:21 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1731665950; cv=none; d=zohomail.eu; s=zohoarc; b=IJtRcdsNEB61hVpmb3nLZze3ESJtv/dsNlzKIPJcJQSQ+VMmWVVvcTTyOLypdLW9cOdIR/32UeKMad2EXV4s699P3dzutIeiuwoPpug77uyfzOsmwxDAlZMfSfXPzadP+bj2h7LZlkB1CRskj/2xyWHI0ejA8ImRuGiIsakFHRE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1731665950; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=ex/LW/m+lPF04HxdyR4HH/GA6w7RhBMOcNDkDfwbBCY=; b=Oy/g4ds+qMWM7ieyIlIBq2fLngDZa0Ie7DAKI0bTkqNSNavRkPY+oL8usVLmUtmwT4iyUndl0XsmPbbDANixRZ3TNI/+9rZpgV15SOFwvc2nOJIiKQ2hVqLdcOBOzVd29pqeV1rqshvUEXHhjx62AYL+f9Dsz+nwGGm9nidmxVU= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1731665950; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=ex/LW/m+lPF04HxdyR4HH/GA6w7RhBMOcNDkDfwbBCY=; b=OQ2omFiS1YufgMPQA0i6q5LXNn1VZTcLNsk/ldOz8s8Bjz+5HQ9D3FA97mJWwXE8 XWYuGEcGEoI7cAKSuPdeMBqe7Bajq57pO0m8gbxWLkDD4BofISWo1JrhWoI3vyCc2FF UIgmMCeJE8MAI3u2mSMgMC/IvdvuJRqP2Wyirt6vbT0LW+9pt2xPxSWT+NwLxB/Pr3W TShvYVFKGz+6SJNioEg6bZ+tLOpXAO3zUcPGT5FDkJW76PktX5H2ubUVJ7MgyytUgep W0TpnYHqK0Fu2r9IYewBuIcdYnb0O1rK+OJ8CUnX9AAq91zRbgjNnVLT+OpuGlJi36D U7m8O968uw== Received: by mx.zoho.eu with SMTPS id 1731665947028323.72316176418076; Fri, 15 Nov 2024 11:19:07 +0100 (CET) References: <87plmxzfb4.fsf@simendsjo.me> User-agent: mu4e 1.10.2; emacs 28.2 From: Edouard Klein To: Simen =?utf-8?Q?Endsj=C3=B8?= Cc: help-guix@gnu.org Subject: Re: Software running in a container fails when using fontconfig? Date: Fri, 15 Nov 2024 11:17:42 +0100 In-reply-to: <87plmxzfb4.fsf@simendsjo.me> Message-ID: <87o72ghkad.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.169.11; envelope-from=edou@rdklein.fr; helo=sender-op-o11.zoho.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Migadu-Spam-Score: -4.22 X-Spam-Score: -4.22 X-Migadu-Queue-Id: A60961F28E X-Migadu-Scanner: mx10.migadu.com X-TUID: T+fboOlsUutk Hi, 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. Cheers, Edouard. Simen Endsj=C3=B8 writes: > 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-1145903568 > > 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 configuration. > 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 worki= ng?