Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242136 - app-admin/conary-2.0.23: python2.4 and python2.5 on the same machine
Summary: app-admin/conary-2.0.23: python2.4 and python2.5 on the same machine
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 267346
Blocks:
  Show dependency tree
 
Reported: 2008-10-15 05:39 UTC by Nikolay Orlyuk
Modified: 2010-08-23 11:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.