Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171931 - python.eclass hardcodes /usr/lib
Summary: python.eclass hardcodes /usr/lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 16:22 UTC by Daniel Drake (RETIRED)
Modified: 2007-05-06 22:11 UTC (History)
0 users

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


Attachments
fix (patch,1.05 KB, patch)
2007-03-23 16:24 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake (RETIRED) gentoo-dev 2007-03-23 16:22:19 UTC
There is a minor problem when using the python eclass on multilib systems. The python_mod_optimize function looks for compileall.py in /usr/lib however on my system it is found in /usr/lib64.

This results in a lot of these errors appearing at the end of merges:

python2.4: can't open file '/usr/lib/python2.4/compileall.py': [Errno 2] No such file or directory
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-03-23 16:24:22 UTC
Created attachment 114148 [details, diff]
fix
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-04-26 14:31:38 UTC
bump.. any comments on the above?
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2007-05-06 22:11:42 UTC
Fixed in CVS. Thanks for the patch.