First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 147199
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: A. Dotor <dotor@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 147199 depends on: Show dependency tree
Show dependency graph
Bug 147199 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-11 08:40 0000
java-config-1 can't acces any information about the JAVA-HOME but crashes. No
java-config-1 dependent installation possible.

See line 100 of jc_util.py and the following procedure-body.

jc_util.py line 100 reads:

  def find_exec(exe, java_home):

Following change fixes the bug:

  def find_exec(exe, jh):

Procedure find_exec was given a reference named "java_home" during the call but
uses the name "jh" in the body of the procedure. Either the parameter is
renamed to "jh" or the reference in the body to "java_home"

------- Comment #1 From Josh Nichols 2006-09-11 10:39:34 0000 -------
In order to fix the problem, at the very least, would need to know what version
of java-config you are using, and what you were doing to cause the error.

------- Comment #2 From A. Dotor 2006-09-11 10:47:36 0000 -------
Sorry. The version is 

  java-config-1.3.6 (but it was in 1.3.5, too)

I found out when I was trying to emerge jython, but I could reproduce it by
calling:

  java-config-1 -c
  java-config-1 -J

or

  java-config-1 -S <jvm-id>

------- Comment #3 From Josh Nichols 2006-09-11 11:13:40 0000 -------
There were actually other changes that were needed in jc_options.py, since it
used named parameters.

This was a regression from 1.3.5 which was fixed in 1.3.5-r1, and obviously
lost in 1.3.6.

Fixed in 1.3.6-r1. Thanks for reporting!

------- Comment #4 From Jakub Moc (RETIRED) 2006-09-11 11:21:37 0000 -------
*** Bug 147204 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-09-11 11:48:08 0000 -------
*** Bug 147212 has been marked as a duplicate of this bug. ***

------- Comment #6 From Vlastimil Babka (Caster) 2006-09-12 23:56:30 0000 -------
*** Bug 147404 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug