This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory

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

I did get one postinstall script error:

Package: _/libfontconfig-common 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/'
2018/03/06 17:57:31 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/"
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" "";>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>

Is the error from 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.


Yeah, this looks like an ordering problem between libxml2 and libfontconfig-common.

$ cat /etc/postinstall/
if [ -x /usr/bin/xmlcatalog ] ; then
    /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog

$ cat /etc/postinstall/
if test ! -f /etc/xml/catalog; then
        /bin/mkdir -p /etc/xml
        /usr/bin/xmlcatalog --noout --create /etc/xml/catalog

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"


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]