Bug 273793

Summary: audio/musescore version 4.0.1 fails to launch
Product: Ports & Packages Reporter: Keith White <kwhite.uottawa>
Component: Individual Port(s)Assignee: Adriaan de Groot <adridg>
Status: Closed FIXED    
Severity: Affects Only Me CC: grahamperrin, larshenrikoern
Priority: --- Flags: bugzilla: maintainer-feedback? (adridg)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
More details
none
Add quickcontrols as a dependency
none
Bump to 4.1.1
none
alsa-plugins also required
none
poudriere hook for a musescore testing environment none

Description Keith White 2023-09-14 18:38:55 UTC
Created attachment 244849 [details]
More details

musescore 4.0.1 as installed from packages on FreeBSD 14.0-BETA1 displays the "Loading..." splash screen then terminates with a "__cxa_thread_call_dtors: dtr 0x832e3dd70 from unloaded dso, skipping".

Installed in a bhyve VM constructed from a fresh 14.0-BETA1 download.
Comment 1 Keith White 2023-09-16 23:30:50 UTC
Created attachment 244945 [details]
Add quickcontrols as a dependency
Comment 2 Keith White 2023-09-16 23:31:47 UTC
Adding the qt5-quickcontrols package ("pkg add qt5-quickcontrols") allows musescore to work.  Perhaps it's needed as a dependency?
Comment 3 Keith White 2023-09-17 11:48:22 UTC
Created attachment 244964 [details]
Bump to 4.1.1

"While you're at it."

o bump version to 4.1.1
o make a "release" build rather than "dev"
o add qt5-quickcontrols as a dependency

Tested on CURRENT with musescore as only installed package.
Comment 4 Keith White 2023-09-17 15:12:03 UTC
Created attachment 244975 [details]
alsa-plugins also required

"While you're at it."

o bump version to 4.1.1
o make a "release" build rather than "dev"
o add qt5-quickcontrols and alsa-plugins as dependencies

Tested on CURRENT with musescore as only installed package ("poudriere bulk -i ... audio/musescore")
Comment 5 Keith White 2023-09-17 15:16:57 UTC
Created attachment 244976 [details]
poudriere hook for a musescore testing environment

A sample /usr/local/etc/poudriere.d/hooks/jail.sh to allow connections to X display and sound for musescore testing in a "poudriere bulk -i ... audio/musescore" environment.
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-09-18 20:25:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5ce69fb0a1946750851a8b421187175cc6d4e63

commit f5ce69fb0a1946750851a8b421187175cc6d4e63
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-09-18 20:16:12 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-09-18 20:24:13 +0000

    audio/musescore: update to 4.1.1, latest upstream

    Update to 4.1.1 and repair some dependencies.

    PR:             273793
    Reported by:    Keith White
    Provided by:    Keith White

 audio/musescore/Makefile                         |  5 +++--
 audio/musescore/distinfo                         |  6 +++---
 audio/musescore/files/patch-CMakeLists.txt (new) | 11 +++++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)
Comment 7 Adriaan de Groot freebsd_committer freebsd_triage 2023-09-19 13:12:06 UTC
All added, thanks! (I must admit I use musescore only very sporadically, and only install it in a full KDE Plasma session, so I don't notice if there are missing runtime dependencies because KDE has probably already pulled them in).
Comment 8 Lars Henrik Ørn 2023-09-19 21:16:00 UTC
Hurayy

Musescore is working again. But without an entry in the menu. Does also crash from time to time when loading soundfonts. But this is maybe not a freebsd problem.

Thank you for your work on this.