Bug 147594 - java-config-2.0.28-r1 should depend on python 2.4
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

------- Comment #1 From Jakub Moc (RETIRED) 2006-09-14 11:28:30 0000 -------
*** Bug 147595 has been marked as a duplicate of this bug. ***

------- Comment #2 From Josh Nichols (RETIRED) 2006-09-14 12:25:51 0000 -------
Fixed in CVS. Thanks for reporting! 

------- Comment #3 From Vlastimil Babka (Caster) 2006-09-14 12:53:59 0000 -------
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 :)