From owner-freebsd-ports-bugs@freebsd.org Fri Dec 27 11:10:22 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 893F81EA623 for ; Fri, 27 Dec 2019 11:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47kkdB39kgz404M for ; Fri, 27 Dec 2019 11:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6B1261EA621; Fri, 27 Dec 2019 11:10:22 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6AD511EA620 for ; Fri, 27 Dec 2019 11:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47kkdB2F5zz404J for ; Fri, 27 Dec 2019 11:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 486A6FF22 for ; Fri, 27 Dec 2019 11:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBRBAMHB060364 for ; Fri, 27 Dec 2019 11:10:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBRBAMMw060363 for ports-bugs@FreeBSD.org; Fri, 27 Dec 2019 11:10:22 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: ports-bugs@FreeBSD.org Subject: [Bug 242905] misc/qtchooser symlinks break users tools and qt5 deps Date: Fri, 27 Dec 2019 11:10:21 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grarpamp@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 11:10:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242905 Bug ID: 242905 Summary: misc/qtchooser symlinks break users tools and qt5 deps Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: grarpamp@gmail.com Assignee: kde@FreeBSD.org CC: Flags: maintainer-feedback?(kde@FreeBSD.org) qtchooser seems to be less than ideal model... It installs a bunch of symlinks that confuse users other apps/tools into thinking that the particular symlinked binary/module exists or may do something useful, when in fact it does not. That causes variety of problems with those apps... commonly configure builders detecting optional things, etc. Repeat: Install qtchooser... ls /usr/local/lib/qt?/bin Diff that list to all the qtchooser symlinks in... ls -l /usr/local/bin | grep qtchooser Pick and exec any unneeded or not present app from there and see the confus= ion ensue... qmake: could not exec '/usr/local/lib/qt5/bin/qmake': No such file or direc= tory moc: could not exec '/usr/local/lib/qt5/bin/moc': No such file or directory etc... Fix options: 1) qtchooser should not install any symlinks at all. Instead, whatever ports that want to use qtchooser should install themselves into their respective /usr/local/lib/qt hiers, then install their own respective symlinks to qtchooser in /usr/local/bin, and then depend on qtchooser (now just offering its bin and config). 2) qtchooser could be deprecated from the dependency list of all current ports since qt4 is gone... only qt5 exists. 3) Force users to manually install and maintain a bunch of unneeded ports, dependencies, qt modules... just to satisfy qtchooser's symlinks. This can cause more problems when those ports get out of date, conflict, etc. This option seems not an elegant minimal prospect. 4) The qt5 meta port should probably be made available as a package anyway. This might make pulling in (3) above easier. ?) ? --=20 You are receiving this mail because: You are the assignee for the bug.=