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

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

    <bug>
          <bug_id>60616</bug_id>
          
          <creation_ts>2026-09-18 11:36:05 +0300</creation_ts>
          <short_desc>perl-Pegex: FTBFS в %check из-за ошибки внутри YAML::PP (Representer.pm line 159)</short_desc>
          <delta_ts>2026-09-18 12:35:58 +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>perl-Pegex</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=60614</see_also>
    
    <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=60615</see_also>
    
    <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=60617</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>299550</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2026-09-18 11:36:05 +0300</bug_when>
    <thetext>Пакет perl-Pegex-0.75-alt1 не собирается в Sisyphus (x86_64): падают тесты в %check.

Лог: https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2026/0918/error/perl-Pegex-0.75-alt1

Характерная ошибка во всех падающих тестах:
Can&apos;t use an undefined value as a subroutine reference at /usr/share/perl5/YAML/PP/Representer.pm line 159.
(t/compiler-checks.t, t/compiler-equivalence.t, t/compiler.t, t/tree-pegex.t, t/tree.t)

Корневая причина, судя по всему, не в самом Pegex, а в несовместимости с текущей версией perl-YAML-PP (YAML::PP) в репозитории — падение происходит внутри YAML/PP/Representer.pm. Та же ошибка ломает сборку perl-XXX, perl-YAML-PP-LibYAML и perl-YAML-PP-Ref (заведены отдельные баги).

Важно: в p11 пакет (0.75-alt1) тоже не проходит пересборку:
https://git.altlinux.org/beehive/logs/p11/x86_64/latest/error/perl-Pegex-0.75-alt1

Варианты исправления:
1. Обновить в репозитории стек YAML::PP до актуальных CPAN-версий (YAML::PP вместе с YAML::PP::LibYAML / YAML::PP::Ref — их нужно обновлять синхронно), после чего пересобрать Pegex.
2. Если причина именно в YAML::PP — исправить Representer.pm (вызов undefined sub, вероятно отсутствующий/переименованный callback).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>