Unable to build virtualbox-ose after latest round up updates

Kevin Oberman rkoberman at gmail.com
Sat Apr 25 21:22:16 UTC 2015


After doing all of the updates yesterday and today, mostly due to the icu
shareable version bump,  virtualbox no longer starts.It finds a symbol in a
library from qt4-gui missing.

I reinstalled qt4-gui and tried rebuilding virtualbox-ose, but the rebuild
fails with:
kBuild: Installing
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/bin/VMMGC.debug
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::hasPendingEvents()'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::versionSupported()'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::QEventDispatcherGlib(QEventDispatcherGlibPrivate&,
QObject*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::interrupt()'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::qt_metacall(QMetaObject::Call, int, void**)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::QEventDispatcherGlib(QObject*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::registerTimer(int, int, QObject*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::wakeUp()'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlibPrivate::runTimersOnceWithNormalPriority()'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::unregisterTimer(int)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::unregisterTimers(QObject*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::~QEventDispatcherGlib()'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::qt_metacast(char const*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::staticMetaObject'
/usr/local/lib/qt4/libQtGui.so: undefined reference to `typeinfo for
QEventDispatcherGlib'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::registeredTimers(QObject*) const'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier*)'
/usr/local/lib/qt4/libQtGui.so: undefined reference to
`QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)'
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
kmk: ***
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/obj/VBoxTestOGL/VBoxTestOGL]
Error 1
The failing command:
@c++                     -fPIC '-Wl,-rpath,/usr/local/lib/virtualbox'
-m64   -o
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/obj/VBoxTestOGL/VBoxTestOGL
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/obj/VBoxTestOGL/OpenGLTest/OpenGLTestApp.o
-L/usr/local  -L/usr/local/lib  -L/usr/local/lib/qt4
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/lib/VBoxOGLhostspuload.a
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/bin/VBoxOGLhostcrutil.so
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/lib/VBoxOGL2D.a
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/bin/VBoxRT.so
-lGL
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/bin/VBoxRT.so
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/lib/VBoxREM.so
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/bin/VBoxVMM.so
-lXcursor   -lXext   -lX11   -lm   -lpthread
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/lib/VBoxCOM.a
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.26/out/freebsd.amd64/release/bin/VBoxXPCOM.so
/usr/local/lib/qt4/libQtCore.so   /usr/local/lib/qt4/libQtGui.so
/usr/local/lib/qt4/libQtOpenGL.so
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
*** Error code 2

Any idea how to deal with this? Is anyone else seeing this?

Running 10-Stable r281259 with almost all ports up to date except chromium
(which should have nothing to do with this issue).

I really need to get my Windows 7 VM running again.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman at gmail.com


More information about the freebsd-emulation mailing list