Bug 34215

Summary: При сборке man-страницы для smb.conf проявляется ошибка бесконечной рекурсии
Product: Sisyphus Reporter: Evgeny Sinelnikov <sin>
Component: docbook-style-xslAssignee: viy <viy>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: cas, viy, zerg
Version: unstable   
Hardware: all   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1491307

Description Evgeny Sinelnikov 2017-11-16 21:22:26 MSK
При сборке новой Samba проявляется ошибка бесконечной рекурсии для man-страницы smb.conf.

$ girar-show 194752
2017-Nov-16 14:40:37 :: task #194752 for sisyphus started by sin:
#100 build 2.1.10-alt1%ubt from /people/sin/packages/libtalloc.git
#200 build 0.9.34-alt1%ubt from /people/sin/packages/libtevent.git
#300 build 4.6.10-alt1%ubt from /people/sin/packages/samba.git
#400 build dc/4.6.10-alt1%ubt from /people/sin/packages/samba-DC.git
#500 build 2.4-alt22.zentyal23%ubt.3 from /people/sin/packages/openchange.git
2017-Nov-16 14:40:55 :: created build repo
2017-Nov-16 14:40:56 :: [i586] #100 libtalloc.git 2.1.10-alt1%ubt: build start
2017-Nov-16 14:40:56 :: [x86_64] #100 libtalloc.git 2.1.10-alt1%ubt: build start
2017-Nov-16 14:43:08 :: [x86_64] #100 libtalloc.git 2.1.10-alt1%ubt: build OK
2017-Nov-16 14:43:08 :: [x86_64] #200 libtevent.git 0.9.34-alt1%ubt: build start
2017-Nov-16 14:43:09 :: [i586] #100 libtalloc.git 2.1.10-alt1%ubt: build OK
2017-Nov-16 14:43:09 :: [i586] #200 libtevent.git 0.9.34-alt1%ubt: build start
2017-Nov-16 14:44:48 :: [i586] #200 libtevent.git 0.9.34-alt1%ubt: build OK
2017-Nov-16 14:44:48 :: [i586] #300 samba.git 4.6.10-alt1%ubt: build start
2017-Nov-16 14:44:49 :: [x86_64] #200 libtevent.git 0.9.34-alt1%ubt: build OK
2017-Nov-16 14:44:49 :: [x86_64] #300 samba.git 4.6.10-alt1%ubt: build start
[2914/3030] Generating manpages/smb.conf.5
runtime error: file file:/usr/share/xml/docbook/xsl-stylesheets-1.78.1/lib/lib.xsl line 58 element choose
xsltApplySequenceConstructor: A potential infinite template recursion was detected.
--
string 
error: file default/docs-xml/manpages/smb.conf.5.xml
xsltRunStylesheet : run failed
2017-Nov-16 15:10:45 :: [x86_64] samba.git 4.6.10-alt1%ubt: remote: build failed
2017-Nov-16 15:10:45 :: [x86_64] #300 samba.git 4.6.10-alt1%ubt: build FAILED
[2914/3030] Generating manpages/smb.conf.5
runtime error: file file:/usr/share/xml/docbook/xsl-stylesheets-1.78.1/lib/lib.xsl line 58 element choose
xsltApplySequenceConstructor: A potential infinite template recursion was detected.
--
string 
error: file default/docs-xml/manpages/smb.conf.5.xml
xsltRunStylesheet : run failed
2017-Nov-16 15:15:24 :: [i586] samba.git 4.6.10-alt1%ubt: remote: build failed
2017-Nov-16 15:15:24 :: [i586] #300 samba.git 4.6.10-alt1%ubt: build FAILED
2017-Nov-16 15:10:45 :: [x86_64] build FAILED
2017-Nov-16 15:15:24 :: [i586] build FAILED
2017-Nov-16 15:15:24 :: task #194752 for sisyphus FAILED

Ошибка известная ошибка. Проявляется для разных пакетов. Имеется патч:
https://src.fedoraproject.org/rpms/docbook-style-xsl/pull-request/1
Просьба, приложить.
Comment 1 Repository Robot 2017-11-17 19:23:44 MSK
docbook-style-xsl-1.78.1-alt3 -> sisyphus:

Thu Nov 16 2017 Evgeny Sinelnikov <sin@altlinux> 1.78.1-alt3
- fix recursive implementation of string.subst (ALT #34215)