Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 359581

Summary: app-emulation/virtualbox-4.0.4-r1 failed (setup phase) - Python and Java bindings depend on "sdk" USE flag to be enabled
Product: Gentoo Linux Reporter: Matthias Pannek <matthias>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: patrick, serkan, swapon, vincent
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Pannek 2011-03-20 00:59:58 UTC
app-emulation/virtualbox-4.0.4-r1 failed to build. Not sure what's the problem, earlier versions works without a problem.

Not sure what packages are really need the sdk-use-flag?

Thanks

Reproducible: Always

Steps to Reproduce:
1. emerge -v virtualbox
2.
3.
Actual Results:  
 ~ # emerge -v virtualbox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-emulation/virtualbox-4.0.4-r1 [4.0.4] USE="additions alsa extensions java opengl python qt4 vnc -doc -headless -pulseaudio -sdk -vboxwebsrv" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/virtualbox-4.0.4-r1
 * VirtualBox-4.0.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                             [ ok ]
 * Package:    app-emulation/virtualbox-4.0.4-r1
 * Repository: gentoo
 * Maintainer: polynomial-c@gentoo.org patrick@gentoo.org,swapon@gmail.com
 * USE:        additions alsa amd64 elibc_glibc extensions java kernel_linux multilib opengl python qt4 userland_GNU vnc
 * FEATURES:   sandbox
 * ERROR: app-emulation/virtualbox-4.0.4-r1 failed (setup phase):
 *   Python and Java bindings depend on "sdk" USE flag to be enabled.
 * 
 * Call stack:
 *                    ebuild.sh, line  56:  Called pkg_setup
 *   virtualbox-4.0.4-r1.ebuild, line 127:  Called die
 * The specific snippet of code:
 *              die "Python and Java bindings depend on \"sdk\" USE flag to be enabled."
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-4.0.4-r1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-4.0.4-r1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/temp/die.env'.
 * S: '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/work/VirtualBox-4.0.4_OSE'

>>> Failed to emerge app-emulation/virtualbox-4.0.4-r1, Log file:

>>>  '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/temp/build.log'

 * Messages for package app-emulation/virtualbox-4.0.4-r1:

 * ERROR: app-emulation/virtualbox-4.0.4-r1 failed (setup phase):
 *   Python and Java bindings depend on "sdk" USE flag to be enabled.
 * 
 * Call stack:
 *                    ebuild.sh, line  56:  Called pkg_setup
 *   virtualbox-4.0.4-r1.ebuild, line 127:  Called die
 * The specific snippet of code:
 *              die "Python and Java bindings depend on \"sdk\" USE flag to be enabled."
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-4.0.4-r1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-4.0.4-r1'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/temp/die.env'.
 * S: '/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/work/VirtualBox-4.0.4_OSE'
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-20 01:40:24 UTC
Serkan, since this is a result of the changes you did to -r1 can you comment on it?
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2011-03-20 01:54:49 UTC
Actually this was causing python or java files not being installed without enabling sdk USE flag as well. So I added a check for it.

Currently sdk USE flag enables native xpcom api; java and python enables relative bindings. So just enabling sdk should work.
Comment 3 Matthias Pannek 2011-03-20 04:40:53 UTC
Thanks, works with +sdk for app-emulation/virtualbox, i thought the use-flag was needed for a different package :/
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-20 12:35:25 UTC
*** Bug 359607 has been marked as a duplicate of this bug. ***