From owner-freebsd-emulation@freebsd.org Sun Feb 19 22:37:12 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE852CE569A for ; Sun, 19 Feb 2017 22:37:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CF0FD1173 for ; Sun, 19 Feb 2017 22:37:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CB998CE5694; Sun, 19 Feb 2017 22:37:12 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB44FCE5693 for ; Sun, 19 Feb 2017 22:37:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A013D1170 for ; Sun, 19 Feb 2017 22:37:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id EBEC277DD; Sun, 19 Feb 2017 22:37:11 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A261077DB for ; Sun, 19 Feb 2017 22:37:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC498116D for ; Sun, 19 Feb 2017 22:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1JMbAX7008270 for ; Sun, 19 Feb 2017 22:37:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 Date: Sun, 19 Feb 2017 22:37:10 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 20 Feb 2017 00:26:09 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 22:37:13 -0000 russo@bogodyn.org has reassigned Bugzilla Automation = '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.