From owner-freebsd-multimedia@freebsd.org Fri Jul 13 16:38:21 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81C951043486 for ; Fri, 13 Jul 2018 16:38:21 +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 3D0CD8DD9E for ; Fri, 13 Jul 2018 16:38:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F1D78104347D; Fri, 13 Jul 2018 16:38:20 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E042D104347C for ; Fri, 13 Jul 2018 16:38:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D90F8DD98 for ; Fri, 13 Jul 2018 16:38:20 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CA3A2E62A for ; Fri, 13 Jul 2018 16:38:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6DGcJjY023022 for ; Fri, 13 Jul 2018 16:38:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6DGcJPB023021 for multimedia@FreeBSD.org; Fri, 13 Jul 2018 16:38:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-feedback requested: [Bug 229759] multimedia/vlc-qt4 fails to build, when qt5 is also installed Date: Fri, 13 Jul 2018 16:38:19 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@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-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 16:38:21 -0000 Bugzilla Automation has asked freebsd-multimedia mai= ling list for maintainer-feedback: Bug 229759: multimedia/vlc-qt4 fails to build, when qt5 is also installed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229759 --- Description --- Attempting to build vlc-qt4 kept failing with cpp-errors (this file was generated with moc-5....) until I modified qt.mk as below to explicitly add= MOC to the environment bypassing the qtchooser: --- Uses/qt.mk (revision 474594) +++ Uses/qt.mk (working copy) @@ -118,8 +118,8 @@ . endfor # Pass the chosen Qt version to the environment for qtchooser. -CONFIGURE_ENV+=3D QT_SELECT=3D${_QT_RELNAME} -MAKE_ENV+=3D QT_SELECT=3D${_QT_RELNAME} +CONFIGURE_ENV+=3D QT_SELECT=3D${_QT_RELNAME} MOC=3D${MOC:Q} +MAKE_ENV+=3D QT_SELECT=3D${_QT_RELNAME} MOC=3D${MOC:Q} # Make sure both the installed mkspecs as well as the ones being built are # found, with the ones from the port being built having preference. Other ports using moc (or anything else backed by qtchooser) may be affected too -- this is not something, that would show up in a pristine build...