Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2019 11:10:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242905] misc/qtchooser symlinks break users tools and qt5 deps
Message-ID:  <bug-242905-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242905-7788>