| Bug#: 147594 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: trivial | Priority: P2 |
| Resolution: FIXED | Assigned To: java@gentoo.org | Reported By: g_sauthoff@web.de | |
| Component: Development | |||
| URL: | |||
| Summary: java-config-2.0.28-r1 should depend on python 2.4 | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2006-09-14 11:21 0000 | |||
| Description: | Opened: 2006-09-14 11:21 0000 |
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
*** Bug 147595 has been marked as a duplicate of this bug. ***
Fixed in CVS. Thanks for reporting!
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 :)