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

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

    <bug>
          <bug_id>60140</bug_id>
          
          <creation_ts>2026-08-11 21:34:46 +0300</creation_ts>
          <short_desc>Несоответствие путей к динамическим модулям</short_desc>
          <delta_ts>2026-08-13 16:31:00 +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>angie</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Сычкин Сергей Витальевич">sychkinsv</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>protvin</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>292547</commentid>
    <comment_count>0</comment_count>
    <who name="Сычкин Сергей Витальевич">sychkinsv</who>
    <bug_when>2026-08-11 21:34:46 +0300</bug_when>
    <thetext>Стенд: 
ALT Server 11.1 x86-64 (Обновленный до Sisiphys)

Версия пакетов:
angie-1.12.1-alt1
angie-geoip-1.12.1-alt1
angie-image_filter-1.12.1-alt1
angie-xslt-1.12.1-alt1
angie-perl-1.12.1-alt1

Шаги для воспроизведения:

1. Установить пакеты:
# apt-get install perl-GeoIP2 perl-JSON perl-Test-Deep perl-devel perl-FCGI perl-PerlIO-gzip \
perl-Cache perl-CryptX perl-Test-Most perl-JSON-PP perl-GD perl-IO-Compress ffprobe \
ffmpeg uwsgi angie angie-geoip angie-image_filter angie-xslt angie-perl

2. Клонировать репозиторий с тестами и запустить их:
$ git clone git://git.altlinux.org/gears/a/angie.git -b $(rpm --eval %_priority_distbranch) &amp;&amp; cd angie/tests/ &amp;&amp; TEST_ANGIE_BINARY=/usr/sbin/angie prove .

Ожидаемый результат:
Тесты успешно выполняются, все проверки проходят без ошибок.

Реальный результат:
Тесты падают с ошибкой dlopen():

angie: [emerg] dlopen() &quot;/usr/sbin/ngx_http_geoip_module.so&quot; failed (/usr/sbin/ngx_http_geoip_module.so: cannot open shared object file: No such file or directory)

Дополнительно:
Модули устанавливаются в /usr/lib64/angie/modules/, но тесты ищут их в /usr/sbin/

После создания симлинков:
# ln -sf /usr/lib64/angie/modules/ngx_http_geoip_module.so /usr/sbin/
# ln -sf /usr/lib64/angie/modules/ngx_http_xslt_filter_module.so /usr/sbin/
# ln -sf /usr/lib64/angie/modules/ngx_http_perl_module.so /usr/sbin/
# ln -sf /usr/lib64/angie/modules/ngx_http_image_filter_module.so /usr/sbin/
# ln -sf /usr/lib64/perl5/angie.pm /usr/lib64/perl5/nginx.pm
# ln -sf /usr/lib64/perl5/auto/angie /usr/lib64/perl5/auto/nginx

Возникает ошибка:
Can&apos;t find &apos;boot_angie&apos; symbol in /usr/lib64/perl5/auto/angie/angie.so
 at /usr/lib64/perl5/nginx.pm line 57.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292549</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-08-11 22:07:38 +0300</bug_when>
    <thetext>Спасибо,сейчас посмотрим</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292616</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-08-13 16:31:00 +0300</bug_when>
    <thetext>angie-1.12.1-alt2 -&gt; sisyphus:

Wed Aug 12 2026 Anton Farygin &lt;rider@altlinux&gt; 1.12.1-alt2
- Fixed dynamic module discovery in tests (closes: #60140).
- Fixed Perl module packaging by using a private upstream-compatible path.
- Hardened the systemd unit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>