Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217466 - virtualbox 1.5.6 does not compile - kmk fails
Summary: virtualbox 1.5.6 does not compile - kmk fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-12 22:54 UTC by G. Gibson
Modified: 2008-05-22 17:46 UTC (History)
1 user (show)

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 G. Gibson 2008-04-12 22:54:15 UTC
kmk[3]: *** [/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o] Error 1
004967 The failing command:
004968 @g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -pthread -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release -DVBOX -DVBOX_WITHOUT_IDT_PATCHING -DVBOX_OSE -DRT_OS_LINUX -D__LINUX__ -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DVBOX_HGCM -DVBOX_OGL_HOST_SIDE -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/HostServices/SharedOpenGL/service.cpp
004969 kmk[3]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/HostServices'
004970 kmk[2]: *** [pass_dlls_before] Error 2
004971 kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox'
004972 kmk[1]: *** [pass_dlls_before] Error 2
004973 kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src'
004974 kmk: *** [pass_dlls_before] Error 2
004975  * 
004976  * ERROR: app-emulation/virtualbox-1.5.6 failed.
004977  * Call stack:
004978  *               ebuild.sh, line   49:  Called src_compile
004979  *             environment, line 2752:  Called die
004980  * The specific snippet of code:
004981  *       MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed"
004982  *  The die message:
004983  *   kmk failed
004984  * 
004985  * If you need support, post the topmost build error, and the call stack if relevant.
004986  * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/build.log'.
004987  * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/environment'.
004988  * 
004989 
004990  * Messages for package app-emulation/virtualbox-1.5.6:
004991 
004992  * 
004993  * ERROR: app-emulation/virtualbox-1.5.6 failed.
004994  * Call stack:
004995  *               ebuild.sh, line   49:  Called src_compile
004996  *             environment, line 2752:  Called die
004997  * The specific snippet of code:
004998  *       MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed"
004999  *  The die message:
005000  *   kmk failed
005001  * 
005002  * If you need support, post the topmost build error, and the call stack if relevant.
005003  * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/build.log'.
005004  * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/environment'.
005005  * 
005006 *** process completed ***

Reproducible: Always

Steps to Reproduce:
1. emerge virtualbox
2.
3.

Actual Results:  
kmk[3]: *** [/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o] Error 1
004967 The failing command:
004968 @g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -pthread -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release -DVBOX -DVBOX_WITHOUT_IDT_PATCHING -DVBOX_OSE -DRT_OS_LINUX -D__LINUX__ -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DVBOX_HGCM -DVBOX_OGL_HOST_SIDE -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/HostServices/VBoxSharedOpenGL/service.o /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/HostServices/SharedOpenGL/service.cpp
004969 kmk[3]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/HostServices'
004970 kmk[2]: *** [pass_dlls_before] Error 2
004971 kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox'
004972 kmk[1]: *** [pass_dlls_before] Error 2
004973 kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src'
004974 kmk: *** [pass_dlls_before] Error 2
004975  * 
004976  * ERROR: app-emulation/virtualbox-1.5.6 failed.
004977  * Call stack:
004978  *               ebuild.sh, line   49:  Called src_compile
004979  *             environment, line 2752:  Called die
004980  * The specific snippet of code:
004981  *       MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed"
004982  *  The die message:
004983  *   kmk failed
004984  * 
004985  * If you need support, post the topmost build error, and the call stack if relevant.
004986  * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/build.log'.
004987  * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/environment'.
004988  * 
004989 
004990  * Messages for package app-emulation/virtualbox-1.5.6:
004991 
004992  * 
004993  * ERROR: app-emulation/virtualbox-1.5.6 failed.
004994  * Call stack:
004995  *               ebuild.sh, line   49:  Called src_compile
004996  *             environment, line 2752:  Called die
004997  * The specific snippet of code:
004998  *       MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed"
004999  *  The die message:
005000  *   kmk failed
005001  * 
005002  * If you need support, post the topmost build error, and the call stack if relevant.
005003  * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/build.log'.
005004  * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.5.6/temp/environment'.
005005  * 
005006 *** process completed ***

Expected Results:  
virtualbox merged
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2008-04-13 20:59:23 UTC
We need the text that comes even before the first line. Please provide it and reopen this bug.
Comment 2 Marek Cruz 2008-05-21 21:24:23 UTC
kBuild: Compiling VBoxSDL - VBoxSDL.cpp
kBuild: bin2c VBoxSDL - ico64x01.pnm
kBuild: Compiling VBoxSDL - Helper.cpp
kBuild: Compiling tstSDL - VBoxSDLTest.cpp
kBuild: Compiling VBoxSDL - Framebuffer.cpp
kBuild: Linking tstSDL
kBuild: Installing tstSDL => /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/testcase/tstSDL
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp: In member function 'virtual nsresult VBoxSDLConsoleCallback::OnShowWindow(PRUint64*)':
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:575: error: 'struct SDL_SysWMinfo' has no member named 'info'
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp: In function 'int main(int, char**)':
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:1852: error: 'struct SDL_SysWMinfo' has no member named 'info'
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2523: error: 'struct SDL_SysWMinfo' has no member named 'info'
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2537: error: 'struct SDL_SysWMinfo' has no member named 'info'
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp: In function 'void SetPointerShape(const PointerShapeChangeData*)':
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:4071: error: 'struct SDL_SysWMinfo' has no member named 'info'
/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:4090: error: 'struct SDL_SysWMinfo' has no member named 'info'
kmk[4]: *** [/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o] Error 1
The failing command:
	@g++ -c -O2 -g -Wall -Wno-long-long -Wno-trigraphs -pipe  -Wno-non-virtual-dtor -fshort-wchar -fpermissive -O2  -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN  -pthread -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include/xpcom -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include/xpcom/nsprpub -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include/xpcom/string -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include/xpcom/xpcom -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/bin/sdk/include/xpcom/ipcd -I/usr/include/SDL -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/include -I/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release -DVBOX -DVBOX_WITHOUT_IDT_PATCHING -DVBOX_OSE -DRT_OS_LINUX -D__LINUX__ -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DNDEBUG -DTRIMMED -D_GNU_SOURCE -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/out/linux.amd64/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o /var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
kmk[4]: *** Waiting for unfinished jobs....
kmk[4]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends/VBoxSDL'
kmk[3]: *** [pass_binaries_before] Error 2
kmk[3]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox/Frontends'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.5.6/work/VirtualBox-1.5.6_OSE/src'
kmk: *** [pass_binaries_before] Error 2
 * 
 * ERROR: app-emulation/virtualbox-1.5.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2796:  Called die
 * The specific snippet of code:
 *       MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed"
 *  The die message:
 *   kmk failed
Comment 3 Marek Cruz 2008-05-22 17:46:13 UTC
I found that media-libs/libsdl was emerged with "novideo" on my box. I reemerged it with USE="opengl" and now VirtualBox can be emerged without any problem. Maybe the ebuld should check the USE flags of libsdl to avoid this bogus.