Hey! After updating: mumble: 1.3.3_9 -> 1.5.517 mumble does not start: romain@zappy ~ % mumble <X>2023-08-11 12:41:13.274 Loading settings from legacy settings file "/home/romain/.config/Mumble/Mumble.conf" <F>2023-08-11 12:41:13.282 QWidget: Cannot create a QWidget without QApplication romain@zappy ~ % I tried to move my configuration away in case it helps but no success: romain@zappy ~ % mv ~/.config/Mumble{,.orig} romain@zappy ~ % mumble <F>2023-08-11 12:41:41.685 QWidget: Cannot create a QWidget without QApplication romain@zappy ~ %
I forgot to tell: this is using the "latest" packages on FreeBSD 13.2-RELEASE-p1 amd64.
Do you have plasma installed?
It worked when I committed it 2 weeks ago. Create upstream issue: https://github.com/mumble-voip/mumble/issues/6189
Hey! > Do you have plasma installed? No, I have no packages matching "plasma". In your PR (I guess you could reproduce the failure?) you list your qt5 packages, so here are mine in case something can be found there: ``` romain@zappy ~ % pkg info -q | grep qt5 qt5-assistant-5.15.8p1 qt5-concurrent-5.15.8p157 qt5-core-5.15.8p157_1 qt5-dbus-5.15.8p157 qt5-declarative-5.15.8p21 qt5-gui-5.15.8p157_2 qt5-help-5.15.8p1 qt5-l10n-5.15.8p0 qt5-linguist-5.15.8p1 qt5-linguisttools-5.15.8p1 qt5-multimedia-5.15.8p1 qt5-network-5.15.8p157 qt5-opengl-5.15.8p157 qt5-printsupport-5.15.8p157 qt5-quickcontrols2-5.15.8p7 qt5-sql-5.15.8p157 qt5-sqldrivers-sqlite3-5.15.8p157 qt5-svg-5.15.8p8 qt5-websockets-5.15.8p2 qt5-widgets-5.15.8p157 qt5-x11extras-5.15.8p0 qt5-xml-5.15.8p157 ``` I subscribed to the GitHub issue, the code looks to do the right thing at first glance, but I am not used to C++/QT and might be missing something. Maybe someone will be able to help us there. Thank you!
(In reply to Romain Tartière from comment #4) Yes, I got the same error. But it work fine several weeks ago. :-(
As a quick workaround, disabling the LTO option allows the application to run for me on CURRENT-amd64. I didn’t look into it much further than that, though.
(In reply to Jason E. Hale from comment #6) Good catch! Same here - without LTO work fine.
Tried build with devel/llvm15 - same error. I think better to turn off option LTO by default and mark it as broken. Check patch: https://reviews.freebsd.org/D41458
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=029a21588c8ff721a607c4d9ca159b8574a73513 commit 029a21588c8ff721a607c4d9ca159b8574a73513 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-08-15 12:40:56 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-08-15 12:40:56 +0000 audio/mumble: with LTO on "QWidget: Cannot create a QWidget without QApplication" With option LTO on mumble print "QWidget: Cannot create a QWidget without QApplication" in console and exit. Mark LTO as broken and turn off by default. Upstream issue: https://github.com/mumble-voip/mumble/issues/6189 PR: 273078 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D41458 audio/mumble/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Committed workaround. Thanks!
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=43c36a072a0b6371a3b6471fadb10cc782107b7c commit 43c36a072a0b6371a3b6471fadb10cc782107b7c Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-08-15 12:40:56 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-08-28 19:08:48 +0000 audio/mumble: with LTO on "QWidget: Cannot create a QWidget without QApplication" With option LTO on mumble print "QWidget: Cannot create a QWidget without QApplication" in console and exit. Mark LTO as broken and turn off by default. Upstream issue: https://github.com/mumble-voip/mumble/issues/6189 PR: 273078 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D41458 (cherry picked from commit 029a21588c8ff721a607c4d9ca159b8574a73513) audio/mumble/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)