<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>34215</bug_id>
          
          <creation_ts>2017-11-16 21:22:26 +0300</creation_ts>
          <short_desc>При сборке man-страницы для smb.conf проявляется ошибка бесконечной рекурсии</short_desc>
          <delta_ts>2017-11-17 19:23:44 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>docbook-style-xsl</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://bugzilla.redhat.com/show_bug.cgi?id=1491307</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Sinelnikov">sin</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>cas</cc>
    
    <cc>viy</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>167304</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2017-11-16 21:22:26 +0300</bug_when>
    <thetext>При сборке новой 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
Просьба, приложить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167319</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-11-17 19:23:44 +0300</bug_when>
    <thetext>docbook-style-xsl-1.78.1-alt3 -&gt; sisyphus:

Thu Nov 16 2017 Evgeny Sinelnikov &lt;sin@altlinux&gt; 1.78.1-alt3
- fix recursive implementation of string.subst (ALT #34215)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>