public inbox for [email protected]  
help / color / mirror / Atom feed
From: Robert Haas <[email protected]>
To: Thomas Munro <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Alexander Lakhin <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: MacPorts xsltproc is very slow?
Date: Fri, 2 Mar 2018 14:51:54 -0500
Message-ID: <CA+Tgmob1T639bJFmT4dBm2YFpaLXg8=afwDhVWfF3ifUuNMBaw@mail.gmail.com> (raw)
In-Reply-To: <CAEepm=3soZm9d1w1qsKO6cULdTa3Wmz7ee8_yG72XNKK81Kckg@mail.gmail.com>
References: <CAEepm=2HZ+LkTSMtihu61wd63vpLwYE-cE41syf=1FHsO6gybg@mail.gmail.com>
	<[email protected]>
	<CAEepm=082retOdZbr5hbSs19oYyjMkAtM6Ez=KHa5JgG2Wm=sA@mail.gmail.com>
	<[email protected]>
	<CAEepm=35=a69q8wQk+KMzHtcY_1wd==stCcPjQKxdRGHDOGPdw@mail.gmail.com>
	<[email protected]>
	<CAEepm=3soZm9d1w1qsKO6cULdTa3Wmz7ee8_yG72XNKK81Kckg@mail.gmail.com>

On Sun, Nov 26, 2017 at 5:03 PM, Thomas Munro
<[email protected]> wrote:
> That got me wondering... why does the Apple xsltproc in /usr/bin work
> then?  Where is it even getting docbook-xsl from?  I ran it with
> --profile and http://docbook.sourceforge.net instead of file:// URLs,
> and I could see outgoing connections with netstat.  It believe that's
> because it doesn't find it locally in /etc/xml/catalog, whereas the
> MacPorts xsltproc looks in /opt/locl/etc/xml/catalog where it has been
> listed by the docbook-xsl package.
>
> So one solution is simply to uninstall the docbook-xsl package.  That
> gets me back to fast documentation builds!

For me, the documentation build fails without docbook-xsl.  I wonder
why it works for you.

It also fails for me if I follow the instructions in the documentation:

    If you use MacPorts, the following will get you set up:
<programlisting>
sudo port install docbook-xml-4.2 docbook-xsl fop
</programlisting>

I have to also 'port install libxslt'.  Otherwise, /usr/bin/xsltproc
is used, and it won't use files installed by MacPorts packages.

And then it takes, like you reported originally, an insanely long time.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company




view thread (20+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: MacPorts xsltproc is very slow?
  In-Reply-To: <CA+Tgmob1T639bJFmT4dBm2YFpaLXg8=afwDhVWfF3ifUuNMBaw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox