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

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

    <bug>
          <bug_id>47523</bug_id>
          
          <creation_ts>2023-09-11 17:58:37 +0300</creation_ts>
          <short_desc>Не работают регулярные выражения в mc.ext.ini, работающие в p10</short_desc>
          <delta_ts>2023-09-13 17:53:29 +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>mc</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>
          <dependson>47527</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Y. Afonin">asy</reporter>
          <assigned_to name="Sergey Y. Afonin">asy</assigned_to>
          <cc>aborodin</cc>
    
    <cc>asy</cc>
    
    <cc>ruslandh</cc>
    
    <cc>taf</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>232873</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2023-09-11 17:58:37 +0300</bug_when>
    <thetext>Не заходит в некоторые архивы, например tar.gz или .tgz.

Если в /etc/mc/mc.ext.ini 

[tar.gzip]
Regex=\.t([gp]?z|ar\.g?[zZ])$
Include=tar.gz

поменять на 

[tar.gzip]
Regex=\\.t([gp]?z|ar\\.g?[zZ])$
Include=tar.gz

начинает работать. Тот же самоый mc 4.8.30-alt2, пересобранный в p10, работает:
https://git.altlinux.org/tasks/329293</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232887</commentid>
    <comment_count>1</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2023-09-12 05:37:57 +0300</bug_when>
    <thetext>Мне не помогло это исправление ;-(
И с diff и patch тоже не работает ;-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232888</commentid>
    <comment_count>2</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2023-09-12 05:42:03 +0300</bug_when>
    <thetext>Пока помню, возможно что-то похожее

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051489</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232889</commentid>
    <comment_count>3</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2023-09-12 05:54:27 +0300</bug_when>
    <thetext>Создал несколько разных архивов 
ls
1.tar  1.tar.7z  1.tar.xz  1.tar.zst  1.tgz.7z.7z  22.tar.7z  2.tar.bz2  2.tar.bzip2  2.tar.gz  2.tar.gzip  CONTENTS.cpio.gz cl.patch cl.diff 
cl.diff.gz 2.1.gz 2.tzt.gz

Из них не открываются:

tar.xz
tar.zst
tar.bz2
tar.bzip2
tar.gz
tar.gzip
patch
patc.gz</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232891</commentid>
    <comment_count>4</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2023-09-12 07:24:35 +0300</bug_when>
    <thetext>commit 2da7ef347d1c48e4ad8e73f5135cfe8a363e6c1f (HEAD -&gt; 4258_fish_shell_prompt, origin/4502_mc.ext.ini)

Надо попробовать собрать с этим коммитом</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232895</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2023-09-12 08:31:24 +0300</bug_when>
    <thetext>(In reply to ruslandh from comment #2)

&gt; Пока помню, возможно что-то похожее
&gt; 
&gt; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051489

Да, это оно. Откат glib2-2.76.5-alt1 -&gt; glib2-2.76.3-alt1 ситуацию испраляет. Промежуточные варианты не проверял, просто использовал архив от 2023/06/08.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232900</commentid>
    <comment_count>6</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2023-09-12 08:46:20 +0300</bug_when>
    <thetext>Ага, уже вижу ;-)
https://bugzilla.altlinux.org/47527</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232901</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2023-09-12 08:52:35 +0300</bug_when>
    <thetext>Вопрос по поводу https://bugzilla.altlinux.org/show_bug.cgi?id=47513#c7

-+Regex/i/\.[0-9]*\.dar$]
++Regex=\\.[0-9]*\\.dar$

Всё же надо менять &quot;\&quot; -&gt; &quot;\\&quot;, или считать багом glibc? В принципе &quot;\\&quot; работает и в Sisyphus, и в p10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232902</commentid>
    <comment_count>8</comment_count>
    <who name="Andrew Borodin">aborodin</who>
    <bug_when>2023-09-12 09:00:16 +0300</bug_when>
    <thetext>(Ответ для Sergey Y. Afonin на комментарий #7)
&gt; Всё же надо менять &quot;\&quot; -&gt; &quot;\\&quot;, или считать багом glibc? В принципе &quot;\\&quot;
&gt; работает и в Sisyphus, и в p10.

Менять.

Те, у кого сломалось, обновились до glib 2.77.3.

https://midnight-commander.org/ticket/4502

В Сизифе же 2.76.5. Вроде бы сломаться не должно.

В p10 работает, иначе я бы это первым заметил.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232992</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2023-09-13 11:49:03 +0300</bug_when>
    <thetext>так как-то: [#329437] TESTED mc.git=4.8.30-alt3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233053</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-09-13 17:53:29 +0300</bug_when>
    <thetext>mc-4.8.30-alt3 -&gt; sisyphus:

 Wed Sep 13 2023 Sergey Y. Afonin &lt;asy@altlinux&gt; 4.8.30-alt3
 - updated to 20230912 git snapshot
 - applyed mc-4.8.30-mc.ext.ini-escape.patch (ALT #47523)
 - fixed mc-4.8.30-alt-extfs-udar.patch again (ALT #47513#c7)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>