FS#75569 - [musescore] Build does not define Release mode correctly

Attached to Project: Community Packages
Opened by Jonathan (jonata) - Tuesday, 09 August 2022, 20:06 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 10 August 2022, 02:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Build does not disable debug asserts that crash the program.

Additional info:
* package version(s) - 3.6.2
After opening an issue at musescore bug tracker - it seems that the problem was with my build. Even though it is defined to use Release mode - it doesn't disable the asserts that crash the program.
https://musescore.org/en/node/332925#comment-1131561

I think they might have changed the build system and the PKGBUILD need to be updated but I'm not sure.

Steps to reproduce:
(see in the link above)
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 10 August 2022, 02:12 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75358 
Comment by loqs (loqs) - Tuesday, 09 August 2022, 21:53 GMT
Which release of 3.6.2 is this with?

From the current PKGBUILD pkgver=3.6.2 pkgrel=7 from src/build/global/CMakeFiles/global.dir/flags.make
CXX_FLAGS = -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=gnu++11 -fPIC -O2 -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT
Which includes -DNDEBUG used to disable the assert macro.
Comment by Toolybird (Toolybird) - Wednesday, 10 August 2022, 02:11 GMT
Thanks @loqs. Yeah, I think the reporter is slightly out of date. This was fixed within the last 24 hours, so this is therefore a dupe.

Loading...