Re: pgsql: Doc: un-break PDF build.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-Committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Doc: un-break PDF build.
Date: 2023-11-25 19:18:43
Message-ID: ZWJIk9unoYdLq8bH@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sat, Nov 25, 2023 at 02:14:11PM -0500, Andrew Dunstan wrote:
>
> On 2023-11-25 Sa 11:34, Bruce Momjian wrote:
> > On Sat, Nov 25, 2023 at 11:26:16AM -0500, Tom Lane wrote:
> > > Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > > > On Sat, Nov 25, 2023 at 10:50:10AM -0500, Tom Lane wrote:
> > > > > Yeah, for some reason it only shows up when building PDFs.
> > > > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=alabio&dt=2023-11-25%2000%3A02%3A10
> > > > Odd, I don't see that here. Maybe I need an upgraded toolchain:
> > > Hmm, I did see it here, using fop 2.5 and docbook 1.79.
> > Uh, I have on Debian 12 (bookworm):
> >
> > fop is 2.8
> > ii fop 1:2.8-2 all XML formatter driven by XSL Formatting Objects (XSL-FO.) - app
> > ii libfop-java 1:2.8-2 all XML formatter driven by XSL Formatting Objects (XSL-FO.) - libs
> >
> > docbook is 1.79
> > ii docbook 4.5-10 all standard SGML representation system for technical documents
> > ii docbook-dsssl 1.79-10 all modular DocBook DSSSL stylesheets, for print and HTML
> > ii docbook-xml 4.5-12 all standard XML documentation system for software and systems
> > ii docbook-xsl 1.79.2+dfsg-2 all stylesheets for processing DocBook XML to various output formats
> > ii docbook-xsl-doc-html 1.79.1-1 all stylesheets for processing DocBook XML files (HTML documentation)
> >
> > Kind of odd I don't see it the error.
> >
>
> What command are you invoking to build the docs? The default docs make
> target doesn't build the PDFs - you have to build those explicitly.

I showed it previously in this thread:

$ make postgres-A4.pdf 2>&1 | grep -v INFO
/usr/bin/xsltproc --nonet --path . --path . --stringparam pg.version '17devel' --stringparam img.src.path './' --stringparam paper.type A4 -o postgres-A4.fo
+stylesheet-fo.xsl postgres-full.xml
Making portrait pages on A4 paper (210mmx297mm)
/usr/bin/fop -fo postgres-A4.fo -pdf postgres-A4.pdf
[warning] /usr/bin/fop: JVM flavor 'sun' not understood
[WARN] FOUserAgent - Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
[WARN] FOUserAgent - Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
[WARN] PropertyMaker - span="inherit" on fo:block, but no explicit value found on the parent FO.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2023-11-25 20:01:54 pgsql: Reuse BrinDesc and BrinRevmap in brininsert
Previous Message Andrew Dunstan 2023-11-25 19:14:11 Re: pgsql: Doc: un-break PDF build.