[Bug 268652] Qt5: Some apps fails to start after upgrading to 5.15.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Jan 2023 09:09:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

--- Comment #31 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Tatsuki Makino from comment #30)

Found code that sets XDG_RUNTIME_DIR in ~/.xinitrc, but the value was
different, so it should be overridden. And no such variable set on vty, which
invoked startx.

Confirmed there's no qt.conf under /usr/local/.

# bfs /usr/local/ -name "qt*.conf"
#

To be sure,
 rebuilt qt5-qmake,
 qt5-gui,
 then qt5-*
as you pointed, rebooted, without luck.

% env QT_DEBUG_PLUGINS=1 vlc
VLC media player 3.0.18 Vetinari (revision fb4ef23dde67)
[0000000828a7a060] main libvlc: vlcはデフォルトのインターフェースで実行しています。インターフェースのない vlc
を使用するには'cvlc'を使用してください。
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/platforms" ...
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.

zsh: abort (core dumped)  env QT_DEBUG_PLUGINS=1 vlc
% lldb --core ~/vlc.core --file /usr/local/bin/vlc
(lldb) target create "/usr/local/bin/vlc" --core "/home/junchoon/vlc.core"
Core file '/home/junchoon/vlc.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'vlc', stop reason = signal SIGABRT
  * frame #0: 0x00000008216966fa libc.so.7`__sys_thr_kill + 10
    frame #1: 0x000000082160b624 libc.so.7`__raise + 52
    frame #2: 0x00000008216c161c libc.so.7`abort + 76
    frame #3: 0x0000000869467679 libQt5Core.so.5`___lldb_unnamed_symbol7134 + 9
    frame #4: 0x000000086946c1e2 libQt5Core.so.5`QMessageLogger::fatal(char
const*, ...) const + 216
    frame #5: 0x0000000867746d49
libQt5Gui.so.5`QGuiApplicationPrivate::createPlatformIntegration() + 6681
    frame #6: 0x0000000867746d70
libQt5Gui.so.5`QGuiApplicationPrivate::createEventDispatcher() + 32
    frame #7: 0x00000008696353a6
libQt5Core.so.5`QCoreApplicationPrivate::init() + 1510
    frame #8: 0x000000086774136a libQt5Gui.so.5`QGuiApplicationPrivate::init()
+ 42
    frame #9: 0x0000000866c97dde libQt5Widgets.so.5`QApplicationPrivate::init()
+ 14
    frame #10: 0x00000008644beaf0 libqt_plugin.so`___lldb_unnamed_symbol4088 +
208
    frame #11: 0x00000008644be9b6 libqt_plugin.so`___lldb_unnamed_symbol4086 +
38
    frame #12: 0x00000008213da9ae libthr.so.3`___lldb_unnamed_symbol556 + 318
(lldb)


Note that the symlink I've mentioned on Comment 23 is already removed.

As www/qt5-webkit is installed as an dependency, rebuilding qt5-* requires a
fair amount of time, so the turn-around time to answer becomes long.

-- 
You are receiving this mail because:
You are on the CC list for the bug.