Date: Sun, 19 Feb 2017 22:37:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217240] emulators/virtualbox-ose fails to build when kbuild looks for moc-qt4 Message-ID: <bug-217240-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217240 Bug ID: 217240 Summary: emulators/virtualbox-ose fails to build when kbuild looks for moc-qt4 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: russo@bogodyn.org Assignee: vbox@FreeBSD.org Flags: maintainer-feedback?(vbox@FreeBSD.org) 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/VBoxDbgGui.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/release/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/release/obj/VBoxDbg/qtmoc/VBoxDbgGui.tmp.cpp /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/src/VBox/Debugge= r/VBoxDbgGui.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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217240-13>