X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=fBrJolYdfAbIpu9w
	95cNNj/KyBckrWeliMo3w8J2ZhvEMdgo3GKAFYiGGjy/eguaDNRRGOP73VtCEJzX
	EeNVmf7Q1Q60+0VrpNN/LbgSQt+Tdn2QPa83XcwglVGkipxi/7IOZrGEkDdUxRQL
	xnMxIIIIFBZZKcm/RIMC57IcSfA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=i72qTLVswlijcGo6mHHMbU
	jY+y8=; b=uySY7EUkLdklY0pibUVJLOdVo5eZi4VQ/mBPzRuoy5JXIxeUuIAVhF
	WRXiS/ee3KyIg6CU5MmhkrZ3KCqb6jYGlWYczfUmP5GeJf8ksK5tHzXPQb1Zuka3
	Z9lNdD7kxQU5mDZYdsFaI26cycOFi0Vw1/BoURNRLvZ4LPPwGoFbU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=zp_fontconfig_cache_1sh, sk:zp_font, UD:zp_fontconfig_cache_1.sh, zp_fontconfig_cache_1.sh
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: zp_fontconfig_cache_1.sh exit code 2
To: cygwin@cygwin.com
References: <trinity-f44febaf-a656-4566-b42a-bcccd2e6123a-1465767160468@3capp-gmx-bs72>
From: Ken Brown <kbrown@cornell.edu>
Message-ID: <07375b01-b392-2b11-1c0d-22f5ad4b702a@cornell.edu>
Date: Sun, 12 Jun 2016 17:54:44 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <trinity-f44febaf-a656-4566-b42a-bcccd2e6123a-1465767160468@3capp-gmx-bs72>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-IsSubscribed: yes

On 6/12/2016 5:32 PM, Mark McGregor wrote:
> ... and after one more installation, I get exit code 1. Don't ask me why.

The exit code is the number of font caches that fontconfig thinks it 
failed to write.

In fact, I'm pretty sure it actually did successfully write the cache, 
and the error message is bogus.  You can test this by adding the -v flag 
to the fc-cache invocation in zp_fontconfig_cache_1.sh:

   /usr/libexec/fc-cache-1 -sv

I think you'll find that if you rerun zp_fontconfig_cache_1.sh after it 
has reported "failed to write cache" on a certain font directory, it 
will then give a message saying the cache is up to date and doesn't need 
to be rewritten.

That's what I've found, anyway.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

