delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/07/15:15:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=L8Jl5lLI/k82DbB5
XhBRMhZkiSx9bGWZ5UuzdR4bBVbqjPZ4+t9YhWk+2osQwou4QmrtALGd0/WW+zrR
rdiihcYRXMUeNRoD13wqJsrxoVH/XrFAfNXE02XyqIgJ3tVDabbpO6LMatdpYHK1
z0iXhJc9NZLn+H8B+QmGMoi4ijQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=bIZIFNUjrfw3rzYdpbQbDi
r8lB0=; b=s1z0yQJiFWs3KggTDKJaFLIwxxDOMNe5ZT9QsqhQavpiPudb3MsQTy
UF+NNth+H0VJYhGtF1ATJJiNc/NSwheEg9xgI/8Yx5WK/h45G/stdpXXTvl4fmLf
L4zpYff0FWWBexxrs9mutBLdSAfUszmblDiudKzTr/YcUnayf688o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=committees, catalogdtd, sk:www.oas, www.oasis-open.org
X-HELO: out1-smtp.messagingengine.com
X-ME-Sender: <xms:UUigWnXsE9Q-Oi9vjeZhtRNr2y9otpfmwPsEnrgDcBYcy-Nug8R2XQ>
Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <8571f617c5a740608e267364827e7733 AT merl DOT com> <e09f2959-0d76-f206-f0ed-107d3e13ebb4 AT dronecode DOT org DOT uk> <acacb2af2d96468295c8c959b900909f AT merl DOT com> <2adead6b-07d0-e457-0191-5b9bac7c2e8f AT dronecode DOT org DOT uk> <b03fcc59d6ed4831b4f7c9a225d14466 AT merl DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <fab9c762-6020-3084-dcbf-7a006a41ee58@dronecode.org.uk>
Date: Wed, 7 Mar 2018 20:15:11 +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: <b03fcc59d6ed4831b4f7c9a225d14466@merl.com>

On 07/03/2018 17:22, Robert Cohen wrote:

>>> I did get one postinstall script error:
>>> 
>>> Package: _/libfontconfig-common
>>> 	fontconfig_dtd.sh exit code 2
>>> 
>>> Here's the related error from setup.log.full, along with info on the command that ran just before that one:
>>> 
>>> 2018/03/06 17:57:14 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
>>> Rebuilding info directory
>>> install-info: warning: no info dir entry in `/usr/share/info/latex2rtf.info.gz'
>>> 2018/03/06 17:57:31 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/fontconfig_dtd.sh"
>>> could not open /etc/xml/catalog for saving
>>> add command failed
>>> 2018/03/06 17:57:31 abnormal exit: exit code=2
>>> 
>>> I looked in /etc/xml/, and the catalog file was there, containing the following:
>>> 
>>> <?xml version="1.0"?>
>>> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
>>> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>
>>> 
>>> Is the error from fontconfig_dtd.sh something to be concerned about?

>>
>> This looks like a problem with the order postinstall steps are being
>> run, possibly due to a missing dependency
>>
>> Can you please provide the setup.log.full?
> 
> Yes, attached is the setup.log.full file.

Thanks.

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"

Yaakov?


--
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

- Raw text -


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