Re: Unable to build doc on latest head

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unable to build doc on latest head
Date: 2017-04-03 15:06:36
Message-ID: 21063.1491231996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com> writes:
> Recently my doc build has started failing with errors
> runtime error: file stylesheet.xsl line 57 element call-template
> The called template 'id.attribute' was not found.

> [1] says that id.attribute is supported in stylesheets version 1.77.1. Do I
> need to update stylesheets version?

FWIW, it's working for me with docbook-style-xsl-1.79.1.

Appendix J claims our minimum supported version is 1.74.0, but since
none of that page seems to have been updated for the new docs tooling,
I'm not surprised if it's wrong.

> How do I do it? Any help will be appreciated.

That would depend on your platform. For me, the stylesheets shipped with
RHEL6 were too old, but I grabbed a more recent SRPM out of the Fedora
repos and was able to build/install that with little trouble.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-04-03 15:12:37 Re: Rewriting the test of pg_upgrade as a TAP test
Previous Message Peter Eisentraut 2017-04-03 14:56:42 Re: bug/oversight in TestLib.pm and PostgresNode.pm