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

Armin K. krejzi.lfs at email.com
Thu Dec 28 07:47:25 PST 2017


On 28.12.2017. 15:40, Ryan Marsaw wrote:
> 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
> 
> 

As a side note, docbook-xsl upstream has changed and there's now 1.79.2 
version available at

https://github.com/docbook/xslt10-stylesheets/releases

It fixes the mentioned bug.



More information about the blfs-dev mailing list