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

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

    <bug>
          <bug_id>4756</bug_id>
          
          <creation_ts>2004-07-09 17:32:53 +0400</creation_ts>
          <short_desc>Добавить в br-bytecompile-python проверку на наличие python.</short_desc>
          <delta_ts>2008-06-13 12:16:01 +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>rpm-build</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 Orlov">cray</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16849</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Orlov">cray</who>
    <bug_when>2004-07-09 17:32:53 +0400</bug_when>
    <thetext>Без этой проверки такие пакеты как vegastrike - которые содражат питоновкие 
модули но не собираются собирать их и потому не содеражть req на python-devel 
- отказываются собираться в хешере. 
 
[17:15:35] &lt;Anton Farygin&gt;  egastrike 
+ /usr/lib/rpm/brp-alt 
Cleaning files in /usr/src/RPM/tmp/vegastrike-data-buildroot (auto) 
Verifying and fixing files in /usr/src/RPM/tmp/vegastrike-data-buildroot 
(bincon 
fig,pkgconfig,libtool) 
Compressing files in /usr/src/RPM/tmp/vegastrike-data-buildroot (auto) 
Verifying ELF objects in /usr/src/RPM/tmp/vegastrike-data-buildroot 
(rpath=norma 
l,textrel=normal) 
Stripping binaries in /usr/src/RPM/tmp/vegastrike-data-buildroot 
(executable,sha 
red) 
Bytecompiling python modules in /usr/src/RPM/tmp/vegastrike-data-buildroot 
using /usr/bin/python 
/usr/lib/rpm/brp-bytecompile_python: line 30: /usr/bin/python: No such file or 
directory 
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.69604 (%install) 
 
Я посмотрю, как это лучше сделать и напишу подробнее, но в принципе -x 
&quot;RPM_PYTHON&quot; в строке 28 меня бы устроил.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16884</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-07-10 20:42:32 +0400</bug_when>
    <thetext>Ok, когда вернусь из отпуска, сделаю.
пока что можно использовать workaround:
unset RPM_PYTHON</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19517</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-10-31 14:40:28 +0300</bug_when>
    <thetext>Added -x check.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>