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

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

    <bug>
          <bug_id>40742</bug_id>
          
          <creation_ts>2021-08-15 21:29:35 +0300</creation_ts>
          <short_desc>libevent-devel содержит event_rpcgen.py на python2</short_desc>
          <delta_ts>2023-05-23 20:43:40 +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>libevent-devel</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.redhat.com/show_bug.cgi?id=1738022</see_also>
    
    <see_also>https://bugzilla.redhat.com/show_bug.cgi?id=1655232</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>
          
          <blocked>37313</blocked>
    
    <blocked>45802</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>asheplyakov</cc>
    
    <cc>asheplyakov</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
    
    <cc>slev</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201589</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-08-15 21:29:35 +0300</bug_when>
    <thetext>В libevent-devel пакуется event_rpcgen.py на python2
в то время как в версии 2.1.12 уже присутствует переписанный на python3 скрипт,
в котором достаточно исправить путь в шебанге.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215341</commentid>
    <comment_count>1</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2022-09-27 18:17:26 +0300</bug_when>
    <thetext>Есть ли какие-нибудь подвижки?

Если не хочется обновлять версию, то коммит тут:
https://github.com/libevent/libevent/commit/8b0aa7b36a3250fad4953f194c8a94ab25032583</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222817</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2023-03-13 11:27:46 +0300</bug_when>
    <thetext>к сожалению одним коммитом там не обошлось, а в версии 2.1.12 скрипт всё ещё старый на python2

ждём версию 2.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226075</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-05-18 20:28:36 +0300</bug_when>
    <thetext>Пытался собрать для loongarch64 и тоже наткнулся. 
python2 на LoongArch не собирается, и портировать его ради одного одного скрипта -- это как-то слишком.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226076</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-05-18 20:36:04 +0300</bug_when>
    <thetext>(Ответ для Anton Farygin на комментарий #2)
&gt; к сожалению одним коммитом там не обошлось,

А как проверить данное утверждение? Чего именно не хватает в ранее упомянутом коммите 8b0aa7b36a3250fad4953f194c8a94ab25032583?

Кстати, этот коммит присутствует в версии 2.1.12, см https://github.com/libevent/libevent/commits/release-2.1.12-stable/event_rpcgen.py (4-й сверху)


&gt; а в версии 2.1.12 скрипт всё ещё старый на python2

Утверждение неверное. Скрипт event_rpcgen.py в libevent 2.1.12 [1] **совместим** с python2, но прекрасно работает и с python3

[1] https://github.com/libevent/libevent/blob/release-2.1.12-stable/event_rpcgen.py

&gt; ждём версию 2.2

Зачем?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226083</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-05-18 21:27:44 +0300</bug_when>
    <thetext>https://bugzilla.altlinux.org/show_bug.cgi?id=46191#c2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226292</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-05-23 20:43:40 +0300</bug_when>
    <thetext>libevent-2.1.12-alt1 -&gt; sisyphus:

 Thu May 18 2023 Alexey Sheplyakov &lt;asheplyakov@altlinux&gt; 2.1.12-alt1
 - 2.1.12
 - Use python3 to run python scripts (closes: #40742).
 - Fixed build with glibc 2.36 and newer (closes: #46191).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>