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

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

    <bug>
          <bug_id>61209</bug_id>
          
          <creation_ts>2026-10-24 09:52:59 +0300</creation_ts>
          <short_desc>XInclude disabled when security prefs a re active</short_desc>
          <delta_ts>2026-10-26 10:54:46 +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>libxslt</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=61123</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>andy</cc>
    
    <cc>arseny</cc>
    
    <cc>at</cc>
    
    <cc>lav</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>303311</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2026-10-24 09:52:59 +0300</bug_when>
    <thetext>Предлагаю это откатить
https://git.altlinux.org/gitoskop/#/gears/l/libxslt.git/-/commit/d34574953b0322ec89fc3669d26839de497c6bd1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303312</commentid>
    <comment_count>1</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-10-24 10:03:57 +0300</bug_when>
    <thetext>&quot;a re&quot; я тоже сразу заметил. Зато как в апстриме!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303313</commentid>
    <comment_count>2</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-10-24 10:04:14 +0300</bug_when>
    <thetext>(In reply to Yuri N. Sedunov from comment #0)
&gt; Предлагаю это откатить
&gt; https://git.altlinux.org/gitoskop/#/gears/l/libxslt.git/-/commit/
&gt; d34574953b0322ec89fc3669d26839de497c6bd1
А чему оно помешало?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303315</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2026-10-24 13:42:09 +0300</bug_when>
    <thetext>В ответ на комментарий #2: ломается генерация документации/ man-страниц, и вслед за ней сборка пакетов в сегодняшнем Beehive. Проверил четыре независимых лога:

liblttng-ust-2.16.0-alt2:
https://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/liblttng-ust-2.16.0-alt2

xdg-utils-1.2.1-alt9:
https://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/xdg-utils-1.2.1-alt9

dbus-1.16.2-alt1:
https://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/dbus-1.16.2-alt1

gtk-doc-1.37.0-alt1:
https://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/gtk-doc-1.37.0-alt1

Во всех четырёх установлен libxslt-1.1.45-alt1 из sisyphus+438154.120.4.1 и возникает одинаковая ошибка:
xsltLoadDocument(...): XInclude disabled when security prefs a re active

Например, в liblttng-ust компиляция библиотек проходит, затем команда
xmlto -m ./manpage.xsl man tracef.3.xml
падает при загрузке локальных файлов DocBook VERSION.xsl, common/l10n.xml и manpages/charmap.groff.xsl. Далее xsltRunStylesheet: run failed и make завершается с Error 11.

Условие из d34574953b0322ec89fc3669d26839de497c6bd1 — ctxt-&gt;xinclude != 0 &amp;&amp; ctxt-&gt;sec != NULL — запрещает такую загрузку целиком. xmlto штатно передаёт xsltproc --xinclude (и --nonet). В логе liblttng-ust xmlto остаётся прежним: 0.0.29-alt1 из задачи 374988; изменился libxslt в задаче 438154.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303320</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2026-10-24 17:26:42 +0300</bug_when>
    <thetext>(Ответ для Arseny Maslennikov на комментарий #2)
&gt; (In reply to Yuri N. Sedunov from comment #0)
&gt; &gt; Предлагаю это откатить
&gt; &gt; https://git.altlinux.org/gitoskop/#/gears/l/libxslt.git/-/commit/
&gt; &gt; d34574953b0322ec89fc3669d26839de497c6bd1
&gt; А чему оно помешало?

237 пакетов перестали собираться.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303322</commentid>
    <comment_count>5</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-10-24 19:18:19 +0300</bug_when>
    <thetext>(In reply to Vitaly Lipatov from comment #3)
&gt; В ответ на комментарий #2: ломается генерация документации/ man-страниц, и
&gt; вслед за ней сборка пакетов в сегодняшнем Beehive.
(In reply to Andrew Vasilyev from comment #4)
&gt; (Ответ для Arseny Maslennikov на комментарий #2)
&gt; 237 пакетов перестали собираться.
Спасибо; на момент 10:03 UTC+3 об этом в рассылках ничего не было, а beehive_status сегодняшний до сих пор в архив не попал.

Осталось понять, влияет ли положительно на что-нибудь d34574953b03 (&quot;xsltLoadDocument: Reject xinclude when security enabled&quot;).
Если этот патч исправляет только секретные проблемы RHEL, то действительно надо его выкинуть; участники ALT Linux Team, по счастью[*], не обязаны тратить силы на проблемы RHEL.

С другой же стороны, у libxslt есть, кроме движков документации, и другие пользователи, и такой костыль мог бы от чего-нибудь их спасти.

____
[*] Многие вообще приходят в альт _для того_, чтобы получить возможность не думать о проблемах RHEL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303323</commentid>
    <comment_count>6</comment_count>
    <who name="Arseny Maslennikov">arseny</who>
    <bug_when>2026-10-24 19:19:34 +0300</bug_when>
    <thetext>(In reply to Andrew Vasilyev from comment #4)
&gt; 237 пакетов перестали собираться.
237 пакетов как перестали, так и снова начнут, они далеко от нас не убежат.
Думаю, спросим пока у автора изменения, откуда у него вообще этот патч возник и что он по этому поводу думает. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303368</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2026-10-26 10:54:46 +0300</bug_when>
    <thetext>(Ответ для Yuri N. Sedunov на комментарий #0)
&gt; Предлагаю это откатить
&gt; https://git.altlinux.org/gitoskop/#/gears/l/libxslt.git/-/commit/
&gt; d34574953b0322ec89fc3669d26839de497c6bd1

отправил на сборку 1.1.45-alt2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>