When trying to launch Musescore 4 it crashes. If you try to launch it from the terminal you will find the error: ``` QEventLoop: Cannot be used without QApplication QEventLoop: Cannot be used without QApplication 11:57:21.064 | INFO | main_thread | GlobalModule | onPreInit: log path: /home/USERNAME/.local/share/MuseScore/MuseScore4/logs/MuseScore_230625_115721.log 11:57:21.064 | INFO | main_thread | GlobalModule | onPreInit: === Started MuseScore 4.0.2, build number === 11:57:21.184 | WARN | main_thread | DiagnosticsModule | onInit: crash handling disabled 11:57:21.185 | DEBUG | main_thread | ShortcutsRegister | expandStandardKeys: removed 5 shortcut, because they are not bound to standard key 11:57:21.185 | DEBUG | main_thread | ShortcutsRegister | expandStandardKeys: added 3 shortcut, because they are alternative shortcuts for the given standard keys 11:57:21.187 | DEBUG | main_thread | ShortcutsRegister | expandStandardKeys: removed 176 shortcut, because they are not bound to standard key 11:57:21.211 | DEBUG | main_thread | LinuxAudioDriver | open: Connected to default 11:57:21.254 | ERROR | main_thread | EngravingModule | onInit: Fatal error: cannot load internal font :/fonts/musejazz/MuseJazzText.otf ``` Reproducible: Always Steps to Reproduce: 1. Launch Musescore 4 (via terminal) Actual Results: It segfaulted with the error provided in `Description`. Expected Results: I expect it to be able to load the font and launch properly. I chose severity `Critical` since that description contains "crashing", however it should be noted that Musescore is not a system-critical program, so the actual severity of this is quite low. It should also be noted that the official AppImage works. I have also tried re-emerging Musescore, but the issue persisted. I believe the error is caused by the font in question not being properly "compiled in"/included in to the binary. I don't yet know if this is an issue with the ebuild for Musescore or with Musescore itself. I, however, can't find this issue listed in Musescore's bug tracker.
Created attachment 864590 [details] Ouput of `emerge --info musescore`
I just finished compiling Musescore directly from the upstream source. There it works as expected. I compiled created a `build_overrides.cmake` as per their (Musescore's) instructions: ``` set(ENV{QTDIR} "/usr/lib64/qt5/") # or wherever Qt is located ``` And then ran: ``` ./build.cmake -G Ninja ./build.cmake -G Ninja run ``` And the application launched as expected. This makes me believe there's an issue with the ebuild. I will try to look more into it later...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca909496214ef0f4b7bc78eee1876100fc61caf commit 8ca909496214ef0f4b7bc78eee1876100fc61caf Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2024-08-04 11:15:47 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-08-04 11:16:04 +0000 media-sound/musescore: dropped obsolete 4.0.2-r1 Closes: https://bugs.gentoo.org/922327 Closes: https://bugs.gentoo.org/922098 Closes: https://bugs.gentoo.org/921963 Closes: https://bugs.gentoo.org/909150 Closes: https://bugs.gentoo.org/908480 Closes: https://bugs.gentoo.org/908481 Closes: https://bugs.gentoo.org/908482 Closes: https://bugs.gentoo.org/907956 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-sound/musescore/Manifest | 1 - .../files/musescore-4.0.2-unbundle-deps.patch | 121 ------------------ .../musescore-4.0.2-uncompressed-man-pages.patch | 29 ----- media-sound/musescore/musescore-4.0.2-r1.ebuild | 139 --------------------- 4 files changed, 290 deletions(-)