delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/11/09:13:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D08B03987010
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1599829956;
bh=mJw+3kJn0QVFwMQ2z6OvMpZwmFgWNt/2054/pI5KIhI=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=MVh9Cq6efgJxfJ7rWWrQGGHkgFmlT+trau7t51fjgHlXCcrywLJfwB0ZN0ekkLC/A
n8CU7+TQcNjjDxvX5ZXQlGosOVYdQSa+k6/ngopm/15IDegFIhc4WiD1lAupgkKw5f
HQZ9tYbmIGJIzAW/QFbX+waE844OlbolapVptbdo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5545D3987010
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=nXbOQUitSxo/I35Q8A4ZRPwgOmykKsAX9iexL3A0R0c34aRhAcBp/eYybkA6b5MY83BDuIRsYaBwjXRxRxEhypQfiwDUEgdhwoEHyCTgFC+UvYPm7SoCWw10eSN8WH+MUJlu5mst6SRbUwSgiiTkSv2OftUmAKuED0SpeDRU6wNr3GzoZz/yUdnl1+scu1iBQob/LcvF++YPeqFuSbo7paoleqiVRdwuYhds0u0kP5VDU2aELe3zIP4C1v/57R+piUGwCUzicWWmNzm/MrhFh85Yg0vPq/2dl9GoW3GY7HY8wYgSdjN5a9O6SL+Dnttd8rrnGrdKRbrQidiOivDsPQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=2DoMb6W4jEM9fc5OGxK4aQsueazmLnxbc8yVPIrkTGA=;
b=addTHk2q2hL7eQ4JerSEPv+yRJQauQXjJi/7Pkqf5QRlsdmDpjGnb+0MRHdw2W7ecIcaIoxzJG75CbjgCMKvF5JQkALRliHjGDFcqNV4L/mOED7T/JHjwIFfLhju8Bu789mlweiDYmO/Ukk7IOMGxJC2wyAqG6VRbsGKZPhN+Bux0fkUeY5qABu67p8NTq3RRQZNb3jK3gE+xaCKEkQr8/cLha/vdXW1kpquvSJNGfx/73tkxpAq8R4pM0R7Wdhtb2RmO2umTPv3nKuW/mqDEgrJJZhTA/N0MnJ+2MNASLS43o+7gM+IxBn54GELv86/zjoTXYlADU98axrBaurhNg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: postinstall: fontconfig abnormal exit
To: cygwin AT cygwin DOT com
References: <DB6PR03MB3013DDDB803E3E4B8EF8E935A4290 AT DB6PR03MB3013 DOT eurprd03 DOT prod DOT outlook DOT com>
<106370283 DOT 20200908171659 AT yandex DOT ru>
<DB6PR03MB30139A2A8B7ABC69F6F4CEC2A4290 AT DB6PR03MB3013 DOT eurprd03 DOT prod DOT outlook DOT com>
<DB6PR03MB301312724F0DFF66AF9E796DA4270 AT DB6PR03MB3013 DOT eurprd03 DOT prod DOT outlook DOT com>
<782011494 DOT 20200910083521 AT yandex DOT ru>
<DB6PR03MB3013D1FD4D925B12A4022E98A4270 AT DB6PR03MB3013 DOT eurprd03 DOT prod DOT outlook DOT com>
<5a2fdf46-93c8-048b-cadb-cb9d9212c716 AT SystematicSw DOT ab DOT ca>
<20200910230426 DOT 5811f3e8 AT quarternote>
<VI1PR03MB3022EBE68767183BCA4889ECA4240 AT VI1PR03MB3022 DOT eurprd03 DOT prod DOT outlook DOT com>
<DB7PR02MB39967134A1C1169A8A406BE8E7240 AT DB7PR02MB3996 DOT eurprd02 DOT prod DOT outlook DOT com>
<8f40571c-1a37-8e4b-f1bd-ecf40175d0d7 AT gmail DOT com>
Message-ID: <179bbaf0-02b4-1c63-0083-5fa2a8833ea9@cornell.edu>
Date: Fri, 11 Sep 2020 09:12:31 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
In-Reply-To: <8f40571c-1a37-8e4b-f1bd-ecf40175d0d7@gmail.com>
X-ClientProxiedBy: CH2PR08CA0028.namprd08.prod.outlook.com
(2603:10b6:610:5a::38) To MN2PR04MB6176.namprd04.prod.outlook.com
(2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-Originating-IP: [2604:6000:b407:7f00:ad88:231:3482:1c42]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 2166e7fc-6871-4cba-2700-08d85654581c
X-MS-TrafficTypeDiagnostic: MN2PR04MB5488:
X-Microsoft-Antispam-PRVS: <MN2PR04MB5488B00A8F6502BC3E93C402D8240 AT MN2PR04MB5488 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:7691;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: UIiPd2Ihf7ijEbUBzui+oiZJeqG2KN+f9ZSsx1nkGMCZ/D0e8bPGA8Zp/3vz4e8UluE1KrnV1WKLKEzXfdK4jJ41oQ9E+PjVziB51O7XcmWZ/mpMy1Jta6ThWEQeGwqTb4lEZuhp9R0r3PyiRID3vDwIAiRUEEUWo2jl/cpXQ2HtxQ4RGSnAv0+GRRtAQQuL4ZjTKMIy8sO5rfgrCunTIvOnEf/AfXoHxaKRnXcp6GnRxERKIm8Xxa004PbS/pe7PWgYTrMJ7yAWWoy+TSXsIdBmoRtptT8Fitw700eUIdqzvs5jVKLCGCtH1XRc2OliHQrsYD0TZda6EYW/W6dyOxm5QbCqUBM63jreySuUNYCLz+KNDVrjyxdK8CsG1N9OiIbHco5UrGlgpQgHlxG8nom8qjfQXpYAqzzwLu/v0lk=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(346002)(136003)(376002)(366004)(396003)(39860400002)(8936002)(8676002)(66946007)(6486002)(16526019)(186003)(2906002)(66476007)(66556008)(36756003)(2616005)(83380400001)(52116002)(31686004)(6916009)(53546011)(86362001)(5660300002)(75432002)(31696002)(478600001)(786003)(316002)(43740500002)(460985005);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: XAQh03Q+a9hvliUicDGpSwOwpQ5YWsTVO9W60qM81Hjz3+3yfxw+unS/HQH/vyAsRS76/x9YqeUdFqCi2+krqHzalrRh8n5sq0mpFkCvcu3E0nFuFiGfNtfhPnaa2YmayLyOPBRXOzfuTsf/e4x7BAXO8BJrizKeAVPmYgTCUhg9U0X9QQjS/D9HXOQP8NFxGn2Wp/tlHpS74eQa4KZRlMQMwbRK6IbWoxaGx0peiPUoQLuy1/B38JcTuAGAU3+CdghVAeMAeh3rPpv/fkybkGqdzZf3ujyOXRX4Fy2VrIXafXZNInHdcu8eqP8DEx+0b+RtxSHi/pQygxD0kaYM18YdWuEehgenns5zKRP8JiUHTUF8jl4jFclIgxpE3VZWn5htGJOytTLPfE595FhPuBv7MlWyrEKYRQz2LHd/6zQ6sd79buGZKiP5DhawhvO6Opoo5IHmAPKiDWHhmoqRT2IwAvwg/JRUy56l3Ld9DsALfITeMs/x90Qf95sjvsrRaPN23Tif6DknvWx5FTr1OaKdbXNRh7EHIxzjmItw4xomCQzQAs4KDXWzfPX//yjk3IyWAH3v85Vaq+lNbs5LnLKbSQb1XSPWAQ7ljKXLsYua9d+d6JpBjB615BulDs5p774NtcG3027OE+wG57gt4d8gtMq4hTxVI+SRFjdwsajNZUaKd2jmYMOG+85zZgJ3RLxHsmN5vlwzVf/topkN+Q==
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 2166e7fc-6871-4cba-2700-08d85654581c
X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 13:12:32.9746 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: iUEZj5LDB7K9YCNSSjeN33jQUnpPpS14ReLRzsTcx2cSz2uQK27T42XeP3eSAeUCGFVrwx9hq0UEUmcuy+Q9zg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5488
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 08BDD2r7019758

On 9/11/2020 7:31 AM, Marco Atzeri via Cygwin wrote:
> On 11.09.2020 10:32, Hamish McIntyre-Bhatty via Cygwin wrote:
>> On 11/09/2020 08:22, Fergus Daly via Cygwin wrote:
>>>> On 2020-09-10 04:57, Fergus Daly via Cygwin wrote:
>>>>>>>> Sorry if this has been asked 4 million times already.
>>>>>>> $ head /etc/postinstall/{fontconfig_dtd,libxml2}.*
>>>>>>                     ==> /etc/postinstall/fontconfig_dtd.sh.done <==
>>>> hmmm.  i don't understand exactly what this thread is about, but i do know 
>>>> that on my latest fresh install of cygwin,
>>>> the fontconfig_dtd install is claiming an error at the end.
>>>> is this related to that ?
>>> Exactly. On first setup and all subsequent updates this post-installation 
>>> error recurs.
>>> The cure described depends on the presence of several files including one 
>>> that the script creates if necessary.
>>>
>>> PS Before I enlisted help to cure this glitch "properly", I found it and its 
>>> recurrence sufficiently intrusive to become an annoyance.
>>> Since nothing was obviously broken I guessed that nothing further would be 
>>> broken by artificially achieving the post-installation
>>> sequence as follows:
>>> $ mv /etc/postinstall/fontconfig_dtd.sh /etc/postinstall/fontconfig_dtd.sh.done
> 
> this remove the action, does not solve it
> 
> what`s happen if you just run
> 
>    /etc/postinstall/fontconfig_dtd.sh
> 
> any error message ?
> 
>>> And so it transpired: nothing awful seemed to happen, or fail to happen, as a 
>>> consequence of this "fix"; and the error msg stopped.
>>
>> I agree this should be fixed - it is annoying, and I also don't think
>> it's a new bug by any stretch: I had this last September when I was
>> first looking at getting wxPython to compile in Cygwin.
>>
>> Also it's, in my opinion, not a great user experience to have end users
>> immediately thing something is wrong after the first install. Despite
>> the fact that it doesn't seem to matter, it doesn't inspire confidence
>> for first-time users. I haven't followed this very closely so I'm aware
>> it might be hard to fix, and I very much appreciate all the effort put
>> in to Cygwin, but I reckon this one would help a lot with the first
>> impressions & attitude of a new Cygwin user.
>>
>> Hamish
>>
> 
> check on /var/log/setup.log.full for any hints on what is going wrong
> 
> Installing just base+fontconfig is not providing any error,
> so it must be an interaction of fontconfig with some other package

You can reproduce the problem by doing a fresh install and choosing 
libfontconfig-common and libxml2.  setup.log.full shows

running: C:\cygwin64temp\bin\bash.exe --norc --noprofile 
"/etc/postinstall/fontconfig_dtd.sh"
could not open /etc/xml/catalog for saving

Marco, libxml2 used to have a postinstall script that would create /etc/xml/catalog:

$ cat /etc/postinstall/libxml2.sh.done
if test ! -f /etc/xml/catalog; then
         /bin/mkdir -p /etc/xml
         /usr/bin/xmlcatalog --noout --create /etc/xml/catalog
fi

But this seems to have disappeared from the most recent release.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019