Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281933 - app-admin/eselect-python-20090814: python-wrapper does not work if invoked through an unexpected symlink such as /usr/local/bin/python
Summary: app-admin/eselect-python-20090814: python-wrapper does not work if invoked th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 16:57 UTC by R. David Murray
Modified: 2009-08-19 20:06 UTC (History)
1 user (show)

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


Attachments
Fix for python-wrapper (python-wrapper-symlink-fix.patch,345 bytes, patch)
2009-08-18 17:00 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R. David Murray 2009-08-18 16:57:35 UTC
If a symlink is used to invoke python (eg: ln -s /usr/bin/python /usr/local/bin/python), then python-wrapper aborts silently with return code 127.

Reproducible: Always

Steps to Reproduce:
1.ln -s /usr/bin/python somename
2../somename; echo $?
3.

Actual Results:  
127

Expected Results:  
python interactive interpreter prompt
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2009-08-18 17:00:02 UTC
Created attachment 201630 [details, diff]
Fix for python-wrapper
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-19 20:06:14 UTC
Fixed in r207.