Bug 2148732

Summary: The update to Qt6 6.4.1 breaks Stellarium
Product: [Fedora] Fedora Reporter: Roger Noble <rgnoble>
Component: stellariumAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: alekcejk, bruce, chipmand, gwync, jgrulich, jochen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: stellarium-1.1-3.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-05 07:15:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2150372    
Bug Blocks:    

Description Roger Noble 2022-11-27 15:37:16 UTC
Description of problem:
Stellarium will no longer start following updating Qt6 to version 6.4.1.


Version-Release number of selected component (if applicable):
Stellarium 1.1-1
Qt6 6.4.1


How reproducible:
Always

Steps to Reproduce:
1. Update Qt6 to version 6.4.1
2. Try to start Stellarium
3.

Actual results:
Stellarium does not start:

could not load multimedia backend ""
QtMultimedia is not currently supported on this platform or compiler.
Aborted (core dumped)

Expected results:
Stellarium to run.

Additional info:
Downgrading to Qt6 6.3.1 fixes the problem.
This is all on Wayland.

Comment 1 David C. Chipman 2022-11-28 20:23:30 UTC
I just fixed the bug by rebuilding the package from the Source RPM. I hope this helps.

Comment 2 Fedora Update System 2022-11-28 22:11:46 UTC
FEDORA-2022-0d74712062 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0d74712062

Comment 3 Fedora Update System 2022-11-29 02:31:46 UTC
FEDORA-2022-0d74712062 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-2022-0d74712062`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0d74712062

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

Comment 4 Roger Noble 2022-11-29 10:38:38 UTC
Unfortunately the same problem remains with 1.1-2.

As in comment 1, if I rebuild it from the source rpm for 1.1-1 then it works.

Comment 5 Roger Noble 2022-11-29 11:58:49 UTC
Here's an oddity. I tried copying the working rpm I'd build on my desktop (AMD GPU) onto my laptop (Intel graphics) and after installing it on the laptop stellarium failed as above. So I copied the source rpm over and built it on the laptop. After installing the resultant binary rpm stellarium now works. Is there something configuration dependent going on here?

Comment 6 Fedora Update System 2022-11-30 18:08:16 UTC
FEDORA-2022-f315450bc0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f315450bc0

Comment 7 Roger Noble 2022-11-30 20:32:11 UTC
The 1.1-3 build fixes it for me. Thanks.

Comment 8 Fedora Update System 2022-12-01 01:34:10 UTC
FEDORA-2022-f315450bc0 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-2022-f315450bc0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f315450bc0

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

Comment 9 nucleo 2022-12-02 13:56:48 UTC
It works if qt6-qtmultimedia-devel installed but qt6-qtmultimedia-devel also installs a lot of -devel packages, so requiring it is not a good idea.

Comment 10 Gwyn Ciesla 2022-12-02 17:10:10 UTC
That's puzzling, because it looks like all the rpm requires are correct. When you remove -devel, can you paste the output of a run here?

Comment 11 nucleo 2022-12-02 18:30:49 UTC
When qt6-qtmultimedia-devel-6.4.1-1.fc37.x86_64 is not installed

$ stellarium
QApplication: invalid style override 'Breeze' passed, ignoring it.
        Available styles: Windows, Fusion
could not load multimedia backend ""
QtMultimedia is not currently supported on this platform or compiler.
Aborted (core dumped)


When qt6-qtmultimedia-devel-6.4.1-1.fc37.x86_64 is installed

$ stellarium
QApplication: invalid style override 'Breeze' passed, ignoring it.
        Available styles: Windows, Fusion
Error in Asterism  "TA6" : can't find star with coordinates 2.14697 / 8.55097
ERROR reading asterism lines record at line  88 for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
/builddir/build/BUILD/stellarium-1.1/src/StelMainView.cpp:940: OpenGL context changed, fixing!

Comment 12 nucleo 2022-12-02 18:37:28 UTC
lsof shows that stellarium opens /usr/lib64/qt6/plugins/multimedia/libgstreamermediaplugin.so which is in qt6-qtmultimedia-devel-6.4.1-1.fc37.x86_64

Comment 13 Gwyn Ciesla 2022-12-02 19:09:30 UTC
Thanks!

Comment 14 Jan Grulich 2022-12-05 07:15:25 UTC

*** This bug has been marked as a duplicate of bug 2150231 ***

Comment 15 Fedora Update System 2022-12-09 01:31:03 UTC
FEDORA-2022-f315450bc0 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.