virtualbox-ose 4.0.8 fails

From: Ben Ellis <benalexanders_at_gmail.com>
Date: Tue, 26 Jul 2011 22:00:30 +1000
> On Saturday 25 June 2011 10:28 am, Bernhard Froehlich wrote:
>> On Fri, 24 Jun 2011 16:11:27 -0400, Jung-uk Kim wrote:
>> > On Friday 24 June 2011 02:58 pm, George Kontostanos wrote:
>> >> On Fri, Jun 24, 2011 at 9:51 PM, Jung-uk Kim <jkim at freebsd.org>
>> >
>> > wrote:
>> >> >> Any ideas regarding the virtualbox itself ?
>> >> >
>> >> > I am rebuilding world/kernel now. �After that, I'll rebuild
>> >> > virtualbox-ose and try to fix it unless someone beat me to it.
>> >> >
>> >> > :-)
>> >> >
>> >> > Jung-uk Kim
>> >>
>> >> Brilliant !!!
>> >
>> > Please try this patch:
>> >
>> > http://people.freebsd.org/~jkim/patch-src-VBox-Main-src-server-fr
>> >eebsd-HostHardwareFreeBSD.cpp
>> >
>> > Just drop this in ports/emulators/virtualbox-ose/files and
>> > rebuild.
>>
>> Thanks a lot, they look good. Do you agree that those two patches
>> are licensed under MIT License so that i can push them upstream?
>
> Yes, of course.  Please feel free.

Hi guys,

I am still having this issue building virtualbox on freebsd-current.

I initially had some errors with some lib32 files (crt*) but thought I
had over-come these issues.
The HostHardwareFreeBSD.cpp patch described above appears to have been
applied already, so I am at a loss as to what do next.

It's a fairly vanilla build, the main difference is that I used the
text installer to get a GUI-less build (for my headless machine).
For this reason, I have also excluded qt in the virtualbox-ose config.

As this is my first post on here, please allow me to overshare my
setup, as well as the actual error below:

Cheers


# uname -a
FreeBSD jupiter 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu May 12
15:34:46 UTC 2011
root_at_farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

# grep \= /usr/ports/emulators/virtualbox-ose/Makefile | head -2
PORTNAME=       virtualbox-ose
DISTVERSION=    4.0.12

# grep -v \# /var/db/ports/virtualbox-ose/options
_OPTIONS_READ=virtualbox-ose-4.0.12
WITHOUT_QT4=true
WITHOUT_DEBUG=true
WITH_GUESTADDITIONS=true
WITH_DBUS=true
WITHOUT_PULSEAUDIO=true
WITHOUT_X11=true
WITH_VDE=true
WITH_VNC=true
WITHOUT_WEBSERVICE=true
WITHOUT_NLS=true

# And the final stage of the build...
kBuild: Pass - Programs
kBuild: Compiling VBoxSVC -
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp
kBuild: Compiling VBoxSVC -
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/PerformanceFreeBSD.cpp
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:
In function 'int getDVDInfoFromCAM(DriveInfoList*, bool*)':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:195:
error: 'struct device_match_pattern' has no member named 'data'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:196:
error: 'struct device_match_pattern' has no member named 'data'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:197:
error: 'struct device_match_pattern' has no member named 'data'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:198:
error: 'struct device_match_pattern' has no member named 'data'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:199:
error: 'struct device_match_pattern' has no member named 'data'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp:253:
warning: invalid conversion from 'int' to 'periph_pattern_flags'
kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o]
Error 1
The failing command:
_at_c++ -c -O2 -g -pipe -Wshadow  -Wno-long-long -Wno-variadic-macros
-Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar
-fpermissive -fexceptions -frtti -O2 -mtune=generic
-fno-omit-frame-pointer -fno-strict-aliasing
-fvisibility-inlines-hidden -fvisibility=hidden
-DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -g -pipe
-Wshadow -Wno-long-long -Wno-variadic-macros -Wno-long-long
-Wno-non-virtual-dtor -Wshadow -fshort-wchar -fpermissive -fexceptions
-frtti -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing
-fvisibility-inlines-hidden -fvisibility=hidden
-DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m64
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/include
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxSVC
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/Main/
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main
-I/usr/include -I/usr/X11R6/include -I/usr/local/include
-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/xpcom
-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/nsprpub
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd
-I/usr/local/include/libpng
-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__ -DIN_RING3
-DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_MAIN_SETTINGS_ADDONS
-DIN_VMM_STATIC -DVBOX_WITH_SYS_V_IPC_SESSION_WATCHER
-DVBOX_WITH_RAW_MODE -DVBOX_WITH_NETFLT -DVBOX_WITH_GUEST_PROPS
-DVBOX_WITH_GUEST_CONTROL -DVBOX_WITH_HOSTNETIF_API -DVBOX_WITH_VDE
-DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_WITH_HEADLESS -DVBOX_WITH_HGCM
-DVBOX_WITH_ALSA -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_AHCI
-DVBOX_WITH_LSILOGIC -DVBOX_WITH_RESOURCE_USAGE_API
-DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_EXTPACK -DVBOX_WITH_VUSB
-DVBOX_WITH_S3 -DVBOX_WITH_USB -DVBOX_WITH_EHCI
-DVBOX_WITH_NEW_USB_CODE_ON_DARWIN -DVBOX_WITH_HOSTNETIF_API
-DVBOX_USE_LIBHAL
-Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o.dep
-Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o
-Wp,-MP -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/out/freebsd.amd64/release/obj/VBoxSVC/src-server/freebsd/HostHardwareFreeBSD.o
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.0.12_OSE/src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.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.
Received on Tue Jul 26 2011 - 10:29:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC