X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A071E398740A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1599853641; bh=m+S7kCSocioQAGqUhk3Qt+vy5F4Xw7FoZ8rEivjpNjM=; 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=W4qrYhgRULrnwm2HBnDTuQhARiVHOQhoFcVyzQAst8gppPIptWtmd3Zlo45FufEoq QIyFwnlDbm/sdXJWu58igQ7XolW+f25mLkTNI4JvOhlp3YtivTfn2CRuBkWbM9schl ESe53Wr/LwXym9MLZcga0cv/7N+32SCYd2xn2fdc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DAEEB386F027 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ptamx72hmH+TmTv0e6NdEEIyPtqAJ/YV8moCoOg2JyaWMpBhbCk8mdfl1ybr7TL7oBMkKwY+t0lco5/8egknyLpEnckEDuT6fF7oyWswE2OFcJwEpvuIRxCN1edpNx2IcVPwCK1ruSVsu3mYhXLI6cUSCrVzgcs+MdD3dN217oVDP6h01jS1ofDXjCUEoEAF9VnD7j9Qh/pwoGm6lZj8f0oyeqKaQ1Nw3cgyhbPwjmPoVLflrgwiAEkQmgWS0wmLXw6z9Hzkzfal6H8LgXM2lyGJ45YBwO6nPRv2XdKkQ/SnTlRP3IjkZHqKWygIFQ+BmiQZdecEQjSpp+vJGngMIw== 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=9aTjoZ7OGmdEQvECkTnOZTT1eZpS425T4H/u5Hbs/tY=; b=BoKxBQH+gG5SMRdGEj2RFK0oQUkrVcG456YelQSJDLk1E7dGeaDlu4Bgtpgt7w9h2tboDKBX6Cl7bKxHu6FkgriJBPnQd7m/E5GKqi5Yscvgq1c+kSxnFMDfbuGCL+gbCjbyWfcp/xb7wEehP0Sv6BjM0+4NZ7dy7T11kJUqHboxf5MFiPfdDxFXoXjapJsaW42XQtpJRT9+l08Rl48pD5COUj6ArJ3mD6oSy9/7a1ki7cIX2mT9lbwhTF20UP/N50RbA5fQ+6LTtqjuFJjL476tvOMxWgQHWuR+hszi4u6vbArFK20a5o3hUhwILKi6BUrUNU4m5MCZBQaDCTxJ+w== 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: <106370283 DOT 20200908171659 AT yandex DOT ru> <782011494 DOT 20200910083521 AT yandex DOT ru> <5a2fdf46-93c8-048b-cadb-cb9d9212c716 AT SystematicSw DOT ab DOT ca> <20200910230426 DOT 5811f3e8 AT quarternote> <8f40571c-1a37-8e4b-f1bd-ecf40175d0d7 AT gmail DOT com> <179bbaf0-02b4-1c63-0083-5fa2a8833ea9 AT cornell DOT edu> <06e9cf44-8cc8-267e-12b3-e8a866a01c80 AT gmail DOT com> Message-ID: Date: Fri, 11 Sep 2020 15:47:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: <06e9cf44-8cc8-267e-12b3-e8a866a01c80@gmail.com> Content-Language: en-US X-ClientProxiedBy: CH2PR04CA0025.namprd04.prod.outlook.com (2603:10b6:610:52::35) To MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.17] (68.175.129.7) by CH2PR04CA0025.namprd04.prod.outlook.com (2603:10b6:610:52::35) 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 19:47:15 +0000 X-Originating-IP: [68.175.129.7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e01877c-824c-49fa-b0d8-08d8568b7c3c X-MS-TrafficTypeDiagnostic: MN2PR04MB5773: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wIvlH922FXELYWMIdGV9eLtNTTKiPDBZ3hhk1G0+SQ/QCkkP0ZIMjz7VbhSa3sasKpWuB91jF9lWBKeK0RT2ue2fjeiATWY05YIHhM8LUapPmMtfJL130t+BIVPxSAoEJJ7RsA2BMHlzFnAwdT841/RlI3sbpqvt5/t+scrt0lxzyjGXMUcBrNffSDtrtIrAy/YMm5R34pRhuRf4YMITHApYQfkGO2grCsHJ/H+RhRaUhB45mBOEBi+NGb9Mnzq8BaZ4ZNsFbk/TsmsFScwHRoCOnZhRNPh/AT+OY4GjvY7zlDx1CxB4IKaV3R5nGbY+pWGqNTa6LBF7sUjRGCVLdzu7oo+u8KT1yEciAu2oyM8p5fK6cRVBigNqc4rg7NE0yHPdwV1GGcAgFZUlL+2M2g== 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)(366004)(396003)(39860400002)(376002)(346002)(136003)(786003)(8936002)(86362001)(8676002)(956004)(83380400001)(6486002)(2616005)(2906002)(6916009)(66946007)(5660300002)(66556008)(31696002)(478600001)(75432002)(316002)(16576012)(66476007)(31686004)(16526019)(186003)(36756003)(52116002)(26005)(53546011)(43740500002)(460985005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: Hna5ZLEY+lEAmkImzff/Pu+JZt+CTxGWhhHrI+OG1Hl8K962A52P6mWdo+GEZeJ77niYXFYGrJn1/p5MG1J5/IR4fRiQV9ApsnROOH47b2CR5fMeAwc+3oB1aTsrzxtAgBYdTA/KlRpSvH/7qvP84n4Izo1P+F3JPOKMt0t0Pg4sbHkNKdJAA/dt4/UlkKJL8YcnxXeMqOGd1swuTY3iVRmeZZabRPafYqZRBpM6GdU/r5VhucF+YKKUxZwCFc4NvCHI+7Mb7y5EJbCF0n6gdGkgkIYXK9AnU/w7sAeg2iDpfsifs9u0P9L58V3I0cmi0EBBZaSljS9g5e1WkdU/sr4dXwYq0d7CChv3Q2q3us84UWeEEtyzGWa52/LETkse8vkxVfzSDFbv6b/uQmZRZe2klZUyha/nbJbeR9IQQwOJG/9azn7Xvp+A7pLfSs9eIuJ75yEmBLdNHGvTi5GGXF8NCoXIiAtsJwjrSbXMdra9WNXj3VEbxpLudSGvmwqyQXzIUyxFu8HP/gr6QeeR1IdaxyzTr6bBRl9sXa7CEk4dDY7kOxJZrMX7haYI9A5Ux1uCqxgfs5HFOb+KZjDy3ziywLRgetnRTDsPKIWPBZ/KiDKs+hHMEMrPgTgDg3U2fQS2QZ6PPz8SSpdTba8igw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 5e01877c-824c-49fa-b0d8-08d8568b7c3c X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 19:47:16.0418 (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: yhrxCbaAZyGa2nSynmCu+lq0htEMC8y77abmcFXJaM4w8OlYjvASz8ZX6wi5RXISXOMQkmEEFnF89Szhllw0jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5773 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_INVALID, DKIM_SIGNED, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ken Brown via Cygwin Reply-To: Ken Brown Content-Type: text/plain; charset="windows-1252"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 08BJljT5014221 On 9/11/2020 10:41 AM, Marco Atzeri via Cygwin wrote: > On 11.09.2020 15:12, Ken Brown via Cygwin wrote: >> 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. > >>> >>> 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. > > noted. > libxml2-2.9.10-2 on the build stage Unfortunately, this doesn't yet fix the problem with fontconfig_dtd.sh. The latter will now succeed if it is run after libxml2.sh, but not if it is run first. I'm not aware of any way to force setup to run one postinstall script before another. So maybe fontconfig_dtd.sh should be modified to include the contents of libxml2.sh, like this: $ cat fontconfig_dtd.sh if [ -x /usr/bin/xmlcatalog ] ; then if [ ! -f /etc/xml/catalog ] ; then /bin/mkdir -p /etc/xml /usr/bin/xmlcatalog --noout --create /etc/xml/catalog fi /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog fi I can do a non-maintainer update of fontconfig that makes this change if people agree that it's a good idea. 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