From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60220 invoked by alias); 22 Mar 2018 21:48:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 59528 invoked by uid 89); 22 Mar 2018 21:48:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=downloaded, UD:setup-x86_64.exe, sk:setupx, sk:setup-x X-HELO: limerock01.mail.cornell.edu Received: from limerock01.mail.cornell.edu (HELO limerock01.mail.cornell.edu) (128.84.13.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Mar 2018 21:48:03 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id w2MLm0hj010257 for ; Thu, 22 Mar 2018 17:48:01 -0400 Received: from [192.168.0.4] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id w2MLlxcT009367 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 22 Mar 2018 17:48:00 -0400 Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory To: cygwin@cygwin.com References: <8571f617c5a740608e267364827e7733@merl.com> <2adead6b-07d0-e457-0191-5b9bac7c2e8f@dronecode.org.uk> From: Ken Brown Message-ID: <92c3950f-5f52-43a2-8427-83bc4cb6dc2c@cornell.edu> Date: Thu, 22 Mar 2018 21:56:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00363.txt.bz2 On 3/7/2018 3:15 PM, Jon Turney wrote: > Yeah, this looks like an ordering problem between libxml2 and > libfontconfig-common. > >> $ cat /etc/postinstall/fontconfig_dtd.sh >> if [ -x /usr/bin/xmlcatalog ] ; then >>     /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" >> /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog >> fi >> >> $ cat /etc/postinstall/libxml2.sh >> if test ! -f /etc/xml/catalog; then >>         /bin/mkdir -p /etc/xml >>         /usr/bin/xmlcatalog --noout --create /etc/xml/catalog >> fi > > Not sure how to fix this. > > I think there's no actual dependency of libfontconfig-common on > xmlcatalog, but we lack a triggering mechanism to say "run this script > when this other package is installed" /etc/postinstall/fontconfig_dtd.sh could check whether /etc/postinstall/libxml2.sh exists. If so, it could run it and then add '.done' so it isn't run again. 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