Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348676 - dev-vcs/subversion-1.6.13 w/ USE=java" is missing dev-java/java-config-2
Summary: dev-vcs/subversion-1.6.13 w/ USE=java" is missing dev-java/java-config-2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 07:54 UTC by vAx
Modified: 2010-12-17 07:20 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 vAx 2010-12-14 07:54:36 UTC
emerge -NuvD world

Calculating dependencies... done!
[binary  N    ] dev-vcs/subversion-1.6.13  USE="apache2 bash-completion berkdb java nls perl python sasl webdav-neon -ctypes-python -debug -doc -dso -emacs -extras -gnome-keyring -kde -ruby -test -vim-syntax -webdav-serf" 
[binary  N    ] dev-java/java-config-2.1.11 
... and more...

It gives:

>>> Failed to emerge dev-vcs/subversion-1.6.13, Log file:

>>>  '/var/tmp/portage/dev-vcs/subversion-1.6.13/temp/build.log'

 * Messages for package dev-vcs/subversion-1.6.13:

 * Unable to determine VM for building from dependencies:
 * ERROR: dev-vcs/subversion-1.6.13 failed:
 *   Failed to determine VM for building.
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called pkg_setup
 *   environment, line 6158:  Called java-pkg-opt-2_pkg_setup
 *   environment, line 3974:  Called java-pkg_init
 *   environment, line 4687:  Called java-pkg_switch-vm
 *   environment, line 5183:  Called die
 * The specific snippet of code:
 *                       die "Failed to determine VM for building.";



Reproducible: Always

Steps to Reproduce:
1.No java-config-2 installed
2.emerge dev-vcs/subversion
3.

Actual Results:  
dev-vcs/subversion can't be installed


emerge -1 java-config-2
emerge dev-vcs/subversion

works ;)
Comment 1 vAx 2010-12-14 16:06:27 UTC
Oops, It seems not to work just with the 'emerge java-config-2'
In fact there was no jvm installed on the target.

after a 'emerge  dev-java/icedtea6-bin' , the emerge world works.

FYI: the target use binary packages compiled on an other machine.

To conclude, I think the missing dependency is double:
subversion needs java-config
java-config needs a jvm

/X
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-15 10:47:39 UTC
Subversion already has "java? ( >=dev-java/java-config-2.1.9-r1  )" in dependencies.
Comment 3 vAx 2010-12-17 07:20:07 UTC
Subversion already has "java? ( >=dev-java/java-config-2.1.9-r1  )" in
dependencies. => Maybe, but when I do an emerge -NupvD world, I get (in order):

(..... some packages.....)

[binary  N    ] dev-vcs/subversion-1.6.13  USE="apache2 bash-completion berkdb java nls perl python sasl webdav-neon -ctypes-python -debug -doc -dso -emacs -extras -gnome-keyring -kde -ruby -test -vim-syntax -webdav-serf" 

[binary  N    ] dev-java/java-config-2.1.11 

(..... some packages.....)

[binary  N    ] dev-java/icedtea6-bin-1.9.1  USE="-X -alsa -doc -examples 

(..... some packages.....)

Is it due to the fact that these are binary packages?

If I emerge -1pv dev-java/icedtea6, before the world

[binary  N    ] dev-java/java-config-wrapper-0.16 
[binary  N    ] dev-java/java-config-2.1.11 
[binary  N    ] dev-java/icedtea6-bin-1.9.1  USE="-X -alsa -doc -examples -nsplugin -source" 

So, after that, the world can be updated, including subversion.

/X