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

Reply via email to