This is the mail archive of the
mailing list for the Cygwin project.
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:
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:
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
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.
Yeah, this looks like an ordering problem between libxml2 and
$ 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
$ 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
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: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple