Arch Linux

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#55773 - [alsa-lib] Should be built without debug

Attached to Project: Arch Linux
Opened by Baptiste (zorun) - Wednesday, 27 September 2017, 17:33 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 28 September 2017, 10:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Alsa-lib builds by default in "debug mode", which means that assertions are compiled in by default. I think the standard practice for Arch is not to build in debug mode by default.

Besides, any program that triggers an assertion in alsa-lib will crash immediately, which is quite annoying. This happened before with ring-daemon: it triggered a mostly harmless assertion in alsa-lib and crashed. When rebuilding alsa-lib without assertions, everything worked fine.

The default can be seen from ./configure --help output:

--with-debug library will be compiled with asserts (default =
yes)

It is enough to add "--without-debug" to the ./configure invocation.

Version: 1.1.4.1-1
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 28 September 2017, 10:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  alsa-lib 1.1.4.1-2
Comment by Anatol Pomozov (anatolik) - Thursday, 28 September 2017, 05:13 GMT
1.1.4.1-2 pushed to [testing]. Please verify that it works for you as expected.
Comment by Baptiste (zorun) - Thursday, 28 September 2017, 06:44 GMT
Looks good, thanks!

Loading...