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

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

    <bug>
          <bug_id>47226</bug_id>
          
          <creation_ts>2023-08-14 12:36:04 +0300</creation_ts>
          <short_desc>Пакет uwsgi собран без поддержки pcre</short_desc>
          <delta_ts>2025-10-07 17:54:38 +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>uwsgi</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Олег Соловьев">mcpain</assigned_to>
          <cc>admsasha</cc>
    
    <cc>glinkinvd</cc>
    
    <cc>mcpain</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>231356</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2023-08-14 12:36:04 +0300</bug_when>
    <thetext>Описание ошибки
===============

1. # apt-get install uwsgi
2. $ uwsgi --http :9090

Фактический результат: В выводе присутствует сообщение:

&gt; [...]
&gt; !!! no internal routing support, rebuild with pcre support !!!
&gt; [...]

Ожидаемый результат: Пакет собран с поддержкой pcre. Сообщение не выводится.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p10] uwsgi-2.0.20-alt1.x86_64
server-10.1-x86-64w

[sisyphus] uwsgi-2.0.21-alt1.x86_64
server-10.1-x86-64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274057</commentid>
    <comment_count>1</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2025-10-07 17:54:38 +0300</bug_when>
    <thetext>Версия пакета: uwsgi-2.0.30-alt1 (sisyphus+388198.100.2.1)

Судя по логам сборки пакет собран с опциями -DUWSGI_PCRE -DUWSGI_ROUTING и итоговой конфигурацией:
 ################# uWSGI configuration #################
 
 kernel = Linux
 execinfo = False
 ifaddrs = True
 locking = pthread_mutex
 event = epoll
 timer = timerfd
 filemonitor = inotify
 pcre = True
 routing = True
 capabilities = False
 yaml = embedded
 json = False
 ssl = False
 xml = libxml2
 debug = False
 plugin_dir = .
 zlib = False
 ucontext = True
 malloc = libc

Однако при запуске сервера как с использованием опции --pcre-jit, так и без неё в выводе есть:
$ uwsgi --pcre-jit --http :9090
...
pcre jit disabled
...

Будто она ни на что не влияет.

$ uwsgi --help | grep pcre
    --pcre-jit                              enable pcre jit (if available)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>