Bug 811353

Summary: python.i686 binary not installed on x86_64 system
Product: [Fedora] Fedora Reporter: Renato Botelho <rbgarga>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: dmalcolm, ivazqueznet, jonathansteffan, slist, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-10 19:41:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Renato Botelho 2012-04-10 19:11:39 UTC
Description of problem:
I need to use python i686 on a Fedora x86_64 system. I already have python.x86_64 installed and working fine, so, i've installed python.i686 to my system, it installed fine so i understand both packages can coexist.

The problem is both packages install /usr/bin/python, i noted python.i686 didn't overwritten 64-bit python binary, what is good, but, i cannot use 32-bit python. IMHO it should install the binary with a different name, like python-32.

Version-Release number of selected component (if applicable):
python-2.7.2-5.2.fc16

How reproducible:
Always

Steps to Reproduce:
1. Install python.x86_64
2. Install python.i686
3. Try to use 32-bit python
  
Actual results:


Expected results:


Additional info:

Comment 1 Ignacio Vazquez-Abrams 2012-04-10 19:41:29 UTC
rpm binary coloring will make the x86_64 binary *always* take precedence over the i686 binary. Plus, there could be issues with external C modules. You'll need to build it from source using an alternate prefix.

Comment 2 Stephane List 2013-04-12 14:44:38 UTC
Could you give, just a few hits on how to build it ?

Thanks 

Stephane

Comment 3 Stephane List 2013-04-12 14:56:01 UTC
I've found it on CentOS, and it works.
http://mirror.centos.org/centos/6/os/i386/Packages/python-2.6.6-36.el6.i686.rpm