Monday, September 30, 2024

Re: Update: docbook-xsl 1.68.1 -> 1.79.1

On Thu, Sep 26, 2024 at 06:37:23PM +0000, Jeremy Evans wrote:
> This is for post-unlock, and necessary for the update to PostgreSQL 17.
> It upgrades docbook-xml from a version released in 2005 to the most
> current version (I think), released in 2015.
>
> I have not tested fallout in any dependencies, I've only tested that
> this allows PostgreSQL 17 to build. We should include this diff and the
> PostgreSQL 17 diff I'll be sending shortly in a bulk to see what the
> fallout looks like.

Two things broke. git-crypt is trivial to fix, samba needs a bit of work:


devel/git-crypt

Remove pre-fake target. The manpage is generated in the correct dir now.


net/samba

Throws some errors. Might be related to https://bugs.debian.org/750593
I wonder if we need to add docbook 5 as well.

[4061/4080] Processing manpages/vfs_xattr_tdb.8: docs-xml/manpages/vfs_xattr_tdb.8.xml bin/default/docs-xml/build/DTD/samba.build.pathconfig docs-xml/build/DTD/samba.entities bin/default/docs-xml/build/DTD/samba.build.version -> bin/default/docs-xml/manpages/vfs_xattr_tdb.8
09:44:27 runner ' set -e; XML_CATALOG_FILES="file:///etc/xml/catalog file:///usr/local/share/xml/catalog file:///tmp/pobj/samba-4.20.4/samba-4.20.4/bin/default/docs-xml/build/catalog.xml"\n
export XML_CATALOG_FILES\n /usr/local/bin/xsltproc --xinclude --stringparam noreference 0 -o docs-xml/manpages/vfs_xattr_tdb.8.xml --nonet /tmp/pobj/samba-4.20.4/samba-4.20.4/docs-xml/xslt/expand-sambadoc.xsl /tmp/pobj/samba-4.20.4/samba-4.20.4/docs-xml/manpages/vfs_xattr_tdb.8.xml\n /usr/local/bin/xsltproc --nonet -o docs-xml/manpages/vfs_xattr_tdb.8 /tmp/pobj/samba-4.20.4/samba-4.20.4/docs-xml/xslt/man.xsl docs-xml/manpages/vfs_xattr_tdb.8.xml '
file:///usr/local/share/xml/catalog:1: parser error : Start tag expected, '<' not found
CATALOG "docbook/catalog"
^
Note: Writing vfs_xattr_tdb.8

...

[4080/4080] Compiling source4/scripting/man/samba-gpupdate.8.xml
09:44:33 runner ' set -e; /usr/local/bin/xsltproc --xinclude -o source4/scripting/man/samba-gpupdate.8 --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../../source4/scripting/man/samba-gpupdate.8.xml '
Note: Writing samba-gpupdate.8

Waf: Leaving directory `/tmp/pobj/samba-4.20.4/samba-4.20.4/bin/default'
Build failed
-> task in 'manpages/smb.conf.5' failed with exit status 11:
{task 9370258879248: manpages/smb.conf.5 smb.conf.5.xml,parameters.all.xml,samba.build.pathconfig,samba.entities,samba.build.version -> smb.conf.5}
' set -e; XML_CATALOG_FILES="file:///etc/xml/catalog file:///usr/local/share/xml/catalog file:///tmp/pobj/samba-4.20.4/samba-4.20.4/bin/default/docs-xml/build/catalog.xml"\n export XML_CATALOG_FILES\n /usr/local/bin/xsltproc --xinclude --stringparam noreference 0 -o docs-xml/manpages/smb.conf.5.xml --nonet /tmp/pobj/samba-4.20.4/samba-4.20.4/docs-xml/xslt/expand-sambadoc.xsl /tmp/pobj/samba-4.20.4/samba-4.20.4/docs-xml/manpages/smb.conf.5.xml\n /usr/local/bin/xsltproc --nonet -o docs-xml/manpages/smb.conf.5 /tmp/pobj/samba-4.20.4/samba-4.20.4/docs-xml/xslt/man.xsl docs-xml/manpages/smb.conf.5.xml '
*** Error 1 in /tmp/pobj/samba-4.20.4/samba-4.20.4 (Makefile:8 'all')
*** Error 2 in net/samba (/usr/ports/infrastructure/mk/bsd.port.mk:3061 '/tmp/pobj/samba-4.20.4/.build_done': @cd /tmp/pobj/samba-4.20.4/sam...)
*** Error 2 in net/samba (/usr/ports/infrastructure/mk/bsd.port.mk:2704 'build': @lock=samba-4.20.4; export _LOCKS_HELD=" samba-4.20.4"; ...)
===> Exiting net/samba with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...)
>>> Ended at 1727624674.11
max_stuck=7.62/depends=1.24/show-prepare-results=1.78/patch=9.71/configure=99.40/build=1302.49
Error: job failed with 512 on localhost at 1727624674

No comments:

Post a Comment