Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 242136

Summary: app-admin/conary-2.0.23: python2.4 and python2.5 on the same machine
Product: Gentoo Linux Reporter: Nikolay Orlyuk <virkony>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 267346    
Bug Blocks:    

Description Nikolay Orlyuk 2008-10-15 05:39:30 UTC
All scripts contains "#!/usr/bin/env python2.4" in first line, but modules for python is instaled for default python (I guess for eselect), that causes errors that modules like "conary" didn't found.

Reproducible: Always

Steps to Reproduce:
1. emerge python:2.5
2. eselect python set python2.5
3. emerge app-admin/conary-2.0.23
4. try to run /usr/bin/rpm2cpio which comes with conary
Actual Results:  
python raise the error that module "conary" didn't found

Expected Results:  
"Usage: rpm2cpio <rpmpackage> | cpio -ivumd"

There is "=dev-lang/python-2.4*" in DEPEND
Don't think that it requires strictly 2.4 and will not work with 2.5, need to clear that.

Need to use some kind of eclass which will have parameter about using specific or default version.
And go through script to update headers with python which was used for modules installation.
Comment 1 bug.ladzi 2008-12-29 16:03:00 UTC
(In reply to comment #0)
> All scripts contains "#!/usr/bin/env python2.4" in first line, but modules for
> python is instaled for default python (I guess for eselect), that causes errors
> that modules like "conary" didn't found.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. emerge python:2.5
> 2. eselect python set python2.5
> 3. emerge app-admin/conary-2.0.23
> 4. try to run /usr/bin/rpm2cpio which comes with conary
> Actual Results:  
> python raise the error that module "conary" didn't found
> 
> Expected Results:  
> "Usage: rpm2cpio <rpmpackage> | cpio -ivumd"
> 
> There is "=dev-lang/python-2.4*" in DEPEND
> Don't think that it requires strictly 2.4 and will not work with 2.5, need to
> clear that.
> 
> Need to use some kind of eclass which will have parameter about using specific
> or default version.
> And go through script to update headers with python which was used for modules
> installation.
> 

for temporary fix 
i change rpm2cpio header to be depend on python2.5 instead of 2.4
this allow me to run rpmcpio and emerge package that's depend on conary rpm2cpoi
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-08-23 11:51:22 UTC
I've masked app-admin/conary for removal in 30 days, closing.