[MacPorts] #72362: docbook-xsl: fix infinite recursion with some documents

MacPorts noreply at macports.org
Fri Apr 18 18:13:53 UTC 2025


#72362: docbook-xsl: fix infinite recursion with some documents
-------------------------+----------------------------------------------
 Reporter:  mohd-akram   |      Owner:  ryandesign
     Type:  enhancement  |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  docbook-xsl-nons, docbook-xsl-ns
-------------------------+----------------------------------------------
 Some documents result in an error like:

 {{{
 runtime error: file file:///opt/local/share/xsl/docbook-xsl-
 nons/lib/lib.xsl line 54 element choose
 xsltApplySequenceConstructor: A potential infinite template recursion was
 detected.
 You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum
 number of nested template calls and variables/params (currently set to
 3000).
 }}}

 There's a [https://github.com/freebsd/freebsd-ports/blob/main/textproc
 /docbook-xsl/files/patch-lib-lib.xsl patch] that's carried by other
 packagers that resolves this. This patch is needed to build the samba4
 documentation. See https://bugzilla.samba.org/show_bug.cgi?id=9515

-- 
Ticket URL: <https://trac.macports.org/ticket/72362>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list