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

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

    <bug>
          <bug_id>10374</bug_id>
          
          <creation_ts>2006-12-07 20:02:23 +0300</creation_ts>
          <short_desc>/usr/lib/rpm/python.req.py breaks building on a malformed python file</short_desc>
          <delta_ts>2008-01-25 13:21: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>rpm-build-python</component>
          <version>unstable</version>
          <rep_platform>all</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey V Khavryuchenko">akhavr</reporter>
          <assigned_to name="Fr. Br. George">george</assigned_to>
          <cc>darktemplar</cc>
    
    <cc>george</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42823</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey V Khavryuchenko">akhavr</who>
    <bug_when>2006-12-07 20:02:27 +0300</bug_when>
    <thetext>+ cd /usr/src/RPM/BUILD
+ /usr/lib/rpm/find-requires
Traceback (most recent call last):
  File &quot;/usr/lib/rpm/python.req.py&quot;, line 122, in ?
    lis = parser.suite(open(src).read().replace(&quot;\r\n&quot;,&quot;\n&quot;)).tolist()
MemoryError
error: /bin/sh failed
error: 

RPM build errors:
Failed to find Requires
    /bin/sh failed
    Failed to find Requires
4.91user 4.10system 0:13.03elapsed 69%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (7major+1122862minor)pagefaults 0swaps
rebuild: rebuild of `pylint-0.12.2-alt1.src.rpm&apos; failed.

Пакет для проверки доступен тут[1]  Поведение воспроизводится как на i686,
так и на x86_64.

Footnotes: 
[1]  http://office.kds.com.ua/~akhavr/pylint-0.12.2-alt1.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42824</commentid>
    <comment_count>1</comment_count>
      <attachid>1698</attachid>
    <who name="Andrey V Khavryuchenko">akhavr</who>
    <bug_when>2006-12-07 20:03:24 +0300</bug_when>
    <thetext>Created attachment 1698
Crude fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42829</commentid>
    <comment_count>2</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2006-12-07 21:33:54 +0300</bug_when>
    <thetext>Поправлю диагностику,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42837</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey V Khavryuchenko">akhavr</who>
    <bug_when>2006-12-08 11:20:07 +0300</bug_when>
    <thetext>Там нужно не просто поправить диагностику, а либо (а) сделать ошибку лишь
предупреждением или (б) приделать ручку чтобы отрывать некоторые файлы,
передающиеся /usr/lib/rpm/python.req.py

Иначе pylint-а в сизифе не видать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42877</commentid>
    <comment_count>4</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2006-12-09 15:19:37 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; Там нужно не просто поправить диагностику, а либо (а) сделать ошибку лишь
&gt; предупреждением или (б) приделать ручку чтобы отрывать некоторые файлы,
&gt; передающиеся /usr/lib/rpm/python.req.py

Эта ручка есть в rpm, называется %add_findreq_skiplist.
Думаю, вам понадобится также %add_findprov_skiplist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42878</commentid>
    <comment_count>5</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2006-12-09 15:21:06 +0300</bug_when>
    <thetext>Да, текст полиси надо чуток поправить</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43478</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-12-19 02:15:09 +0300</bug_when>
    <thetext>Насколько я понял из %changelog&apos;а пакета,
fixed in 0.29-alt4.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>1698</attachid>
            <date>2006-12-07 20:03:24 +0300</date>
            <delta_ts>2006-12-07 20:03:24 +0300</delta_ts>
            <desc>Crude fix</desc>
            <filename>reqmem.patch</filename>
            <type>text/plain</type>
            <size>601</size>
            <attacher name="Andrey V Khavryuchenko">akhavr</attacher>
            
              <data encoding="base64">LS0tIHB5dGhvbi5yZXEucHkub2xkCTIwMDYtMTItMDcgMTg6Mzg6MDkgKzAyMDAKKysrIHB5dGhv
bi5yZXEucHkJMjAwNi0xMi0wNyAxODozODo0OCArMDIwMApAQCAtMTE4LDEwICsxMTgsMTEgQEAK
IAogICAgICAgICBmb3Igc3JjIGluIGZpbGVzIDoKICAgICAgICAgICAgIGlmICcucHknID09IG9z
LnBhdGguc3BsaXRleHQob3MucGF0aC5iYXNlbmFtZShzcmMpKVsxXSA6Ci0gICAgICAgICAgICAg
ICAgdHJ5IDoKKyAgICAgICAgICAgICAgICB0cnk6CiAgICAgICAgICAgICAgICAgICAgIGxpcyA9
IHBhcnNlci5zdWl0ZShvcGVuKHNyYykucmVhZCgpLnJlcGxhY2UoIlxyXG4iLCJcbiIpKS50b2xp
c3QoKQogICAgICAgICAgICAgICAgIGV4Y2VwdCBTeW50YXhFcnJvcixtc2cgOgogICAgICAgICAg
ICAgICAgICAgICBjb250aW51ZQorICAgICAgICAgICAgICAgIGV4Y2VwdCBNZW1vcnlFcnJvciwg
bXNnOiBjb250aW51ZSAjIGludmFsaWQgcHl0aG9uIGZpbGUKIAogICAgICAgICAgICAgICAgIGZv
ciBpdGVtIGluIG1hdGNoKGxpcykgOgogICAgICAgICAgICAgICAgICAgICBpZiBub3QgaXRlbSBp
biBwcm92W29zLnBhdGguZGlybmFtZShzcmMpXSA6Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>