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.96) (envelope-from ) id 1vqvuo-003TvM-1R for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Feb 2026 16:21:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vqvum-00FEYQ-0D for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Feb 2026 16:21:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqvul-00FEYI-2b for pgsql-bugs@lists.postgresql.org; Fri, 13 Feb 2026 16:21:08 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vqvuk-00000000W39-1og0 for pgsql-bugs@lists.postgresql.org; Fri, 13 Feb 2026 16:21:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 61DGL0EP533714; Fri, 13 Feb 2026 11:21:00 -0500 From: Tom Lane To: Marcel Hofstetter cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19404: manpages are missing in 18.x source.tar.gz In-reply-to: <921d18fd-ca9e-48a3-a67e-2d1274141af2@jomasoft.ch> References: <19404-b4e0349be603f15d@postgresql.org> <297967.1770917125@sss.pgh.pa.us> <7e8fb3c4-0c60-40f3-ad25-50795de3b06d@jomasoft.ch> <302685.1770919394@sss.pgh.pa.us> <921d18fd-ca9e-48a3-a67e-2d1274141af2@jomasoft.ch> Comments: In-reply-to Marcel Hofstetter message dated "Fri, 13 Feb 2026 11:44:56 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <533712.1770999660.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Feb 2026 11:21:00 -0500 Message-ID: <533713.1770999660@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Marcel Hofstetter writes: > A clean build fails as follows I realized that the bit that's failing for you only runs when sqlmansect is not 7 (so I guess you're on Solaris?). However, it's still fine here when I do $ make man sqlmansect=3D5sql ... /usr/bin/xmllint --nonet --path . --path . --output postgres-full.xml --no= ent --valid postgres.sgml /usr/bin/xsltproc --nonet --path . --path . --stringparam pg.version '19de= vel' stylesheet-man.xsl postgres-full.xml touch man-stamp for file in man1/*.1; do sed -e '/^\.TH/s/"7"/"5sql"/' -e 's/\\fR(7)/\\fR(= 5)/g' -e '1s/^\.so man7/.so man5/g;1s/^\(\.so.*\)\.7$/\1.5sql/g' $file >fi= xedman/man1/`basename $file` || exit; done for file in man3/*.3; do sed -e '/^\.TH/s/"7"/"5sql"/' -e 's/\\fR(7)/\\fR(= 5)/g' -e '1s/^\.so man7/.so man5/g;1s/^\(\.so.*\)\.7$/\1.5sql/g' $file >fi= xedman/man3/`basename $file` || exit; done for file in man7/*.7; do sed -e '/^\.TH/s/"7"/"5sql"/' -e 's/\\fR(7)/\\fR(= 5)/g' -e '1s/^\.so man7/.so man5/g;1s/^\(\.so.*\)\.7$/\1.5sql/g' $file >fi= xedman/man5/`basename $file | sed s/\.7$/.5sql/` || exit; done make[3]: Leaving directory '/home/postgres/pgsql/doc/src/sgml' I find this part of your output suspicious though: > Note: namesp. add : added namespace before processing = > PostgreSQL 18.2 Documentation > Element div in namespace '' encountered in td, but no template matches. > Element div in namespace '' encountered in td, but no template matches. > Element div in namespace '' encountered in td, but no template matches. > Element acronym in namespace '' encountered in td, but no template match= es. I don't see any of that here, which suggests that you're using old docbook files. Maybe they are old enough to just fail to emit the man files entirely? What I've got is not exactly new either, since this is RHEL8: $ rpm -qa | grep docbook docbook-dtds-1.0-69.el8.noarch docbook-style-xsl-1.79.2-9.el8.noarch docbook-style-dsssl-1.79-25.el8.noarch > It works well with the old default Solaris docbook Interesting. Debugging docbook problems is beyond my realm I fear. regards, tom lane