Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157380 - java-config: some java packages die with "Unable to determine VM for building from dependencies." if jdk.conf or jdk-defaults.conf don't provide a usable JDK
Summary: java-config: some java packages die with "Unable to determine VM for building...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 172926 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-06 16:22 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-08-07 22:01 UTC (History)
0 users

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


Attachments
merge log (dev-java:commons-dbcp-1.2.1-r1:20061207-011920.log,12.52 KB, text/plain)
2006-12-06 16:27 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-06 16:22:09 UTC
See the attached log.

The jar seems to have built fine though.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-06 16:27:24 UTC
Created attachment 103495 [details]
merge log
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 18:16:08 UTC
Looks like my patch for bug 146807 wasn't perfect, this should die.
I've fixed the eclass in CVS, can you check it dies? Will investigate why it happens tommorow.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 18:18:56 UTC
It doesn't happen on x86 and the DEPEND string looks fine. So /usr/bin/depend-java-query is somehow broken on fbsd.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-06 18:26:05 UTC
Okay, yes it dies.
Why? No clue.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-07 17:36:00 UTC
OK so this is caused by two things
a) missing jdk-defaults.conf on fbsd
b) some bug in the failback code (when no default/user setting exists) in depend-java-query

a) is now fixed with updated (without revbump) java-config in CVS, will look to b) later
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-03-31 20:39:35 UTC
*** Bug 172926 has been marked as a duplicate of this bug. ***
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-27 15:46:45 UTC
So the problem was when lowest of the possible DEPENDs (1.3) was a VM that was not installed, because only the lowest was tried. Fixed in SVN by trying to match all specified versions.
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-28 19:34:42 UTC
Released in java-config-2.0.33-r1
Comment 9 rand 2007-08-07 22:01:12 UTC
ollect2: ld returned 1 exit status
make[1]: *** [build/dns-sd] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work/mDNSResponder-107.6/Clients'
make: *** [../Clients/build/dns-sd] Ошибка 2