[Bug 268652] Qt5: Some apps fails to start after upgrading to 5.15.8
Date: Tue, 10 Oct 2023 01:42:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652 --- Comment #75 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- Created attachment 245540 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245540&action=edit unified diff of `grep / truss.log | grep -v ^poll` (In reply to Tatsuki Makino from comment #74) The difference between "pkg_replace -B -a" and "pkg_replace -B -u -a". If -u was not used, the following files are backed up in /u*/l*/lib/compat/pkg. Attached is a truss log that varies with and without the following set of files. ^- is when there is a backup of the old library and ^\+ is when there is no backup. Are the next two lines worth noting? -access("/usr/local/lib/lib/qt5/plugins",F_OK) ERR#2 'No such file or directory' +access("/usr/local/lib/qt5/plugins",F_OK) = 0 (0x0) I guess this is a relative path following ../../lib/qt5 from dirname of libQt5*.so*. It seems that the failure of this has not even resulted in the subsequent loading of the plugin. It would then display "qt.qpa.plugin: Could not find the Qt platform plugin ...". In the case of audacious, of the libraries that may contain code for this, the file it is trying to load is /usr/local/lib/compat/pkg/libQt5Core.so.5, so removing it is the quickest solution. In the case of portmaster, it does not fundamentally back up the library unless -w is used. When the library is backed up using -w, the library of the same name is also deleted in the following area. https://github.com/freebsd/portmaster/blob/edb3fe64a9e1bd137045877e0981f49be1bf1a22/portmaster#L3893 ==== From here down, only a list of backed up file names is available. libQt5Core.so libQt5Core.so.5 libQt5Core.so.5.15 libQt5Core.so.5.15.8 libQt5DBus.so libQt5DBus.so.5 libQt5DBus.so.5.15 libQt5DBus.so.5.15.8 libQt5Gui.so libQt5Gui.so.5 libQt5Gui.so.5.15 libQt5Gui.so.5.15.8 libQt5Multimedia.so libQt5Multimedia.so.5 libQt5Multimedia.so.5.15 libQt5Multimedia.so.5.15.8 libQt5MultimediaGstTools.so libQt5MultimediaGstTools.so.5 libQt5MultimediaGstTools.so.5.15 libQt5MultimediaGstTools.so.5.15.8 libQt5MultimediaQuick.so libQt5MultimediaQuick.so.5 libQt5MultimediaQuick.so.5.15 libQt5MultimediaQuick.so.5.15.8 libQt5MultimediaWidgets.so libQt5MultimediaWidgets.so.5 libQt5MultimediaWidgets.so.5.15 libQt5MultimediaWidgets.so.5.15.8 libQt5Network.so libQt5Network.so.5 libQt5Network.so.5.15 libQt5Network.so.5.15.8 libQt5OpenGL.so libQt5OpenGL.so.5 libQt5OpenGL.so.5.15 libQt5OpenGL.so.5.15.8 libQt5Qml.so libQt5Qml.so.5 libQt5Qml.so.5.15 libQt5Qml.so.5.15.8 libQt5QmlModels.so libQt5QmlModels.so.5 libQt5QmlModels.so.5.15 libQt5QmlModels.so.5.15.8 libQt5QmlWorkerScript.so libQt5QmlWorkerScript.so.5 libQt5QmlWorkerScript.so.5.15 libQt5QmlWorkerScript.so.5.15.8 libQt5Quick.so libQt5Quick.so.5 libQt5Quick.so.5.15 libQt5Quick.so.5.15.8 libQt5QuickParticles.so libQt5QuickParticles.so.5 libQt5QuickParticles.so.5.15 libQt5QuickParticles.so.5.15.8 libQt5QuickShapes.so libQt5QuickShapes.so.5 libQt5QuickShapes.so.5.15 libQt5QuickShapes.so.5.15.8 libQt5QuickWidgets.so libQt5QuickWidgets.so.5 libQt5QuickWidgets.so.5.15 libQt5QuickWidgets.so.5.15.8 libQt5Sql.so libQt5Sql.so.5 libQt5Sql.so.5.15 libQt5Sql.so.5.15.8 libQt5Widgets.so libQt5Widgets.so.5 libQt5Widgets.so.5.15 libQt5Widgets.so.5.15.8 libQt5X11Extras.so libQt5X11Extras.so.5 libQt5X11Extras.so.5.15 libQt5X11Extras.so.5.15.8 libQt5XcbQpa.so libQt5XcbQpa.so.5 libQt5XcbQpa.so.5.15 libQt5XcbQpa.so.5.15.8 libcomposeplatforminputcontextplugin.so libdeclarative_audioengine.so libdeclarative_multimedia.so libgstaudiodecoder.so libgstcamerabin.so libgstmediacapture.so libgstmediaplayer.so libibusplatforminputcontextplugin.so liblabsanimationplugin.so liblabsmodelsplugin.so libmodelsplugin.so libparticlesplugin.so libqbsdfb.so libqbsdkeyboardplugin.so libqbsdmouseplugin.so libqevdevkeyboardplugin.so libqevdevmouseplugin.so libqevdevtabletplugin.so libqevdevtouchplugin.so libqgenericbearer.so libqgif.so libqico.so libqjpeg.so libqminimal.so libqmldbg_debugger.so libqmldbg_inspector.so libqmldbg_local.so libqmldbg_messages.so libqmldbg_native.so libqmldbg_nativedebugger.so libqmldbg_preview.so libqmldbg_profiler.so libqmldbg_quickprofiler.so libqmldbg_server.so libqmldbg_tcp.so libqmlfolderlistmodelplugin.so libqmllocalstorageplugin.so libqmlplugin.so libqmlsettingsplugin.so libqmlshapesplugin.so libqmlwavefrontmeshplugin.so libqoffscreen.so libqquicklayoutsplugin.so libqtaudio_alsa.so libqtmultimedia_m3u.so libqtqmlstatemachine.so libqtquick2plugin.so libqtuiotouchplugin.so libqvnc.so libqxcb-egl-integration.so libqxcb-glx-integration.so libqxcb.so libsharedimageplugin.so libwindowplugin.so libworkerscriptplugin.so -- You are receiving this mail because: You are on the CC list for the bug.