Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6yBy-003Obf-NV for pgsql-committers@arkaria.postgresql.org; Sat, 25 Nov 2023 19:19:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r6yAz-004LlA-A3 for pgsql-committers@arkaria.postgresql.org; Sat, 25 Nov 2023 19:18:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6yAz-004Ll1-2F for pgsql-committers@lists.postgresql.org; Sat, 25 Nov 2023 19:18:49 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6yAw-007Kwl-7n for pgsql-committers@postgresql.org; Sat, 25 Nov 2023 19:18:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=1ldcjfbm2WWi/B+12Z/Vs+N7+lYqV8HGBd/DkZR7jJ8=; b=u76Wo yJHwNFLYX3xtCWWPls5rZeh47sTKbW/RMOImprI3/0htKYlMwFPrphjbJLdfhOR0mKUmmWIuxnETd EF7sNC0IrIudPvJoUls0AZboDP5/g6IaCW/42E7zGo8ehzevpwdJITgOF/s2LqTQViK7A5GbK0nV3 R77GLjvd3KMNpHt2AA8ltd62FuLGjzCe4qqBXRkEb25qQ+OgqqZj1Hc6z5Iz1Qeb1xyl8FCKWY4AF yfS8hPTlubHCkpWGfQ8ux5jqqjxODvOrWsA95UBNyqkU+bvb3cQSOmgPXdbHbx9QzjBm019Wp8Hez jRgVKhrNTJaVEpgQFcRot7RzKNpRw==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1r6yAt-00A5HM-2s; Sat, 25 Nov 2023 14:18:43 -0500 Date: Sat, 25 Nov 2023 14:18:43 -0500 From: Bruce Momjian To: Andrew Dunstan Cc: Tom Lane , PostgreSQL-Committers Subject: Re: pgsql: Doc: un-break PDF build. Message-ID: References: <3483760.1700927410@sss.pgh.pa.us> <3488250.1700929576@sss.pgh.pa.us> <7d247cbb-17d9-37be-6828-1db16d7668f0@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d247cbb-17d9-37be-6828-1db16d7668f0@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 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 https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.