GNU bug report logs - #26877
building fonts: fontcache must be updated regulary

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: ng0 <ng0@HIDDEN>; dated Thu, 11 May 2017 08:38:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 26877 <at> debbugs.gnu.org:


Received: (at 26877) by debbugs.gnu.org; 11 May 2017 17:47:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 11 13:47:10 2017
Received: from localhost ([127.0.0.1]:39013 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d8sBC-0000Ks-8A
	for submit <at> debbugs.gnu.org; Thu, 11 May 2017 13:47:10 -0400
Received: from world.peace.net ([50.252.239.5]:52128)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1d8sBA-0000Ka-Hs
 for 26877 <at> debbugs.gnu.org; Thu, 11 May 2017 13:47:09 -0400
Received: from pool-72-93-33-75.bstnma.east.verizon.net ([72.93.33.75]
 helo=jojen)
 by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <mhw@HIDDEN>)
 id 1d8s1s-0003Fy-LE; Thu, 11 May 2017 13:37:32 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: ng0 <ng0@HIDDEN>
Subject: Re: bug#26877: building fonts: fontcache must be updated regulary
References: <20170511083658.fuc54qhzo7ismnha@abyayala>
Date: Thu, 11 May 2017 13:46:49 -0400
In-Reply-To: <20170511083658.fuc54qhzo7ismnha@abyayala> (ng0@HIDDEN's
 message of "Thu, 11 May 2017 08:36:58 +0000")
Message-ID: <8760h7guba.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 26877
Cc: 26877 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

ng0 <ng0@HIDDEN> writes:

> The problem: Right now after just installing fonts, they do
> not become available. This can lead to some applications
> appearing "broken", etc. Other operating systems solve this
> by having a post-install hook which roughly does just this.
>
> A possible solution:
> Our fictional, not yet existing, font-build-system should
> run "fc-cache --force --really-force",

This cannot work, because the build system code is run within the build
container, where it won't have access to anything in your home
directory.  Furthermore, for most users, the packages are built on
another machine, namely one of our build farm slaves.

Even the build system did somehow have access to your home directory,
building the package is not the right time to run "fc-cache".  On a
multiuser system, if two users request the same derivation, it is only
built for the first user, and the second user simply uses the one that
the first user built.  The relevant time to run "fc-cache" is when the
font is _installed_ in your user profile.

The usual Guix way to handle things like this is to arrange for the font
cache to be part of the profile, and to create a profile hook that
creates the cache from all of the built packages included within.

       Mark




Information forwarded to bug-guix@HIDDEN:
bug#26877; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 May 2017 08:37:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 11 04:37:20 2017
Received: from localhost ([127.0.0.1]:37628 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d8jb6-0005MG-0N
	for submit <at> debbugs.gnu.org; Thu, 11 May 2017 04:37:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59952)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ng0@HIDDEN>) id 1d8jb3-0005M2-Rj
 for submit <at> debbugs.gnu.org; Thu, 11 May 2017 04:37:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1d8jay-0000se-1Q
 for submit <at> debbugs.gnu.org; Thu, 11 May 2017 04:37:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39968)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ng0@HIDDEN>) id 1d8jax-0000sT-Ua
 for submit <at> debbugs.gnu.org; Thu, 11 May 2017 04:37:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50906)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1d8jaw-0005w0-Nr
 for bug-guix@HIDDEN; Thu, 11 May 2017 04:37:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1d8jar-0000jJ-Sl
 for bug-guix@HIDDEN; Thu, 11 May 2017 04:37:10 -0400
Received: from 93-95-228-241.1984.is ([93.95.228.241]:53154
 helo=sharknado9001.pragmatique.xyz)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ng0@HIDDEN>) id 1d8jar-0000a5-Fm
 for bug-guix@HIDDEN; Thu, 11 May 2017 04:37:05 -0400
Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id
 095e6af9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO)
 for <bug-guix@HIDDEN>; Thu, 11 May 2017 08:36:50 +0000 (UTC)
Date: Thu, 11 May 2017 08:36:58 +0000
From: ng0 <ng0@HIDDEN>
To: bug-guix@HIDDEN
Subject: building fonts: fontcache must be updated regulary
Message-ID: <20170511083658.fuc54qhzo7ismnha@abyayala>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

The problem: Right now after just installing fonts, they do
not become available. This can lead to some applications
appearing "broken", etc. Other operating systems solve this
by having a post-install hook which roughly does just this.

A possible solution:
Our fictional, not yet existing, font-build-system should
run "fc-cache --force --really-force", or we should have
a service which does the same for the fonts installed in
the user profile.
At this point a font-build-system would be good anyway,
as the number of fonts keeps growing, and most fonts are
using similar patterns to be installed.
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/




Acknowledgement sent to ng0 <ng0@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#26877; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 11 May 2017 18:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.