Bug 2183757 - qt6-qtbase missing zstd support
Summary: qt6-qtbase missing zstd support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt6-qtbase
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Grulich
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-01 19:35 UTC by Thomas Crider
Modified: 2023-04-15 02:04 UTC (History)
2 users (show)

Fixed In Version: qt6-qtbase-6.4.3-2.fc37 qt6-qtbase-6.4.3-2.fc38
Clone Of:
Environment:
Last Closed: 2023-04-06 01:54:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thomas Crider 2023-04-01 19:35:39 UTC
Description of problem:

The version of qt6-qtbase shipped with Fedora is missing zstd support. 

error: os_dlopen(/usr//lib64/obs-plugins/tuna.so->/usr//lib64/obs-plugins/tuna.so): /usr//lib64/obs-plugins/tuna.so: undefined symbol: qt_resourceFeatureZstd, version Qt_6

Support can be easily added by adding these to the rpm spec sheet:


BuildRequires: libzstd-devel

 -DQT_FEATURE_zstd=ON \

Version-Release number of selected component (if applicable):

6.4.2-5

How reproducible:

There is an obs-studio plugin called Tuna which is designed to fetch music player data. The developer only releases it in .deb package on linux, so a user in my community tried extracting the deb to OBS's plugins folder(s). When they tried to run OBS it failed to load the plugin with the following error:

error: os_dlopen(/usr//lib64/obs-plugins/tuna.so->/usr//lib64/obs-plugins/tuna.so): /usr//lib64/obs-plugins/tuna.so: undefined symbol: qt_resourceFeatureZstd, version Qt_6

Other community members also confirmed extracting the deb works in both Arch and on the OBS flatpak.

While I understand the proper method would be to recompile the plugin on Fedora, extracting a .deb package is a common user-end practice when trying to get something to work (even if it is very wrong), so it's understandable how they would hit this issue.

I see no reason why zstd support should not be added to qt6-qtbase, especially since we already also ship the required libzstd package.


Steps to Reproduce:
1. Install obs studio from rpm-fusion
2. Download the Tuna plugin .deb package:

https://obsproject.com/forum/resources/tuna.843/


3. Extract the data to /usr/lib64/obs-plugins/ and /usr/share/obs/obs-plugins/ respectively.

4. Launch OBS in a terminal and monitor the output for the failure:

error: os_dlopen(/usr//lib64/obs-plugins/tuna.so->/usr//lib64/obs-plugins/tuna.so): /usr//lib64/obs-plugins/tuna.so: undefined symbol: qt_resourceFeatureZstd, version Qt_6

Actual results:

error: os_dlopen(/usr//lib64/obs-plugins/tuna.so->/usr//lib64/obs-plugins/tuna.so): /usr//lib64/obs-plugins/tuna.so: undefined symbol: qt_resourceFeatureZstd, version Qt_6

Expected results:

info: [tuna] Loading v1.9.5-HEAD-9bfbe6a (build time 2023.03.10 23:17). Qt version: compile-time: 6.2.4, run-time: 6.4.2. libobs: compile-time: 28.0.0, run-time: 29.1.0


Additional info:

I've validated on my local build that correcting this in qt6-qtbase resolves the issue.

Comment 1 Fedora Update System 2023-04-03 06:42:14 UTC
FEDORA-2023-df6ebcfac2 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-df6ebcfac2

Comment 2 Fedora Update System 2023-04-03 13:31:25 UTC
FEDORA-2023-8da9d4f21e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8da9d4f21e

Comment 3 Fedora Update System 2023-04-04 02:16:40 UTC
FEDORA-2023-df6ebcfac2 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-df6ebcfac2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-04-04 02:37:41 UTC
FEDORA-2023-8da9d4f21e has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8da9d4f21e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8da9d4f21e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-04-06 01:54:23 UTC
FEDORA-2023-8da9d4f21e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-04-15 02:04:56 UTC
FEDORA-2023-df6ebcfac2 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.