From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx009.vodafonemail.xion.oxcs.net (vsmx009.vodafonemail.xion.oxcs.net [153.92.174.87]) by sourceware.org (Postfix) with ESMTPS id 42E9E3857C44 for ; Sat, 12 Sep 2020 06:08:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 42E9E3857C44 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id E093F159E679 for ; Sat, 12 Sep 2020 06:08:35 +0000 (UTC) Received: from Otto (unknown [84.160.193.16]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id B84DF159E685 for ; Sat, 12 Sep 2020 06:08:33 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: postinstall: fontconfig abnormal exit 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> <179bbaf0-02b4-1c63-0083-5fa2a8833ea9@cornell.edu> <06e9cf44-8cc8-267e-12b3-e8a866a01c80@gmail.com> <87h7s45a4c.fsf@Rainer.invalid> <3305b90c-41f2-7377-092d-0f151a83da1c@cornell.edu> Date: Sat, 12 Sep 2020 08:08:29 +0200 In-Reply-To: <3305b90c-41f2-7377-092d-0f151a83da1c@cornell.edu> (Ken Brown via Cygwin's message of "Fri, 11 Sep 2020 17:13:27 -0400") Message-ID: <87imcjh6hu.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, 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: Sat, 12 Sep 2020 06:08:39 -0000 Ken Brown via Cygwin writes: > There's no dependency relation between libxml2 and > libfontconfig-common, so #4 wouldn't fix the problem. You'd have to introduce a provides you could depend on, yes. > And some of the other suggestions would require work on setup.exe that > someone would have to do. The current problem is simple to fix and > shouldn't have to wait for that. Sure, I was just pointing out that these things have a spectrum of both inherent and solution complexity. Activating an additional postinstall stratum is in fact just adding one character to one constant string in postinstall.cc, but how to actually use it would be a more involved discussion. > I like your idea of using perpetual postinstall scripts. I think the > way to do it is probably to make fontconfig_dtd.sh perpetual with > prefix "zp_". Yes, that seems like a better solution. I see a lot of the texlive stuff already works this way and it appears to have no problems. While you're at it, please make it a dash script unless you really need bashisms. > That way if libfontconfig-common is installed without > libxml2 but then libxml2 is installed later, the xmlcatalog command > gets run. We would have to check that no harm is done if that > xmlcatalog command gets run more than once. >From memory, I think as long as you only "--add/--del" then that should work, but "--create" would clobber any existing content. So libxml2 postinstall should install the default/empty catalog file and then any other package should just add/delete the entries that are under control of that package. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada