Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261524 - binary emerge of commons-dbcp fails if jdk-1.5 not present
Summary: binary emerge of commons-dbcp fails if jdk-1.5 not present
Status: RESOLVED DUPLICATE of bug 206024
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-07 05:02 UTC by Michael Jinks
Modified: 2009-03-07 17:19 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 Michael Jinks 2009-03-07 05:02:39 UTC
I started out with sun-jdk-1.6 installed, and the goal of setting up Tomcat from a collection of prebuilt binaries.

While performing a binary emerge of commons-dbcp, for example,

  # emerge -vK dev-java/commons-dbcp

...the install will begin and fail, with:

   *   java-pkg_switch-vm 3367 0 Failed to determine VM for building.

Struck me as odd since this is a binary package.  I eventually figured out that if I did,

  # emerge -pv commons-dbcp

...then Portage would list 'dev-java/sun-jdk-1.5.0.16' as a dependency, but for some reason it doesn't during a binary emerge.  After manually installing sun-jdk-1.5, binary emerge of commons-dbcp runs fine.

Should jdk-1.5 be listed as a runtime dep as well as build-time?  Or is there another way around this?

Reproducible: Always
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-03-07 17:19:32 UTC

*** This bug has been marked as a duplicate of bug 206024 ***