From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2098.outbound.protection.outlook.com [40.107.100.98]) by sourceware.org (Postfix) with ESMTPS id 5545D3987010 for ; Fri, 11 Sep 2020 13:12:34 +0000 (GMT) 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 Received: from MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) by MN2PR04MB5488.namprd04.prod.outlook.com (2603:10b6:208:df::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Fri, 11 Sep 2020 13:12:33 +0000 Received: from MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::c144:d206:c369:af44]) by MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::c144:d206:c369:af44%7]) with mapi id 15.20.3348.019; Fri, 11 Sep 2020 13:12:33 +0000 Subject: Re: postinstall: fontconfig abnormal exit To: cygwin@cygwin.com References: <106370283.20200908171659@yandex.ru> <782011494.20200910083521@yandex.ru> <5a2fdf46-93c8-048b-cadb-cb9d9212c716@SystematicSw.ab.ca> <20200910230426.5811f3e8@quarternote> <8f40571c-1a37-8e4b-f1bd-ecf40175d0d7@gmail.com> From: Ken Brown 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> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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 Received: from [IPv6:2604:6000:b407:7f00:ad88:231:3482:1c42] (2604:6000:b407:7f00:ad88:231:3482:1c42) by CH2PR08CA0028.namprd08.prod.outlook.com (2603:10b6:610:5a::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Fri, 11 Sep 2020 13:12:32 +0000 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: 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 13:12:35 -0000 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