Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76875 - [musescore] openssl-1.1 dependency not actually used

Attached to Project: Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Sunday, 18 December 2022, 16:30 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 21 December 2022, 17:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

As far as I can see, libssl.so.1.1 is only used by /usr/bin/crashpad_handler (it's a prebuilt program from Google, so it links older openssl). That program is in turn only used when musescore is built with `-DBUILD_CRASHPAD_CLIENT=ON` [1]. As the PKGBUILD specifies `-DBUILD_CRASHPAD_CLIENT=OFF`, libssl.so.1.1 is not actually used.

Ideally, upstream CMakeLists.txt should not install /usr/bin/crashpad_handler when `-DBUILD_CRASHPAD_CLIENT=OFF` is specified. There is an ongoing pull request including that change [2]. Before upstream properly handles that, I propose to add a line `rm -f "${pkgdir}"/usr/bin/crashpad_handler` and remove libssl.so and libcrypto.so from depends.

PKGBUILD with proposed changes is attached below.

Additional info:

[1] https://github.com/musescore/MuseScore/blob/v4.0/src/diagnostics/diagnosticsmodule.cpp#L119-L148
[2] https://github.com/musescore/MuseScore/pull/11215

Steps to reproduce:
   PKGBUILD (1.6 KiB)
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Wednesday, 21 December 2022, 17:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.0-2

Loading...