From owner-freebsd-multimedia@freebsd.org Fri Jul 13 16:38:22 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 39958104348E for ; Fri, 13 Jul 2018 16:38:22 +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 C04FF8DDA0 for ; Fri, 13 Jul 2018 16:38:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7A30B1043485; Fri, 13 Jul 2018 16:38:21 +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 57FBF1043482 for ; Fri, 13 Jul 2018 16:38:21 +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 19C888DD9C for ; Fri, 13 Jul 2018 16:38:21 +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 3A3CFE62C for ; Fri, 13 Jul 2018 16:38:20 +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 w6DGcK5n023046 for ; Fri, 13 Jul 2018 16:38:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6DGcKnH023045 for multimedia@FreeBSD.org; Fri, 13 Jul 2018 16:38:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 229759] multimedia/vlc-qt4 fails to build, when qt5 is also installed Date: Fri, 13 Jul 2018 16:38:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: mi@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229759 Bug ID: 229759 Summary: multimedia/vlc-qt4 fails to build, when qt5 is also installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: easy, patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: mi@FreeBSD.org CC: kde@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org 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... --=20 You are receiving this mail because: You are the assignee for the bug.=