Date: Sun, 19 Feb 2017 22:37:10 +0000 From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: maintainer-feedback requested: [Bug 217240] emulators/virtualbox-ose fails to build when kbuild looks for moc-qt4 Message-ID: <bug-217240-26505-iihQAPCA4B@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-217240-26505@https.bugs.freebsd.org/bugzilla/> References: <bug-217240-26505@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
russo@bogodyn.org has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>= 's request for maintainer-feedback to vbox@FreeBSD.org: Bug 217240: emulators/virtualbox-ose fails to build when kbuild looks for moc-qt4 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217240 --- Description --- A recent update to ports updated qt4 ports to stop them from installing directly to /usr/local/bin, and to stop appending "-qt4" to their names. N= ow, one selects which Qt version using qtchooser. This appears to have broken virtualbox-ose building. Now, compilation abor= ts well into the process with this error: kBuild: moc VBoxDbg - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Debugge= r/VB oxDbgGui.h kmk: /usr/local/lib/qt4/bin/moc-qt4: Command not found kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.amd= 64/r elease/obj/VBoxDbg/qtmoc/VBoxDbgGui.tmp.cpp] Error 127 The failing command: @/usr/local/lib/qt4/bin/moc-qt4=20 -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Debug= ger -I/usr/local/include -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/bin/sdk/bindings/xpcom/include -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/bin/sdk/bindings/xpcom/include/xpcom -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/bin/sdk/bindings/xpcom/include/string -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/bin/sdk/bindings/xpcom/include/xpcom -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/bin/sdk/bindings/xpcom/include/nsprpub -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/bin/sdk/bindings/xpcom/include/ipcd -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/obj/VBoxDbg/qtmoc -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release/obj/VBoxDbg/qtuic -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/include -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.am= d64/ release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD6= 4__ -DPIC -DIN_RING3 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DHAVE_CONFI= G_H -DHC_ARCH_BITS=3D64 -DGC_ARCH_BITS=3D64 -DVBOX_WITH_XPCOM -DIN_DBG_R3 -DVBOXDBG_USE_QT4 -DQT_CORE_LIB -DQT_GUI_LIB -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/out/freebsd.amd6= 4/re lease/obj/VBoxDbg/qtmoc/VBoxDbgGui.tmp.cpp /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Debugge= r/VB oxDbgGui.h So clearly there's something amiss, because it should not be looking for moc-qt4 in /usr/local/lib/qt4/bin, but just "moc" I have tried force-reinstalling kBuild to no avail. The only thing that was able to get me back to being able to buil VirtualBox was by hamfistedly symlinking /usr/local/lib/qt4/bin/moc-qt4 to moc, so that kmk could find it. I'm not sure if this is an issue with kBuild or VirtualBox.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217240-26505-iihQAPCA4B>