emulators/virtualbox-ose failing to build, 8.2-p9 on amd64

Bernhard Fröhlich decke at bluelife.at
Sun Jan 6 07:48:25 UTC 2013


Looks like your libsdl version is either very old or too new. Could you
please check which libsdl version you have installed?
Am 06.01.2013 03:10 schrieb "Matthew Pounsett" <matt at conundrum.com>:

>
> I'm having a problem getting virtualbox to build on an 8.2-R-p9 box.  The
> compile is failing with the below pasted error.  I've made sure that all of
> the ports that virtualbox depends upon are up to date.
>
> > uname -a
> FreeBSD masked.com 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #0: Mon Jun 11
> 23:00:11 UTC 2012     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>  amd64
>
> My make.conf is simple:
>
> MAKEFLAGS="-j3"
> WITH_APACHE2="yes"
> # added by use.perl 2012-12-04 17:16:34
> PERL_VERSION=5.14.2
>
> I have tried commenting out the MAKEFLAGS entry and recompiling, but that
> doesn't help.    Does anyone have thoughts on what the problem is, or
> suggestions for troubleshooting?
>
> Thanks in advance.
>
>
>
> kBuild: Compiling VBoxSDL -
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:
> In member function 'virtual nsresult
> VBoxSDLConsoleEventListener::HandleEvent(PRUint32, IEvent*)':
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:543:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:
> In function 'int TrustedMain(int, char**, char**)':
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2069:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2074:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2865:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2880:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:
> In function 'uint16_t Keyevent2Keycode(const SDL_KeyboardEvent*)':
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:3351:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:
> In function 'void SetPointerShape(const PointerShapeChangeData*)':
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:4596:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:4615:
> error: 'struct SDL_SysWMinfo' has no member named 'info'
> kmk: ***
> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxSDL/VBoxSDL.o]
> Error 1
> The failing command:
> @g++ -c -O2 -fPIC -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.2.6/out/freebsd.amd64/release/obj/VBoxSDL
> -I/usr/include -I/usr/X11R6/include -I/usr/local/include
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom
> -I/usr/
>  ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd
> -I/usr/local/include/SDL -I/usr/local/include
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/include
> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release
> -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS
> -DVBOX_WITH_HARDENING -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64
> -D__AMD64__ -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\" -DPIC -DIN_RING3
> -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DNDEBUG -DTRIMMED
> -DVBOXSDL_WITH_X11
> -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/rel
>  ease/obj/VBoxSDL/VBoxSDL.o.dep
> -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxSDL/VBoxSDL.o
> -Wp,-MP -o
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/out/freebsd.amd64/release/obj/VBoxSDL/VBoxSDL.o
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.6/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
> *** Error code 2
>
> Stop in /usr/ports/emulators/virtualbox-ose.
> *** Error code 1
>
> Stop in /usr/ports/emulators/virtualbox-ose.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20130106-59264-19zwy0f-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=virtualbox-ose-4.1.16_1 UPGRADE_PORT_VER=4.1.16_1 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! emulators/virtualbox-ose (virtualbox-ose-4.1.16_1)    (bad C++
> code)
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list