Description of problem:
The smb.conf manpage generation of Samba fails with xsltproc hitting the maximum allowed recursion. It is a pretty huge manpage.
[3263/3377] Generating manpages/smb.conf.5
runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.79.2/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).
#0 name string.subst
#1 name string.subst
#2 name string.subst
#3 name string.subst
#4 name string.subst
#5 name string.subst
#6 name string.subst
#7 name string.subst
#8 name string.subst
#9 name string.subst
#10 name string.subst
#11 name string.subst
#12 name string.subst
#13 name string.subst
#14 name string.subst
I've confirmed that the smb.conf is generated without an error after applying that patch!
Could you please apply this fix to the package in Fedora?
Alexander created a pull request:
Thanks for report and analysis. Do you know whether they already reported it upstream or not? I don't want to step into it as fix came from Debian, so they deserve the credit for fix...
No idea on whether it is reported upstream or not. It would be good to actually merge the fix to Rawhide, though. We are not able to build samba in Rawhide at all due to this issue.
Merging the above fix in rawhide would be great, since this also blocks FreeIPA builds in rawhide. Because krb5-1.16.0 was released, we need to rebuild both samba and freeipa.
Any ETA on applying the fix to rawhide?
Ok, merged and fixed issue with the patch, built in rawhide.