pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: thomas.petazzoni@bootlin.com
Subject: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of
Date: Tue, 31 Dec 2024 09:01:30 +0000
Message-ID: <18760-82d1b83da31b898d@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18760
Logged by:          Thomas Petazzoni
Email address:      thomas.petazzoni@bootlin.com
PostgreSQL version: 17.2
Operating system:   Linux
Description:        

When building PostgreSQL 17.2 on a Linux host machine (within a Debian
Bullseye container), the build fails with:

../doc/src/sgml/postgres.sgml:24: element book: validity error : No
declaration for attribute id of element book
<book id="postgres">
                   ^
../doc/src/sgml/postgres.sgml:25: element title: validity error : No
declaration for element title
 <title>PostgreSQL &version; Documentation</title>

and many other similar failures. Complete build log available at
http://autobuild.buildroot.net/results/378/378027db50fdcb311b420ad6886795dd8c2888f6/build-end.log.

Passing -Ddocs=disabled -Ddocs_pdf=disabled does not fix the issue: indeed
despite those options, the PostgreSQL build system detects that xmllint and
xsltproc are available, and uses them nevertheless. Passing bogus
-DXMLLINT=/nowhere -DXSLTPROC=/nowhere options prevents PostgreSQL from
finding xmllint and xsltproc, which makes it skip build the documentation,
and gets a successful build, but that's really more a hack than a correct
solution.

It looks like doc/src/sgml/meson.build would need some changes to properly
obey to the "docs" and "docs_pdf" meson options.



view thread (4+ messages)  latest in thread

Message-ID: <18760-82d1b83da31b898d@postgresql.org>
Permalink:  ../18760-82d1b83da31b898d@postgresql.org/
Also on:    postgresql.org/message-id/18760-82d1b83da31b898d@postgresql.org

 · 

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: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, thomas.petazzoni@bootlin.com
  Subject: Re: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of
  In-Reply-To: <18760-82d1b83da31b898d@postgresql.org>

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

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