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 1uwiNT-006ZR3-LV for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Sep 2025 14:34:24 +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 1uwiNR-007xUO-Pc for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Sep 2025 14:34:22 +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 1uwiNR-007xUC-A8 for pgsql-bugs@lists.postgresql.org; Thu, 11 Sep 2025 14:34:21 +0000 Received: from mail.postgrespro.ru ([93.174.132.70]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uwiNO-001r5e-0t for pgsql-bugs@lists.postgresql.org; Thu, 11 Sep 2025 14:34:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1757601254; bh=2/Mng/Xci7bKwPGO0M+qd8XruU33oZQEschAq0PDLMI=; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From: In-Reply-To:From; b=zGEwqI/FuWWJKjtmAWxZVtl/vGlnJ8cSh9/xCUdSChlkQmG/2c0wZcmy9JkjeC/wv Ub38ZoNIX8ebQHGQkp4mR8WuP/qedZGYdDPBy+Sxta5SbtPitngK01R/st8OtvoEVs FlCDREX6yloPIrDvh5BHTYbaC8j6CJTnYdN0Pu1gtmbLSsXhsaXUgQE3W/OsR5bhMW bClgnCrfyTbFs5T00Lp80HFI6Usd+xlhFarbk+DXDiJoB0j3pZRPqpzOPM+WeMsvk7 xHDL1x5FvpRounIvcKZgjVlXCVppb/GQfkJZgq7ZCzfhmic90WD1Y2uYUgUgHewXTe n828eoDK1oniw== Received: from [172.30.49.54] (debian11-template.l.postgrespro.ru [192.168.2.254]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: a.teplitskiy@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id 851FC60728; Thu, 11 Sep 2025 17:34:14 +0300 (MSK) Message-ID: Date: Thu, 11 Sep 2025 17:34:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of To: Tom Lane , "David G. Johnston" Cc: thomas.petazzoni@bootlin.com, pgsql-bugs@lists.postgresql.org References: <18760-82d1b83da31b898d@postgresql.org> <909781.1742440783@sss.pgh.pa.us> Content-Language: en-US, ru-RU From: Andrey Teplitskiy In-Reply-To: <909781.1742440783@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-KSMG-AntiPhishing: NotDetected, bases: 2025/09/11 12:39:00 X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2025/09/11 12:59:00 #27808694 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This error occurs because the docbook-xsl package is missing, which is required in the documentation. After installation, the build is performed correctly. > "David G. Johnston" writes: >> The only error that really matters here is: >> I/O error : Attempt to load network entity: >> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd >> ../doc/src/sgml/postgres.sgml:22: warning: failed to load external entity " >> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >> Everything else stems from that. > Ah, indeed. Our docs are fairly clear[1] that you need a > locally-installed copy of the DocBook DTDs to build the docs. > It used to be the case that xmllint and friends could pull down > the DTDs using the given URL, but that stopped working a couple > of years ago[2]. (Experimenting just now by removing the -nonet > switches, it seems like the failure symptoms are a bit different than > they were in 2023. But it still fails, so the details are academic, > except maybe to someone who could fix www.oasis-open.org. Which is > not us.) > >>> Passing -Ddocs=disabled -Ddocs_pdf=disabled does not fix the issue: > If real, that's a bug in our Meson scripts, but evidence seems lacking. > > regards, tom lane > > [1] https://www.postgresql.org/docs/current/docguide-toolsets.html > [2] https://www.postgresql.org/message-id/flat/CAJ7c6TO8Aro2nxg%3DEQsVGiSDe-TstP4EsSvDHd7DSRsP40PgGA%40mail.gmail.com > > > > -- Andrey Teplitskiy Postgres Professional