Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147594 - java-config-2.0.28-r1 should depend on python 2.4
Summary: java-config-2.0.28-r1 should depend on python 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 147595 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-14 11:21 UTC by Georg Sauthoff
Modified: 2006-09-14 12:53 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 Georg Sauthoff 2006-09-14 11:21:50 UTC
Hi,

java-config-2 RDEPEND on python, but not on python >= 2.4. This is a problem because it uses os.path.lexists() (which is new in 2.4):
# java-config-2 --set-system-vm=sun-jdk-1.5
[..]
  File "/usr/share/java-config-2/pym/java_config/EnvironmentManager.py", line 217, in set_vm
    if os.path.lexists(target):
AttributeError: 'module' object has no attribute 'lexists'

Best regards
Georg Sauthoff
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-14 11:28:30 UTC
*** Bug 147595 has been marked as a duplicate of this bug. ***
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-09-14 12:25:51 UTC
Fixed in CVS. Thanks for reporting! 
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-14 12:53:59 UTC
Meanwhile I rewrote the offending code in trunk not to use lexists(). So next version can drop the 2.4 depend back. Unless you know of some other case it fails :)