[blfs-dev] Samba-4.7.3 build fails if docbook-xsl-1.79.1 is installed

Ryan Marsaw rmarsaw at personainternet.com
Thu Dec 28 06:40:55 PST 2017


Hello BLFS editors.

When building Samba 4.7.3 (with the docbook-xsl-1.79.1 package installed
beforehand) I get the following error:

.
.
.
[3495/3610] Generating manpages/smb.conf.5
runtime error: file file:///usr/share/xml/docbook/xsl-stylesheets-1.79.1/lib/lib.xsl line 58 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).
Templates:
.
.
.
error: file default/docs-xml/manpages/smb.conf.5.xml
xsltRunStylesheet : run failed
Waf: Leaving directory `/usr/src/samba-4.7.3/bin'
Build failed: -> task failed (err #11):
 {task: manpages/smb.conf.5 smb.conf.5.xml,parameters.all.xml -> smb.conf.5}
make: *** [Makefile:8: all] Error 1



The error is with the docbook-xsl-1.79.1 package, which is described in better detail here:
https://bugzilla.redhat.com/show_bug.cgi?id=1491307

There is a patch available here:
https://anonscm.debian.org/cgit/collab-maint/docbook-xsl.git/plain/debian/patches/765567_non-recursive_string_subst.patch

I can confirm that applying this patch to docbook-xsl-1.79.1 prior to building
Samba results in a clean build of Samba.

Regards,

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-dev/attachments/20171228/86f2e84f/attachment.html>


More information about the blfs-dev mailing list