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

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

    <bug>
          <bug_id>9710</bug_id>
          
          <creation_ts>2006-06-19 16:43:06 +0400</creation_ts>
          <short_desc>broken on x86_64</short_desc>
          <delta_ts>2006-09-12 05:22:13 +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-xlib</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="Igor Zubkov">icesik</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>darktemplar</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>grenka</cc>
    
    <cc>imz</cc>
    
    <cc>lav</cc>
    
    <cc>mithraen</cc>
    
    <cc>nbr</cc>
    
    <cc>qa_viy</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>38765</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-06-19 16:43:07 +0400</bug_when>
    <thetext>Сборка пакета сломана на x86_64 (из-за не соблюдения рекомендаций из 
python-policy).

Исправление делается очень быстро. Сейчас в спеке:
%build
%__python setup.py build

%install
%__python setup.py install --root %buildroot

%files
%python_sitelibdir/*

Надо заменить на:
%build
%__mkdir_p buildroot

# Unfortunately build and install steps should be done at once
# because otherwise .pyo files won&apos;t get into INSTALLED_FILES
# record
CFLAGS=&quot;%optflags&quot; %__python setup.py \
        install --optimize=2 \
        --root=`pwd`/buildroot \
        --record=INSTALLED_FILES

%install
%__mkdir_p %buildroot/
%__cp -pr buildroot/usr %buildroot/
unset RPM_PYTHON

%files -f INSTALLED_FILES
%doc NEWS README TODO

Проверено в vserver64 на сборку.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38776</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2006-06-20 12:58:15 +0400</bug_when>
    <thetext>Что, в полиси рекомендуется не делать отдельный build?
Вообще странная рекомендация делать промежуточный buildroot, уже не помню 
зачем это было нужно.
А использование INSTALLED_FILES без проблем приведёт к неупакованному 
каталогу.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38777</commentid>
    <comment_count>2</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-06-20 13:53:08 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; Что, в полиси рекомендуется не делать отдельный build?
&gt; Вообще странная рекомендация делать промежуточный buildroot, уже не помню 
&gt; зачем это было нужно.

По мне, это не полиси, а как сказал кто-то в devel@ -- фикция.

&gt; А использование INSTALLED_FILES без проблем приведёт к неупакованному 
&gt; каталогу.

И что же делать?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38793</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2006-06-20 23:24:47 +0400</bug_when>
    <thetext>Я решил долго не мучаться и просто вписал в спек
mv %buildroot%prefix/lib %buildroot%_libdir

fixed
* Tue Jun 20 2006 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 0.12-alt0.2
- hack for build at x86_64 (fix bug #9710)

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39824</commentid>
    <comment_count>4</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-08-28 20:05:49 +0400</bug_when>
    <thetext>(In reply to comment #3)
&gt; Я решил долго не мучаться и просто вписал в спек
&gt; mv %buildroot%prefix/lib %buildroot%_libdir
&gt; 
&gt; fixed
&gt; * Tue Jun 20 2006 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 0.12-alt0.2
&gt; - hack for build at x86_64 (fix bug #9710)
&gt; 
&gt; 

Согласно - http://sisyphus.altlinux.org/find.shtml?request=python-module-xlib

0.12-alt0.1 версии в Сизифе нет.

Reopen
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40139</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2006-09-11 01:57:26 +0400</bug_when>
    <thetext>отправил ещё раз, возможно пропала по дороге</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40159</commentid>
    <comment_count>6</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-09-11 17:39:05 +0400</bug_when>
    <thetext>(In reply to comment #5)
&gt; отправил ещё раз, возможно пропала по дороге

Не вижу. Когда и куда она была отправлена?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40164</commentid>
    <comment_count>7</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2006-09-12 01:15:25 +0400</bug_when>
    <thetext>python-module-xlib-0.12-alt0.3.src.rpm uploaded to Incoming/Sisyphus (SS) at 
Пнд 11 Сен 2006 02:22:50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40165</commentid>
    <comment_count>8</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2006-09-12 01:18:41 +0400</bug_when>
    <thetext>Произошла путаница с номером релиза.
Отправил
python-module-xlib-0.12-alt2.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40171</commentid>
    <comment_count>9</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-09-12 05:22:12 +0400</bug_when>
    <thetext>(In reply to comment #8)
&gt; Произошла путаница с номером релиза.
&gt; Отправил
&gt; python-module-xlib-0.12-alt2.src.rpm

Вот теперь вижу что прибежало...
Dear Vitaly Lipatov !
The python-module-xlib-0.12-alt2 package passed thru incoming rebuild
for x86_64 architecture.
Thank you!

Dear Vitaly Lipatov !
The python-module-xlib-0.12-alt2 package passed thru incoming rebuild
for i586 architecture.
Thank you!
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>