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

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

    <bug>
          <bug_id>24144</bug_id>
          
          <creation_ts>2010-09-22 21:59:52 +0400</creation_ts>
          <short_desc>logilab.common.modutils выглядит нерабочим на x86_64</short_desc>
          <delta_ts>2011-12-05 07:02:53 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python-module-logilab-common</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Rahmatullin">wrar</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>darktemplar</cc>
    
    <cc>enp</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>grenka</cc>
    
    <cc>lav</cc>
    
    <cc>mithraen</cc>
    
    <cc>nbr</cc>
    
    <cc>obirvalger</cc>
    
    <cc>qa_viy</cc>
    
    <cc>real.altlinux.org</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>slev</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>112560</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2010-09-22 21:59:52 +0400</bug_when>
    <thetext>В /usr/lib/python2.6/site-packages/logilab/common/modutils.py написано 
STD_LIB_DIR = join(sys.prefix, &apos;lib&apos;, &apos;python%s&apos; % sys.version[:3]), что, вероятно, не совсем правильно. Из-за этого на x86_64 не проходит тест test/unittest_modutils.py::test_knownValues_is_standard_module_4 (ищет StringIO в STD_LIB_DIR).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112566</commentid>
    <comment_count>1</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2010-09-23 08:03:57 +0400</bug_when>
    <thetext>Насколько приемлем будет такой вариант?
http://git.altlinux.org/people/real/packages/python-module-logilab-common.git?p=python-module-logilab-common.git;a=commitdiff;h=33ef3a2a77d2814381d9489e73e2eee283f80163

Ничего не сломает? А то ведь сам logilab лежит не в /usr/lib64, а в /usr/lib.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112567</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2010-09-23 08:58:56 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Насколько приемлем будет такой вариант?
&gt; http://git.altlinux.org/people/real/packages/python-module-logilab-common.git?p=python-module-logilab-common.git;a=commitdiff;h=33ef3a2a77d2814381d9489e73e2eee283f80163
&gt; 
&gt; Ничего не сломает? А то ведь сам logilab лежит не в /usr/lib64, а в /usr/lib.
Ну STD_LIB_DIR используется только для поиска стандартных модулей (всё что не в site-packages), а лежат ли они на x86_64 только в lib64, или и там и там, я не в курсе. Если и там и там - вообще всё переписывать надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112568</commentid>
    <comment_count>3</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2010-09-23 09:21:29 +0400</bug_when>
    <thetext>У питона 3 noarch-пакета:

python-relaxed-2.6.5-alt2.noarch.rpm
python-strict-2.6.5-alt2.noarch.rpm
python-user-scripts-2.6.5-alt2.noarch.rpm

Так что тут либо надо всё тестировать, что касается logilab, и исправлять, либо собрать в предложенном варианте и ждать наборсов в багзилле.

Мне не нравятся оба варианта :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112569</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2010-09-23 09:37:03 +0400</bug_when>
    <thetext>Ну значит забить и оставить багу висеть. Пусть кому надо, тот и чинит, мне pylint (а, следовательно, и logilab.*) на альтовом x86_64 не понадобится никогда, а рассказывать апстриму про наши мягко говоря странные design decisions с биарчевым питоном я не хочу.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127214</commentid>
    <comment_count>5</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2011-11-28 07:07:08 +0400</bug_when>
    <thetext>Обновил пакет. Проблема осталась? Если нет, через неделю закрываю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127218</commentid>
    <comment_count>6</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2011-11-28 11:47:13 +0400</bug_when>
    <thetext>Проблема решена отказом от альтового биарча, так что понятия не имею.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127385</commentid>
    <comment_count>7</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2011-12-05 07:02:53 +0400</bug_when>
    <thetext>Поскольку возражений не поступало, багу закрываю.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>