Date: Wed, 24 Aug 2011 21:58:27 +0200 From: Bernhard Froehlich <decke@bluelife.at> To: Bernhard Froehlich <decke@bluelife.at> Cc: emulation@freebsd.org, wynkoop@wynn.com Subject: Re: virtualbox on FreeBSD 8.2 Message-ID: <f9f87cff74c175e070153918463b7010@bluelife.at> In-Reply-To: <b42c44f7a5eea039e5712d6810602363@bluelife.at> References: <201108241820.p7OIKRBQ083605@mail.wynn.com> <b42c44f7a5eea039e5712d6810602363@bluelife.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Aug 2011 21:46:37 +0200, Bernhard Froehlich wrote: > On Wed, 24 Aug 2011 14:20:27 -0400 (EDT), wynkoop@wynn.com wrote: >> Greeting- >> >> I started with a virgin FreeBSD 8.2 install about a month ago and have been >> trying to build /usr/ports/emulators/virtualbox-ose with no luck ever >> since. >> Ports were installed on the box using portsnap. Over the course of >> last month >> I have updated ports several times in an attempt to get this port to build. >> I have also tried many different config options including with and without X. >> >> >> Here is some important information: >> >> uname -a >> FreeBSD vm0.int.ia 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #1: Wed Aug >> 10 21:06:16 EDT 2011 >> root@vm0.int.ia:/usr/src/sys/amd64/compile/VM0 amd64 >> >> >> Now the failed compile output: >> >> >> Script started on Fri Aug 19 00:27:06 2011 >> >> # make >> ===> Building for virtualbox-ose-4.0.12 >> cd /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE && >> /bin/sh env.sh && VBOX_LIBPATH_X11=/usr/local >> VBOX_FREEBSD_SRC=skins/default/usr/src/sys /usr/local/bin/kmk >> /usr/local/share/kBuild/footer.kmk:3132: warning: overriding recipe >> for target >> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/crc.h' >> /usr/local/share/kBuild/footer.kmk:3132: warning: ignoring old recipe >> for target >> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/crc.h' >> /usr/local/share/kBuild/footer.kmk:3132: warning: overriding recipe >> for target >> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/net.h' >> /usr/local/share/kBuild/footer.kmk:3132: warning: ignoring old recipe >> for target >> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/net.h' >> kBuild: Pass - Build Programs >> kBuild: Installing RuntimeBldProg => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/lib/RuntimeBldProg.a >> kBuild: Linking bldRTManifest >> kBuild: Pass - Libraries >> kBuild: Compiling VBoxXPCOMCGlue - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/cbinding/VBoxXPCOMCGlue.c >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/com.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/initterm.cpp >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/com.h:30, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/initterm.cpp:49: >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/defs.h:298:1: >> warning: "FALSE" redefined >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/prinet.h:89, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/prio.h:51, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsILocalFile.h:17, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/initterm.cpp:43: >> /usr/include/rpc/types.h:58:1: warning: this is the location of the >> previous definition >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/com.h:30, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/initterm.cpp:49: >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/defs.h:299:1: >> warning: "TRUE" redefined >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/prinet.h:89, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/prio.h:51, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsILocalFile.h:17, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/initterm.cpp:43: >> /usr/include/rpc/types.h:61:1: warning: this is the location of the >> previous definition >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/string.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/AutoLock.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/EventQueue.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/ErrorInfo.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/errorprint.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/VirtualBoxErrorInfo.cpp >> kBuild: Compiling VBoxCOM - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/glue/xpcom/helpers.cpp >> kBuild: Installing NetBiosBin => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/lib/NetBiosBin.a >> kBuild: Generating PcBiosBin - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/PcBiosBin/pcbios.lst >> kBuild: biossums PcBiosBin - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/PcBiosBin/pcbios.tmp >> kBuild: Adjusting BCC Assembly VgaBiosBin - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VgaBiosBin/vgabios0.s >> kBuild: Installing VgaDefBiosLogo => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/lib/VgaDefBiosLogo.a >> kBuild: Installing EfiThunkBin => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/lib/EfiThunkBin.a >> kBuild: Linking VBox-xpcom-nspr >> kBuild: Linking VBox-xpcom-typelib >> kBuild: Linking VBox-xpcom-string >> kBuild: Linking VBox-xpcom-base >> kBuild: Linking VBox-xpcom-ds >> kBuild: Linking VBox-xpcom-io >> kBuild: Linking VBox-xpcom-components >> kBuild: Linking VBox-xpcom-threads >> kBuild: Linking VBox-xpcom-xptinfo >> kBuild: Linking VBox-xpcom-xptcall >> kBuild: Linking VBox-xpcom-proxy >> kBuild: Linking VBoxXPCOMGlue_s >> kBuild: Linking VBoxXPCOMGlue >> kBuild: Linking VBox-xpcom-ipcutils >> kBuild: Linking VBox-xpcom-ipcshared >> kBuild: Linking VBox-xpcom-ipcdlock >> kBuild: Linking VBox-xpcom-ipctransmgr >> kBuild: Linking VBox-xpcom-ipctmgrcom >> kBuild: Pass - DLLs >> kBuild: Linking VBoxXPCOM >> kBuild: Installing VBoxVMM => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/VBoxVMM.so >> kBuild: Installing VBoxDDU => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/VBoxDDU.so >> kBuild: Installing VBoxAuth => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/VBoxAuth.so >> kBuild: Linking VBoxSharedFolders >> kBuild: Linking VBoxSharedClipboard >> kBuild: Linking VBoxGuestPropSvc >> kBuild: Linking VBoxGuestControlSvc >> kBuild: Linking DBGCPlugInDiggers >> kBuild: Installing VBoxNetDHCP => >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/VBoxNetDHCP.so >> kBuild: Compiling VBoxPython2_7 - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/EventQueue.h:36, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp:498: >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/defs.h:298:1: >> warning: "FALSE" redefined >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/prinet.h:89, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/nspr.h:49, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp:55: >> /usr/include/rpc/types.h:58:1: warning: this is the location of the >> previous definition >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/EventQueue.h:36, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp:498: >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include/VBox/com/defs.h:299:1: >> warning: "TRUE" redefined >> In file included from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/prinet.h:89, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub/nspr.h:49, >> from >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp:55: >> /usr/include/rpc/types.h:61:1: warning: this is the location of the >> previous definition >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp: >> In function 'void init_xpcom()': >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp:693: >> error: 'PyEval_InitThreads' was not declared in this scope >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxPython2_7/src/module/_xpcom.o] >> Error 1 >> The failing command: >> @c++ -c -O2 -g -pipe -ansi -Wall -Wno-unused -Wno-non-virtual-dtor >> -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused >> -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fvisibility=hidden >> -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT >> -fdiagnostics-show-option -fPIC -Wno-write-strings -O -pthread -m64 >> -I/usr/local/include/python2.7 >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/build >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/ds >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/io >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/base >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/components >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/threads >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/proxy/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/xpcom/reflect/xptcall/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/ipc/ipcd/client/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/ipc/ipcd/shared/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/ipc/ipcd/extensions/lock/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/common >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/include >> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release >> -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS >> -DVBOX_WITH_HARDENING >> -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" >> -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" >> -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" >> -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" >> -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ >> -DMOZILLA_CLIENT=1 -DNDEBUG=1 -D_IMPL_NS_COM >> -DXPCOM_DLL_BASE=\"VBoxXPCOM\" -DMOZ_DLL_SUFFIX=\".so\" -DIN_RING3 >> -DVBOX_USE_IPRT_IN_XPCOM -DMOZ_PRESERVE_PIC -D_IMPL_NS_COM >> -D_IMPL_NS_BASE -DEXPORT_XPTI_API -DEXPORT_XPT_API -DVBOX_PYXPCOM >> -DVBOX_WITH_XPCOM -DVBOX_PYXPCOM_VERSIONED -DOSTYPE=\"FreeBSD5+\" >> -DOSARCH=\"FreeBSD\" -DXP_UNIX=1 -DFREEBSD=1 >> -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_VA_LIST_AS_ARRAY -DHAVE_VA_COPY >> -DVA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\) >> -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxPython2_7/src/module/_xpcom.o.dep >> -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxPython2_7/src/module/_xpcom.o >> -Wp,-MP -o >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxPython2_7/src/module/_xpcom.o >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/libs/xpcom18a4/python/src/module/_xpcom.cpp >> kmk: *** Waiting for unfinished jobs.... >> kmk: *** Exiting with status 2 >> *** Error code 2 >> >> Stop in /usr/ports/emulators/virtualbox-ose. >> *** Error code 1 >> >> Stop in /usr/ports/emulators/virtualbox-ose. >> # exit >> >> Script done on Fri Aug 19 00:51:34 2011 >> >> Clues and pointers on how to get this to build on 8.2 would be appreciated. >> I have been trying to build it for a month! > > Which python version are you using? I have python26-2.6.7 here and that > builds fine so I suspect you use python 2.7 and we have a build problem > with that version. Could you please send me the output for: cd /usr/ports/lang/python27/ && make showconfig -- Bernhard Fröhlich http://www.bluelife.at/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f9f87cff74c175e070153918463b7010>